Referencia de @styx/domain generada de su TSDoc.
packages/domain/package.jsonPágina generada desde
el TSDoc de @styx/domain. No se edita a mano:bun run docs:genla regenera ybun run docs:checkfalla si difiere.
constCATALOG_ERROR_METADATA:object
Tabla estática: metadata por código. as const satisfies: conserva el httpStatus literal de cada código (lo usa problemResponses de @styx/api-contracts para tipar el response por status de las rutas HTTP) sin perder la comprobación de forma.
readonlyCATALOG_ASSET_NOT_FOUND:object
readonlycategory:"permanent"='permanent'
readonlycode:"CATALOG_ASSET_NOT_FOUND"='CATALOG_ASSET_NOT_FOUND'
readonlyhttpStatus:404=404
readonlymessage:"Asset no encontrado"='Asset no encontrado'
readonlyretryable:false=false
readonlysuggestedAction:"Verificar que el asset existe en el catálogo"='Verificar que el asset existe en el catálogo'
readonlyCATALOG_DB_READ_FAILED:object
readonlycategory:"transient"='transient'
readonlycode:"CATALOG_DB_READ_FAILED"='CATALOG_DB_READ_FAILED'
readonlyhttpStatus:503=503
readonlymessage:"Falló la lectura de Postgres"='Falló la lectura de Postgres'
readonlyretryable:true=true
readonlysuggestedAction:"Revisar la conexión con Postgres y reintentar"='Revisar la conexión con Postgres y reintentar'
readonlyCATALOG_DB_WRITE_FAILED:object
readonlycategory:"transient"='transient'
readonlycode:"CATALOG_DB_WRITE_FAILED"='CATALOG_DB_WRITE_FAILED'
readonlyhttpStatus:503=503
readonlymessage:"Falló la escritura a Postgres"='Falló la escritura a Postgres'
readonlyretryable:true=true
readonlysuggestedAction:"Revisar la conexión con Postgres y reintentar"='Revisar la conexión con Postgres y reintentar'
readonlyCATALOG_EDITION_NOT_FOUND:object
readonlycategory:"permanent"='permanent'
readonlycode:"CATALOG_EDITION_NOT_FOUND"='CATALOG_EDITION_NOT_FOUND'
readonlyhttpStatus:404=404
readonlymessage:"Edition no encontrada"='Edition no encontrada'
readonlyretryable:false=false
readonlysuggestedAction:"Verificar que la edition existe en el catálogo"='Verificar que la edition existe en el catálogo'
readonlyCATALOG_INTERNAL:object
readonlycategory:"permanent"='permanent'
readonlycode:"CATALOG_INTERNAL"='CATALOG_INTERNAL'
readonlyhttpStatus:500=500
readonlymessage:"Error interno del catálogo"='Error interno del catálogo'
readonlyretryable:false=false
readonlysuggestedAction:"Revisar logs del servicio catalog-svc para diagnosticar el fallo inesperado"='Revisar logs del servicio catalog-svc para diagnosticar el fallo inesperado'
readonlyCATALOG_INVALID_INPUT:object
readonlycategory:"permanent"='permanent'
readonlycode:"CATALOG_INVALID_INPUT"='CATALOG_INVALID_INPUT'
readonlyhttpStatus:400=400
readonlymessage:"Input inválido para la operación de catálogo"='Input inválido para la operación de catálogo'
readonlyretryable:false=false
readonlysuggestedAction:"Revisar los parámetros de entrada de la operación"='Revisar los parámetros de entrada de la operación'
readonlyCATALOG_INVALID_PATH:object
readonlycategory:"permanent"='permanent'
readonlycode:"CATALOG_INVALID_PATH"='CATALOG_INVALID_PATH'
readonlyhttpStatus:400=400
readonlymessage:"Path inválido o inaccesible"='Path inválido o inaccesible'
readonlyretryable:false=false
readonlysuggestedAction:"Verificar que el path existe y es un fichero regular"='Verificar que el path existe y es un fichero regular'
readonlyCATALOG_MEDIA_TIMELINE_OUT_OF_RANGE:object
La duración que declara el contenedor no cabe en MEDIA_INDEX_LIMITS (TS7-P2-01): permanente y sin fila en el catálogo, a diferencia de CATALOG_MEDIA_UNSUPPORTED (no-medio, entra unidentified).
readonlycategory:"permanent"='permanent'
Permanente.
readonlycode:"CATALOG_MEDIA_TIMELINE_OUT_OF_RANGE"='CATALOG_MEDIA_TIMELINE_OUT_OF_RANGE'
Código estable.
readonlyhttpStatus:400=400
Estado HTTP.
readonlymessage:"La duración declarada por el fichero no cabe en el índice del catálogo"='La duración declarada por el fichero no cabe en el índice del catálogo'
Texto fijo (es lo único que viaja por el bus).
readonlyretryable:false=false
El mismo fichero dará siempre lo mismo.
readonlysuggestedAction:"El contenedor declara una línea de tiempo fuera de MEDIA_INDEX_LIMITS; no se cataloga (un no-medio, en cambio, entra como unidentified)"='El contenedor declara una línea de tiempo fuera de MEDIA_INDEX_LIMITS; no se cataloga (un no-medio, en cambio, entra como unidentified)'
Qué hacer.
readonlyCATALOG_MEDIA_UNSUPPORTED:object
readonlycategory:"permanent"='permanent'
readonlycode:"CATALOG_MEDIA_UNSUPPORTED"='CATALOG_MEDIA_UNSUPPORTED'
readonlyhttpStatus:400=400
readonlymessage:"El fichero no es un medio que el motor sepa leer"='El fichero no es un medio que el motor sepa leer'
readonlyretryable:false=false
readonlysuggestedAction:"Contenedor o códec fuera de las capabilities del motor (MP4/MOV/Matroska/WebM), o fichero dañado"='Contenedor o códec fuera de las capabilities del motor (MP4/MOV/Matroska/WebM), o fichero dañado'
readonlyCATALOG_NATS_PUBLISH_FAILED:object
readonlycategory:"transient"='transient'
readonlycode:"CATALOG_NATS_PUBLISH_FAILED"='CATALOG_NATS_PUBLISH_FAILED'
readonlyhttpStatus:503=503
readonlymessage:"Falló la publicación del evento NATS"='Falló la publicación del evento NATS'
readonlyretryable:true=true
readonlysuggestedAction:"Revisar la conexión con NATS JetStream y reintentar"='Revisar la conexión con NATS JetStream y reintentar'
readonlyCATALOG_PERMISSION_DENIED:object
readonlycategory:"permanent"='permanent'
readonlycode:"CATALOG_PERMISSION_DENIED"='CATALOG_PERMISSION_DENIED'
readonlyhttpStatus:400=400
readonlymessage:"Permiso denegado en la ruta"='Permiso denegado en la ruta'
readonlyretryable:false=false
readonlysuggestedAction:"Verificar los permisos del filesystem sobre la ruta (EACCES/EPERM)"='Verificar los permisos del filesystem sobre la ruta (EACCES/EPERM)'
readonlyCATALOG_PROBE_FAILED:object
readonlycategory:"transient"='transient'
readonlycode:"CATALOG_PROBE_FAILED"='CATALOG_PROBE_FAILED'
readonlyhttpStatus:502=502
readonlymessage:"El motor de medios del daemon no pudo analizar el asset"='El motor de medios del daemon no pudo analizar el asset'
readonlyretryable:true=true
readonlysuggestedAction:"Revisar que el daemon está arriba y tiene el motor cableado (qry.media.probe)"='Revisar que el daemon está arriba y tiene el motor cableado (qry.media.probe)'
readonlyCATALOG_PROBE_TIMEOUT:object
readonlycategory:"transient"='transient'
readonlycode:"CATALOG_PROBE_TIMEOUT"='CATALOG_PROBE_TIMEOUT'
readonlyhttpStatus:504=504
readonlymessage:"El probe del daemon excedió el plazo"='El probe del daemon excedió el plazo'
readonlyretryable:true=true
readonlysuggestedAction:"Reintentar; si persiste, revisar la carga del daemon"='Reintentar; si persiste, revisar la carga del daemon'
readonlyCATALOG_WORK_NOT_FOUND:object
readonlycategory:"permanent"='permanent'
readonlycode:"CATALOG_WORK_NOT_FOUND"='CATALOG_WORK_NOT_FOUND'
readonlyhttpStatus:404=404
readonlymessage:"Work no encontrado"='Work no encontrado'
readonlyretryable:false=false
readonlysuggestedAction:"Verificar que el work existe en el catálogo"='Verificar que el work existe en el catálogo'