@marinoscar/platform-api 0.0.0-stage → 0.1.0-next.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +373 -0
- package/LICENSE +21 -0
- package/README.md +148 -2
- package/dist/ai/ai.constants.d.ts +8 -0
- package/dist/ai/ai.constants.d.ts.map +1 -0
- package/dist/ai/ai.constants.js +16 -0
- package/dist/ai/ai.constants.js.map +1 -0
- package/dist/ai/ai.module.d.ts +89 -0
- package/dist/ai/ai.module.d.ts.map +1 -0
- package/dist/ai/ai.module.js +117 -0
- package/dist/ai/ai.module.js.map +1 -0
- package/dist/ai/ai.options.d.ts +28 -0
- package/dist/ai/ai.options.d.ts.map +1 -0
- package/dist/ai/ai.options.js +19 -0
- package/dist/ai/ai.options.js.map +1 -0
- package/dist/ai/ai.permissions.d.ts +42 -0
- package/dist/ai/ai.permissions.d.ts.map +1 -0
- package/dist/ai/ai.permissions.js +132 -0
- package/dist/ai/ai.permissions.js.map +1 -0
- package/dist/ai/ai.system-settings.d.ts +514 -0
- package/dist/ai/ai.system-settings.d.ts.map +1 -0
- package/dist/ai/ai.system-settings.js +309 -0
- package/dist/ai/ai.system-settings.js.map +1 -0
- package/dist/ai/ai.user-settings.d.ts +67 -0
- package/dist/ai/ai.user-settings.d.ts.map +1 -0
- package/dist/ai/ai.user-settings.js +64 -0
- package/dist/ai/ai.user-settings.js.map +1 -0
- package/dist/ai/catalog/ai-catalog-refresh.handler.d.ts +34 -0
- package/dist/ai/catalog/ai-catalog-refresh.handler.d.ts.map +1 -0
- package/dist/ai/catalog/ai-catalog-refresh.handler.js +121 -0
- package/dist/ai/catalog/ai-catalog-refresh.handler.js.map +1 -0
- package/dist/ai/catalog/ai-catalog-refresh.task.d.ts +15 -0
- package/dist/ai/catalog/ai-catalog-refresh.task.d.ts.map +1 -0
- package/dist/ai/catalog/ai-catalog-refresh.task.js +101 -0
- package/dist/ai/catalog/ai-catalog-refresh.task.js.map +1 -0
- package/dist/ai/catalog/ai-catalog.events.d.ts +11 -0
- package/dist/ai/catalog/ai-catalog.events.d.ts.map +1 -0
- package/dist/ai/catalog/ai-catalog.events.js +21 -0
- package/dist/ai/catalog/ai-catalog.events.js.map +1 -0
- package/dist/ai/catalog/ai-catalog.module.d.ts +9 -0
- package/dist/ai/catalog/ai-catalog.module.d.ts.map +1 -0
- package/dist/ai/catalog/ai-catalog.module.js +39 -0
- package/dist/ai/catalog/ai-catalog.module.js.map +1 -0
- package/dist/ai/catalog/ai-catalog.service.d.ts +113 -0
- package/dist/ai/catalog/ai-catalog.service.d.ts.map +1 -0
- package/dist/ai/catalog/ai-catalog.service.js +371 -0
- package/dist/ai/catalog/ai-catalog.service.js.map +1 -0
- package/dist/ai/catalog/doctor/egress/ai-catalog-refresh.egress.contributor.d.ts +24 -0
- package/dist/ai/catalog/doctor/egress/ai-catalog-refresh.egress.contributor.d.ts.map +1 -0
- package/dist/ai/catalog/doctor/egress/ai-catalog-refresh.egress.contributor.js +70 -0
- package/dist/ai/catalog/doctor/egress/ai-catalog-refresh.egress.contributor.js.map +1 -0
- package/dist/ai/config/ai-admin.controller.d.ts +524 -0
- package/dist/ai/config/ai-admin.controller.d.ts.map +1 -0
- package/dist/ai/config/ai-admin.controller.js +352 -0
- package/dist/ai/config/ai-admin.controller.js.map +1 -0
- package/dist/ai/config/ai-config-admin.service.d.ts +199 -0
- package/dist/ai/config/ai-config-admin.service.d.ts.map +1 -0
- package/dist/ai/config/ai-config-admin.service.js +579 -0
- package/dist/ai/config/ai-config-admin.service.js.map +1 -0
- package/dist/ai/config/ai-config.module.d.ts +10 -0
- package/dist/ai/config/ai-config.module.d.ts.map +1 -0
- package/dist/ai/config/ai-config.module.js +69 -0
- package/dist/ai/config/ai-config.module.js.map +1 -0
- package/dist/ai/config/ai-config.service.d.ts +189 -0
- package/dist/ai/config/ai-config.service.d.ts.map +1 -0
- package/dist/ai/config/ai-config.service.js +334 -0
- package/dist/ai/config/ai-config.service.js.map +1 -0
- package/dist/ai/config/ai-credential.constants.d.ts +32 -0
- package/dist/ai/config/ai-credential.constants.d.ts.map +1 -0
- package/dist/ai/config/ai-credential.constants.js +66 -0
- package/dist/ai/config/ai-credential.constants.js.map +1 -0
- package/dist/ai/config/ai-enabled.guard.d.ts +17 -0
- package/dist/ai/config/ai-enabled.guard.d.ts.map +1 -0
- package/dist/ai/config/ai-enabled.guard.js +61 -0
- package/dist/ai/config/ai-enabled.guard.js.map +1 -0
- package/dist/ai/config/ai-models-admin.service.d.ts +44 -0
- package/dist/ai/config/ai-models-admin.service.d.ts.map +1 -0
- package/dist/ai/config/ai-models-admin.service.js +238 -0
- package/dist/ai/config/ai-models-admin.service.js.map +1 -0
- package/dist/ai/config/ai-org-enabled.interceptor.d.ts +21 -0
- package/dist/ai/config/ai-org-enabled.interceptor.d.ts.map +1 -0
- package/dist/ai/config/ai-org-enabled.interceptor.js +59 -0
- package/dist/ai/config/ai-org-enabled.interceptor.js.map +1 -0
- package/dist/ai/config/ai-provider-test.service.d.ts +39 -0
- package/dist/ai/config/ai-provider-test.service.d.ts.map +1 -0
- package/dist/ai/config/ai-provider-test.service.js +281 -0
- package/dist/ai/config/ai-provider-test.service.js.map +1 -0
- package/dist/ai/config/ai-public.controller.d.ts +29 -0
- package/dist/ai/config/ai-public.controller.d.ts.map +1 -0
- package/dist/ai/config/ai-public.controller.js +69 -0
- package/dist/ai/config/ai-public.controller.js.map +1 -0
- package/dist/ai/config/doctor/ai-enabled.doctor-check.d.ts +25 -0
- package/dist/ai/config/doctor/ai-enabled.doctor-check.d.ts.map +1 -0
- package/dist/ai/config/doctor/ai-enabled.doctor-check.js +53 -0
- package/dist/ai/config/doctor/ai-enabled.doctor-check.js.map +1 -0
- package/dist/ai/config/doctor/ai-providers.doctor-check.d.ts +31 -0
- package/dist/ai/config/doctor/ai-providers.doctor-check.d.ts.map +1 -0
- package/dist/ai/config/doctor/ai-providers.doctor-check.js +92 -0
- package/dist/ai/config/doctor/ai-providers.doctor-check.js.map +1 -0
- package/dist/ai/config/doctor/egress/ai-provider-endpoint.d.ts +20 -0
- package/dist/ai/config/doctor/egress/ai-provider-endpoint.d.ts.map +1 -0
- package/dist/ai/config/doctor/egress/ai-provider-endpoint.js +30 -0
- package/dist/ai/config/doctor/egress/ai-provider-endpoint.js.map +1 -0
- package/dist/ai/config/doctor/egress/ai-providers.egress.contributor.d.ts +23 -0
- package/dist/ai/config/doctor/egress/ai-providers.egress.contributor.d.ts.map +1 -0
- package/dist/ai/config/doctor/egress/ai-providers.egress.contributor.js +67 -0
- package/dist/ai/config/doctor/egress/ai-providers.egress.contributor.js.map +1 -0
- package/dist/ai/config/doctor/egress/ai-realtime.egress.contributor.d.ts +22 -0
- package/dist/ai/config/doctor/egress/ai-realtime.egress.contributor.d.ts.map +1 -0
- package/dist/ai/config/doctor/egress/ai-realtime.egress.contributor.js +67 -0
- package/dist/ai/config/doctor/egress/ai-realtime.egress.contributor.js.map +1 -0
- package/dist/ai/config/dto/ai-capabilities.dto.d.ts +24 -0
- package/dist/ai/config/dto/ai-capabilities.dto.d.ts.map +1 -0
- package/dist/ai/config/dto/ai-capabilities.dto.js +43 -0
- package/dist/ai/config/dto/ai-capabilities.dto.js.map +1 -0
- package/dist/ai/config/dto/ai-config-response.dto.d.ts +548 -0
- package/dist/ai/config/dto/ai-config-response.dto.d.ts.map +1 -0
- package/dist/ai/config/dto/ai-config-response.dto.js +181 -0
- package/dist/ai/config/dto/ai-config-response.dto.js.map +1 -0
- package/dist/ai/config/dto/ai-model.dto.d.ts +161 -0
- package/dist/ai/config/dto/ai-model.dto.d.ts.map +1 -0
- package/dist/ai/config/dto/ai-model.dto.js +127 -0
- package/dist/ai/config/dto/ai-model.dto.js.map +1 -0
- package/dist/ai/config/dto/ai-provider-key.dto.d.ts +26 -0
- package/dist/ai/config/dto/ai-provider-key.dto.d.ts.map +1 -0
- package/dist/ai/config/dto/ai-provider-key.dto.js +27 -0
- package/dist/ai/config/dto/ai-provider-key.dto.js.map +1 -0
- package/dist/ai/config/dto/ai-provider-test.dto.d.ts +169 -0
- package/dist/ai/config/dto/ai-provider-test.dto.d.ts.map +1 -0
- package/dist/ai/config/dto/ai-provider-test.dto.js +95 -0
- package/dist/ai/config/dto/ai-provider-test.dto.js.map +1 -0
- package/dist/ai/config/dto/ai-public-config.dto.d.ts +70 -0
- package/dist/ai/config/dto/ai-public-config.dto.d.ts.map +1 -0
- package/dist/ai/config/dto/ai-public-config.dto.js +106 -0
- package/dist/ai/config/dto/ai-public-config.dto.js.map +1 -0
- package/dist/ai/config/dto/update-ai-config.dto.d.ts +154 -0
- package/dist/ai/config/dto/update-ai-config.dto.d.ts.map +1 -0
- package/dist/ai/config/dto/update-ai-config.dto.js +184 -0
- package/dist/ai/config/dto/update-ai-config.dto.js.map +1 -0
- package/dist/ai/config/index.d.ts +5 -0
- package/dist/ai/config/index.d.ts.map +1 -0
- package/dist/ai/config/index.js +22 -0
- package/dist/ai/config/index.js.map +1 -0
- package/dist/ai/core/ai-core.module.d.ts +13 -0
- package/dist/ai/core/ai-core.module.d.ts.map +1 -0
- package/dist/ai/core/ai-core.module.js +31 -0
- package/dist/ai/core/ai-core.module.js.map +1 -0
- package/dist/ai/core/ai-error.d.ts +18 -0
- package/dist/ai/core/ai-error.d.ts.map +1 -0
- package/dist/ai/core/ai-error.js +70 -0
- package/dist/ai/core/ai-error.js.map +1 -0
- package/dist/ai/core/capabilities.d.ts +4 -0
- package/dist/ai/core/capabilities.d.ts.map +1 -0
- package/dist/ai/core/capabilities.js +16 -0
- package/dist/ai/core/capabilities.js.map +1 -0
- package/dist/ai/core/capability-registry.d.ts +83 -0
- package/dist/ai/core/capability-registry.d.ts.map +1 -0
- package/dist/ai/core/capability-registry.js +145 -0
- package/dist/ai/core/capability-registry.js.map +1 -0
- package/dist/ai/core/conversation.d.ts +3 -0
- package/dist/ai/core/conversation.d.ts.map +1 -0
- package/dist/ai/core/conversation.js +12 -0
- package/dist/ai/core/conversation.js.map +1 -0
- package/dist/ai/core/hosted-tools.d.ts +4 -0
- package/dist/ai/core/hosted-tools.d.ts.map +1 -0
- package/dist/ai/core/hosted-tools.js +23 -0
- package/dist/ai/core/hosted-tools.js.map +1 -0
- package/dist/ai/core/index.d.ts +14 -0
- package/dist/ai/core/index.d.ts.map +1 -0
- package/dist/ai/core/index.js +32 -0
- package/dist/ai/core/index.js.map +1 -0
- package/dist/ai/core/operation-registry.d.ts +104 -0
- package/dist/ai/core/operation-registry.d.ts.map +1 -0
- package/dist/ai/core/operation-registry.js +140 -0
- package/dist/ai/core/operation-registry.js.map +1 -0
- package/dist/ai/core/provider-adapter.interface.d.ts +4 -0
- package/dist/ai/core/provider-adapter.interface.d.ts.map +1 -0
- package/dist/ai/core/provider-adapter.interface.js +11 -0
- package/dist/ai/core/provider-adapter.interface.js.map +1 -0
- package/dist/ai/core/provider-registry.d.ts +52 -0
- package/dist/ai/core/provider-registry.d.ts.map +1 -0
- package/dist/ai/core/provider-registry.js +163 -0
- package/dist/ai/core/provider-registry.js.map +1 -0
- package/dist/ai/core/structured-output.d.ts +4 -0
- package/dist/ai/core/structured-output.d.ts.map +1 -0
- package/dist/ai/core/structured-output.js +12 -0
- package/dist/ai/core/structured-output.js.map +1 -0
- package/dist/ai/core/tools.d.ts +4 -0
- package/dist/ai/core/tools.d.ts.map +1 -0
- package/dist/ai/core/tools.js +12 -0
- package/dist/ai/core/tools.js.map +1 -0
- package/dist/ai/core/types/file-inputs.types.d.ts +4 -0
- package/dist/ai/core/types/file-inputs.types.d.ts.map +1 -0
- package/dist/ai/core/types/file-inputs.types.js +17 -0
- package/dist/ai/core/types/file-inputs.types.js.map +1 -0
- package/dist/ai/core/types/media.types.d.ts +4 -0
- package/dist/ai/core/types/media.types.d.ts.map +1 -0
- package/dist/ai/core/types/media.types.js +36 -0
- package/dist/ai/core/types/media.types.js.map +1 -0
- package/dist/ai/core/types/responses.types.d.ts +4 -0
- package/dist/ai/core/types/responses.types.d.ts.map +1 -0
- package/dist/ai/core/types/responses.types.js +12 -0
- package/dist/ai/core/types/responses.types.js.map +1 -0
- package/dist/ai/data/ai-db.d.ts +435 -0
- package/dist/ai/data/ai-db.d.ts.map +1 -0
- package/dist/ai/data/ai-db.js +22 -0
- package/dist/ai/data/ai-db.js.map +1 -0
- package/dist/ai/data/prisma.d.ts +54 -0
- package/dist/ai/data/prisma.d.ts.map +1 -0
- package/dist/ai/data/prisma.js +20 -0
- package/dist/ai/data/prisma.js.map +1 -0
- package/dist/ai/features/ai-feature.registry.d.ts +63 -0
- package/dist/ai/features/ai-feature.registry.d.ts.map +1 -0
- package/dist/ai/features/ai-feature.registry.js +99 -0
- package/dist/ai/features/ai-feature.registry.js.map +1 -0
- package/dist/ai/features/ai-features.controller.d.ts +23 -0
- package/dist/ai/features/ai-features.controller.d.ts.map +1 -0
- package/dist/ai/features/ai-features.controller.js +74 -0
- package/dist/ai/features/ai-features.controller.js.map +1 -0
- package/dist/ai/features/ai-features.module.d.ts +10 -0
- package/dist/ai/features/ai-features.module.d.ts.map +1 -0
- package/dist/ai/features/ai-features.module.js +33 -0
- package/dist/ai/features/ai-features.module.js.map +1 -0
- package/dist/ai/features/ai-features.service.d.ts +35 -0
- package/dist/ai/features/ai-features.service.d.ts.map +1 -0
- package/dist/ai/features/ai-features.service.js +68 -0
- package/dist/ai/features/ai-features.service.js.map +1 -0
- package/dist/ai/features/dto/ai-feature.dto.d.ts +16 -0
- package/dist/ai/features/dto/ai-feature.dto.d.ts.map +1 -0
- package/dist/ai/features/dto/ai-feature.dto.js +10 -0
- package/dist/ai/features/dto/ai-feature.dto.js.map +1 -0
- package/dist/ai/http/ai-audio.controller.d.ts +10 -0
- package/dist/ai/http/ai-audio.controller.d.ts.map +1 -0
- package/dist/ai/http/ai-audio.controller.js +194 -0
- package/dist/ai/http/ai-audio.controller.js.map +1 -0
- package/dist/ai/http/ai-embeddings.controller.d.ts +9 -0
- package/dist/ai/http/ai-embeddings.controller.d.ts.map +1 -0
- package/dist/ai/http/ai-embeddings.controller.js +132 -0
- package/dist/ai/http/ai-embeddings.controller.js.map +1 -0
- package/dist/ai/http/ai-http-request.d.ts +5 -0
- package/dist/ai/http/ai-http-request.d.ts.map +1 -0
- package/dist/ai/http/ai-http-request.js +41 -0
- package/dist/ai/http/ai-http-request.js.map +1 -0
- package/dist/ai/http/ai-http.module.d.ts +3 -0
- package/dist/ai/http/ai-http.module.d.ts.map +1 -0
- package/dist/ai/http/ai-http.module.js +44 -0
- package/dist/ai/http/ai-http.module.js.map +1 -0
- package/dist/ai/http/ai-images.controller.d.ts +10 -0
- package/dist/ai/http/ai-images.controller.d.ts.map +1 -0
- package/dist/ai/http/ai-images.controller.js +171 -0
- package/dist/ai/http/ai-images.controller.js.map +1 -0
- package/dist/ai/http/ai-realtime.controller.d.ts +8 -0
- package/dist/ai/http/ai-realtime.controller.d.ts.map +1 -0
- package/dist/ai/http/ai-realtime.controller.js +138 -0
- package/dist/ai/http/ai-realtime.controller.js.map +1 -0
- package/dist/ai/http/ai-responses.controller.d.ts +22 -0
- package/dist/ai/http/ai-responses.controller.d.ts.map +1 -0
- package/dist/ai/http/ai-responses.controller.js +235 -0
- package/dist/ai/http/ai-responses.controller.js.map +1 -0
- package/dist/ai/http/ai-runs.controller.d.ts +20 -0
- package/dist/ai/http/ai-runs.controller.d.ts.map +1 -0
- package/dist/ai/http/ai-runs.controller.js +186 -0
- package/dist/ai/http/ai-runs.controller.js.map +1 -0
- package/dist/ai/http/ai-sse.d.ts +55 -0
- package/dist/ai/http/ai-sse.d.ts.map +1 -0
- package/dist/ai/http/ai-sse.js +143 -0
- package/dist/ai/http/ai-sse.js.map +1 -0
- package/dist/ai/http/dto/ai-audio.dto.d.ts +67 -0
- package/dist/ai/http/dto/ai-audio.dto.d.ts.map +1 -0
- package/dist/ai/http/dto/ai-audio.dto.js +88 -0
- package/dist/ai/http/dto/ai-audio.dto.js.map +1 -0
- package/dist/ai/http/dto/ai-embeddings.dto.d.ts +53 -0
- package/dist/ai/http/dto/ai-embeddings.dto.d.ts.map +1 -0
- package/dist/ai/http/dto/ai-embeddings.dto.js +63 -0
- package/dist/ai/http/dto/ai-embeddings.dto.js.map +1 -0
- package/dist/ai/http/dto/ai-images.dto.d.ts +109 -0
- package/dist/ai/http/dto/ai-images.dto.d.ts.map +1 -0
- package/dist/ai/http/dto/ai-images.dto.js +57 -0
- package/dist/ai/http/dto/ai-images.dto.js.map +1 -0
- package/dist/ai/http/dto/ai-realtime.dto.d.ts +43 -0
- package/dist/ai/http/dto/ai-realtime.dto.d.ts.map +1 -0
- package/dist/ai/http/dto/ai-realtime.dto.js +70 -0
- package/dist/ai/http/dto/ai-realtime.dto.js.map +1 -0
- package/dist/ai/http/dto/ai-response-request.dto.d.ts +196 -0
- package/dist/ai/http/dto/ai-response-request.dto.d.ts.map +1 -0
- package/dist/ai/http/dto/ai-response-request.dto.js +126 -0
- package/dist/ai/http/dto/ai-response-request.dto.js.map +1 -0
- package/dist/ai/http/dto/ai-response.dto.d.ts +838 -0
- package/dist/ai/http/dto/ai-response.dto.d.ts.map +1 -0
- package/dist/ai/http/dto/ai-response.dto.js +258 -0
- package/dist/ai/http/dto/ai-response.dto.js.map +1 -0
- package/dist/ai/http/json-schema-structured-output.d.ts +21 -0
- package/dist/ai/http/json-schema-structured-output.d.ts.map +1 -0
- package/dist/ai/http/json-schema-structured-output.js +69 -0
- package/dist/ai/http/json-schema-structured-output.js.map +1 -0
- package/dist/ai/index.d.ts +67 -0
- package/dist/ai/index.d.ts.map +1 -0
- package/dist/ai/index.js +178 -0
- package/dist/ai/index.js.map +1 -0
- package/dist/ai/keys/ai-config-writer.lookup.d.ts +21 -0
- package/dist/ai/keys/ai-config-writer.lookup.d.ts.map +1 -0
- package/dist/ai/keys/ai-config-writer.lookup.js +87 -0
- package/dist/ai/keys/ai-config-writer.lookup.js.map +1 -0
- package/dist/ai/keys/ai-key-resolver.service.d.ts +107 -0
- package/dist/ai/keys/ai-key-resolver.service.d.ts.map +1 -0
- package/dist/ai/keys/ai-key-resolver.service.js +161 -0
- package/dist/ai/keys/ai-key-resolver.service.js.map +1 -0
- package/dist/ai/keys/ai-keys-catalog.listener.d.ts +9 -0
- package/dist/ai/keys/ai-keys-catalog.listener.d.ts.map +1 -0
- package/dist/ai/keys/ai-keys-catalog.listener.js +83 -0
- package/dist/ai/keys/ai-keys-catalog.listener.js.map +1 -0
- package/dist/ai/keys/ai-keys-recheck.handler.d.ts +27 -0
- package/dist/ai/keys/ai-keys-recheck.handler.d.ts.map +1 -0
- package/dist/ai/keys/ai-keys-recheck.handler.js +96 -0
- package/dist/ai/keys/ai-keys-recheck.handler.js.map +1 -0
- package/dist/ai/keys/ai-keys-recheck.task.d.ts +20 -0
- package/dist/ai/keys/ai-keys-recheck.task.d.ts.map +1 -0
- package/dist/ai/keys/ai-keys-recheck.task.js +113 -0
- package/dist/ai/keys/ai-keys-recheck.task.js.map +1 -0
- package/dist/ai/keys/ai-keys.module.d.ts +3 -0
- package/dist/ai/keys/ai-keys.module.d.ts.map +1 -0
- package/dist/ai/keys/ai-keys.module.js +57 -0
- package/dist/ai/keys/ai-keys.module.js.map +1 -0
- package/dist/ai/keys/ai-user-key.constants.d.ts +15 -0
- package/dist/ai/keys/ai-user-key.constants.d.ts.map +1 -0
- package/dist/ai/keys/ai-user-key.constants.js +29 -0
- package/dist/ai/keys/ai-user-key.constants.js.map +1 -0
- package/dist/ai/keys/dto/org-ai-key.dto.d.ts +18 -0
- package/dist/ai/keys/dto/org-ai-key.dto.d.ts.map +1 -0
- package/dist/ai/keys/dto/org-ai-key.dto.js +14 -0
- package/dist/ai/keys/dto/org-ai-key.dto.js.map +1 -0
- package/dist/ai/keys/dto/usable-ai-model.dto.d.ts +51 -0
- package/dist/ai/keys/dto/usable-ai-model.dto.d.ts.map +1 -0
- package/dist/ai/keys/dto/usable-ai-model.dto.js +45 -0
- package/dist/ai/keys/dto/usable-ai-model.dto.js.map +1 -0
- package/dist/ai/keys/dto/user-ai-key.dto.d.ts +155 -0
- package/dist/ai/keys/dto/user-ai-key.dto.d.ts.map +1 -0
- package/dist/ai/keys/dto/user-ai-key.dto.js +93 -0
- package/dist/ai/keys/dto/user-ai-key.dto.js.map +1 -0
- package/dist/ai/keys/org-key.service.d.ts +82 -0
- package/dist/ai/keys/org-key.service.d.ts.map +1 -0
- package/dist/ai/keys/org-key.service.js +183 -0
- package/dist/ai/keys/org-key.service.js.map +1 -0
- package/dist/ai/keys/org-keys.controller.d.ts +28 -0
- package/dist/ai/keys/org-keys.controller.d.ts.map +1 -0
- package/dist/ai/keys/org-keys.controller.js +129 -0
- package/dist/ai/keys/org-keys.controller.js.map +1 -0
- package/dist/ai/keys/usable-models.service.d.ts +48 -0
- package/dist/ai/keys/usable-models.service.d.ts.map +1 -0
- package/dist/ai/keys/usable-models.service.js +186 -0
- package/dist/ai/keys/usable-models.service.js.map +1 -0
- package/dist/ai/keys/user-ai-keys.controller.d.ts +64 -0
- package/dist/ai/keys/user-ai-keys.controller.d.ts.map +1 -0
- package/dist/ai/keys/user-ai-keys.controller.js +204 -0
- package/dist/ai/keys/user-ai-keys.controller.js.map +1 -0
- package/dist/ai/keys/user-ai-keys.service.d.ts +143 -0
- package/dist/ai/keys/user-ai-keys.service.d.ts.map +1 -0
- package/dist/ai/keys/user-ai-keys.service.js +491 -0
- package/dist/ai/keys/user-ai-keys.service.js.map +1 -0
- package/dist/ai/ports.d.ts +236 -0
- package/dist/ai/ports.d.ts.map +1 -0
- package/dist/ai/ports.js +85 -0
- package/dist/ai/ports.js.map +1 -0
- package/dist/ai/providers/ai-provider-definition.d.ts +199 -0
- package/dist/ai/providers/ai-provider-definition.d.ts.map +1 -0
- package/dist/ai/providers/ai-provider-definition.js +219 -0
- package/dist/ai/providers/ai-provider-definition.js.map +1 -0
- package/dist/ai/providers/anthropic/anthropic-client.factory.d.ts +18 -0
- package/dist/ai/providers/anthropic/anthropic-client.factory.d.ts.map +1 -0
- package/dist/ai/providers/anthropic/anthropic-client.factory.js +55 -0
- package/dist/ai/providers/anthropic/anthropic-client.factory.js.map +1 -0
- package/dist/ai/providers/anthropic/anthropic.adapter.d.ts +23 -0
- package/dist/ai/providers/anthropic/anthropic.adapter.d.ts.map +1 -0
- package/dist/ai/providers/anthropic/anthropic.adapter.js +63 -0
- package/dist/ai/providers/anthropic/anthropic.adapter.js.map +1 -0
- package/dist/ai/providers/anthropic/anthropic.module.d.ts +11 -0
- package/dist/ai/providers/anthropic/anthropic.module.d.ts.map +1 -0
- package/dist/ai/providers/anthropic/anthropic.module.js +32 -0
- package/dist/ai/providers/anthropic/anthropic.module.js.map +1 -0
- package/dist/ai/providers/anthropic/anthropic.provider-definition.d.ts +12 -0
- package/dist/ai/providers/anthropic/anthropic.provider-definition.d.ts.map +1 -0
- package/dist/ai/providers/anthropic/anthropic.provider-definition.js +24 -0
- package/dist/ai/providers/anthropic/anthropic.provider-definition.js.map +1 -0
- package/dist/ai/providers/azure-openai/azure-openai-client.factory.d.ts +17 -0
- package/dist/ai/providers/azure-openai/azure-openai-client.factory.d.ts.map +1 -0
- package/dist/ai/providers/azure-openai/azure-openai-client.factory.js +54 -0
- package/dist/ai/providers/azure-openai/azure-openai-client.factory.js.map +1 -0
- package/dist/ai/providers/azure-openai/azure-openai.adapter.d.ts +22 -0
- package/dist/ai/providers/azure-openai/azure-openai.adapter.d.ts.map +1 -0
- package/dist/ai/providers/azure-openai/azure-openai.adapter.js +60 -0
- package/dist/ai/providers/azure-openai/azure-openai.adapter.js.map +1 -0
- package/dist/ai/providers/azure-openai/azure-openai.module.d.ts +12 -0
- package/dist/ai/providers/azure-openai/azure-openai.module.d.ts.map +1 -0
- package/dist/ai/providers/azure-openai/azure-openai.module.js +33 -0
- package/dist/ai/providers/azure-openai/azure-openai.module.js.map +1 -0
- package/dist/ai/providers/azure-openai/azure-openai.provider-definition.d.ts +12 -0
- package/dist/ai/providers/azure-openai/azure-openai.provider-definition.d.ts.map +1 -0
- package/dist/ai/providers/azure-openai/azure-openai.provider-definition.js +28 -0
- package/dist/ai/providers/azure-openai/azure-openai.provider-definition.js.map +1 -0
- package/dist/ai/providers/builtin-ai-providers.d.ts +8 -0
- package/dist/ai/providers/builtin-ai-providers.d.ts.map +1 -0
- package/dist/ai/providers/builtin-ai-providers.js +41 -0
- package/dist/ai/providers/builtin-ai-providers.js.map +1 -0
- package/dist/ai/providers/gemini/gemini-client.factory.d.ts +18 -0
- package/dist/ai/providers/gemini/gemini-client.factory.d.ts.map +1 -0
- package/dist/ai/providers/gemini/gemini-client.factory.js +56 -0
- package/dist/ai/providers/gemini/gemini-client.factory.js.map +1 -0
- package/dist/ai/providers/gemini/gemini.adapter.d.ts +23 -0
- package/dist/ai/providers/gemini/gemini.adapter.d.ts.map +1 -0
- package/dist/ai/providers/gemini/gemini.adapter.js +63 -0
- package/dist/ai/providers/gemini/gemini.adapter.js.map +1 -0
- package/dist/ai/providers/gemini/gemini.module.d.ts +11 -0
- package/dist/ai/providers/gemini/gemini.module.d.ts.map +1 -0
- package/dist/ai/providers/gemini/gemini.module.js +32 -0
- package/dist/ai/providers/gemini/gemini.module.js.map +1 -0
- package/dist/ai/providers/gemini/gemini.provider-definition.d.ts +12 -0
- package/dist/ai/providers/gemini/gemini.provider-definition.d.ts.map +1 -0
- package/dist/ai/providers/gemini/gemini.provider-definition.js +24 -0
- package/dist/ai/providers/gemini/gemini.provider-definition.js.map +1 -0
- package/dist/ai/providers/openai/openai-client.factory.d.ts +18 -0
- package/dist/ai/providers/openai/openai-client.factory.d.ts.map +1 -0
- package/dist/ai/providers/openai/openai-client.factory.js +57 -0
- package/dist/ai/providers/openai/openai-client.factory.js.map +1 -0
- package/dist/ai/providers/openai/openai.adapter.d.ts +23 -0
- package/dist/ai/providers/openai/openai.adapter.d.ts.map +1 -0
- package/dist/ai/providers/openai/openai.adapter.js +62 -0
- package/dist/ai/providers/openai/openai.adapter.js.map +1 -0
- package/dist/ai/providers/openai/openai.module.d.ts +11 -0
- package/dist/ai/providers/openai/openai.module.d.ts.map +1 -0
- package/dist/ai/providers/openai/openai.module.js +32 -0
- package/dist/ai/providers/openai/openai.module.js.map +1 -0
- package/dist/ai/providers/openai/openai.provider-definition.d.ts +12 -0
- package/dist/ai/providers/openai/openai.provider-definition.d.ts.map +1 -0
- package/dist/ai/providers/openai/openai.provider-definition.js +24 -0
- package/dist/ai/providers/openai/openai.provider-definition.js.map +1 -0
- package/dist/ai/providers/openai-compatible/openai-compatible-client.factory.d.ts +16 -0
- package/dist/ai/providers/openai-compatible/openai-compatible-client.factory.d.ts.map +1 -0
- package/dist/ai/providers/openai-compatible/openai-compatible-client.factory.js +51 -0
- package/dist/ai/providers/openai-compatible/openai-compatible-client.factory.js.map +1 -0
- package/dist/ai/providers/openai-compatible/openai-compatible.adapter.d.ts +22 -0
- package/dist/ai/providers/openai-compatible/openai-compatible.adapter.d.ts.map +1 -0
- package/dist/ai/providers/openai-compatible/openai-compatible.adapter.js +60 -0
- package/dist/ai/providers/openai-compatible/openai-compatible.adapter.js.map +1 -0
- package/dist/ai/providers/openai-compatible/openai-compatible.module.d.ts +13 -0
- package/dist/ai/providers/openai-compatible/openai-compatible.module.d.ts.map +1 -0
- package/dist/ai/providers/openai-compatible/openai-compatible.module.js +34 -0
- package/dist/ai/providers/openai-compatible/openai-compatible.module.js.map +1 -0
- package/dist/ai/providers/openai-compatible/openai-compatible.provider-definition.d.ts +12 -0
- package/dist/ai/providers/openai-compatible/openai-compatible.provider-definition.d.ts.map +1 -0
- package/dist/ai/providers/openai-compatible/openai-compatible.provider-definition.js +28 -0
- package/dist/ai/providers/openai-compatible/openai-compatible.provider-definition.js.map +1 -0
- package/dist/ai/providers/platform-ai-tracer.d.ts +4 -0
- package/dist/ai/providers/platform-ai-tracer.d.ts.map +1 -0
- package/dist/ai/providers/platform-ai-tracer.js +20 -0
- package/dist/ai/providers/platform-ai-tracer.js.map +1 -0
- package/dist/ai/runtime/ai-audio-run-request.d.ts +45 -0
- package/dist/ai/runtime/ai-audio-run-request.d.ts.map +1 -0
- package/dist/ai/runtime/ai-audio-run-request.js +76 -0
- package/dist/ai/runtime/ai-audio-run-request.js.map +1 -0
- package/dist/ai/runtime/ai-audio-speech.handler.d.ts +22 -0
- package/dist/ai/runtime/ai-audio-speech.handler.d.ts.map +1 -0
- package/dist/ai/runtime/ai-audio-speech.handler.js +142 -0
- package/dist/ai/runtime/ai-audio-speech.handler.js.map +1 -0
- package/dist/ai/runtime/ai-audio-transcribe.handler.d.ts +18 -0
- package/dist/ai/runtime/ai-audio-transcribe.handler.d.ts.map +1 -0
- package/dist/ai/runtime/ai-audio-transcribe.handler.js +102 -0
- package/dist/ai/runtime/ai-audio-transcribe.handler.js.map +1 -0
- package/dist/ai/runtime/ai-hosted-outputs.d.ts +36 -0
- package/dist/ai/runtime/ai-hosted-outputs.d.ts.map +1 -0
- package/dist/ai/runtime/ai-hosted-outputs.js +94 -0
- package/dist/ai/runtime/ai-hosted-outputs.js.map +1 -0
- package/dist/ai/runtime/ai-image-generate.handler.d.ts +22 -0
- package/dist/ai/runtime/ai-image-generate.handler.d.ts.map +1 -0
- package/dist/ai/runtime/ai-image-generate.handler.js +133 -0
- package/dist/ai/runtime/ai-image-generate.handler.js.map +1 -0
- package/dist/ai/runtime/ai-image-run-request.d.ts +41 -0
- package/dist/ai/runtime/ai-image-run-request.d.ts.map +1 -0
- package/dist/ai/runtime/ai-image-run-request.js +78 -0
- package/dist/ai/runtime/ai-image-run-request.js.map +1 -0
- package/dist/ai/runtime/ai-limits.service.d.ts +83 -0
- package/dist/ai/runtime/ai-limits.service.d.ts.map +1 -0
- package/dist/ai/runtime/ai-limits.service.js +366 -0
- package/dist/ai/runtime/ai-limits.service.js.map +1 -0
- package/dist/ai/runtime/ai-media-run.handler.d.ts +67 -0
- package/dist/ai/runtime/ai-media-run.handler.d.ts.map +1 -0
- package/dist/ai/runtime/ai-media-run.handler.js +219 -0
- package/dist/ai/runtime/ai-media-run.handler.js.map +1 -0
- package/dist/ai/runtime/ai-provider-filename.d.ts +3 -0
- package/dist/ai/runtime/ai-provider-filename.d.ts.map +1 -0
- package/dist/ai/runtime/ai-provider-filename.js +66 -0
- package/dist/ai/runtime/ai-provider-filename.js.map +1 -0
- package/dist/ai/runtime/ai-response-run.handler.d.ts +47 -0
- package/dist/ai/runtime/ai-response-run.handler.d.ts.map +1 -0
- package/dist/ai/runtime/ai-response-run.handler.js +255 -0
- package/dist/ai/runtime/ai-response-run.handler.js.map +1 -0
- package/dist/ai/runtime/ai-run-operation.d.ts +7 -0
- package/dist/ai/runtime/ai-run-operation.d.ts.map +1 -0
- package/dist/ai/runtime/ai-run-operation.js +32 -0
- package/dist/ai/runtime/ai-run-operation.js.map +1 -0
- package/dist/ai/runtime/ai-run-request.d.ts +124 -0
- package/dist/ai/runtime/ai-run-request.d.ts.map +1 -0
- package/dist/ai/runtime/ai-run-request.js +182 -0
- package/dist/ai/runtime/ai-run-request.js.map +1 -0
- package/dist/ai/runtime/ai-runs-purge.handler.d.ts +39 -0
- package/dist/ai/runtime/ai-runs-purge.handler.d.ts.map +1 -0
- package/dist/ai/runtime/ai-runs-purge.handler.js +117 -0
- package/dist/ai/runtime/ai-runs-purge.handler.js.map +1 -0
- package/dist/ai/runtime/ai-runs.service.d.ts +137 -0
- package/dist/ai/runtime/ai-runs.service.d.ts.map +1 -0
- package/dist/ai/runtime/ai-runs.service.js +306 -0
- package/dist/ai/runtime/ai-runs.service.js.map +1 -0
- package/dist/ai/runtime/ai-runtime.module.d.ts +10 -0
- package/dist/ai/runtime/ai-runtime.module.d.ts.map +1 -0
- package/dist/ai/runtime/ai-runtime.module.js +76 -0
- package/dist/ai/runtime/ai-runtime.module.js.map +1 -0
- package/dist/ai/runtime/ai-runtime.types.d.ts +460 -0
- package/dist/ai/runtime/ai-runtime.types.d.ts.map +1 -0
- package/dist/ai/runtime/ai-runtime.types.js +37 -0
- package/dist/ai/runtime/ai-runtime.types.js.map +1 -0
- package/dist/ai/runtime/ai-tool-loop.d.ts +18 -0
- package/dist/ai/runtime/ai-tool-loop.d.ts.map +1 -0
- package/dist/ai/runtime/ai-tool-loop.js +207 -0
- package/dist/ai/runtime/ai-tool-loop.js.map +1 -0
- package/dist/ai/runtime/ai-transcription-extras.d.ts +25 -0
- package/dist/ai/runtime/ai-transcription-extras.d.ts.map +1 -0
- package/dist/ai/runtime/ai-transcription-extras.js +66 -0
- package/dist/ai/runtime/ai-transcription-extras.js.map +1 -0
- package/dist/ai/runtime/ai-usage.recorder.d.ts +69 -0
- package/dist/ai/runtime/ai-usage.recorder.d.ts.map +1 -0
- package/dist/ai/runtime/ai-usage.recorder.js +143 -0
- package/dist/ai/runtime/ai-usage.recorder.js.map +1 -0
- package/dist/ai/runtime/ai.service.d.ts +624 -0
- package/dist/ai/runtime/ai.service.d.ts.map +1 -0
- package/dist/ai/runtime/ai.service.js +1848 -0
- package/dist/ai/runtime/ai.service.js.map +1 -0
- package/dist/ai/runtime/index.d.ts +6 -0
- package/dist/ai/runtime/index.d.ts.map +1 -0
- package/dist/ai/runtime/index.js +32 -0
- package/dist/ai/runtime/index.js.map +1 -0
- package/dist/ai/runtime/target-resolver.d.ts +91 -0
- package/dist/ai/runtime/target-resolver.d.ts.map +1 -0
- package/dist/ai/runtime/target-resolver.js +121 -0
- package/dist/ai/runtime/target-resolver.js.map +1 -0
- package/dist/ai/storage/ai-output-writer.d.ts +76 -0
- package/dist/ai/storage/ai-output-writer.d.ts.map +1 -0
- package/dist/ai/storage/ai-output-writer.js +208 -0
- package/dist/ai/storage/ai-output-writer.js.map +1 -0
- package/dist/ai/storage/ai-storage-errors.d.ts +13 -0
- package/dist/ai/storage/ai-storage-errors.d.ts.map +1 -0
- package/dist/ai/storage/ai-storage-errors.js +67 -0
- package/dist/ai/storage/ai-storage-errors.js.map +1 -0
- package/dist/ai/storage/ai-storage-input.resolver.d.ts +101 -0
- package/dist/ai/storage/ai-storage-input.resolver.d.ts.map +1 -0
- package/dist/ai/storage/ai-storage-input.resolver.js +215 -0
- package/dist/ai/storage/ai-storage-input.resolver.js.map +1 -0
- package/dist/ai/storage/ai-storage-key-prefixes.d.ts +16 -0
- package/dist/ai/storage/ai-storage-key-prefixes.d.ts.map +1 -0
- package/dist/ai/storage/ai-storage-key-prefixes.js +46 -0
- package/dist/ai/storage/ai-storage-key-prefixes.js.map +1 -0
- package/dist/ai/storage/ai-storage.module.d.ts +18 -0
- package/dist/ai/storage/ai-storage.module.d.ts.map +1 -0
- package/dist/ai/storage/ai-storage.module.js +67 -0
- package/dist/ai/storage/ai-storage.module.js.map +1 -0
- package/dist/ai/storage/index.d.ts +5 -0
- package/dist/ai/storage/index.d.ts.map +1 -0
- package/dist/ai/storage/index.js +16 -0
- package/dist/ai/storage/index.js.map +1 -0
- package/dist/ai/storage/mime-type-match.d.ts +20 -0
- package/dist/ai/storage/mime-type-match.d.ts.map +1 -0
- package/dist/ai/storage/mime-type-match.js +30 -0
- package/dist/ai/storage/mime-type-match.js.map +1 -0
- package/dist/ai/testing/ai-runtime-harness.d.ts +387 -0
- package/dist/ai/testing/ai-runtime-harness.d.ts.map +1 -0
- package/dist/ai/testing/ai-runtime-harness.js +511 -0
- package/dist/ai/testing/ai-runtime-harness.js.map +1 -0
- package/dist/ai/testing/conformance/ai-conformance-fixture.d.ts +187 -0
- package/dist/ai/testing/conformance/ai-conformance-fixture.d.ts.map +1 -0
- package/dist/ai/testing/conformance/ai-conformance-fixture.js +117 -0
- package/dist/ai/testing/conformance/ai-conformance-fixture.js.map +1 -0
- package/dist/ai/testing/conformance/ai-egress-checks.d.ts +50 -0
- package/dist/ai/testing/conformance/ai-egress-checks.d.ts.map +1 -0
- package/dist/ai/testing/conformance/ai-egress-checks.js +122 -0
- package/dist/ai/testing/conformance/ai-egress-checks.js.map +1 -0
- package/dist/ai/testing/conformance/ai-http-client.d.ts +14 -0
- package/dist/ai/testing/conformance/ai-http-client.d.ts.map +1 -0
- package/dist/ai/testing/conformance/ai-http-client.js +30 -0
- package/dist/ai/testing/conformance/ai-http-client.js.map +1 -0
- package/dist/ai/testing/conformance/ai-jobs-server-only.suite.d.ts +74 -0
- package/dist/ai/testing/conformance/ai-jobs-server-only.suite.d.ts.map +1 -0
- package/dist/ai/testing/conformance/ai-jobs-server-only.suite.js +129 -0
- package/dist/ai/testing/conformance/ai-jobs-server-only.suite.js.map +1 -0
- package/dist/ai/testing/conformance/ai-key-policy.suite.d.ts +39 -0
- package/dist/ai/testing/conformance/ai-key-policy.suite.d.ts.map +1 -0
- package/dist/ai/testing/conformance/ai-key-policy.suite.js +642 -0
- package/dist/ai/testing/conformance/ai-key-policy.suite.js.map +1 -0
- package/dist/ai/testing/conformance/ai-kill-switch.suite.d.ts +31 -0
- package/dist/ai/testing/conformance/ai-kill-switch.suite.d.ts.map +1 -0
- package/dist/ai/testing/conformance/ai-kill-switch.suite.js +389 -0
- package/dist/ai/testing/conformance/ai-kill-switch.suite.js.map +1 -0
- package/dist/ai/testing/conformance/ai-no-sdk-leak.suite.d.ts +173 -0
- package/dist/ai/testing/conformance/ai-no-sdk-leak.suite.d.ts.map +1 -0
- package/dist/ai/testing/conformance/ai-no-sdk-leak.suite.js +404 -0
- package/dist/ai/testing/conformance/ai-no-sdk-leak.suite.js.map +1 -0
- package/dist/ai/testing/conformance/ai-orchestration-boundary.registered.d.ts +11 -0
- package/dist/ai/testing/conformance/ai-orchestration-boundary.registered.d.ts.map +1 -0
- package/dist/ai/testing/conformance/ai-orchestration-boundary.registered.js +24 -0
- package/dist/ai/testing/conformance/ai-orchestration-boundary.registered.js.map +1 -0
- package/dist/ai/testing/conformance/ai-rbac-matrix.suite.d.ts +29 -0
- package/dist/ai/testing/conformance/ai-rbac-matrix.suite.d.ts.map +1 -0
- package/dist/ai/testing/conformance/ai-rbac-matrix.suite.js +173 -0
- package/dist/ai/testing/conformance/ai-rbac-matrix.suite.js.map +1 -0
- package/dist/ai/testing/conformance/ai-route-checks.d.ts +134 -0
- package/dist/ai/testing/conformance/ai-route-checks.d.ts.map +1 -0
- package/dist/ai/testing/conformance/ai-route-checks.js +228 -0
- package/dist/ai/testing/conformance/ai-route-checks.js.map +1 -0
- package/dist/ai/testing/conformance/ai-secret-egress.suite.d.ts +25 -0
- package/dist/ai/testing/conformance/ai-secret-egress.suite.d.ts.map +1 -0
- package/dist/ai/testing/conformance/ai-secret-egress.suite.js +1043 -0
- package/dist/ai/testing/conformance/ai-secret-egress.suite.js.map +1 -0
- package/dist/ai/testing/conformance/orchestration-boundary.suite.d.ts +108 -0
- package/dist/ai/testing/conformance/orchestration-boundary.suite.d.ts.map +1 -0
- package/dist/ai/testing/conformance/orchestration-boundary.suite.js +196 -0
- package/dist/ai/testing/conformance/orchestration-boundary.suite.js.map +1 -0
- package/dist/ai/testing/conformance/register.d.ts +26 -0
- package/dist/ai/testing/conformance/register.d.ts.map +1 -0
- package/dist/ai/testing/conformance/register.js +27 -0
- package/dist/ai/testing/conformance/register.js.map +1 -0
- package/dist/ai/testing/conformance.d.ts +229 -0
- package/dist/ai/testing/conformance.d.ts.map +1 -0
- package/dist/ai/testing/conformance.js +666 -0
- package/dist/ai/testing/conformance.js.map +1 -0
- package/dist/ai/testing/fake-ai-provider.d.ts +379 -0
- package/dist/ai/testing/fake-ai-provider.d.ts.map +1 -0
- package/dist/ai/testing/fake-ai-provider.js +833 -0
- package/dist/ai/testing/fake-ai-provider.js.map +1 -0
- package/dist/ai/testing/in-memory-ai-keys-prisma.d.ts +137 -0
- package/dist/ai/testing/in-memory-ai-keys-prisma.d.ts.map +1 -0
- package/dist/ai/testing/in-memory-ai-keys-prisma.js +192 -0
- package/dist/ai/testing/in-memory-ai-keys-prisma.js.map +1 -0
- package/dist/ai/testing/in-memory-ai-storage.d.ts +132 -0
- package/dist/ai/testing/in-memory-ai-storage.d.ts.map +1 -0
- package/dist/ai/testing/in-memory-ai-storage.js +196 -0
- package/dist/ai/testing/in-memory-ai-storage.js.map +1 -0
- package/dist/ai/testing/index.d.ts +32 -0
- package/dist/ai/testing/index.d.ts.map +1 -0
- package/dist/ai/testing/index.js +117 -0
- package/dist/ai/testing/index.js.map +1 -0
- package/dist/ai/usage/ai-usage-admin.controller.d.ts +15 -0
- package/dist/ai/usage/ai-usage-admin.controller.d.ts.map +1 -0
- package/dist/ai/usage/ai-usage-admin.controller.js +122 -0
- package/dist/ai/usage/ai-usage-admin.controller.js.map +1 -0
- package/dist/ai/usage/ai-usage-purge.handler.d.ts +42 -0
- package/dist/ai/usage/ai-usage-purge.handler.d.ts.map +1 -0
- package/dist/ai/usage/ai-usage-purge.handler.js +119 -0
- package/dist/ai/usage/ai-usage-purge.handler.js.map +1 -0
- package/dist/ai/usage/ai-usage-purge.task.d.ts +10 -0
- package/dist/ai/usage/ai-usage-purge.task.d.ts.map +1 -0
- package/dist/ai/usage/ai-usage-purge.task.js +65 -0
- package/dist/ai/usage/ai-usage-purge.task.js.map +1 -0
- package/dist/ai/usage/ai-usage.controller.d.ts +14 -0
- package/dist/ai/usage/ai-usage.controller.d.ts.map +1 -0
- package/dist/ai/usage/ai-usage.controller.js +86 -0
- package/dist/ai/usage/ai-usage.controller.js.map +1 -0
- package/dist/ai/usage/ai-usage.module.d.ts +3 -0
- package/dist/ai/usage/ai-usage.module.d.ts.map +1 -0
- package/dist/ai/usage/ai-usage.module.js +40 -0
- package/dist/ai/usage/ai-usage.module.js.map +1 -0
- package/dist/ai/usage/ai-usage.service.d.ts +91 -0
- package/dist/ai/usage/ai-usage.service.d.ts.map +1 -0
- package/dist/ai/usage/ai-usage.service.js +461 -0
- package/dist/ai/usage/ai-usage.service.js.map +1 -0
- package/dist/ai/usage/dto/ai-usage.dto.d.ts +266 -0
- package/dist/ai/usage/dto/ai-usage.dto.d.ts.map +1 -0
- package/dist/ai/usage/dto/ai-usage.dto.js +160 -0
- package/dist/ai/usage/dto/ai-usage.dto.js.map +1 -0
- package/dist/android-app/android-app-push.service.d.ts +53 -0
- package/dist/android-app/android-app-push.service.d.ts.map +1 -0
- package/dist/android-app/android-app-push.service.js +162 -0
- package/dist/android-app/android-app-push.service.js.map +1 -0
- package/dist/android-app/android-app.controller.d.ts +37 -0
- package/dist/android-app/android-app.controller.d.ts.map +1 -0
- package/dist/android-app/android-app.controller.js +143 -0
- package/dist/android-app/android-app.controller.js.map +1 -0
- package/dist/android-app/android-app.key-prefixes.d.ts +27 -0
- package/dist/android-app/android-app.key-prefixes.d.ts.map +1 -0
- package/dist/android-app/android-app.key-prefixes.js +47 -0
- package/dist/android-app/android-app.key-prefixes.js.map +1 -0
- package/dist/android-app/android-app.module.d.ts +33 -0
- package/dist/android-app/android-app.module.d.ts.map +1 -0
- package/dist/android-app/android-app.module.js +75 -0
- package/dist/android-app/android-app.module.js.map +1 -0
- package/dist/android-app/android-app.options.d.ts +58 -0
- package/dist/android-app/android-app.options.d.ts.map +1 -0
- package/dist/android-app/android-app.options.js +39 -0
- package/dist/android-app/android-app.options.js.map +1 -0
- package/dist/android-app/android-app.service.d.ts +100 -0
- package/dist/android-app/android-app.service.d.ts.map +1 -0
- package/dist/android-app/android-app.service.js +227 -0
- package/dist/android-app/android-app.service.js.map +1 -0
- package/dist/android-app/asset-links.controller.d.ts +19 -0
- package/dist/android-app/asset-links.controller.d.ts.map +1 -0
- package/dist/android-app/asset-links.controller.js +87 -0
- package/dist/android-app/asset-links.controller.js.map +1 -0
- package/dist/android-app/data/android-app-db.d.ts +117 -0
- package/dist/android-app/data/android-app-db.d.ts.map +1 -0
- package/dist/android-app/data/android-app-db.js +48 -0
- package/dist/android-app/data/android-app-db.js.map +1 -0
- package/dist/android-app/device-sources.d.ts +72 -0
- package/dist/android-app/device-sources.d.ts.map +1 -0
- package/dist/android-app/device-sources.js +96 -0
- package/dist/android-app/device-sources.js.map +1 -0
- package/dist/android-app/doctor/android-assetlinks.doctor-check.d.ts +44 -0
- package/dist/android-app/doctor/android-assetlinks.doctor-check.d.ts.map +1 -0
- package/dist/android-app/doctor/android-assetlinks.doctor-check.js +101 -0
- package/dist/android-app/doctor/android-assetlinks.doctor-check.js.map +1 -0
- package/dist/android-app/doctor/android-releases.doctor-check.d.ts +64 -0
- package/dist/android-app/doctor/android-releases.doctor-check.d.ts.map +1 -0
- package/dist/android-app/doctor/android-releases.doctor-check.js +120 -0
- package/dist/android-app/doctor/android-releases.doctor-check.js.map +1 -0
- package/dist/android-app/dto/android-app.dto.d.ts +135 -0
- package/dist/android-app/dto/android-app.dto.d.ts.map +1 -0
- package/dist/android-app/dto/android-app.dto.js +62 -0
- package/dist/android-app/dto/android-app.dto.js.map +1 -0
- package/dist/android-app/index.d.ts +26 -0
- package/dist/android-app/index.d.ts.map +1 -0
- package/dist/android-app/index.js +80 -0
- package/dist/android-app/index.js.map +1 -0
- package/dist/android-app/releases/android-release-admin.controller.d.ts +41 -0
- package/dist/android-app/releases/android-release-admin.controller.d.ts.map +1 -0
- package/dist/android-app/releases/android-release-admin.controller.js +208 -0
- package/dist/android-app/releases/android-release-admin.controller.js.map +1 -0
- package/dist/android-app/releases/android-release.controller.d.ts +35 -0
- package/dist/android-app/releases/android-release.controller.d.ts.map +1 -0
- package/dist/android-app/releases/android-release.controller.js +142 -0
- package/dist/android-app/releases/android-release.controller.js.map +1 -0
- package/dist/android-app/releases/android-release.service.d.ts +245 -0
- package/dist/android-app/releases/android-release.service.d.ts.map +1 -0
- package/dist/android-app/releases/android-release.service.js +575 -0
- package/dist/android-app/releases/android-release.service.js.map +1 -0
- package/dist/android-app/releases/apk-inspector.d.ts +52 -0
- package/dist/android-app/releases/apk-inspector.d.ts.map +1 -0
- package/dist/android-app/releases/apk-inspector.js +119 -0
- package/dist/android-app/releases/apk-inspector.js.map +1 -0
- package/dist/android-app/releases/download-token.d.ts +67 -0
- package/dist/android-app/releases/download-token.d.ts.map +1 -0
- package/dist/android-app/releases/download-token.js +108 -0
- package/dist/android-app/releases/download-token.js.map +1 -0
- package/dist/android-app/testing/conformance.d.ts +63 -0
- package/dist/android-app/testing/conformance.d.ts.map +1 -0
- package/dist/android-app/testing/conformance.js +151 -0
- package/dist/android-app/testing/conformance.js.map +1 -0
- package/dist/android-app/testing/index.d.ts +3 -0
- package/dist/android-app/testing/index.d.ts.map +1 -0
- package/dist/android-app/testing/index.js +13 -0
- package/dist/android-app/testing/index.js.map +1 -0
- package/dist/android-app/trusted-apps-validation.pipe.d.ts +29 -0
- package/dist/android-app/trusted-apps-validation.pipe.d.ts.map +1 -0
- package/dist/android-app/trusted-apps-validation.pipe.js +80 -0
- package/dist/android-app/trusted-apps-validation.pipe.js.map +1 -0
- package/dist/android-app/user-data.d.ts +18 -0
- package/dist/android-app/user-data.d.ts.map +1 -0
- package/dist/android-app/user-data.js +35 -0
- package/dist/android-app/user-data.js.map +1 -0
- package/dist/core/crypto/encryption-key-startup-check.d.ts +29 -0
- package/dist/core/crypto/encryption-key-startup-check.d.ts.map +1 -0
- package/dist/core/crypto/encryption-key-startup-check.js +221 -0
- package/dist/core/crypto/encryption-key-startup-check.js.map +1 -0
- package/dist/core/crypto/secret-cipher.d.ts +189 -0
- package/dist/core/crypto/secret-cipher.d.ts.map +1 -0
- package/dist/core/crypto/secret-cipher.js +511 -0
- package/dist/core/crypto/secret-cipher.js.map +1 -0
- package/dist/core/data-access/access-reason.registry.d.ts +95 -0
- package/dist/core/data-access/access-reason.registry.d.ts.map +1 -0
- package/dist/core/data-access/access-reason.registry.js +136 -0
- package/dist/core/data-access/access-reason.registry.js.map +1 -0
- package/dist/core/data-access/index.d.ts +12 -0
- package/dist/core/data-access/index.d.ts.map +1 -0
- package/dist/core/data-access/index.js +42 -0
- package/dist/core/data-access/index.js.map +1 -0
- package/dist/core/data-access/model-ownership.d.ts +112 -0
- package/dist/core/data-access/model-ownership.d.ts.map +1 -0
- package/dist/core/data-access/model-ownership.js +142 -0
- package/dist/core/data-access/model-ownership.js.map +1 -0
- package/dist/core/data-access/rls.d.ts +243 -0
- package/dist/core/data-access/rls.d.ts.map +1 -0
- package/dist/core/data-access/rls.js +357 -0
- package/dist/core/data-access/rls.js.map +1 -0
- package/dist/core/data-access/scoped-access.error.d.ts +35 -0
- package/dist/core/data-access/scoped-access.error.d.ts.map +1 -0
- package/dist/core/data-access/scoped-access.error.js +43 -0
- package/dist/core/data-access/scoped-access.error.js.map +1 -0
- package/dist/core/data-access/scoped-client.d.ts +104 -0
- package/dist/core/data-access/scoped-client.d.ts.map +1 -0
- package/dist/core/data-access/scoped-client.js +270 -0
- package/dist/core/data-access/scoped-client.js.map +1 -0
- package/dist/core/data-access/types.d.ts +85 -0
- package/dist/core/data-access/types.d.ts.map +1 -0
- package/dist/core/data-access/types.js +12 -0
- package/dist/core/data-access/types.js.map +1 -0
- package/dist/core/data-access/user-owned-data.registry.d.ts +60 -0
- package/dist/core/data-access/user-owned-data.registry.d.ts.map +1 -0
- package/dist/core/data-access/user-owned-data.registry.js +140 -0
- package/dist/core/data-access/user-owned-data.registry.js.map +1 -0
- package/dist/core/database-url.d.ts +38 -0
- package/dist/core/database-url.d.ts.map +1 -0
- package/dist/core/database-url.js +52 -0
- package/dist/core/database-url.js.map +1 -0
- package/dist/core/errors/database-seed.exception.d.ts +23 -0
- package/dist/core/errors/database-seed.exception.d.ts.map +1 -0
- package/dist/core/errors/database-seed.exception.js +49 -0
- package/dist/core/errors/database-seed.exception.js.map +1 -0
- package/dist/core/errors/error-codes.d.ts +114 -0
- package/dist/core/errors/error-codes.d.ts.map +1 -0
- package/dist/core/errors/error-codes.js +140 -0
- package/dist/core/errors/error-codes.js.map +1 -0
- package/dist/core/errors/error.dto.d.ts +47 -0
- package/dist/core/errors/error.dto.d.ts.map +1 -0
- package/dist/core/errors/error.dto.js +115 -0
- package/dist/core/errors/error.dto.js.map +1 -0
- package/dist/core/errors/http-exception.filter.d.ts +100 -0
- package/dist/core/errors/http-exception.filter.d.ts.map +1 -0
- package/dist/core/errors/http-exception.filter.js +263 -0
- package/dist/core/errors/http-exception.filter.js.map +1 -0
- package/dist/core/errors/verbatim-error-body.exception.d.ts +46 -0
- package/dist/core/errors/verbatim-error-body.exception.d.ts.map +1 -0
- package/dist/core/errors/verbatim-error-body.exception.js +135 -0
- package/dist/core/errors/verbatim-error-body.exception.js.map +1 -0
- package/dist/core/host/index.d.ts +7 -0
- package/dist/core/host/index.d.ts.map +1 -0
- package/dist/core/host/index.js +14 -0
- package/dist/core/host/index.js.map +1 -0
- package/dist/core/host/platform-host.d.ts +67 -0
- package/dist/core/host/platform-host.d.ts.map +1 -0
- package/dist/core/host/platform-host.js +118 -0
- package/dist/core/host/platform-host.js.map +1 -0
- package/dist/core/host/platform-host.module.d.ts +53 -0
- package/dist/core/host/platform-host.module.d.ts.map +1 -0
- package/dist/core/host/platform-host.module.js +90 -0
- package/dist/core/host/platform-host.module.js.map +1 -0
- package/dist/core/host/ports.d.ts +132 -0
- package/dist/core/host/ports.d.ts.map +1 -0
- package/dist/core/host/ports.js +48 -0
- package/dist/core/host/ports.js.map +1 -0
- package/dist/core/index.d.ts +93 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +157 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/maintenance/allow-during-maintenance.decorator.d.ts +33 -0
- package/dist/core/maintenance/allow-during-maintenance.decorator.d.ts.map +1 -0
- package/dist/core/maintenance/allow-during-maintenance.decorator.js +48 -0
- package/dist/core/maintenance/allow-during-maintenance.decorator.js.map +1 -0
- package/dist/core/openapi/api-data-response.decorator.d.ts +72 -0
- package/dist/core/openapi/api-data-response.decorator.d.ts.map +1 -0
- package/dist/core/openapi/api-data-response.decorator.js +133 -0
- package/dist/core/openapi/api-data-response.decorator.js.map +1 -0
- package/dist/core/openapi/openapi-tag.registry.d.ts +80 -0
- package/dist/core/openapi/openapi-tag.registry.d.ts.map +1 -0
- package/dist/core/openapi/openapi-tag.registry.js +72 -0
- package/dist/core/openapi/openapi-tag.registry.js.map +1 -0
- package/dist/core/permissions/index.d.ts +8 -0
- package/dist/core/permissions/index.d.ts.map +1 -0
- package/dist/core/permissions/index.js +23 -0
- package/dist/core/permissions/index.js.map +1 -0
- package/dist/core/permissions/permission-catalog.d.ts +135 -0
- package/dist/core/permissions/permission-catalog.d.ts.map +1 -0
- package/dist/core/permissions/permission-catalog.js +114 -0
- package/dist/core/permissions/permission-catalog.js.map +1 -0
- package/dist/core/permissions/permission-ids.d.ts +42 -0
- package/dist/core/permissions/permission-ids.d.ts.map +1 -0
- package/dist/core/permissions/permission-ids.js +48 -0
- package/dist/core/permissions/permission-ids.js.map +1 -0
- package/dist/core/permissions/permission.registry.d.ts +181 -0
- package/dist/core/permissions/permission.registry.d.ts.map +1 -0
- package/dist/core/permissions/permission.registry.js +285 -0
- package/dist/core/permissions/permission.registry.js.map +1 -0
- package/dist/core/permissions/permission.types.d.ts +104 -0
- package/dist/core/permissions/permission.types.d.ts.map +1 -0
- package/dist/core/permissions/permission.types.js +12 -0
- package/dist/core/permissions/permission.types.js.map +1 -0
- package/dist/core/pluggable/describe-config-fields.d.ts +35 -0
- package/dist/core/pluggable/describe-config-fields.d.ts.map +1 -0
- package/dist/core/pluggable/describe-config-fields.js +133 -0
- package/dist/core/pluggable/describe-config-fields.js.map +1 -0
- package/dist/core/pluggable/index.d.ts +5 -0
- package/dist/core/pluggable/index.d.ts.map +1 -0
- package/dist/core/pluggable/index.js +14 -0
- package/dist/core/pluggable/index.js.map +1 -0
- package/dist/core/pluggable/pluggable-errors.d.ts +46 -0
- package/dist/core/pluggable/pluggable-errors.d.ts.map +1 -0
- package/dist/core/pluggable/pluggable-errors.js +73 -0
- package/dist/core/pluggable/pluggable-errors.js.map +1 -0
- package/dist/core/pluggable/pluggable-kind.d.ts +194 -0
- package/dist/core/pluggable/pluggable-kind.d.ts.map +1 -0
- package/dist/core/pluggable/pluggable-kind.js +200 -0
- package/dist/core/pluggable/pluggable-kind.js.map +1 -0
- package/dist/core/principal/credential-kinds.d.ts +132 -0
- package/dist/core/principal/credential-kinds.d.ts.map +1 -0
- package/dist/core/principal/credential-kinds.js +185 -0
- package/dist/core/principal/credential-kinds.js.map +1 -0
- package/dist/core/principal/index.d.ts +9 -0
- package/dist/core/principal/index.d.ts.map +1 -0
- package/dist/core/principal/index.js +18 -0
- package/dist/core/principal/index.js.map +1 -0
- package/dist/core/principal/principal.types.d.ts +234 -0
- package/dist/core/principal/principal.types.d.ts.map +1 -0
- package/dist/core/principal/principal.types.js +22 -0
- package/dist/core/principal/principal.types.js.map +1 -0
- package/dist/core/registry/index.d.ts +4 -0
- package/dist/core/registry/index.d.ts.map +1 -0
- package/dist/core/registry/index.js +19 -0
- package/dist/core/registry/index.js.map +1 -0
- package/dist/core/registry/registry-freeze.service.d.ts +14 -0
- package/dist/core/registry/registry-freeze.service.d.ts.map +1 -0
- package/dist/core/registry/registry-freeze.service.js +55 -0
- package/dist/core/registry/registry-freeze.service.js.map +1 -0
- package/dist/core/registry/registry.d.ts +268 -0
- package/dist/core/registry/registry.d.ts.map +1 -0
- package/dist/core/registry/registry.js +351 -0
- package/dist/core/registry/registry.js.map +1 -0
- package/dist/core/registry/testing.d.ts +29 -0
- package/dist/core/registry/testing.d.ts.map +1 -0
- package/dist/core/registry/testing.js +63 -0
- package/dist/core/registry/testing.js.map +1 -0
- package/dist/core/testing/index.d.ts +5 -0
- package/dist/core/testing/index.d.ts.map +1 -0
- package/dist/core/testing/index.js +13 -0
- package/dist/core/testing/index.js.map +1 -0
- package/dist/core/testing/pluggable-conformance.d.ts +56 -0
- package/dist/core/testing/pluggable-conformance.d.ts.map +1 -0
- package/dist/core/testing/pluggable-conformance.js +110 -0
- package/dist/core/testing/pluggable-conformance.js.map +1 -0
- package/dist/core/testing/vocabulary-conformance.d.ts +34 -0
- package/dist/core/testing/vocabulary-conformance.d.ts.map +1 -0
- package/dist/core/testing/vocabulary-conformance.js +149 -0
- package/dist/core/testing/vocabulary-conformance.js.map +1 -0
- package/dist/credentials/credential-internals.d.ts +79 -0
- package/dist/credentials/credential-internals.d.ts.map +1 -0
- package/dist/credentials/credential-internals.js +154 -0
- package/dist/credentials/credential-internals.js.map +1 -0
- package/dist/credentials/credentials.module.d.ts +16 -0
- package/dist/credentials/credentials.module.d.ts.map +1 -0
- package/dist/credentials/credentials.module.js +55 -0
- package/dist/credentials/credentials.module.js.map +1 -0
- package/dist/credentials/credentials.service.d.ts +117 -0
- package/dist/credentials/credentials.service.d.ts.map +1 -0
- package/dist/credentials/credentials.service.js +392 -0
- package/dist/credentials/credentials.service.js.map +1 -0
- package/dist/credentials/data/credentials-db.d.ts +134 -0
- package/dist/credentials/data/credentials-db.d.ts.map +1 -0
- package/dist/credentials/data/credentials-db.js +18 -0
- package/dist/credentials/data/credentials-db.js.map +1 -0
- package/dist/credentials/index.d.ts +17 -0
- package/dist/credentials/index.d.ts.map +1 -0
- package/dist/credentials/index.js +43 -0
- package/dist/credentials/index.js.map +1 -0
- package/dist/credentials/interfaces/credential-info.interface.d.ts +59 -0
- package/dist/credentials/interfaces/credential-info.interface.d.ts.map +1 -0
- package/dist/credentials/interfaces/credential-info.interface.js +29 -0
- package/dist/credentials/interfaces/credential-info.interface.js.map +1 -0
- package/dist/credentials/interfaces/org-credential-info.interface.d.ts +36 -0
- package/dist/credentials/interfaces/org-credential-info.interface.d.ts.map +1 -0
- package/dist/credentials/interfaces/org-credential-info.interface.js +14 -0
- package/dist/credentials/interfaces/org-credential-info.interface.js.map +1 -0
- package/dist/credentials/interfaces/user-credential-info.interface.d.ts +50 -0
- package/dist/credentials/interfaces/user-credential-info.interface.d.ts.map +1 -0
- package/dist/credentials/interfaces/user-credential-info.interface.js +18 -0
- package/dist/credentials/interfaces/user-credential-info.interface.js.map +1 -0
- package/dist/credentials/org-credentials.module.d.ts +17 -0
- package/dist/credentials/org-credentials.module.d.ts.map +1 -0
- package/dist/credentials/org-credentials.module.js +45 -0
- package/dist/credentials/org-credentials.module.js.map +1 -0
- package/dist/credentials/org-credentials.service.d.ts +87 -0
- package/dist/credentials/org-credentials.service.d.ts.map +1 -0
- package/dist/credentials/org-credentials.service.js +270 -0
- package/dist/credentials/org-credentials.service.js.map +1 -0
- package/dist/credentials/ownership.d.ts +30 -0
- package/dist/credentials/ownership.d.ts.map +1 -0
- package/dist/credentials/ownership.js +74 -0
- package/dist/credentials/ownership.js.map +1 -0
- package/dist/credentials/registry.d.ts +181 -0
- package/dist/credentials/registry.d.ts.map +1 -0
- package/dist/credentials/registry.js +240 -0
- package/dist/credentials/registry.js.map +1 -0
- package/dist/credentials/testing/conformance.d.ts +90 -0
- package/dist/credentials/testing/conformance.d.ts.map +1 -0
- package/dist/credentials/testing/conformance.js +170 -0
- package/dist/credentials/testing/conformance.js.map +1 -0
- package/dist/credentials/testing/index.d.ts +5 -0
- package/dist/credentials/testing/index.d.ts.map +1 -0
- package/dist/credentials/testing/index.js +16 -0
- package/dist/credentials/testing/index.js.map +1 -0
- package/dist/credentials/testing/with-credential-purposes.d.ts +33 -0
- package/dist/credentials/testing/with-credential-purposes.d.ts.map +1 -0
- package/dist/credentials/testing/with-credential-purposes.js +28 -0
- package/dist/credentials/testing/with-credential-purposes.js.map +1 -0
- package/dist/credentials/user-credential.resolver.d.ts +110 -0
- package/dist/credentials/user-credential.resolver.d.ts.map +1 -0
- package/dist/credentials/user-credential.resolver.js +165 -0
- package/dist/credentials/user-credential.resolver.js.map +1 -0
- package/dist/credentials/user-credentials.module.d.ts +17 -0
- package/dist/credentials/user-credentials.module.d.ts.map +1 -0
- package/dist/credentials/user-credentials.module.js +59 -0
- package/dist/credentials/user-credentials.module.js.map +1 -0
- package/dist/credentials/user-credentials.service.d.ts +82 -0
- package/dist/credentials/user-credentials.service.d.ts.map +1 -0
- package/dist/credentials/user-credentials.service.js +292 -0
- package/dist/credentials/user-credentials.service.js.map +1 -0
- package/dist/db-backup/admin-connection.util.d.ts +521 -0
- package/dist/db-backup/admin-connection.util.d.ts.map +1 -0
- package/dist/db-backup/admin-connection.util.js +786 -0
- package/dist/db-backup/admin-connection.util.js.map +1 -0
- package/dist/db-backup/backup-target.d.ts +222 -0
- package/dist/db-backup/backup-target.d.ts.map +1 -0
- package/dist/db-backup/backup-target.js +237 -0
- package/dist/db-backup/backup-target.js.map +1 -0
- package/dist/db-backup/carry-over.registry.d.ts +58 -0
- package/dist/db-backup/carry-over.registry.d.ts.map +1 -0
- package/dist/db-backup/carry-over.registry.js +96 -0
- package/dist/db-backup/carry-over.registry.js.map +1 -0
- package/dist/db-backup/data/db-backup-db.d.ts +207 -0
- package/dist/db-backup/data/db-backup-db.d.ts.map +1 -0
- package/dist/db-backup/data/db-backup-db.js +51 -0
- package/dist/db-backup/data/db-backup-db.js.map +1 -0
- package/dist/db-backup/database-restore.service.d.ts +760 -0
- package/dist/db-backup/database-restore.service.d.ts.map +1 -0
- package/dist/db-backup/database-restore.service.js +2113 -0
- package/dist/db-backup/database-restore.service.js.map +1 -0
- package/dist/db-backup/db-backup-admin.service.d.ts +358 -0
- package/dist/db-backup/db-backup-admin.service.d.ts.map +1 -0
- package/dist/db-backup/db-backup-admin.service.js +952 -0
- package/dist/db-backup/db-backup-admin.service.js.map +1 -0
- package/dist/db-backup/db-backup-events.d.ts +42 -0
- package/dist/db-backup/db-backup-events.d.ts.map +1 -0
- package/dist/db-backup/db-backup-events.js +123 -0
- package/dist/db-backup/db-backup-events.js.map +1 -0
- package/dist/db-backup/db-backup-key-prefix.d.ts +25 -0
- package/dist/db-backup/db-backup-key-prefix.d.ts.map +1 -0
- package/dist/db-backup/db-backup-key-prefix.js +54 -0
- package/dist/db-backup/db-backup-key-prefix.js.map +1 -0
- package/dist/db-backup/db-backup-retention.service.d.ts +91 -0
- package/dist/db-backup/db-backup-retention.service.d.ts.map +1 -0
- package/dist/db-backup/db-backup-retention.service.js +250 -0
- package/dist/db-backup/db-backup-retention.service.js.map +1 -0
- package/dist/db-backup/db-backup-runner.service.d.ts +816 -0
- package/dist/db-backup/db-backup-runner.service.d.ts.map +1 -0
- package/dist/db-backup/db-backup-runner.service.js +1866 -0
- package/dist/db-backup/db-backup-runner.service.js.map +1 -0
- package/dist/db-backup/db-backup-storage.d.ts +124 -0
- package/dist/db-backup/db-backup-storage.d.ts.map +1 -0
- package/dist/db-backup/db-backup-storage.js +268 -0
- package/dist/db-backup/db-backup-storage.js.map +1 -0
- package/dist/db-backup/db-backup.constants.d.ts +46 -0
- package/dist/db-backup/db-backup.constants.d.ts.map +1 -0
- package/dist/db-backup/db-backup.constants.js +51 -0
- package/dist/db-backup/db-backup.constants.js.map +1 -0
- package/dist/db-backup/db-backup.controller.d.ts +61 -0
- package/dist/db-backup/db-backup.controller.d.ts.map +1 -0
- package/dist/db-backup/db-backup.controller.js +683 -0
- package/dist/db-backup/db-backup.controller.js.map +1 -0
- package/dist/db-backup/db-backup.errors.d.ts +291 -0
- package/dist/db-backup/db-backup.errors.d.ts.map +1 -0
- package/dist/db-backup/db-backup.errors.js +433 -0
- package/dist/db-backup/db-backup.errors.js.map +1 -0
- package/dist/db-backup/db-backup.module.d.ts +39 -0
- package/dist/db-backup/db-backup.module.d.ts.map +1 -0
- package/dist/db-backup/db-backup.module.js +401 -0
- package/dist/db-backup/db-backup.module.js.map +1 -0
- package/dist/db-backup/db-backup.permissions.d.ts +32 -0
- package/dist/db-backup/db-backup.permissions.d.ts.map +1 -0
- package/dist/db-backup/db-backup.permissions.js +62 -0
- package/dist/db-backup/db-backup.permissions.js.map +1 -0
- package/dist/db-backup/db-backup.registrations.d.ts +76 -0
- package/dist/db-backup/db-backup.registrations.d.ts.map +1 -0
- package/dist/db-backup/db-backup.registrations.js +129 -0
- package/dist/db-backup/db-backup.registrations.js.map +1 -0
- package/dist/db-backup/db-backup.system-settings.d.ts +200 -0
- package/dist/db-backup/db-backup.system-settings.d.ts.map +1 -0
- package/dist/db-backup/db-backup.system-settings.js +145 -0
- package/dist/db-backup/db-backup.system-settings.js.map +1 -0
- package/dist/db-backup/doctor/backup-mirrors.doctor-check.d.ts +58 -0
- package/dist/db-backup/doctor/backup-mirrors.doctor-check.d.ts.map +1 -0
- package/dist/db-backup/doctor/backup-mirrors.doctor-check.js +140 -0
- package/dist/db-backup/doctor/backup-mirrors.doctor-check.js.map +1 -0
- package/dist/db-backup/doctor/backup-pg-client.doctor-check.d.ts +32 -0
- package/dist/db-backup/doctor/backup-pg-client.doctor-check.d.ts.map +1 -0
- package/dist/db-backup/doctor/backup-pg-client.doctor-check.js +90 -0
- package/dist/db-backup/doctor/backup-pg-client.doctor-check.js.map +1 -0
- package/dist/db-backup/doctor/backup-rls.doctor-check.d.ts +67 -0
- package/dist/db-backup/doctor/backup-rls.doctor-check.d.ts.map +1 -0
- package/dist/db-backup/doctor/backup-rls.doctor-check.js +141 -0
- package/dist/db-backup/doctor/backup-rls.doctor-check.js.map +1 -0
- package/dist/db-backup/doctor/backup-schedule.doctor-check.d.ts +53 -0
- package/dist/db-backup/doctor/backup-schedule.doctor-check.d.ts.map +1 -0
- package/dist/db-backup/doctor/backup-schedule.doctor-check.js +136 -0
- package/dist/db-backup/doctor/backup-schedule.doctor-check.js.map +1 -0
- package/dist/db-backup/dto/db-backup-actions.dto.d.ts +26 -0
- package/dist/db-backup/dto/db-backup-actions.dto.d.ts.map +1 -0
- package/dist/db-backup/dto/db-backup-actions.dto.js +75 -0
- package/dist/db-backup/dto/db-backup-actions.dto.js.map +1 -0
- package/dist/db-backup/dto/db-backup-config.dto.d.ts +56 -0
- package/dist/db-backup/dto/db-backup-config.dto.d.ts.map +1 -0
- package/dist/db-backup/dto/db-backup-config.dto.js +64 -0
- package/dist/db-backup/dto/db-backup-config.dto.js.map +1 -0
- package/dist/db-backup/dto/db-backup-list-query.dto.d.ts +13 -0
- package/dist/db-backup/dto/db-backup-list-query.dto.d.ts.map +1 -0
- package/dist/db-backup/dto/db-backup-list-query.dto.js +46 -0
- package/dist/db-backup/dto/db-backup-list-query.dto.js.map +1 -0
- package/dist/db-backup/dto/db-backup-node-credential.dto.d.ts +20 -0
- package/dist/db-backup/dto/db-backup-node-credential.dto.d.ts.map +1 -0
- package/dist/db-backup/dto/db-backup-node-credential.dto.js +58 -0
- package/dist/db-backup/dto/db-backup-node-credential.dto.js.map +1 -0
- package/dist/db-backup/dto/db-backup-restore.dto.d.ts +244 -0
- package/dist/db-backup/dto/db-backup-restore.dto.d.ts.map +1 -0
- package/dist/db-backup/dto/db-backup-restore.dto.js +335 -0
- package/dist/db-backup/dto/db-backup-restore.dto.js.map +1 -0
- package/dist/db-backup/dto/db-backup-run.dto.d.ts +70 -0
- package/dist/db-backup/dto/db-backup-run.dto.d.ts.map +1 -0
- package/dist/db-backup/dto/db-backup-run.dto.js +170 -0
- package/dist/db-backup/dto/db-backup-run.dto.js.map +1 -0
- package/dist/db-backup/handlers/db-backup-run.handler.d.ts +171 -0
- package/dist/db-backup/handlers/db-backup-run.handler.d.ts.map +1 -0
- package/dist/db-backup/handlers/db-backup-run.handler.js +354 -0
- package/dist/db-backup/handlers/db-backup-run.handler.js.map +1 -0
- package/dist/db-backup/handlers/db-backup-sweep.handler.d.ts +117 -0
- package/dist/db-backup/handlers/db-backup-sweep.handler.d.ts.map +1 -0
- package/dist/db-backup/handlers/db-backup-sweep.handler.js +539 -0
- package/dist/db-backup/handlers/db-backup-sweep.handler.js.map +1 -0
- package/dist/db-backup/handlers/db-restore-old-db-drop.handler.d.ts +40 -0
- package/dist/db-backup/handlers/db-restore-old-db-drop.handler.d.ts.map +1 -0
- package/dist/db-backup/handlers/db-restore-old-db-drop.handler.js +122 -0
- package/dist/db-backup/handlers/db-restore-old-db-drop.handler.js.map +1 -0
- package/dist/db-backup/handlers/db-restore-run.handler.d.ts +55 -0
- package/dist/db-backup/handlers/db-restore-run.handler.d.ts.map +1 -0
- package/dist/db-backup/handlers/db-restore-run.handler.js +207 -0
- package/dist/db-backup/handlers/db-restore-run.handler.js.map +1 -0
- package/dist/db-backup/index.d.ts +49 -0
- package/dist/db-backup/index.d.ts.map +1 -0
- package/dist/db-backup/index.js +116 -0
- package/dist/db-backup/index.js.map +1 -0
- package/dist/db-backup/migration-state.util.d.ts +62 -0
- package/dist/db-backup/migration-state.util.d.ts.map +1 -0
- package/dist/db-backup/migration-state.util.js +69 -0
- package/dist/db-backup/migration-state.util.js.map +1 -0
- package/dist/db-backup/options.d.ts +160 -0
- package/dist/db-backup/options.d.ts.map +1 -0
- package/dist/db-backup/options.js +103 -0
- package/dist/db-backup/options.js.map +1 -0
- package/dist/db-backup/pg-dump.util.d.ts +314 -0
- package/dist/db-backup/pg-dump.util.d.ts.map +1 -0
- package/dist/db-backup/pg-dump.util.js +458 -0
- package/dist/db-backup/pg-dump.util.js.map +1 -0
- package/dist/db-backup/pg-job-role.broker.d.ts +451 -0
- package/dist/db-backup/pg-job-role.broker.d.ts.map +1 -0
- package/dist/db-backup/pg-job-role.broker.js +912 -0
- package/dist/db-backup/pg-job-role.broker.js.map +1 -0
- package/dist/db-backup/pg-restore.util.d.ts +150 -0
- package/dist/db-backup/pg-restore.util.d.ts.map +1 -0
- package/dist/db-backup/pg-restore.util.js +236 -0
- package/dist/db-backup/pg-restore.util.js.map +1 -0
- package/dist/db-backup/pg-version.util.d.ts +207 -0
- package/dist/db-backup/pg-version.util.d.ts.map +1 -0
- package/dist/db-backup/pg-version.util.js +310 -0
- package/dist/db-backup/pg-version.util.js.map +1 -0
- package/dist/db-backup/ports.d.ts +212 -0
- package/dist/db-backup/ports.d.ts.map +1 -0
- package/dist/db-backup/ports.js +100 -0
- package/dist/db-backup/ports.js.map +1 -0
- package/dist/db-backup/restore-gate.d.ts +34 -0
- package/dist/db-backup/restore-gate.d.ts.map +1 -0
- package/dist/db-backup/restore-gate.js +80 -0
- package/dist/db-backup/restore-gate.js.map +1 -0
- package/dist/db-backup/restore-gate.registry.d.ts +253 -0
- package/dist/db-backup/restore-gate.registry.d.ts.map +1 -0
- package/dist/db-backup/restore-gate.registry.js +182 -0
- package/dist/db-backup/restore-gate.registry.js.map +1 -0
- package/dist/db-backup/restore-gates.builtin.d.ts +134 -0
- package/dist/db-backup/restore-gates.builtin.d.ts.map +1 -0
- package/dist/db-backup/restore-gates.builtin.js +513 -0
- package/dist/db-backup/restore-gates.builtin.js.map +1 -0
- package/dist/db-backup/restore-preflight.service.d.ts +339 -0
- package/dist/db-backup/restore-preflight.service.d.ts.map +1 -0
- package/dist/db-backup/restore-preflight.service.js +551 -0
- package/dist/db-backup/restore-preflight.service.js.map +1 -0
- package/dist/db-backup/schedule.util.d.ts +249 -0
- package/dist/db-backup/schedule.util.d.ts.map +1 -0
- package/dist/db-backup/schedule.util.js +619 -0
- package/dist/db-backup/schedule.util.js.map +1 -0
- package/dist/db-backup/tasks/db-backup-schedule.task.d.ts +96 -0
- package/dist/db-backup/tasks/db-backup-schedule.task.d.ts.map +1 -0
- package/dist/db-backup/tasks/db-backup-schedule.task.js +309 -0
- package/dist/db-backup/tasks/db-backup-schedule.task.js.map +1 -0
- package/dist/db-backup/testing/backup-target-conformance.d.ts +57 -0
- package/dist/db-backup/testing/backup-target-conformance.d.ts.map +1 -0
- package/dist/db-backup/testing/backup-target-conformance.js +307 -0
- package/dist/db-backup/testing/backup-target-conformance.js.map +1 -0
- package/dist/db-backup/testing/conformance.d.ts +61 -0
- package/dist/db-backup/testing/conformance.d.ts.map +1 -0
- package/dist/db-backup/testing/conformance.js +178 -0
- package/dist/db-backup/testing/conformance.js.map +1 -0
- package/dist/db-backup/testing/index.d.ts +49 -0
- package/dist/db-backup/testing/index.d.ts.map +1 -0
- package/dist/db-backup/testing/index.js +102 -0
- package/dist/db-backup/testing/index.js.map +1 -0
- package/dist/db-backup/testing/restore-gate-conformance.d.ts +82 -0
- package/dist/db-backup/testing/restore-gate-conformance.d.ts.map +1 -0
- package/dist/db-backup/testing/restore-gate-conformance.js +217 -0
- package/dist/db-backup/testing/restore-gate-conformance.js.map +1 -0
- package/dist/doctor/doctor-check.interface.d.ts +100 -0
- package/dist/doctor/doctor-check.interface.d.ts.map +1 -0
- package/dist/doctor/doctor-check.interface.js +95 -0
- package/dist/doctor/doctor-check.interface.js.map +1 -0
- package/dist/doctor/doctor-check.registry.d.ts +37 -0
- package/dist/doctor/doctor-check.registry.d.ts.map +1 -0
- package/dist/doctor/doctor-check.registry.js +96 -0
- package/dist/doctor/doctor-check.registry.js.map +1 -0
- package/dist/doctor/doctor.controller.factory.d.ts +29 -0
- package/dist/doctor/doctor.controller.factory.d.ts.map +1 -0
- package/dist/doctor/doctor.controller.factory.js +121 -0
- package/dist/doctor/doctor.controller.factory.js.map +1 -0
- package/dist/doctor/doctor.module.d.ts +78 -0
- package/dist/doctor/doctor.module.d.ts.map +1 -0
- package/dist/doctor/doctor.module.js +158 -0
- package/dist/doctor/doctor.module.js.map +1 -0
- package/dist/doctor/doctor.options.d.ts +39 -0
- package/dist/doctor/doctor.options.d.ts.map +1 -0
- package/dist/doctor/doctor.options.js +21 -0
- package/dist/doctor/doctor.options.js.map +1 -0
- package/dist/doctor/doctor.service.d.ts +80 -0
- package/dist/doctor/doctor.service.d.ts.map +1 -0
- package/dist/doctor/doctor.service.js +301 -0
- package/dist/doctor/doctor.service.js.map +1 -0
- package/dist/doctor/dto/doctor-query.dto.d.ts +15 -0
- package/dist/doctor/dto/doctor-query.dto.d.ts.map +1 -0
- package/dist/doctor/dto/doctor-query.dto.js +16 -0
- package/dist/doctor/dto/doctor-query.dto.js.map +1 -0
- package/dist/doctor/dto/doctor-report.dto.d.ts +27 -0
- package/dist/doctor/dto/doctor-report.dto.d.ts.map +1 -0
- package/dist/doctor/dto/doctor-report.dto.js +23 -0
- package/dist/doctor/dto/doctor-report.dto.js.map +1 -0
- package/dist/doctor/egress/classify-host.d.ts +73 -0
- package/dist/doctor/egress/classify-host.d.ts.map +1 -0
- package/dist/doctor/egress/classify-host.js +210 -0
- package/dist/doctor/egress/classify-host.js.map +1 -0
- package/dist/doctor/egress/egress.registry.d.ts +34 -0
- package/dist/doctor/egress/egress.registry.d.ts.map +1 -0
- package/dist/doctor/egress/egress.registry.js +70 -0
- package/dist/doctor/egress/egress.registry.js.map +1 -0
- package/dist/doctor/egress/egress.types.d.ts +135 -0
- package/dist/doctor/egress/egress.types.d.ts.map +1 -0
- package/dist/doctor/egress/egress.types.js +42 -0
- package/dist/doctor/egress/egress.types.js.map +1 -0
- package/dist/doctor/egress/index.d.ts +6 -0
- package/dist/doctor/egress/index.d.ts.map +1 -0
- package/dist/doctor/egress/index.js +23 -0
- package/dist/doctor/egress/index.js.map +1 -0
- package/dist/doctor/egress/network-egress.doctor-check.d.ts +78 -0
- package/dist/doctor/egress/network-egress.doctor-check.d.ts.map +1 -0
- package/dist/doctor/egress/network-egress.doctor-check.js +226 -0
- package/dist/doctor/egress/network-egress.doctor-check.js.map +1 -0
- package/dist/doctor/index.d.ts +19 -0
- package/dist/doctor/index.d.ts.map +1 -0
- package/dist/doctor/index.js +66 -0
- package/dist/doctor/index.js.map +1 -0
- package/dist/doctor/support-bundle/index.d.ts +12 -0
- package/dist/doctor/support-bundle/index.d.ts.map +1 -0
- package/dist/doctor/support-bundle/index.js +32 -0
- package/dist/doctor/support-bundle/index.js.map +1 -0
- package/dist/doctor/support-bundle/redact.d.ts +76 -0
- package/dist/doctor/support-bundle/redact.d.ts.map +1 -0
- package/dist/doctor/support-bundle/redact.js +236 -0
- package/dist/doctor/support-bundle/redact.js.map +1 -0
- package/dist/doctor/support-bundle/sections/doctor.section.d.ts +81 -0
- package/dist/doctor/support-bundle/sections/doctor.section.d.ts.map +1 -0
- package/dist/doctor/support-bundle/sections/doctor.section.js +83 -0
- package/dist/doctor/support-bundle/sections/doctor.section.js.map +1 -0
- package/dist/doctor/support-bundle/sections/egress.section.d.ts +73 -0
- package/dist/doctor/support-bundle/sections/egress.section.d.ts.map +1 -0
- package/dist/doctor/support-bundle/sections/egress.section.js +97 -0
- package/dist/doctor/support-bundle/sections/egress.section.js.map +1 -0
- package/dist/doctor/support-bundle/sections/meta.section.d.ts +39 -0
- package/dist/doctor/support-bundle/sections/meta.section.d.ts.map +1 -0
- package/dist/doctor/support-bundle/sections/meta.section.js +89 -0
- package/dist/doctor/support-bundle/sections/meta.section.js.map +1 -0
- package/dist/doctor/support-bundle/support-bundle-section.interface.d.ts +100 -0
- package/dist/doctor/support-bundle/support-bundle-section.interface.d.ts.map +1 -0
- package/dist/doctor/support-bundle/support-bundle-section.interface.js +59 -0
- package/dist/doctor/support-bundle/support-bundle-section.interface.js.map +1 -0
- package/dist/doctor/support-bundle/support-bundle.controller.d.ts +57 -0
- package/dist/doctor/support-bundle/support-bundle.controller.d.ts.map +1 -0
- package/dist/doctor/support-bundle/support-bundle.controller.js +141 -0
- package/dist/doctor/support-bundle/support-bundle.controller.js.map +1 -0
- package/dist/doctor/support-bundle/support-bundle.options.d.ts +92 -0
- package/dist/doctor/support-bundle/support-bundle.options.d.ts.map +1 -0
- package/dist/doctor/support-bundle/support-bundle.options.js +100 -0
- package/dist/doctor/support-bundle/support-bundle.options.js.map +1 -0
- package/dist/doctor/support-bundle/support-bundle.registry.d.ts +38 -0
- package/dist/doctor/support-bundle/support-bundle.registry.d.ts.map +1 -0
- package/dist/doctor/support-bundle/support-bundle.registry.js +90 -0
- package/dist/doctor/support-bundle/support-bundle.registry.js.map +1 -0
- package/dist/doctor/support-bundle/support-bundle.service.d.ts +63 -0
- package/dist/doctor/support-bundle/support-bundle.service.d.ts.map +1 -0
- package/dist/doctor/support-bundle/support-bundle.service.js +244 -0
- package/dist/doctor/support-bundle/support-bundle.service.js.map +1 -0
- package/dist/doctor/testing/describe-doctor-check-conformance.d.ts +80 -0
- package/dist/doctor/testing/describe-doctor-check-conformance.d.ts.map +1 -0
- package/dist/doctor/testing/describe-doctor-check-conformance.js +85 -0
- package/dist/doctor/testing/describe-doctor-check-conformance.js.map +1 -0
- package/dist/doctor/testing/doctor-read-only.suite.d.ts +203 -0
- package/dist/doctor/testing/doctor-read-only.suite.d.ts.map +1 -0
- package/dist/doctor/testing/doctor-read-only.suite.js +240 -0
- package/dist/doctor/testing/doctor-read-only.suite.js.map +1 -0
- package/dist/doctor/testing/index.d.ts +12 -0
- package/dist/doctor/testing/index.d.ts.map +1 -0
- package/dist/doctor/testing/index.js +29 -0
- package/dist/doctor/testing/index.js.map +1 -0
- package/dist/doctor/testing/recording-prisma.d.ts +83 -0
- package/dist/doctor/testing/recording-prisma.d.ts.map +1 -0
- package/dist/doctor/testing/recording-prisma.js +242 -0
- package/dist/doctor/testing/recording-prisma.js.map +1 -0
- package/dist/doctor/testing/run-doctor-check.d.ts +80 -0
- package/dist/doctor/testing/run-doctor-check.d.ts.map +1 -0
- package/dist/doctor/testing/run-doctor-check.js +176 -0
- package/dist/doctor/testing/run-doctor-check.js.map +1 -0
- package/dist/doctor/testing/write-failing-storage.d.ts +62 -0
- package/dist/doctor/testing/write-failing-storage.d.ts.map +1 -0
- package/dist/doctor/testing/write-failing-storage.js +99 -0
- package/dist/doctor/testing/write-failing-storage.js.map +1 -0
- package/dist/email/base-email.provider.d.ts +89 -0
- package/dist/email/base-email.provider.d.ts.map +1 -0
- package/dist/email/base-email.provider.js +223 -0
- package/dist/email/base-email.provider.js.map +1 -0
- package/dist/email/doctor/egress/email.egress.contributor.d.ts +30 -0
- package/dist/email/doctor/egress/email.egress.contributor.d.ts.map +1 -0
- package/dist/email/doctor/egress/email.egress.contributor.js +78 -0
- package/dist/email/doctor/egress/email.egress.contributor.js.map +1 -0
- package/dist/email/doctor/email-config.doctor-check.d.ts +42 -0
- package/dist/email/doctor/email-config.doctor-check.d.ts.map +1 -0
- package/dist/email/doctor/email-config.doctor-check.js +131 -0
- package/dist/email/doctor/email-config.doctor-check.js.map +1 -0
- package/dist/email/dto/email-settings-response.dto.d.ts +92 -0
- package/dist/email/dto/email-settings-response.dto.d.ts.map +1 -0
- package/dist/email/dto/email-settings-response.dto.js +26 -0
- package/dist/email/dto/email-settings-response.dto.js.map +1 -0
- package/dist/email/dto/test-email-result.dto.d.ts +18 -0
- package/dist/email/dto/test-email-result.dto.d.ts.map +1 -0
- package/dist/email/dto/test-email-result.dto.js +24 -0
- package/dist/email/dto/test-email-result.dto.js.map +1 -0
- package/dist/email/dto/update-email-settings.dto.d.ts +26 -0
- package/dist/email/dto/update-email-settings.dto.d.ts.map +1 -0
- package/dist/email/dto/update-email-settings.dto.js +25 -0
- package/dist/email/dto/update-email-settings.dto.js.map +1 -0
- package/dist/email/email-rate-limit.d.ts +38 -0
- package/dist/email/email-rate-limit.d.ts.map +1 -0
- package/dist/email/email-rate-limit.js +187 -0
- package/dist/email/email-rate-limit.js.map +1 -0
- package/dist/email/email-settings-compat.d.ts +95 -0
- package/dist/email/email-settings-compat.d.ts.map +1 -0
- package/dist/email/email-settings-compat.js +207 -0
- package/dist/email/email-settings-compat.js.map +1 -0
- package/dist/email/email-settings.controller.d.ts +45 -0
- package/dist/email/email-settings.controller.d.ts.map +1 -0
- package/dist/email/email-settings.controller.js +195 -0
- package/dist/email/email-settings.controller.js.map +1 -0
- package/dist/email/email-settings.schema.d.ts +3 -0
- package/dist/email/email-settings.schema.d.ts.map +1 -0
- package/dist/email/email-settings.schema.js +24 -0
- package/dist/email/email-settings.schema.js.map +1 -0
- package/dist/email/email-settings.service.d.ts +260 -0
- package/dist/email/email-settings.service.d.ts.map +1 -0
- package/dist/email/email-settings.service.js +570 -0
- package/dist/email/email-settings.service.js.map +1 -0
- package/dist/email/email-test-send.service.d.ts +101 -0
- package/dist/email/email-test-send.service.d.ts.map +1 -0
- package/dist/email/email-test-send.service.js +325 -0
- package/dist/email/email-test-send.service.js.map +1 -0
- package/dist/email/email.module.d.ts +60 -0
- package/dist/email/email.module.d.ts.map +1 -0
- package/dist/email/email.module.js +171 -0
- package/dist/email/email.module.js.map +1 -0
- package/dist/email/email.options.d.ts +83 -0
- package/dist/email/email.options.d.ts.map +1 -0
- package/dist/email/email.options.js +64 -0
- package/dist/email/email.options.js.map +1 -0
- package/dist/email/email.types.d.ts +125 -0
- package/dist/email/email.types.d.ts.map +1 -0
- package/dist/email/email.types.js +14 -0
- package/dist/email/email.types.js.map +1 -0
- package/dist/email/index.d.ts +55 -0
- package/dist/email/index.d.ts.map +1 -0
- package/dist/email/index.js +138 -0
- package/dist/email/index.js.map +1 -0
- package/dist/email/providers/email-provider.interface.d.ts +42 -0
- package/dist/email/providers/email-provider.interface.d.ts.map +1 -0
- package/dist/email/providers/email-provider.interface.js +3 -0
- package/dist/email/providers/email-provider.interface.js.map +1 -0
- package/dist/email/providers/ses-email.provider.d.ts +47 -0
- package/dist/email/providers/ses-email.provider.d.ts.map +1 -0
- package/dist/email/providers/ses-email.provider.js +226 -0
- package/dist/email/providers/ses-email.provider.js.map +1 -0
- package/dist/email/providers/smtp-email.provider.d.ts +57 -0
- package/dist/email/providers/smtp-email.provider.d.ts.map +1 -0
- package/dist/email/providers/smtp-email.provider.js +285 -0
- package/dist/email/providers/smtp-email.provider.js.map +1 -0
- package/dist/email/ses-credential.constants.d.ts +47 -0
- package/dist/email/ses-credential.constants.d.ts.map +1 -0
- package/dist/email/ses-credential.constants.js +79 -0
- package/dist/email/ses-credential.constants.js.map +1 -0
- package/dist/email/smtp-credential.constants.d.ts +46 -0
- package/dist/email/smtp-credential.constants.d.ts.map +1 -0
- package/dist/email/smtp-credential.constants.js +77 -0
- package/dist/email/smtp-credential.constants.js.map +1 -0
- package/dist/email/templates/allowlist-invitation.email.d.ts +47 -0
- package/dist/email/templates/allowlist-invitation.email.d.ts.map +1 -0
- package/dist/email/templates/allowlist-invitation.email.js +70 -0
- package/dist/email/templates/allowlist-invitation.email.js.map +1 -0
- package/dist/email/templates/backup-failed.email.d.ts +40 -0
- package/dist/email/templates/backup-failed.email.d.ts.map +1 -0
- package/dist/email/templates/backup-failed.email.js +120 -0
- package/dist/email/templates/backup-failed.email.js.map +1 -0
- package/dist/email/templates/broadcast.email.d.ts +67 -0
- package/dist/email/templates/broadcast.email.d.ts.map +1 -0
- package/dist/email/templates/broadcast.email.js +157 -0
- package/dist/email/templates/broadcast.email.js.map +1 -0
- package/dist/email/templates/email-template.registry.d.ts +182 -0
- package/dist/email/templates/email-template.registry.d.ts.map +1 -0
- package/dist/email/templates/email-template.registry.js +252 -0
- package/dist/email/templates/email-template.registry.js.map +1 -0
- package/dist/email/templates/email-template.types.d.ts +88 -0
- package/dist/email/templates/email-template.types.d.ts.map +1 -0
- package/dist/email/templates/email-template.types.js +31 -0
- package/dist/email/templates/email-template.types.js.map +1 -0
- package/dist/email/templates/index.d.ts +32 -0
- package/dist/email/templates/index.d.ts.map +1 -0
- package/dist/email/templates/index.js +76 -0
- package/dist/email/templates/index.js.map +1 -0
- package/dist/email/templates/job-failed.email.d.ts +47 -0
- package/dist/email/templates/job-failed.email.d.ts.map +1 -0
- package/dist/email/templates/job-failed.email.js +112 -0
- package/dist/email/templates/job-failed.email.js.map +1 -0
- package/dist/email/templates/layout-theme.d.ts +160 -0
- package/dist/email/templates/layout-theme.d.ts.map +1 -0
- package/dist/email/templates/layout-theme.js +134 -0
- package/dist/email/templates/layout-theme.js.map +1 -0
- package/dist/email/templates/layout.d.ts +114 -0
- package/dist/email/templates/layout.d.ts.map +1 -0
- package/dist/email/templates/layout.js +322 -0
- package/dist/email/templates/layout.js.map +1 -0
- package/dist/email/templates/node-offline.email.d.ts +36 -0
- package/dist/email/templates/node-offline.email.d.ts.map +1 -0
- package/dist/email/templates/node-offline.email.js +117 -0
- package/dist/email/templates/node-offline.email.js.map +1 -0
- package/dist/email/templates/platform-email-templates.d.ts +63 -0
- package/dist/email/templates/platform-email-templates.d.ts.map +1 -0
- package/dist/email/templates/platform-email-templates.js +34 -0
- package/dist/email/templates/platform-email-templates.js.map +1 -0
- package/dist/email/templates/render-context.d.ts +81 -0
- package/dist/email/templates/render-context.d.ts.map +1 -0
- package/dist/email/templates/render-context.js +115 -0
- package/dist/email/templates/render-context.js.map +1 -0
- package/dist/email/templates/restore-completed.email.d.ts +46 -0
- package/dist/email/templates/restore-completed.email.d.ts.map +1 -0
- package/dist/email/templates/restore-completed.email.js +118 -0
- package/dist/email/templates/restore-completed.email.js.map +1 -0
- package/dist/email/templates/role-changed.email.d.ts +36 -0
- package/dist/email/templates/role-changed.email.d.ts.map +1 -0
- package/dist/email/templates/role-changed.email.js +118 -0
- package/dist/email/templates/role-changed.email.js.map +1 -0
- package/dist/email/templates/safe-html.d.ts +110 -0
- package/dist/email/templates/safe-html.d.ts.map +1 -0
- package/dist/email/templates/safe-html.js +235 -0
- package/dist/email/templates/safe-html.js.map +1 -0
- package/dist/email/templates/test-email.email.d.ts +46 -0
- package/dist/email/templates/test-email.email.d.ts.map +1 -0
- package/dist/email/templates/test-email.email.js +129 -0
- package/dist/email/templates/test-email.email.js.map +1 -0
- package/dist/email/templates/user-welcome.email.d.ts +47 -0
- package/dist/email/templates/user-welcome.email.d.ts.map +1 -0
- package/dist/email/templates/user-welcome.email.js +96 -0
- package/dist/email/templates/user-welcome.email.js.map +1 -0
- package/dist/email/testing/conformance.d.ts +61 -0
- package/dist/email/testing/conformance.d.ts.map +1 -0
- package/dist/email/testing/conformance.js +179 -0
- package/dist/email/testing/conformance.js.map +1 -0
- package/dist/email/testing/index.d.ts +5 -0
- package/dist/email/testing/index.d.ts.map +1 -0
- package/dist/email/testing/index.js +16 -0
- package/dist/email/testing/index.js.map +1 -0
- package/dist/email/testing/transport-conformance.d.ts +111 -0
- package/dist/email/testing/transport-conformance.d.ts.map +1 -0
- package/dist/email/testing/transport-conformance.js +302 -0
- package/dist/email/testing/transport-conformance.js.map +1 -0
- package/dist/email/transports/builtin-email-transports.d.ts +53 -0
- package/dist/email/transports/builtin-email-transports.d.ts.map +1 -0
- package/dist/email/transports/builtin-email-transports.js +131 -0
- package/dist/email/transports/builtin-email-transports.js.map +1 -0
- package/dist/email/transports/email-transport.d.ts +265 -0
- package/dist/email/transports/email-transport.d.ts.map +1 -0
- package/dist/email/transports/email-transport.js +241 -0
- package/dist/email/transports/email-transport.js.map +1 -0
- package/dist/email/transports/email-transport.resolver.d.ts +75 -0
- package/dist/email/transports/email-transport.resolver.d.ts.map +1 -0
- package/dist/email/transports/email-transport.resolver.js +164 -0
- package/dist/email/transports/email-transport.resolver.js.map +1 -0
- package/dist/exports/csv.d.ts +95 -0
- package/dist/exports/csv.d.ts.map +1 -0
- package/dist/exports/csv.js +132 -0
- package/dist/exports/csv.js.map +1 -0
- package/dist/exports/datamodel.d.ts +139 -0
- package/dist/exports/datamodel.d.ts.map +1 -0
- package/dist/exports/datamodel.js +194 -0
- package/dist/exports/datamodel.js.map +1 -0
- package/dist/exports/documents/export-options.d.ts +102 -0
- package/dist/exports/documents/export-options.d.ts.map +1 -0
- package/dist/exports/documents/export-options.js +117 -0
- package/dist/exports/documents/export-options.js.map +1 -0
- package/dist/exports/documents/exporter-registry.d.ts +80 -0
- package/dist/exports/documents/exporter-registry.d.ts.map +1 -0
- package/dist/exports/documents/exporter-registry.js +96 -0
- package/dist/exports/documents/exporter-registry.js.map +1 -0
- package/dist/exports/export-job.d.ts +113 -0
- package/dist/exports/export-job.d.ts.map +1 -0
- package/dist/exports/export-job.js +140 -0
- package/dist/exports/export-job.js.map +1 -0
- package/dist/exports/export-stream.d.ts +46 -0
- package/dist/exports/export-stream.d.ts.map +1 -0
- package/dist/exports/export-stream.js +104 -0
- package/dist/exports/export-stream.js.map +1 -0
- package/dist/exports/export.registries.d.ts +89 -0
- package/dist/exports/export.registries.d.ts.map +1 -0
- package/dist/exports/export.registries.js +258 -0
- package/dist/exports/export.registries.js.map +1 -0
- package/dist/exports/export.types.d.ts +217 -0
- package/dist/exports/export.types.d.ts.map +1 -0
- package/dist/exports/export.types.js +19 -0
- package/dist/exports/export.types.js.map +1 -0
- package/dist/exports/exports.constants.d.ts +109 -0
- package/dist/exports/exports.constants.d.ts.map +1 -0
- package/dist/exports/exports.constants.js +133 -0
- package/dist/exports/exports.constants.js.map +1 -0
- package/dist/exports/exports.controller.d.ts +147 -0
- package/dist/exports/exports.controller.d.ts.map +1 -0
- package/dist/exports/exports.controller.js +196 -0
- package/dist/exports/exports.controller.js.map +1 -0
- package/dist/exports/exports.metrics.d.ts +45 -0
- package/dist/exports/exports.metrics.d.ts.map +1 -0
- package/dist/exports/exports.metrics.js +92 -0
- package/dist/exports/exports.metrics.js.map +1 -0
- package/dist/exports/exports.module.d.ts +29 -0
- package/dist/exports/exports.module.d.ts.map +1 -0
- package/dist/exports/exports.module.js +90 -0
- package/dist/exports/exports.module.js.map +1 -0
- package/dist/exports/exports.notifications.d.ts +78 -0
- package/dist/exports/exports.notifications.d.ts.map +1 -0
- package/dist/exports/exports.notifications.js +93 -0
- package/dist/exports/exports.notifications.js.map +1 -0
- package/dist/exports/exports.options.d.ts +140 -0
- package/dist/exports/exports.options.d.ts.map +1 -0
- package/dist/exports/exports.options.js +114 -0
- package/dist/exports/exports.options.js.map +1 -0
- package/dist/exports/exports.service.d.ts +111 -0
- package/dist/exports/exports.service.d.ts.map +1 -0
- package/dist/exports/exports.service.js +305 -0
- package/dist/exports/exports.service.js.map +1 -0
- package/dist/exports/handlers/export-purge.handler.d.ts +52 -0
- package/dist/exports/handlers/export-purge.handler.d.ts.map +1 -0
- package/dist/exports/handlers/export-purge.handler.js +135 -0
- package/dist/exports/handlers/export-purge.handler.js.map +1 -0
- package/dist/exports/handlers/export-run.handler.d.ts +50 -0
- package/dist/exports/handlers/export-run.handler.d.ts.map +1 -0
- package/dist/exports/handlers/export-run.handler.js +327 -0
- package/dist/exports/handlers/export-run.handler.js.map +1 -0
- package/dist/exports/index.d.ts +36 -0
- package/dist/exports/index.d.ts.map +1 -0
- package/dist/exports/index.js +140 -0
- package/dist/exports/index.js.map +1 -0
- package/dist/exports/ports.d.ts +77 -0
- package/dist/exports/ports.d.ts.map +1 -0
- package/dist/exports/ports.js +40 -0
- package/dist/exports/ports.js.map +1 -0
- package/dist/exports/request-fields.d.ts +18 -0
- package/dist/exports/request-fields.d.ts.map +1 -0
- package/dist/exports/request-fields.js +100 -0
- package/dist/exports/request-fields.js.map +1 -0
- package/dist/exports/sources/model-table.d.ts +40 -0
- package/dist/exports/sources/model-table.d.ts.map +1 -0
- package/dist/exports/sources/model-table.js +97 -0
- package/dist/exports/sources/model-table.js.map +1 -0
- package/dist/exports/sources/org-data.source.d.ts +40 -0
- package/dist/exports/sources/org-data.source.d.ts.map +1 -0
- package/dist/exports/sources/org-data.source.js +152 -0
- package/dist/exports/sources/org-data.source.js.map +1 -0
- package/dist/exports/sources/user-data.source.d.ts +33 -0
- package/dist/exports/sources/user-data.source.d.ts.map +1 -0
- package/dist/exports/sources/user-data.source.js +93 -0
- package/dist/exports/sources/user-data.source.js.map +1 -0
- package/dist/exports/tasks/export-purge.task.d.ts +17 -0
- package/dist/exports/tasks/export-purge.task.d.ts.map +1 -0
- package/dist/exports/tasks/export-purge.task.js +69 -0
- package/dist/exports/tasks/export-purge.task.js.map +1 -0
- package/dist/exports/testing/conformance.d.ts +138 -0
- package/dist/exports/testing/conformance.d.ts.map +1 -0
- package/dist/exports/testing/conformance.js +333 -0
- package/dist/exports/testing/conformance.js.map +1 -0
- package/dist/exports/testing/index.d.ts +5 -0
- package/dist/exports/testing/index.d.ts.map +1 -0
- package/dist/exports/testing/index.js +21 -0
- package/dist/exports/testing/index.js.map +1 -0
- package/dist/exports/testing/zip.d.ts +41 -0
- package/dist/exports/testing/zip.d.ts.map +1 -0
- package/dist/exports/testing/zip.js +92 -0
- package/dist/exports/testing/zip.js.map +1 -0
- package/dist/exports/writers/csv.writer.d.ts +20 -0
- package/dist/exports/writers/csv.writer.d.ts.map +1 -0
- package/dist/exports/writers/csv.writer.js +96 -0
- package/dist/exports/writers/csv.writer.js.map +1 -0
- package/dist/exports/writers/index.d.ts +11 -0
- package/dist/exports/writers/index.d.ts.map +1 -0
- package/dist/exports/writers/index.js +29 -0
- package/dist/exports/writers/index.js.map +1 -0
- package/dist/exports/writers/json.writer.d.ts +17 -0
- package/dist/exports/writers/json.writer.d.ts.map +1 -0
- package/dist/exports/writers/json.writer.js +83 -0
- package/dist/exports/writers/json.writer.js.map +1 -0
- package/dist/exports/writers/platform-sources.d.ts +8 -0
- package/dist/exports/writers/platform-sources.d.ts.map +1 -0
- package/dist/exports/writers/platform-sources.js +16 -0
- package/dist/exports/writers/platform-sources.js.map +1 -0
- package/dist/exports/writers/xlsx.writer.d.ts +20 -0
- package/dist/exports/writers/xlsx.writer.d.ts.map +1 -0
- package/dist/exports/writers/xlsx.writer.js +105 -0
- package/dist/exports/writers/xlsx.writer.js.map +1 -0
- package/dist/host/about/about-contributor.registry.d.ts +64 -0
- package/dist/host/about/about-contributor.registry.d.ts.map +1 -0
- package/dist/host/about/about-contributor.registry.js +79 -0
- package/dist/host/about/about-contributor.registry.js.map +1 -0
- package/dist/host/about/about-support-bundle.section.d.ts +150 -0
- package/dist/host/about/about-support-bundle.section.d.ts.map +1 -0
- package/dist/host/about/about-support-bundle.section.js +156 -0
- package/dist/host/about/about-support-bundle.section.js.map +1 -0
- package/dist/host/about/about.controller.d.ts +58 -0
- package/dist/host/about/about.controller.d.ts.map +1 -0
- package/dist/host/about/about.controller.js +185 -0
- package/dist/host/about/about.controller.js.map +1 -0
- package/dist/host/about/about.module.d.ts +22 -0
- package/dist/host/about/about.module.d.ts.map +1 -0
- package/dist/host/about/about.module.js +73 -0
- package/dist/host/about/about.module.js.map +1 -0
- package/dist/host/about/about.options.d.ts +38 -0
- package/dist/host/about/about.options.d.ts.map +1 -0
- package/dist/host/about/about.options.js +16 -0
- package/dist/host/about/about.options.js.map +1 -0
- package/dist/host/about/about.service.d.ts +52 -0
- package/dist/host/about/about.service.d.ts.map +1 -0
- package/dist/host/about/about.service.js +202 -0
- package/dist/host/about/about.service.js.map +1 -0
- package/dist/host/about/deploy-info.constants.d.ts +9 -0
- package/dist/host/about/deploy-info.constants.d.ts.map +1 -0
- package/dist/host/about/deploy-info.constants.js +12 -0
- package/dist/host/about/deploy-info.constants.js.map +1 -0
- package/dist/host/about/deploy-info.d.ts +154 -0
- package/dist/host/about/deploy-info.d.ts.map +1 -0
- package/dist/host/about/deploy-info.js +339 -0
- package/dist/host/about/deploy-info.js.map +1 -0
- package/dist/host/about/dto/about-response.dto.d.ts +268 -0
- package/dist/host/about/dto/about-response.dto.d.ts.map +1 -0
- package/dist/host/about/dto/about-response.dto.js +252 -0
- package/dist/host/about/dto/about-response.dto.js.map +1 -0
- package/dist/host/deployment/deployment-mode.d.ts +200 -0
- package/dist/host/deployment/deployment-mode.d.ts.map +1 -0
- package/dist/host/deployment/deployment-mode.js +261 -0
- package/dist/host/deployment/deployment-mode.js.map +1 -0
- package/dist/host/deployment/deployment-mode.service.d.ts +51 -0
- package/dist/host/deployment/deployment-mode.service.d.ts.map +1 -0
- package/dist/host/deployment/deployment-mode.service.js +83 -0
- package/dist/host/deployment/deployment-mode.service.js.map +1 -0
- package/dist/host/deployment/deployment-network.d.ts +41 -0
- package/dist/host/deployment/deployment-network.d.ts.map +1 -0
- package/dist/host/deployment/deployment-network.js +89 -0
- package/dist/host/deployment/deployment-network.js.map +1 -0
- package/dist/host/deployment/deployment-network.service.d.ts +28 -0
- package/dist/host/deployment/deployment-network.service.d.ts.map +1 -0
- package/dist/host/deployment/deployment-network.service.js +49 -0
- package/dist/host/deployment/deployment-network.service.js.map +1 -0
- package/dist/host/doctor/db-connection.doctor-check.d.ts +30 -0
- package/dist/host/doctor/db-connection.doctor-check.d.ts.map +1 -0
- package/dist/host/doctor/db-connection.doctor-check.js +90 -0
- package/dist/host/doctor/db-connection.doctor-check.js.map +1 -0
- package/dist/host/doctor/db-migrations.doctor-check.d.ts +48 -0
- package/dist/host/doctor/db-migrations.doctor-check.d.ts.map +1 -0
- package/dist/host/doctor/db-migrations.doctor-check.js +128 -0
- package/dist/host/doctor/db-migrations.doctor-check.js.map +1 -0
- package/dist/host/doctor/deployment-mode.doctor-check.d.ts +54 -0
- package/dist/host/doctor/deployment-mode.doctor-check.d.ts.map +1 -0
- package/dist/host/doctor/deployment-mode.doctor-check.js +110 -0
- package/dist/host/doctor/deployment-mode.doctor-check.js.map +1 -0
- package/dist/host/doctor/encryption-key.doctor-check.d.ts +25 -0
- package/dist/host/doctor/encryption-key.doctor-check.d.ts.map +1 -0
- package/dist/host/doctor/encryption-key.doctor-check.js +61 -0
- package/dist/host/doctor/encryption-key.doctor-check.js.map +1 -0
- package/dist/host/doctor/rls-role.doctor-check.d.ts +58 -0
- package/dist/host/doctor/rls-role.doctor-check.d.ts.map +1 -0
- package/dist/host/doctor/rls-role.doctor-check.js +118 -0
- package/dist/host/doctor/rls-role.doctor-check.js.map +1 -0
- package/dist/host/event-bus/builtin-event-bus-adapters.d.ts +15 -0
- package/dist/host/event-bus/builtin-event-bus-adapters.d.ts.map +1 -0
- package/dist/host/event-bus/builtin-event-bus-adapters.js +48 -0
- package/dist/host/event-bus/builtin-event-bus-adapters.js.map +1 -0
- package/dist/host/event-bus/doctor/event-bus.doctor-check.d.ts +32 -0
- package/dist/host/event-bus/doctor/event-bus.doctor-check.d.ts.map +1 -0
- package/dist/host/event-bus/doctor/event-bus.doctor-check.js +126 -0
- package/dist/host/event-bus/doctor/event-bus.doctor-check.js.map +1 -0
- package/dist/host/event-bus/event-bus-adapter.registry.d.ts +104 -0
- package/dist/host/event-bus/event-bus-adapter.registry.d.ts.map +1 -0
- package/dist/host/event-bus/event-bus-adapter.registry.js +90 -0
- package/dist/host/event-bus/event-bus-adapter.registry.js.map +1 -0
- package/dist/host/event-bus/event-bus-core.d.ts +74 -0
- package/dist/host/event-bus/event-bus-core.d.ts.map +1 -0
- package/dist/host/event-bus/event-bus-core.js +176 -0
- package/dist/host/event-bus/event-bus-core.js.map +1 -0
- package/dist/host/event-bus/event-bus.config.d.ts +46 -0
- package/dist/host/event-bus/event-bus.config.d.ts.map +1 -0
- package/dist/host/event-bus/event-bus.config.js +69 -0
- package/dist/host/event-bus/event-bus.config.js.map +1 -0
- package/dist/host/event-bus/event-bus.factory.d.ts +42 -0
- package/dist/host/event-bus/event-bus.factory.d.ts.map +1 -0
- package/dist/host/event-bus/event-bus.factory.js +71 -0
- package/dist/host/event-bus/event-bus.factory.js.map +1 -0
- package/dist/host/event-bus/event-bus.interface.d.ts +143 -0
- package/dist/host/event-bus/event-bus.interface.d.ts.map +1 -0
- package/dist/host/event-bus/event-bus.interface.js +154 -0
- package/dist/host/event-bus/event-bus.interface.js.map +1 -0
- package/dist/host/event-bus/event-bus.metrics.d.ts +66 -0
- package/dist/host/event-bus/event-bus.metrics.d.ts.map +1 -0
- package/dist/host/event-bus/event-bus.metrics.js +80 -0
- package/dist/host/event-bus/event-bus.metrics.js.map +1 -0
- package/dist/host/event-bus/in-process-event-bus.d.ts +52 -0
- package/dist/host/event-bus/in-process-event-bus.d.ts.map +1 -0
- package/dist/host/event-bus/in-process-event-bus.js +112 -0
- package/dist/host/event-bus/in-process-event-bus.js.map +1 -0
- package/dist/host/event-bus/postgres-event-bus.d.ts +181 -0
- package/dist/host/event-bus/postgres-event-bus.d.ts.map +1 -0
- package/dist/host/event-bus/postgres-event-bus.js +359 -0
- package/dist/host/event-bus/postgres-event-bus.js.map +1 -0
- package/dist/host/health/builtin-health-indicators.d.ts +14 -0
- package/dist/host/health/builtin-health-indicators.d.ts.map +1 -0
- package/dist/host/health/builtin-health-indicators.js +52 -0
- package/dist/host/health/builtin-health-indicators.js.map +1 -0
- package/dist/host/health/database.indicator.d.ts +19 -0
- package/dist/host/health/database.indicator.d.ts.map +1 -0
- package/dist/host/health/database.indicator.js +63 -0
- package/dist/host/health/database.indicator.js.map +1 -0
- package/dist/host/health/health-indicator.registry.d.ts +111 -0
- package/dist/host/health/health-indicator.registry.d.ts.map +1 -0
- package/dist/host/health/health-indicator.registry.js +102 -0
- package/dist/host/health/health-indicator.registry.js.map +1 -0
- package/dist/host/health/health-indicator.runner.d.ts +41 -0
- package/dist/host/health/health-indicator.runner.d.ts.map +1 -0
- package/dist/host/health/health-indicator.runner.js +92 -0
- package/dist/host/health/health-indicator.runner.js.map +1 -0
- package/dist/host/health/health.controller.d.ts +86 -0
- package/dist/host/health/health.controller.d.ts.map +1 -0
- package/dist/host/health/health.controller.js +236 -0
- package/dist/host/health/health.controller.js.map +1 -0
- package/dist/host/host-core.module.d.ts +41 -0
- package/dist/host/host-core.module.d.ts.map +1 -0
- package/dist/host/host-core.module.js +249 -0
- package/dist/host/host-core.module.js.map +1 -0
- package/dist/host/host-core.options.d.ts +152 -0
- package/dist/host/host-core.options.d.ts.map +1 -0
- package/dist/host/host-core.options.js +69 -0
- package/dist/host/host-core.options.js.map +1 -0
- package/dist/host/http/cors-options.d.ts +88 -0
- package/dist/host/http/cors-options.d.ts.map +1 -0
- package/dist/host/http/cors-options.js +158 -0
- package/dist/host/http/cors-options.js.map +1 -0
- package/dist/host/http/logging.interceptor.d.ts +21 -0
- package/dist/host/http/logging.interceptor.d.ts.map +1 -0
- package/dist/host/http/logging.interceptor.js +56 -0
- package/dist/host/http/logging.interceptor.js.map +1 -0
- package/dist/host/http/request-id.middleware.d.ts +33 -0
- package/dist/host/http/request-id.middleware.d.ts.map +1 -0
- package/dist/host/http/request-id.middleware.js +53 -0
- package/dist/host/http/request-id.middleware.js.map +1 -0
- package/dist/host/http/response-meta.registry.d.ts +62 -0
- package/dist/host/http/response-meta.registry.d.ts.map +1 -0
- package/dist/host/http/response-meta.registry.js +86 -0
- package/dist/host/http/response-meta.registry.js.map +1 -0
- package/dist/host/http/transform.interceptor.d.ts +77 -0
- package/dist/host/http/transform.interceptor.d.ts.map +1 -0
- package/dist/host/http/transform.interceptor.js +161 -0
- package/dist/host/http/transform.interceptor.js.map +1 -0
- package/dist/host/index.d.ts +83 -0
- package/dist/host/index.d.ts.map +1 -0
- package/dist/host/index.js +238 -0
- package/dist/host/index.js.map +1 -0
- package/dist/host/internal/bounded.d.ts +50 -0
- package/dist/host/internal/bounded.d.ts.map +1 -0
- package/dist/host/internal/bounded.js +109 -0
- package/dist/host/internal/bounded.js.map +1 -0
- package/dist/host/internal/host-access.d.ts +23 -0
- package/dist/host/internal/host-access.d.ts.map +1 -0
- package/dist/host/internal/host-access.js +42 -0
- package/dist/host/internal/host-access.js.map +1 -0
- package/dist/host/maintenance/doctor/maintenance-mode.doctor-check.d.ts +19 -0
- package/dist/host/maintenance/doctor/maintenance-mode.doctor-check.d.ts.map +1 -0
- package/dist/host/maintenance/doctor/maintenance-mode.doctor-check.js +80 -0
- package/dist/host/maintenance/doctor/maintenance-mode.doctor-check.js.map +1 -0
- package/dist/host/maintenance/dto/update-maintenance.dto.d.ts +115 -0
- package/dist/host/maintenance/dto/update-maintenance.dto.d.ts.map +1 -0
- package/dist/host/maintenance/dto/update-maintenance.dto.js +128 -0
- package/dist/host/maintenance/dto/update-maintenance.dto.js.map +1 -0
- package/dist/host/maintenance/maintenance-bypass.registry.d.ts +94 -0
- package/dist/host/maintenance/maintenance-bypass.registry.d.ts.map +1 -0
- package/dist/host/maintenance/maintenance-bypass.registry.js +90 -0
- package/dist/host/maintenance/maintenance-bypass.registry.js.map +1 -0
- package/dist/host/maintenance/maintenance-mode.service.d.ts +259 -0
- package/dist/host/maintenance/maintenance-mode.service.d.ts.map +1 -0
- package/dist/host/maintenance/maintenance-mode.service.js +368 -0
- package/dist/host/maintenance/maintenance-mode.service.js.map +1 -0
- package/dist/host/maintenance/maintenance.controller.d.ts +84 -0
- package/dist/host/maintenance/maintenance.controller.d.ts.map +1 -0
- package/dist/host/maintenance/maintenance.controller.js +176 -0
- package/dist/host/maintenance/maintenance.controller.js.map +1 -0
- package/dist/host/maintenance/maintenance.guard.d.ts +112 -0
- package/dist/host/maintenance/maintenance.guard.d.ts.map +1 -0
- package/dist/host/maintenance/maintenance.guard.js +274 -0
- package/dist/host/maintenance/maintenance.guard.js.map +1 -0
- package/dist/host/maintenance/maintenance.schemas.d.ts +91 -0
- package/dist/host/maintenance/maintenance.schemas.d.ts.map +1 -0
- package/dist/host/maintenance/maintenance.schemas.js +118 -0
- package/dist/host/maintenance/maintenance.schemas.js.map +1 -0
- package/dist/host/maintenance/maintenance.system-settings.d.ts +90 -0
- package/dist/host/maintenance/maintenance.system-settings.d.ts.map +1 -0
- package/dist/host/maintenance/maintenance.system-settings.js +76 -0
- package/dist/host/maintenance/maintenance.system-settings.js.map +1 -0
- package/dist/host/metrics/app-metrics.service.d.ts +365 -0
- package/dist/host/metrics/app-metrics.service.d.ts.map +1 -0
- package/dist/host/metrics/app-metrics.service.js +613 -0
- package/dist/host/metrics/app-metrics.service.js.map +1 -0
- package/dist/host/metrics/platform-app-metrics.d.ts +42 -0
- package/dist/host/metrics/platform-app-metrics.d.ts.map +1 -0
- package/dist/host/metrics/platform-app-metrics.js +203 -0
- package/dist/host/metrics/platform-app-metrics.js.map +1 -0
- package/dist/host/metrics/register.d.ts +22 -0
- package/dist/host/metrics/register.d.ts.map +1 -0
- package/dist/host/metrics/register.js +46 -0
- package/dist/host/metrics/register.js.map +1 -0
- package/dist/host/openapi/data-envelope.d.ts +7 -0
- package/dist/host/openapi/data-envelope.d.ts.map +1 -0
- package/dist/host/openapi/data-envelope.js +115 -0
- package/dist/host/openapi/data-envelope.js.map +1 -0
- package/dist/host/openapi/description.d.ts +22 -0
- package/dist/host/openapi/description.d.ts.map +1 -0
- package/dist/host/openapi/description.js +181 -0
- package/dist/host/openapi/description.js.map +1 -0
- package/dist/host/openapi/docs-page.d.ts +95 -0
- package/dist/host/openapi/docs-page.d.ts.map +1 -0
- package/dist/host/openapi/docs-page.js +297 -0
- package/dist/host/openapi/docs-page.js.map +1 -0
- package/dist/host/openapi/document.d.ts +107 -0
- package/dist/host/openapi/document.d.ts.map +1 -0
- package/dist/host/openapi/document.js +328 -0
- package/dist/host/openapi/document.js.map +1 -0
- package/dist/host/openapi/nullable.d.ts +9 -0
- package/dist/host/openapi/nullable.d.ts.map +1 -0
- package/dist/host/openapi/nullable.js +78 -0
- package/dist/host/openapi/nullable.js.map +1 -0
- package/dist/host/openapi/rbac-docs.d.ts +30 -0
- package/dist/host/openapi/rbac-docs.d.ts.map +1 -0
- package/dist/host/openapi/rbac-docs.js +105 -0
- package/dist/host/openapi/rbac-docs.js.map +1 -0
- package/dist/host/openapi/register-docs-routes.d.ts +177 -0
- package/dist/host/openapi/register-docs-routes.d.ts.map +1 -0
- package/dist/host/openapi/register-docs-routes.js +218 -0
- package/dist/host/openapi/register-docs-routes.js.map +1 -0
- package/dist/host/openapi/types.d.ts +56 -0
- package/dist/host/openapi/types.d.ts.map +1 -0
- package/dist/host/openapi/types.js +56 -0
- package/dist/host/openapi/types.js.map +1 -0
- package/dist/host/openapi/version.d.ts +24 -0
- package/dist/host/openapi/version.d.ts.map +1 -0
- package/dist/host/openapi/version.js +54 -0
- package/dist/host/openapi/version.js.map +1 -0
- package/dist/host/testing/conformance.d.ts +95 -0
- package/dist/host/testing/conformance.d.ts.map +1 -0
- package/dist/host/testing/conformance.js +210 -0
- package/dist/host/testing/conformance.js.map +1 -0
- package/dist/host/testing/event-bus-conformance.d.ts +52 -0
- package/dist/host/testing/event-bus-conformance.d.ts.map +1 -0
- package/dist/host/testing/event-bus-conformance.js +188 -0
- package/dist/host/testing/event-bus-conformance.js.map +1 -0
- package/dist/host/testing/fake-event-bus-network.d.ts +45 -0
- package/dist/host/testing/fake-event-bus-network.d.ts.map +1 -0
- package/dist/host/testing/fake-event-bus-network.js +117 -0
- package/dist/host/testing/fake-event-bus-network.js.map +1 -0
- package/dist/host/testing/index.d.ts +6 -0
- package/dist/host/testing/index.d.ts.map +1 -0
- package/dist/host/testing/index.js +19 -0
- package/dist/host/testing/index.js.map +1 -0
- package/dist/identity/allowlist/allowlist.controller.d.ts +22 -0
- package/dist/identity/allowlist/allowlist.controller.d.ts.map +1 -0
- package/dist/identity/allowlist/allowlist.controller.js +96 -0
- package/dist/identity/allowlist/allowlist.controller.js.map +1 -0
- package/dist/identity/allowlist/allowlist.module.d.ts +8 -0
- package/dist/identity/allowlist/allowlist.module.d.ts.map +1 -0
- package/dist/identity/allowlist/allowlist.module.js +31 -0
- package/dist/identity/allowlist/allowlist.module.js.map +1 -0
- package/dist/identity/allowlist/allowlist.permissions.d.ts +15 -0
- package/dist/identity/allowlist/allowlist.permissions.d.ts.map +1 -0
- package/dist/identity/allowlist/allowlist.permissions.js +37 -0
- package/dist/identity/allowlist/allowlist.permissions.js.map +1 -0
- package/dist/identity/allowlist/allowlist.service.d.ts +63 -0
- package/dist/identity/allowlist/allowlist.service.d.ts.map +1 -0
- package/dist/identity/allowlist/allowlist.service.js +258 -0
- package/dist/identity/allowlist/allowlist.service.js.map +1 -0
- package/dist/identity/allowlist/dto/add-email.dto.d.ts +13 -0
- package/dist/identity/allowlist/dto/add-email.dto.d.ts.map +1 -0
- package/dist/identity/allowlist/dto/add-email.dto.js +16 -0
- package/dist/identity/allowlist/dto/add-email.dto.js.map +1 -0
- package/dist/identity/allowlist/dto/allowlist-query.dto.d.ts +43 -0
- package/dist/identity/allowlist/dto/allowlist-query.dto.d.ts.map +1 -0
- package/dist/identity/allowlist/dto/allowlist-query.dto.js +17 -0
- package/dist/identity/allowlist/dto/allowlist-query.dto.js.map +1 -0
- package/dist/identity/allowlist/dto/allowlist-response.dto.d.ts +39 -0
- package/dist/identity/allowlist/dto/allowlist-response.dto.d.ts.map +1 -0
- package/dist/identity/allowlist/dto/allowlist-response.dto.js +33 -0
- package/dist/identity/allowlist/dto/allowlist-response.dto.js.map +1 -0
- package/dist/identity/auth/admin-bootstrap.service.d.ts +35 -0
- package/dist/identity/auth/admin-bootstrap.service.d.ts.map +1 -0
- package/dist/identity/auth/admin-bootstrap.service.js +138 -0
- package/dist/identity/auth/admin-bootstrap.service.js.map +1 -0
- package/dist/identity/auth/auth-error-codes.d.ts +64 -0
- package/dist/identity/auth/auth-error-codes.d.ts.map +1 -0
- package/dist/identity/auth/auth-error-codes.js +89 -0
- package/dist/identity/auth/auth-error-codes.js.map +1 -0
- package/dist/identity/auth/auth-provider.controller.d.ts +38 -0
- package/dist/identity/auth/auth-provider.controller.d.ts.map +1 -0
- package/dist/identity/auth/auth-provider.controller.js +137 -0
- package/dist/identity/auth/auth-provider.controller.js.map +1 -0
- package/dist/identity/auth/auth.controller.d.ts +92 -0
- package/dist/identity/auth/auth.controller.d.ts.map +1 -0
- package/dist/identity/auth/auth.controller.js +367 -0
- package/dist/identity/auth/auth.controller.js.map +1 -0
- package/dist/identity/auth/auth.module.d.ts +15 -0
- package/dist/identity/auth/auth.module.d.ts.map +1 -0
- package/dist/identity/auth/auth.module.js +89 -0
- package/dist/identity/auth/auth.module.js.map +1 -0
- package/dist/identity/auth/auth.service.d.ts +386 -0
- package/dist/identity/auth/auth.service.d.ts.map +1 -0
- package/dist/identity/auth/auth.service.js +1394 -0
- package/dist/identity/auth/auth.service.js.map +1 -0
- package/dist/identity/auth/cookie-http.d.ts +51 -0
- package/dist/identity/auth/cookie-http.d.ts.map +1 -0
- package/dist/identity/auth/cookie-http.js +3 -0
- package/dist/identity/auth/cookie-http.js.map +1 -0
- package/dist/identity/auth/credential-binding.d.ts +53 -0
- package/dist/identity/auth/credential-binding.d.ts.map +1 -0
- package/dist/identity/auth/credential-binding.js +73 -0
- package/dist/identity/auth/credential-binding.js.map +1 -0
- package/dist/identity/auth/decorators/auth-credential.decorator.d.ts +44 -0
- package/dist/identity/auth/decorators/auth-credential.decorator.d.ts.map +1 -0
- package/dist/identity/auth/decorators/auth-credential.decorator.js +23 -0
- package/dist/identity/auth/decorators/auth-credential.decorator.js.map +1 -0
- package/dist/identity/auth/decorators/auth.decorator.d.ts +97 -0
- package/dist/identity/auth/decorators/auth.decorator.d.ts.map +1 -0
- package/dist/identity/auth/decorators/auth.decorator.js +104 -0
- package/dist/identity/auth/decorators/auth.decorator.js.map +1 -0
- package/dist/identity/auth/decorators/current-org.decorator.d.ts +29 -0
- package/dist/identity/auth/decorators/current-org.decorator.d.ts.map +1 -0
- package/dist/identity/auth/decorators/current-org.decorator.js +55 -0
- package/dist/identity/auth/decorators/current-org.decorator.js.map +1 -0
- package/dist/identity/auth/decorators/current-principal.decorator.d.ts +38 -0
- package/dist/identity/auth/decorators/current-principal.decorator.d.ts.map +1 -0
- package/dist/identity/auth/decorators/current-principal.decorator.js +40 -0
- package/dist/identity/auth/decorators/current-principal.decorator.js.map +1 -0
- package/dist/identity/auth/decorators/current-user.decorator.d.ts +26 -0
- package/dist/identity/auth/decorators/current-user.decorator.d.ts.map +1 -0
- package/dist/identity/auth/decorators/current-user.decorator.js +33 -0
- package/dist/identity/auth/decorators/current-user.decorator.js.map +1 -0
- package/dist/identity/auth/decorators/index.d.ts +9 -0
- package/dist/identity/auth/decorators/index.d.ts.map +1 -0
- package/dist/identity/auth/decorators/index.js +25 -0
- package/dist/identity/auth/decorators/index.js.map +1 -0
- package/dist/identity/auth/decorators/permissions.decorator.d.ts +43 -0
- package/dist/identity/auth/decorators/permissions.decorator.d.ts.map +1 -0
- package/dist/identity/auth/decorators/permissions.decorator.js +48 -0
- package/dist/identity/auth/decorators/permissions.decorator.js.map +1 -0
- package/dist/identity/auth/decorators/public.decorator.d.ts +22 -0
- package/dist/identity/auth/decorators/public.decorator.d.ts.map +1 -0
- package/dist/identity/auth/decorators/public.decorator.js +27 -0
- package/dist/identity/auth/decorators/public.decorator.js.map +1 -0
- package/dist/identity/auth/decorators/roles.decorator.d.ts +26 -0
- package/dist/identity/auth/decorators/roles.decorator.d.ts.map +1 -0
- package/dist/identity/auth/decorators/roles.decorator.js +30 -0
- package/dist/identity/auth/decorators/roles.decorator.js.map +1 -0
- package/dist/identity/auth/doctor/auth-providers.doctor-check.d.ts +27 -0
- package/dist/identity/auth/doctor/auth-providers.doctor-check.d.ts.map +1 -0
- package/dist/identity/auth/doctor/auth-providers.doctor-check.js +78 -0
- package/dist/identity/auth/doctor/auth-providers.doctor-check.js.map +1 -0
- package/dist/identity/auth/doctor/egress/auth-providers.egress.contributor.d.ts +29 -0
- package/dist/identity/auth/doctor/egress/auth-providers.egress.contributor.d.ts.map +1 -0
- package/dist/identity/auth/doctor/egress/auth-providers.egress.contributor.js +97 -0
- package/dist/identity/auth/doctor/egress/auth-providers.egress.contributor.js.map +1 -0
- package/dist/identity/auth/doctor/egress/google-auth.egress.contributor.d.ts +2 -0
- package/dist/identity/auth/doctor/egress/google-auth.egress.contributor.d.ts.map +1 -0
- package/dist/identity/auth/doctor/egress/google-auth.egress.contributor.js +13 -0
- package/dist/identity/auth/doctor/egress/google-auth.egress.contributor.js.map +1 -0
- package/dist/identity/auth/doctor/initial-admin.doctor-check.d.ts +27 -0
- package/dist/identity/auth/doctor/initial-admin.doctor-check.d.ts.map +1 -0
- package/dist/identity/auth/doctor/initial-admin.doctor-check.js +87 -0
- package/dist/identity/auth/doctor/initial-admin.doctor-check.js.map +1 -0
- package/dist/identity/auth/doctor/jwt-secret.doctor-check.d.ts +27 -0
- package/dist/identity/auth/doctor/jwt-secret.doctor-check.d.ts.map +1 -0
- package/dist/identity/auth/doctor/jwt-secret.doctor-check.js +78 -0
- package/dist/identity/auth/doctor/jwt-secret.doctor-check.js.map +1 -0
- package/dist/identity/auth/doctor/principal-cache.doctor-check.d.ts +25 -0
- package/dist/identity/auth/doctor/principal-cache.doctor-check.d.ts.map +1 -0
- package/dist/identity/auth/doctor/principal-cache.doctor-check.js +95 -0
- package/dist/identity/auth/doctor/principal-cache.doctor-check.js.map +1 -0
- package/dist/identity/auth/dto/auth-provider.dto.d.ts +15 -0
- package/dist/identity/auth/dto/auth-provider.dto.d.ts.map +1 -0
- package/dist/identity/auth/dto/auth-provider.dto.js +60 -0
- package/dist/identity/auth/dto/auth-provider.dto.js.map +1 -0
- package/dist/identity/auth/dto/auth-user.dto.d.ts +50 -0
- package/dist/identity/auth/dto/auth-user.dto.d.ts.map +1 -0
- package/dist/identity/auth/dto/auth-user.dto.js +232 -0
- package/dist/identity/auth/dto/auth-user.dto.js.map +1 -0
- package/dist/identity/auth/dto/switch-org.dto.d.ts +8 -0
- package/dist/identity/auth/dto/switch-org.dto.d.ts.map +1 -0
- package/dist/identity/auth/dto/switch-org.dto.js +10 -0
- package/dist/identity/auth/dto/switch-org.dto.js.map +1 -0
- package/dist/identity/auth/external-profile.d.ts +86 -0
- package/dist/identity/auth/external-profile.d.ts.map +1 -0
- package/dist/identity/auth/external-profile.js +127 -0
- package/dist/identity/auth/external-profile.js.map +1 -0
- package/dist/identity/auth/filters/auth-provider-exception.filter.d.ts +24 -0
- package/dist/identity/auth/filters/auth-provider-exception.filter.d.ts.map +1 -0
- package/dist/identity/auth/filters/auth-provider-exception.filter.js +62 -0
- package/dist/identity/auth/filters/auth-provider-exception.filter.js.map +1 -0
- package/dist/identity/auth/filters/google-oauth-exception.filter.d.ts +27 -0
- package/dist/identity/auth/filters/google-oauth-exception.filter.d.ts.map +1 -0
- package/dist/identity/auth/filters/google-oauth-exception.filter.js +65 -0
- package/dist/identity/auth/filters/google-oauth-exception.filter.js.map +1 -0
- package/dist/identity/auth/guards/external-provider.guard.d.ts +29 -0
- package/dist/identity/auth/guards/external-provider.guard.d.ts.map +1 -0
- package/dist/identity/auth/guards/external-provider.guard.js +166 -0
- package/dist/identity/auth/guards/external-provider.guard.js.map +1 -0
- package/dist/identity/auth/guards/google-oauth.guard.d.ts +70 -0
- package/dist/identity/auth/guards/google-oauth.guard.d.ts.map +1 -0
- package/dist/identity/auth/guards/google-oauth.guard.js +108 -0
- package/dist/identity/auth/guards/google-oauth.guard.js.map +1 -0
- package/dist/identity/auth/guards/index.d.ts +5 -0
- package/dist/identity/auth/guards/index.d.ts.map +1 -0
- package/dist/identity/auth/guards/index.js +21 -0
- package/dist/identity/auth/guards/index.js.map +1 -0
- package/dist/identity/auth/guards/jwt-auth.guard.d.ts +85 -0
- package/dist/identity/auth/guards/jwt-auth.guard.d.ts.map +1 -0
- package/dist/identity/auth/guards/jwt-auth.guard.js +250 -0
- package/dist/identity/auth/guards/jwt-auth.guard.js.map +1 -0
- package/dist/identity/auth/guards/permissions.guard.d.ts +21 -0
- package/dist/identity/auth/guards/permissions.guard.d.ts.map +1 -0
- package/dist/identity/auth/guards/permissions.guard.js +79 -0
- package/dist/identity/auth/guards/permissions.guard.js.map +1 -0
- package/dist/identity/auth/guards/roles.guard.d.ts +20 -0
- package/dist/identity/auth/guards/roles.guard.d.ts.map +1 -0
- package/dist/identity/auth/guards/roles.guard.js +61 -0
- package/dist/identity/auth/guards/roles.guard.js.map +1 -0
- package/dist/identity/auth/handlers/token-cleanup.handler.d.ts +44 -0
- package/dist/identity/auth/handlers/token-cleanup.handler.d.ts.map +1 -0
- package/dist/identity/auth/handlers/token-cleanup.handler.js +124 -0
- package/dist/identity/auth/handlers/token-cleanup.handler.js.map +1 -0
- package/dist/identity/auth/interfaces/authenticated-user.interface.d.ts +121 -0
- package/dist/identity/auth/interfaces/authenticated-user.interface.d.ts.map +1 -0
- package/dist/identity/auth/interfaces/authenticated-user.interface.js +25 -0
- package/dist/identity/auth/interfaces/authenticated-user.interface.js.map +1 -0
- package/dist/identity/auth/principal-cache/index.d.ts +5 -0
- package/dist/identity/auth/principal-cache/index.d.ts.map +1 -0
- package/dist/identity/auth/principal-cache/index.js +15 -0
- package/dist/identity/auth/principal-cache/index.js.map +1 -0
- package/dist/identity/auth/principal-cache/local-event-bus.d.ts +15 -0
- package/dist/identity/auth/principal-cache/local-event-bus.d.ts.map +1 -0
- package/dist/identity/auth/principal-cache/local-event-bus.js +53 -0
- package/dist/identity/auth/principal-cache/local-event-bus.js.map +1 -0
- package/dist/identity/auth/principal-cache/principal-cache.config.d.ts +16 -0
- package/dist/identity/auth/principal-cache/principal-cache.config.d.ts.map +1 -0
- package/dist/identity/auth/principal-cache/principal-cache.config.js +55 -0
- package/dist/identity/auth/principal-cache/principal-cache.config.js.map +1 -0
- package/dist/identity/auth/principal-cache/principal-cache.module.d.ts +9 -0
- package/dist/identity/auth/principal-cache/principal-cache.module.d.ts.map +1 -0
- package/dist/identity/auth/principal-cache/principal-cache.module.js +44 -0
- package/dist/identity/auth/principal-cache/principal-cache.module.js.map +1 -0
- package/dist/identity/auth/principal-cache/principal-cache.service.d.ts +148 -0
- package/dist/identity/auth/principal-cache/principal-cache.service.d.ts.map +1 -0
- package/dist/identity/auth/principal-cache/principal-cache.service.js +381 -0
- package/dist/identity/auth/principal-cache/principal-cache.service.js.map +1 -0
- package/dist/identity/auth/principal.factory.d.ts +191 -0
- package/dist/identity/auth/principal.factory.d.ts.map +1 -0
- package/dist/identity/auth/principal.factory.js +247 -0
- package/dist/identity/auth/principal.factory.js.map +1 -0
- package/dist/identity/auth/providers/auth-provider.registry.d.ts +217 -0
- package/dist/identity/auth/providers/auth-provider.registry.d.ts.map +1 -0
- package/dist/identity/auth/providers/auth-provider.registry.js +136 -0
- package/dist/identity/auth/providers/auth-provider.registry.js.map +1 -0
- package/dist/identity/auth/providers/cookie-state-store.d.ts +88 -0
- package/dist/identity/auth/providers/cookie-state-store.d.ts.map +1 -0
- package/dist/identity/auth/providers/cookie-state-store.js +86 -0
- package/dist/identity/auth/providers/cookie-state-store.js.map +1 -0
- package/dist/identity/auth/providers/google.provider.d.ts +3 -0
- package/dist/identity/auth/providers/google.provider.d.ts.map +1 -0
- package/dist/identity/auth/providers/google.provider.js +34 -0
- package/dist/identity/auth/providers/google.provider.js.map +1 -0
- package/dist/identity/auth/sign-in-policy.d.ts +87 -0
- package/dist/identity/auth/sign-in-policy.d.ts.map +1 -0
- package/dist/identity/auth/sign-in-policy.js +34 -0
- package/dist/identity/auth/sign-in-policy.js.map +1 -0
- package/dist/identity/auth/sign-in-response.d.ts +94 -0
- package/dist/identity/auth/sign-in-response.d.ts.map +1 -0
- package/dist/identity/auth/sign-in-response.js +128 -0
- package/dist/identity/auth/sign-in-response.js.map +1 -0
- package/dist/identity/auth/strategies/google.strategy.d.ts +44 -0
- package/dist/identity/auth/strategies/google.strategy.d.ts.map +1 -0
- package/dist/identity/auth/strategies/google.strategy.js +67 -0
- package/dist/identity/auth/strategies/google.strategy.js.map +1 -0
- package/dist/identity/auth/strategies/jwt.strategy.d.ts +58 -0
- package/dist/identity/auth/strategies/jwt.strategy.d.ts.map +1 -0
- package/dist/identity/auth/strategies/jwt.strategy.js +57 -0
- package/dist/identity/auth/strategies/jwt.strategy.js.map +1 -0
- package/dist/identity/auth/tasks/token-cleanup.task.d.ts +8 -0
- package/dist/identity/auth/tasks/token-cleanup.task.d.ts.map +1 -0
- package/dist/identity/auth/tasks/token-cleanup.task.js +62 -0
- package/dist/identity/auth/tasks/token-cleanup.task.js.map +1 -0
- package/dist/identity/auth/tenancy-mode.d.ts +16 -0
- package/dist/identity/auth/tenancy-mode.d.ts.map +1 -0
- package/dist/identity/auth/tenancy-mode.js +41 -0
- package/dist/identity/auth/tenancy-mode.js.map +1 -0
- package/dist/identity/data/identity-db.d.ts +448 -0
- package/dist/identity/data/identity-db.d.ts.map +1 -0
- package/dist/identity/data/identity-db.js +58 -0
- package/dist/identity/data/identity-db.js.map +1 -0
- package/dist/identity/device-auth/device-auth.controller.d.ts +57 -0
- package/dist/identity/device-auth/device-auth.controller.d.ts.map +1 -0
- package/dist/identity/device-auth/device-auth.controller.js +315 -0
- package/dist/identity/device-auth/device-auth.controller.js.map +1 -0
- package/dist/identity/device-auth/device-auth.module.d.ts +16 -0
- package/dist/identity/device-auth/device-auth.module.d.ts.map +1 -0
- package/dist/identity/device-auth/device-auth.module.js +41 -0
- package/dist/identity/device-auth/device-auth.module.js.map +1 -0
- package/dist/identity/device-auth/device-auth.service.d.ts +213 -0
- package/dist/identity/device-auth/device-auth.service.d.ts.map +1 -0
- package/dist/identity/device-auth/device-auth.service.js +738 -0
- package/dist/identity/device-auth/device-auth.service.js.map +1 -0
- package/dist/identity/device-auth/dto/device-activate-response.dto.d.ts +10 -0
- package/dist/identity/device-auth/dto/device-activate-response.dto.d.ts.map +1 -0
- package/dist/identity/device-auth/dto/device-activate-response.dto.js +54 -0
- package/dist/identity/device-auth/dto/device-activate-response.dto.js.map +1 -0
- package/dist/identity/device-auth/dto/device-authorize-request.dto.d.ts +17 -0
- package/dist/identity/device-auth/dto/device-authorize-request.dto.d.ts.map +1 -0
- package/dist/identity/device-auth/dto/device-authorize-request.dto.js +41 -0
- package/dist/identity/device-auth/dto/device-authorize-request.dto.js.map +1 -0
- package/dist/identity/device-auth/dto/device-authorize-response.dto.d.ts +8 -0
- package/dist/identity/device-auth/dto/device-authorize-response.dto.d.ts.map +1 -0
- package/dist/identity/device-auth/dto/device-authorize-response.dto.js +36 -0
- package/dist/identity/device-auth/dto/device-authorize-response.dto.js.map +1 -0
- package/dist/identity/device-auth/dto/device-code-request.dto.d.ts +30 -0
- package/dist/identity/device-auth/dto/device-code-request.dto.d.ts.map +1 -0
- package/dist/identity/device-auth/dto/device-code-request.dto.js +51 -0
- package/dist/identity/device-auth/dto/device-code-request.dto.js.map +1 -0
- package/dist/identity/device-auth/dto/device-code-response.dto.d.ts +13 -0
- package/dist/identity/device-auth/dto/device-code-response.dto.d.ts.map +1 -0
- package/dist/identity/device-auth/dto/device-code-response.dto.js +74 -0
- package/dist/identity/device-auth/dto/device-code-response.dto.js.map +1 -0
- package/dist/identity/device-auth/dto/device-session.dto.d.ts +24 -0
- package/dist/identity/device-auth/dto/device-session.dto.d.ts.map +1 -0
- package/dist/identity/device-auth/dto/device-session.dto.js +151 -0
- package/dist/identity/device-auth/dto/device-session.dto.js.map +1 -0
- package/dist/identity/device-auth/dto/device-token-error.dto.d.ts +16 -0
- package/dist/identity/device-auth/dto/device-token-error.dto.d.ts.map +1 -0
- package/dist/identity/device-auth/dto/device-token-error.dto.js +53 -0
- package/dist/identity/device-auth/dto/device-token-error.dto.js.map +1 -0
- package/dist/identity/device-auth/dto/device-token-request.dto.d.ts +14 -0
- package/dist/identity/device-auth/dto/device-token-request.dto.d.ts.map +1 -0
- package/dist/identity/device-auth/dto/device-token-request.dto.js +33 -0
- package/dist/identity/device-auth/dto/device-token-request.dto.js.map +1 -0
- package/dist/identity/device-auth/dto/device-token-response.dto.d.ts +50 -0
- package/dist/identity/device-auth/dto/device-token-response.dto.d.ts.map +1 -0
- package/dist/identity/device-auth/dto/device-token-response.dto.js +145 -0
- package/dist/identity/device-auth/dto/device-token-response.dto.js.map +1 -0
- package/dist/identity/device-auth/dto/index.d.ts +10 -0
- package/dist/identity/device-auth/dto/index.d.ts.map +1 -0
- package/dist/identity/device-auth/dto/index.js +26 -0
- package/dist/identity/device-auth/dto/index.js.map +1 -0
- package/dist/identity/device-auth/exceptions/device-token-error.exception.d.ts +38 -0
- package/dist/identity/device-auth/exceptions/device-token-error.exception.d.ts.map +1 -0
- package/dist/identity/device-auth/exceptions/device-token-error.exception.js +61 -0
- package/dist/identity/device-auth/exceptions/device-token-error.exception.js.map +1 -0
- package/dist/identity/device-auth/handlers/device-code-cleanup.handler.d.ts +30 -0
- package/dist/identity/device-auth/handlers/device-code-cleanup.handler.d.ts.map +1 -0
- package/dist/identity/device-auth/handlers/device-code-cleanup.handler.js +80 -0
- package/dist/identity/device-auth/handlers/device-code-cleanup.handler.js.map +1 -0
- package/dist/identity/device-auth/tasks/device-code-cleanup.task.d.ts +8 -0
- package/dist/identity/device-auth/tasks/device-code-cleanup.task.d.ts.map +1 -0
- package/dist/identity/device-auth/tasks/device-code-cleanup.task.js +58 -0
- package/dist/identity/device-auth/tasks/device-code-cleanup.task.js.map +1 -0
- package/dist/identity/extensions/user-extensions.d.ts +263 -0
- package/dist/identity/extensions/user-extensions.d.ts.map +1 -0
- package/dist/identity/extensions/user-extensions.js +455 -0
- package/dist/identity/extensions/user-extensions.js.map +1 -0
- package/dist/identity/identity.configuration.d.ts +81 -0
- package/dist/identity/identity.configuration.d.ts.map +1 -0
- package/dist/identity/identity.configuration.js +87 -0
- package/dist/identity/identity.configuration.js.map +1 -0
- package/dist/identity/identity.constants.d.ts +3 -0
- package/dist/identity/identity.constants.d.ts.map +1 -0
- package/dist/identity/identity.constants.js +14 -0
- package/dist/identity/identity.constants.js.map +1 -0
- package/dist/identity/identity.events.d.ts +124 -0
- package/dist/identity/identity.events.d.ts.map +1 -0
- package/dist/identity/identity.events.js +74 -0
- package/dist/identity/identity.events.js.map +1 -0
- package/dist/identity/identity.module.d.ts +35 -0
- package/dist/identity/identity.module.d.ts.map +1 -0
- package/dist/identity/identity.module.js +127 -0
- package/dist/identity/identity.module.js.map +1 -0
- package/dist/identity/identity.options.d.ts +92 -0
- package/dist/identity/identity.options.d.ts.map +1 -0
- package/dist/identity/identity.options.js +71 -0
- package/dist/identity/identity.options.js.map +1 -0
- package/dist/identity/identity.permissions.d.ts +135 -0
- package/dist/identity/identity.permissions.d.ts.map +1 -0
- package/dist/identity/identity.permissions.js +111 -0
- package/dist/identity/identity.permissions.js.map +1 -0
- package/dist/identity/index.d.ts +121 -0
- package/dist/identity/index.d.ts.map +1 -0
- package/dist/identity/index.js +243 -0
- package/dist/identity/index.js.map +1 -0
- package/dist/identity/metadata/identity-metadata.service.d.ts +142 -0
- package/dist/identity/metadata/identity-metadata.service.d.ts.map +1 -0
- package/dist/identity/metadata/identity-metadata.service.js +273 -0
- package/dist/identity/metadata/identity-metadata.service.js.map +1 -0
- package/dist/identity/metadata/metadata-registry.d.ts +102 -0
- package/dist/identity/metadata/metadata-registry.d.ts.map +1 -0
- package/dist/identity/metadata/metadata-registry.js +130 -0
- package/dist/identity/metadata/metadata-registry.js.map +1 -0
- package/dist/identity/metadata/metadata-secret-guard.d.ts +58 -0
- package/dist/identity/metadata/metadata-secret-guard.d.ts.map +1 -0
- package/dist/identity/metadata/metadata-secret-guard.js +138 -0
- package/dist/identity/metadata/metadata-secret-guard.js.map +1 -0
- package/dist/identity/organizations/doctor/tenancy-mode.doctor-check.d.ts +49 -0
- package/dist/identity/organizations/doctor/tenancy-mode.doctor-check.d.ts.map +1 -0
- package/dist/identity/organizations/doctor/tenancy-mode.doctor-check.js +129 -0
- package/dist/identity/organizations/doctor/tenancy-mode.doctor-check.js.map +1 -0
- package/dist/identity/organizations/dto/org-invite.dto.d.ts +37 -0
- package/dist/identity/organizations/dto/org-invite.dto.d.ts.map +1 -0
- package/dist/identity/organizations/dto/org-invite.dto.js +21 -0
- package/dist/identity/organizations/dto/org-invite.dto.js.map +1 -0
- package/dist/identity/organizations/dto/org-member.dto.d.ts +29 -0
- package/dist/identity/organizations/dto/org-member.dto.d.ts.map +1 -0
- package/dist/identity/organizations/dto/org-member.dto.js +22 -0
- package/dist/identity/organizations/dto/org-member.dto.js.map +1 -0
- package/dist/identity/organizations/dto/organization.dto.d.ts +34 -0
- package/dist/identity/organizations/dto/organization.dto.d.ts.map +1 -0
- package/dist/identity/organizations/dto/organization.dto.js +27 -0
- package/dist/identity/organizations/dto/organization.dto.js.map +1 -0
- package/dist/identity/organizations/org-admin.common.d.ts +34 -0
- package/dist/identity/organizations/org-admin.common.d.ts.map +1 -0
- package/dist/identity/organizations/org-admin.common.js +76 -0
- package/dist/identity/organizations/org-admin.common.js.map +1 -0
- package/dist/identity/organizations/org-invites.controller.d.ts +21 -0
- package/dist/identity/organizations/org-invites.controller.d.ts.map +1 -0
- package/dist/identity/organizations/org-invites.controller.js +107 -0
- package/dist/identity/organizations/org-invites.controller.js.map +1 -0
- package/dist/identity/organizations/org-invites.service.d.ts +128 -0
- package/dist/identity/organizations/org-invites.service.d.ts.map +1 -0
- package/dist/identity/organizations/org-invites.service.js +294 -0
- package/dist/identity/organizations/org-invites.service.js.map +1 -0
- package/dist/identity/organizations/org-members.controller.d.ts +26 -0
- package/dist/identity/organizations/org-members.controller.d.ts.map +1 -0
- package/dist/identity/organizations/org-members.controller.js +116 -0
- package/dist/identity/organizations/org-members.controller.js.map +1 -0
- package/dist/identity/organizations/org-members.service.d.ts +84 -0
- package/dist/identity/organizations/org-members.service.d.ts.map +1 -0
- package/dist/identity/organizations/org-members.service.js +302 -0
- package/dist/identity/organizations/org-members.service.js.map +1 -0
- package/dist/identity/organizations/org-scope.d.ts +65 -0
- package/dist/identity/organizations/org-scope.d.ts.map +1 -0
- package/dist/identity/organizations/org-scope.js +84 -0
- package/dist/identity/organizations/org-scope.js.map +1 -0
- package/dist/identity/organizations/organizations-admin.controller.d.ts +23 -0
- package/dist/identity/organizations/organizations-admin.controller.d.ts.map +1 -0
- package/dist/identity/organizations/organizations-admin.controller.js +103 -0
- package/dist/identity/organizations/organizations-admin.controller.js.map +1 -0
- package/dist/identity/organizations/organizations-admin.service.d.ts +58 -0
- package/dist/identity/organizations/organizations-admin.service.d.ts.map +1 -0
- package/dist/identity/organizations/organizations-admin.service.js +191 -0
- package/dist/identity/organizations/organizations-admin.service.js.map +1 -0
- package/dist/identity/organizations/organizations.errors.d.ts +13 -0
- package/dist/identity/organizations/organizations.errors.d.ts.map +1 -0
- package/dist/identity/organizations/organizations.errors.js +19 -0
- package/dist/identity/organizations/organizations.errors.js.map +1 -0
- package/dist/identity/organizations/organizations.metrics.d.ts +24 -0
- package/dist/identity/organizations/organizations.metrics.d.ts.map +1 -0
- package/dist/identity/organizations/organizations.metrics.js +27 -0
- package/dist/identity/organizations/organizations.metrics.js.map +1 -0
- package/dist/identity/organizations/organizations.module.d.ts +17 -0
- package/dist/identity/organizations/organizations.module.d.ts.map +1 -0
- package/dist/identity/organizations/organizations.module.js +60 -0
- package/dist/identity/organizations/organizations.module.js.map +1 -0
- package/dist/identity/organizations/organizations.permissions.d.ts +23 -0
- package/dist/identity/organizations/organizations.permissions.d.ts.map +1 -0
- package/dist/identity/organizations/organizations.permissions.js +76 -0
- package/dist/identity/organizations/organizations.permissions.js.map +1 -0
- package/dist/identity/organizations/organizations.service.d.ts +173 -0
- package/dist/identity/organizations/organizations.service.d.ts.map +1 -0
- package/dist/identity/organizations/organizations.service.js +408 -0
- package/dist/identity/organizations/organizations.service.js.map +1 -0
- package/dist/identity/organizations/tenancy-mode.d.ts +79 -0
- package/dist/identity/organizations/tenancy-mode.d.ts.map +1 -0
- package/dist/identity/organizations/tenancy-mode.js +128 -0
- package/dist/identity/organizations/tenancy-mode.js.map +1 -0
- package/dist/identity/organizations/tenancy.service.d.ts +35 -0
- package/dist/identity/organizations/tenancy.service.d.ts.map +1 -0
- package/dist/identity/organizations/tenancy.service.js +65 -0
- package/dist/identity/organizations/tenancy.service.js.map +1 -0
- package/dist/identity/pat/dto/create-pat.dto.d.ts +11 -0
- package/dist/identity/pat/dto/create-pat.dto.d.ts.map +1 -0
- package/dist/identity/pat/dto/create-pat.dto.js +10 -0
- package/dist/identity/pat/dto/create-pat.dto.js.map +1 -0
- package/dist/identity/pat/dto/pat-response.dto.d.ts +28 -0
- package/dist/identity/pat/dto/pat-response.dto.d.ts.map +1 -0
- package/dist/identity/pat/dto/pat-response.dto.js +119 -0
- package/dist/identity/pat/dto/pat-response.dto.js.map +1 -0
- package/dist/identity/pat/index.d.ts +3 -0
- package/dist/identity/pat/index.d.ts.map +1 -0
- package/dist/identity/pat/index.js +8 -0
- package/dist/identity/pat/index.js.map +1 -0
- package/dist/identity/pat/pat.controller.d.ts +12 -0
- package/dist/identity/pat/pat.controller.d.ts.map +1 -0
- package/dist/identity/pat/pat.controller.js +111 -0
- package/dist/identity/pat/pat.controller.js.map +1 -0
- package/dist/identity/pat/pat.module.d.ts +8 -0
- package/dist/identity/pat/pat.module.d.ts.map +1 -0
- package/dist/identity/pat/pat.module.js +32 -0
- package/dist/identity/pat/pat.module.js.map +1 -0
- package/dist/identity/pat/pat.service.d.ts +86 -0
- package/dist/identity/pat/pat.service.d.ts.map +1 -0
- package/dist/identity/pat/pat.service.js +296 -0
- package/dist/identity/pat/pat.service.js.map +1 -0
- package/dist/identity/ports.d.ts +396 -0
- package/dist/identity/ports.d.ts.map +1 -0
- package/dist/identity/ports.js +126 -0
- package/dist/identity/ports.js.map +1 -0
- package/dist/identity/roles/dto/roles.dto.d.ts +16 -0
- package/dist/identity/roles/dto/roles.dto.d.ts.map +1 -0
- package/dist/identity/roles/dto/roles.dto.js +13 -0
- package/dist/identity/roles/dto/roles.dto.js.map +1 -0
- package/dist/identity/roles/index.d.ts +3 -0
- package/dist/identity/roles/index.d.ts.map +1 -0
- package/dist/identity/roles/index.js +15 -0
- package/dist/identity/roles/index.js.map +1 -0
- package/dist/identity/roles/role-catalog.d.ts +90 -0
- package/dist/identity/roles/role-catalog.d.ts.map +1 -0
- package/dist/identity/roles/role-catalog.js +187 -0
- package/dist/identity/roles/role-catalog.js.map +1 -0
- package/dist/identity/roles/roles.controller.d.ts +21 -0
- package/dist/identity/roles/roles.controller.d.ts.map +1 -0
- package/dist/identity/roles/roles.controller.js +72 -0
- package/dist/identity/roles/roles.controller.js.map +1 -0
- package/dist/identity/roles/roles.module.d.ts +8 -0
- package/dist/identity/roles/roles.module.d.ts.map +1 -0
- package/dist/identity/roles/roles.module.js +23 -0
- package/dist/identity/roles/roles.module.js.map +1 -0
- package/dist/identity/testing/auth-provider-conformance.d.ts +99 -0
- package/dist/identity/testing/auth-provider-conformance.d.ts.map +1 -0
- package/dist/identity/testing/auth-provider-conformance.js +184 -0
- package/dist/identity/testing/auth-provider-conformance.js.map +1 -0
- package/dist/identity/testing/conformance.d.ts +208 -0
- package/dist/identity/testing/conformance.d.ts.map +1 -0
- package/dist/identity/testing/conformance.js +369 -0
- package/dist/identity/testing/conformance.js.map +1 -0
- package/dist/identity/testing/dto/test-login.dto.d.ts +10 -0
- package/dist/identity/testing/dto/test-login.dto.d.ts.map +1 -0
- package/dist/identity/testing/dto/test-login.dto.js +17 -0
- package/dist/identity/testing/dto/test-login.dto.js.map +1 -0
- package/dist/identity/testing/guards/test-environment.guard.d.ts +14 -0
- package/dist/identity/testing/guards/test-environment.guard.d.ts.map +1 -0
- package/dist/identity/testing/guards/test-environment.guard.js +39 -0
- package/dist/identity/testing/guards/test-environment.guard.js.map +1 -0
- package/dist/identity/testing/index.d.ts +11 -0
- package/dist/identity/testing/index.d.ts.map +1 -0
- package/dist/identity/testing/index.js +32 -0
- package/dist/identity/testing/index.js.map +1 -0
- package/dist/identity/testing/stub-host.d.ts +76 -0
- package/dist/identity/testing/stub-host.d.ts.map +1 -0
- package/dist/identity/testing/stub-host.js +91 -0
- package/dist/identity/testing/stub-host.js.map +1 -0
- package/dist/identity/testing/test-auth.controller.d.ts +25 -0
- package/dist/identity/testing/test-auth.controller.d.ts.map +1 -0
- package/dist/identity/testing/test-auth.controller.js +114 -0
- package/dist/identity/testing/test-auth.controller.js.map +1 -0
- package/dist/identity/testing/test-auth.module.d.ts +8 -0
- package/dist/identity/testing/test-auth.module.d.ts.map +1 -0
- package/dist/identity/testing/test-auth.module.js +51 -0
- package/dist/identity/testing/test-auth.module.js.map +1 -0
- package/dist/identity/testing/test-auth.service.d.ts +64 -0
- package/dist/identity/testing/test-auth.service.d.ts.map +1 -0
- package/dist/identity/testing/test-auth.service.js +262 -0
- package/dist/identity/testing/test-auth.service.js.map +1 -0
- package/dist/identity/users/dto/update-user-roles.dto.d.ts +18 -0
- package/dist/identity/users/dto/update-user-roles.dto.d.ts.map +1 -0
- package/dist/identity/users/dto/update-user-roles.dto.js +22 -0
- package/dist/identity/users/dto/update-user-roles.dto.js.map +1 -0
- package/dist/identity/users/dto/update-user.dto.d.ts +13 -0
- package/dist/identity/users/dto/update-user.dto.d.ts.map +1 -0
- package/dist/identity/users/dto/update-user.dto.js +13 -0
- package/dist/identity/users/dto/update-user.dto.js.map +1 -0
- package/dist/identity/users/dto/user-list-query.dto.d.ts +43 -0
- package/dist/identity/users/dto/user-list-query.dto.d.ts.map +1 -0
- package/dist/identity/users/dto/user-list-query.dto.js +18 -0
- package/dist/identity/users/dto/user-list-query.dto.js.map +1 -0
- package/dist/identity/users/dto/user-response.dto.d.ts +144 -0
- package/dist/identity/users/dto/user-response.dto.d.ts.map +1 -0
- package/dist/identity/users/dto/user-response.dto.js +66 -0
- package/dist/identity/users/dto/user-response.dto.js.map +1 -0
- package/dist/identity/users/users.controller.d.ts +75 -0
- package/dist/identity/users/users.controller.d.ts.map +1 -0
- package/dist/identity/users/users.controller.js +124 -0
- package/dist/identity/users/users.controller.js.map +1 -0
- package/dist/identity/users/users.module.d.ts +8 -0
- package/dist/identity/users/users.module.d.ts.map +1 -0
- package/dist/identity/users/users.module.js +35 -0
- package/dist/identity/users/users.module.js.map +1 -0
- package/dist/identity/users/users.permissions.d.ts +17 -0
- package/dist/identity/users/users.permissions.d.ts.map +1 -0
- package/dist/identity/users/users.permissions.js +44 -0
- package/dist/identity/users/users.permissions.js.map +1 -0
- package/dist/identity/users/users.service.d.ts +144 -0
- package/dist/identity/users/users.service.d.ts.map +1 -0
- package/dist/identity/users/users.service.js +482 -0
- package/dist/identity/users/users.service.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/jobs/backoff.util.d.ts +59 -0
- package/dist/jobs/backoff.util.d.ts.map +1 -0
- package/dist/jobs/backoff.util.js +100 -0
- package/dist/jobs/backoff.util.js.map +1 -0
- package/dist/jobs/data/jobs-db.d.ts +404 -0
- package/dist/jobs/data/jobs-db.d.ts.map +1 -0
- package/dist/jobs/data/jobs-db.js +62 -0
- package/dist/jobs/data/jobs-db.js.map +1 -0
- package/dist/jobs/data/prisma-runtime.d.ts +2 -0
- package/dist/jobs/data/prisma-runtime.d.ts.map +1 -0
- package/dist/jobs/data/prisma-runtime.js +28 -0
- package/dist/jobs/data/prisma-runtime.js.map +1 -0
- package/dist/jobs/doctor/jobs-backlog.doctor-check.d.ts +39 -0
- package/dist/jobs/doctor/jobs-backlog.doctor-check.d.ts.map +1 -0
- package/dist/jobs/doctor/jobs-backlog.doctor-check.js +106 -0
- package/dist/jobs/doctor/jobs-backlog.doctor-check.js.map +1 -0
- package/dist/jobs/doctor/jobs-worker.doctor-check.d.ts +32 -0
- package/dist/jobs/doctor/jobs-worker.doctor-check.d.ts.map +1 -0
- package/dist/jobs/doctor/jobs-worker.doctor-check.js +91 -0
- package/dist/jobs/doctor/jobs-worker.doctor-check.js.map +1 -0
- package/dist/jobs/dto/job-actions.dto.d.ts +27 -0
- package/dist/jobs/dto/job-actions.dto.d.ts.map +1 -0
- package/dist/jobs/dto/job-actions.dto.js +30 -0
- package/dist/jobs/dto/job-actions.dto.js.map +1 -0
- package/dist/jobs/dto/job-insights.dto.d.ts +101 -0
- package/dist/jobs/dto/job-insights.dto.d.ts.map +1 -0
- package/dist/jobs/dto/job-insights.dto.js +34 -0
- package/dist/jobs/dto/job-insights.dto.js.map +1 -0
- package/dist/jobs/dto/job-list-query.dto.d.ts +18 -0
- package/dist/jobs/dto/job-list-query.dto.d.ts.map +1 -0
- package/dist/jobs/dto/job-list-query.dto.js +20 -0
- package/dist/jobs/dto/job-list-query.dto.js.map +1 -0
- package/dist/jobs/dto/job-response.dto.d.ts +49 -0
- package/dist/jobs/dto/job-response.dto.d.ts.map +1 -0
- package/dist/jobs/dto/job-response.dto.js +23 -0
- package/dist/jobs/dto/job-response.dto.js.map +1 -0
- package/dist/jobs/dto/job-stats.dto.d.ts +41 -0
- package/dist/jobs/dto/job-stats.dto.d.ts.map +1 -0
- package/dist/jobs/dto/job-stats.dto.js +20 -0
- package/dist/jobs/dto/job-stats.dto.js.map +1 -0
- package/dist/jobs/events/job-settled.event.d.ts +58 -0
- package/dist/jobs/events/job-settled.event.d.ts.map +1 -0
- package/dist/jobs/events/job-settled.event.js +124 -0
- package/dist/jobs/events/job-settled.event.js.map +1 -0
- package/dist/jobs/handlers/job-history-purge.handler.d.ts +110 -0
- package/dist/jobs/handlers/job-history-purge.handler.d.ts.map +1 -0
- package/dist/jobs/handlers/job-history-purge.handler.js +378 -0
- package/dist/jobs/handlers/job-history-purge.handler.js.map +1 -0
- package/dist/jobs/housekeeping.enqueue.d.ts +57 -0
- package/dist/jobs/housekeeping.enqueue.d.ts.map +1 -0
- package/dist/jobs/housekeeping.enqueue.js +139 -0
- package/dist/jobs/housekeeping.enqueue.js.map +1 -0
- package/dist/jobs/index.d.ts +71 -0
- package/dist/jobs/index.d.ts.map +1 -0
- package/dist/jobs/index.js +168 -0
- package/dist/jobs/index.js.map +1 -0
- package/dist/jobs/job-admin.controller.d.ts +19 -0
- package/dist/jobs/job-admin.controller.d.ts.map +1 -0
- package/dist/jobs/job-admin.controller.js +347 -0
- package/dist/jobs/job-admin.controller.js.map +1 -0
- package/dist/jobs/job-admin.service.d.ts +228 -0
- package/dist/jobs/job-admin.service.d.ts.map +1 -0
- package/dist/jobs/job-admin.service.js +699 -0
- package/dist/jobs/job-admin.service.js.map +1 -0
- package/dist/jobs/job-claim.service.d.ts +103 -0
- package/dist/jobs/job-claim.service.d.ts.map +1 -0
- package/dist/jobs/job-claim.service.js +457 -0
- package/dist/jobs/job-claim.service.js.map +1 -0
- package/dist/jobs/job-clock.d.ts +46 -0
- package/dist/jobs/job-clock.d.ts.map +1 -0
- package/dist/jobs/job-clock.js +73 -0
- package/dist/jobs/job-clock.js.map +1 -0
- package/dist/jobs/job-counts.util.d.ts +44 -0
- package/dist/jobs/job-counts.util.d.ts.map +1 -0
- package/dist/jobs/job-counts.util.js +76 -0
- package/dist/jobs/job-counts.util.js.map +1 -0
- package/dist/jobs/job-execution-profile.d.ts +185 -0
- package/dist/jobs/job-execution-profile.d.ts.map +1 -0
- package/dist/jobs/job-execution-profile.js +333 -0
- package/dist/jobs/job-execution-profile.js.map +1 -0
- package/dist/jobs/job-handler.interface.d.ts +291 -0
- package/dist/jobs/job-handler.interface.d.ts.map +1 -0
- package/dist/jobs/job-handler.interface.js +191 -0
- package/dist/jobs/job-handler.interface.js.map +1 -0
- package/dist/jobs/job-handler.registry.d.ts +72 -0
- package/dist/jobs/job-handler.registry.d.ts.map +1 -0
- package/dist/jobs/job-handler.registry.js +174 -0
- package/dist/jobs/job-handler.registry.js.map +1 -0
- package/dist/jobs/job-insights.service.d.ts +152 -0
- package/dist/jobs/job-insights.service.d.ts.map +1 -0
- package/dist/jobs/job-insights.service.js +622 -0
- package/dist/jobs/job-insights.service.js.map +1 -0
- package/dist/jobs/job-keys.d.ts +14 -0
- package/dist/jobs/job-keys.d.ts.map +1 -0
- package/dist/jobs/job-keys.js +58 -0
- package/dist/jobs/job-keys.js.map +1 -0
- package/dist/jobs/job-lease.service.d.ts +187 -0
- package/dist/jobs/job-lease.service.d.ts.map +1 -0
- package/dist/jobs/job-lease.service.js +279 -0
- package/dist/jobs/job-lease.service.js.map +1 -0
- package/dist/jobs/job-reason.d.ts +81 -0
- package/dist/jobs/job-reason.d.ts.map +1 -0
- package/dist/jobs/job-reason.js +128 -0
- package/dist/jobs/job-reason.js.map +1 -0
- package/dist/jobs/job-scope.d.ts +41 -0
- package/dist/jobs/job-scope.d.ts.map +1 -0
- package/dist/jobs/job-scope.js +91 -0
- package/dist/jobs/job-scope.js.map +1 -0
- package/dist/jobs/job-secret-broker.d.ts +157 -0
- package/dist/jobs/job-secret-broker.d.ts.map +1 -0
- package/dist/jobs/job-secret-broker.js +97 -0
- package/dist/jobs/job-secret-broker.js.map +1 -0
- package/dist/jobs/job-settled.emit.d.ts +11 -0
- package/dist/jobs/job-settled.emit.d.ts.map +1 -0
- package/dist/jobs/job-settled.emit.js +43 -0
- package/dist/jobs/job-settled.emit.js.map +1 -0
- package/dist/jobs/job-stuck.service.d.ts +260 -0
- package/dist/jobs/job-stuck.service.d.ts.map +1 -0
- package/dist/jobs/job-stuck.service.js +612 -0
- package/dist/jobs/job-stuck.service.js.map +1 -0
- package/dist/jobs/job-temp.d.ts +67 -0
- package/dist/jobs/job-temp.d.ts.map +1 -0
- package/dist/jobs/job-temp.js +157 -0
- package/dist/jobs/job-temp.js.map +1 -0
- package/dist/jobs/job-terminal.service.d.ts +262 -0
- package/dist/jobs/job-terminal.service.d.ts.map +1 -0
- package/dist/jobs/job-terminal.service.js +733 -0
- package/dist/jobs/job-terminal.service.js.map +1 -0
- package/dist/jobs/job-trace-context.d.ts +74 -0
- package/dist/jobs/job-trace-context.d.ts.map +1 -0
- package/dist/jobs/job-trace-context.js +170 -0
- package/dist/jobs/job-trace-context.js.map +1 -0
- package/dist/jobs/job-type-label.d.ts +49 -0
- package/dist/jobs/job-type-label.d.ts.map +1 -0
- package/dist/jobs/job-type-label.js +99 -0
- package/dist/jobs/job-type-label.js.map +1 -0
- package/dist/jobs/job-wake.d.ts +12 -0
- package/dist/jobs/job-wake.d.ts.map +1 -0
- package/dist/jobs/job-wake.js +37 -0
- package/dist/jobs/job-wake.js.map +1 -0
- package/dist/jobs/job.worker.d.ts +514 -0
- package/dist/jobs/job.worker.d.ts.map +1 -0
- package/dist/jobs/job.worker.js +1183 -0
- package/dist/jobs/job.worker.js.map +1 -0
- package/dist/jobs/jobs.configuration.d.ts +71 -0
- package/dist/jobs/jobs.configuration.d.ts.map +1 -0
- package/dist/jobs/jobs.configuration.js +69 -0
- package/dist/jobs/jobs.configuration.js.map +1 -0
- package/dist/jobs/jobs.constants.d.ts +11 -0
- package/dist/jobs/jobs.constants.d.ts.map +1 -0
- package/dist/jobs/jobs.constants.js +16 -0
- package/dist/jobs/jobs.constants.js.map +1 -0
- package/dist/jobs/jobs.module.d.ts +37 -0
- package/dist/jobs/jobs.module.d.ts.map +1 -0
- package/dist/jobs/jobs.module.js +283 -0
- package/dist/jobs/jobs.module.js.map +1 -0
- package/dist/jobs/jobs.options.d.ts +97 -0
- package/dist/jobs/jobs.options.d.ts.map +1 -0
- package/dist/jobs/jobs.options.js +79 -0
- package/dist/jobs/jobs.options.js.map +1 -0
- package/dist/jobs/jobs.permissions.d.ts +29 -0
- package/dist/jobs/jobs.permissions.d.ts.map +1 -0
- package/dist/jobs/jobs.permissions.js +49 -0
- package/dist/jobs/jobs.permissions.js.map +1 -0
- package/dist/jobs/jobs.policy.d.ts +47 -0
- package/dist/jobs/jobs.policy.d.ts.map +1 -0
- package/dist/jobs/jobs.policy.js +44 -0
- package/dist/jobs/jobs.policy.js.map +1 -0
- package/dist/jobs/jobs.service.d.ts +220 -0
- package/dist/jobs/jobs.service.d.ts.map +1 -0
- package/dist/jobs/jobs.service.js +459 -0
- package/dist/jobs/jobs.service.js.map +1 -0
- package/dist/jobs/jobs.system-settings.d.ts +94 -0
- package/dist/jobs/jobs.system-settings.d.ts.map +1 -0
- package/dist/jobs/jobs.system-settings.js +76 -0
- package/dist/jobs/jobs.system-settings.js.map +1 -0
- package/dist/jobs/node-offload.service.d.ts +118 -0
- package/dist/jobs/node-offload.service.d.ts.map +1 -0
- package/dist/jobs/node-offload.service.js +264 -0
- package/dist/jobs/node-offload.service.js.map +1 -0
- package/dist/jobs/ports.d.ts +129 -0
- package/dist/jobs/ports.d.ts.map +1 -0
- package/dist/jobs/ports.js +69 -0
- package/dist/jobs/ports.js.map +1 -0
- package/dist/jobs/provider-throttle.service.d.ts +97 -0
- package/dist/jobs/provider-throttle.service.d.ts.map +1 -0
- package/dist/jobs/provider-throttle.service.js +248 -0
- package/dist/jobs/provider-throttle.service.js.map +1 -0
- package/dist/jobs/rate-limit.error.d.ts +66 -0
- package/dist/jobs/rate-limit.error.d.ts.map +1 -0
- package/dist/jobs/rate-limit.error.js +290 -0
- package/dist/jobs/rate-limit.error.js.map +1 -0
- package/dist/jobs/retention/audit-events-purge.handler.d.ts +75 -0
- package/dist/jobs/retention/audit-events-purge.handler.d.ts.map +1 -0
- package/dist/jobs/retention/audit-events-purge.handler.js +109 -0
- package/dist/jobs/retention/audit-events-purge.handler.js.map +1 -0
- package/dist/jobs/retention/batched-purge.d.ts +112 -0
- package/dist/jobs/retention/batched-purge.d.ts.map +1 -0
- package/dist/jobs/retention/batched-purge.js +150 -0
- package/dist/jobs/retention/batched-purge.js.map +1 -0
- package/dist/jobs/retention/retention-policy.registry.d.ts +108 -0
- package/dist/jobs/retention/retention-policy.registry.d.ts.map +1 -0
- package/dist/jobs/retention/retention-policy.registry.js +182 -0
- package/dist/jobs/retention/retention-policy.registry.js.map +1 -0
- package/dist/jobs/retention/retention-purge.registry.d.ts +60 -0
- package/dist/jobs/retention/retention-purge.registry.d.ts.map +1 -0
- package/dist/jobs/retention/retention-purge.registry.js +96 -0
- package/dist/jobs/retention/retention-purge.registry.js.map +1 -0
- package/dist/jobs/retention/retention-purge.task.d.ts +23 -0
- package/dist/jobs/retention/retention-purge.task.d.ts.map +1 -0
- package/dist/jobs/retention/retention-purge.task.js +123 -0
- package/dist/jobs/retention/retention-purge.task.js.map +1 -0
- package/dist/jobs/retention/retention.system-settings.d.ts +74 -0
- package/dist/jobs/retention/retention.system-settings.d.ts.map +1 -0
- package/dist/jobs/retention/retention.system-settings.js +167 -0
- package/dist/jobs/retention/retention.system-settings.js.map +1 -0
- package/dist/jobs/tasks/job-history-purge.task.d.ts +12 -0
- package/dist/jobs/tasks/job-history-purge.task.d.ts.map +1 -0
- package/dist/jobs/tasks/job-history-purge.task.js +150 -0
- package/dist/jobs/tasks/job-history-purge.task.js.map +1 -0
- package/dist/jobs/tasks/job-stuck-reset.task.d.ts +21 -0
- package/dist/jobs/tasks/job-stuck-reset.task.d.ts.map +1 -0
- package/dist/jobs/tasks/job-stuck-reset.task.js +128 -0
- package/dist/jobs/tasks/job-stuck-reset.task.js.map +1 -0
- package/dist/jobs/tasks/temp-file-janitor.task.d.ts +50 -0
- package/dist/jobs/tasks/temp-file-janitor.task.d.ts.map +1 -0
- package/dist/jobs/tasks/temp-file-janitor.task.js +206 -0
- package/dist/jobs/tasks/temp-file-janitor.task.js.map +1 -0
- package/dist/jobs/testing/fake-job-queue.d.ts +98 -0
- package/dist/jobs/testing/fake-job-queue.d.ts.map +1 -0
- package/dist/jobs/testing/fake-job-queue.js +203 -0
- package/dist/jobs/testing/fake-job-queue.js.map +1 -0
- package/dist/jobs/testing/index.d.ts +7 -0
- package/dist/jobs/testing/index.d.ts.map +1 -0
- package/dist/jobs/testing/index.js +22 -0
- package/dist/jobs/testing/index.js.map +1 -0
- package/dist/jobs/testing/job-handler-conformance.d.ts +136 -0
- package/dist/jobs/testing/job-handler-conformance.d.ts.map +1 -0
- package/dist/jobs/testing/job-handler-conformance.js +267 -0
- package/dist/jobs/testing/job-handler-conformance.js.map +1 -0
- package/dist/jobs/testing/on-event-no-io.suite.d.ts +99 -0
- package/dist/jobs/testing/on-event-no-io.suite.d.ts.map +1 -0
- package/dist/jobs/testing/on-event-no-io.suite.js +313 -0
- package/dist/jobs/testing/on-event-no-io.suite.js.map +1 -0
- package/dist/manifest/index.d.ts +9 -0
- package/dist/manifest/index.d.ts.map +1 -0
- package/dist/manifest/index.js +28 -0
- package/dist/manifest/index.js.map +1 -0
- package/dist/manifest/permission-sets.d.ts +54 -0
- package/dist/manifest/permission-sets.d.ts.map +1 -0
- package/dist/manifest/permission-sets.js +70 -0
- package/dist/manifest/permission-sets.js.map +1 -0
- package/dist/manifest/platform-model-ownership.d.ts +28 -0
- package/dist/manifest/platform-model-ownership.d.ts.map +1 -0
- package/dist/manifest/platform-model-ownership.js +170 -0
- package/dist/manifest/platform-model-ownership.js.map +1 -0
- package/dist/manifest/platform-permissions.d.ts +87 -0
- package/dist/manifest/platform-permissions.d.ts.map +1 -0
- package/dist/manifest/platform-permissions.js +104 -0
- package/dist/manifest/platform-permissions.js.map +1 -0
- package/dist/manifest/platform-user-owned-models.d.ts +30 -0
- package/dist/manifest/platform-user-owned-models.d.ts.map +1 -0
- package/dist/manifest/platform-user-owned-models.js +256 -0
- package/dist/manifest/platform-user-owned-models.js.map +1 -0
- package/dist/manifest/register-permissions.d.ts +118 -0
- package/dist/manifest/register-permissions.d.ts.map +1 -0
- package/dist/manifest/register-permissions.js +145 -0
- package/dist/manifest/register-permissions.js.map +1 -0
- package/dist/nodes/doctor/nodes-fleet.doctor-check.d.ts +31 -0
- package/dist/nodes/doctor/nodes-fleet.doctor-check.d.ts.map +1 -0
- package/dist/nodes/doctor/nodes-fleet.doctor-check.js +77 -0
- package/dist/nodes/doctor/nodes-fleet.doctor-check.js.map +1 -0
- package/dist/nodes/dto/claim-token.field.d.ts +3 -0
- package/dist/nodes/dto/claim-token.field.d.ts.map +1 -0
- package/dist/nodes/dto/claim-token.field.js +14 -0
- package/dist/nodes/dto/claim-token.field.js.map +1 -0
- package/dist/nodes/dto/create-node-credential.dto.d.ts +14 -0
- package/dist/nodes/dto/create-node-credential.dto.d.ts.map +1 -0
- package/dist/nodes/dto/create-node-credential.dto.js +24 -0
- package/dist/nodes/dto/create-node-credential.dto.js.map +1 -0
- package/dist/nodes/dto/node-admin.dto.d.ts +174 -0
- package/dist/nodes/dto/node-admin.dto.d.ts.map +1 -0
- package/dist/nodes/dto/node-admin.dto.js +506 -0
- package/dist/nodes/dto/node-admin.dto.js.map +1 -0
- package/dist/nodes/dto/node-control-plane.dto.d.ts +108 -0
- package/dist/nodes/dto/node-control-plane.dto.d.ts.map +1 -0
- package/dist/nodes/dto/node-control-plane.dto.js +72 -0
- package/dist/nodes/dto/node-control-plane.dto.js.map +1 -0
- package/dist/nodes/dto/node-credential-response.dto.d.ts +61 -0
- package/dist/nodes/dto/node-credential-response.dto.d.ts.map +1 -0
- package/dist/nodes/dto/node-credential-response.dto.js +152 -0
- package/dist/nodes/dto/node-credential-response.dto.js.map +1 -0
- package/dist/nodes/dto/node-data-plane.dto.d.ts +80 -0
- package/dist/nodes/dto/node-data-plane.dto.d.ts.map +1 -0
- package/dist/nodes/dto/node-data-plane.dto.js +202 -0
- package/dist/nodes/dto/node-data-plane.dto.js.map +1 -0
- package/dist/nodes/dto/node-job-secret.dto.d.ts +26 -0
- package/dist/nodes/dto/node-job-secret.dto.d.ts.map +1 -0
- package/dist/nodes/dto/node-job-secret.dto.js +75 -0
- package/dist/nodes/dto/node-job-secret.dto.js.map +1 -0
- package/dist/nodes/dto/node-response.dto.d.ts +139 -0
- package/dist/nodes/dto/node-response.dto.d.ts.map +1 -0
- package/dist/nodes/dto/node-response.dto.js +475 -0
- package/dist/nodes/dto/node-response.dto.js.map +1 -0
- package/dist/nodes/dto/node-telemetry.dto.d.ts +153 -0
- package/dist/nodes/dto/node-telemetry.dto.d.ts.map +1 -0
- package/dist/nodes/dto/node-telemetry.dto.js +210 -0
- package/dist/nodes/dto/node-telemetry.dto.js.map +1 -0
- package/dist/nodes/events/node-offline.event.d.ts +37 -0
- package/dist/nodes/events/node-offline.event.d.ts.map +1 -0
- package/dist/nodes/events/node-offline.event.js +64 -0
- package/dist/nodes/events/node-offline.event.js.map +1 -0
- package/dist/nodes/handlers/node-fleet-prune.handler.d.ts +70 -0
- package/dist/nodes/handlers/node-fleet-prune.handler.d.ts.map +1 -0
- package/dist/nodes/handlers/node-fleet-prune.handler.js +241 -0
- package/dist/nodes/handlers/node-fleet-prune.handler.js.map +1 -0
- package/dist/nodes/handlers/node-fleet-sweep.handler.d.ts +79 -0
- package/dist/nodes/handlers/node-fleet-sweep.handler.d.ts.map +1 -0
- package/dist/nodes/handlers/node-fleet-sweep.handler.js +300 -0
- package/dist/nodes/handlers/node-fleet-sweep.handler.js.map +1 -0
- package/dist/nodes/index.d.ts +38 -0
- package/dist/nodes/index.d.ts.map +1 -0
- package/dist/nodes/index.js +78 -0
- package/dist/nodes/index.js.map +1 -0
- package/dist/nodes/node-credential.controller.d.ts +11 -0
- package/dist/nodes/node-credential.controller.d.ts.map +1 -0
- package/dist/nodes/node-credential.controller.js +184 -0
- package/dist/nodes/node-credential.controller.js.map +1 -0
- package/dist/nodes/node-credential.module.d.ts +12 -0
- package/dist/nodes/node-credential.module.d.ts.map +1 -0
- package/dist/nodes/node-credential.module.js +73 -0
- package/dist/nodes/node-credential.module.js.map +1 -0
- package/dist/nodes/node-credential.service.d.ts +239 -0
- package/dist/nodes/node-credential.service.d.ts.map +1 -0
- package/dist/nodes/node-credential.service.js +406 -0
- package/dist/nodes/node-credential.service.js.map +1 -0
- package/dist/nodes/node-data-plane.service.d.ts +198 -0
- package/dist/nodes/node-data-plane.service.d.ts.map +1 -0
- package/dist/nodes/node-data-plane.service.js +478 -0
- package/dist/nodes/node-data-plane.service.js.map +1 -0
- package/dist/nodes/node-fleet-metrics.service.d.ts +85 -0
- package/dist/nodes/node-fleet-metrics.service.d.ts.map +1 -0
- package/dist/nodes/node-fleet-metrics.service.js +413 -0
- package/dist/nodes/node-fleet-metrics.service.js.map +1 -0
- package/dist/nodes/node-lifecycle.service.d.ts +93 -0
- package/dist/nodes/node-lifecycle.service.d.ts.map +1 -0
- package/dist/nodes/node-lifecycle.service.js +217 -0
- package/dist/nodes/node-lifecycle.service.js.map +1 -0
- package/dist/nodes/node-secret-broker.service.d.ts +281 -0
- package/dist/nodes/node-secret-broker.service.d.ts.map +1 -0
- package/dist/nodes/node-secret-broker.service.js +711 -0
- package/dist/nodes/node-secret-broker.service.js.map +1 -0
- package/dist/nodes/node-settlement-ledger.d.ts +19 -0
- package/dist/nodes/node-settlement-ledger.d.ts.map +1 -0
- package/dist/nodes/node-settlement-ledger.js +86 -0
- package/dist/nodes/node-settlement-ledger.js.map +1 -0
- package/dist/nodes/node-span-attribute.registry.d.ts +118 -0
- package/dist/nodes/node-span-attribute.registry.d.ts.map +1 -0
- package/dist/nodes/node-span-attribute.registry.js +153 -0
- package/dist/nodes/node-span-attribute.registry.js.map +1 -0
- package/dist/nodes/node-telemetry-rate-limiter.d.ts +25 -0
- package/dist/nodes/node-telemetry-rate-limiter.d.ts.map +1 -0
- package/dist/nodes/node-telemetry-rate-limiter.js +104 -0
- package/dist/nodes/node-telemetry-rate-limiter.js.map +1 -0
- package/dist/nodes/node-telemetry.service.d.ts +22 -0
- package/dist/nodes/node-telemetry.service.d.ts.map +1 -0
- package/dist/nodes/node-telemetry.service.js +178 -0
- package/dist/nodes/node-telemetry.service.js.map +1 -0
- package/dist/nodes/nodes-admin.controller.d.ts +12 -0
- package/dist/nodes/nodes-admin.controller.d.ts.map +1 -0
- package/dist/nodes/nodes-admin.controller.js +218 -0
- package/dist/nodes/nodes-admin.controller.js.map +1 -0
- package/dist/nodes/nodes-admin.service.d.ts +111 -0
- package/dist/nodes/nodes-admin.service.d.ts.map +1 -0
- package/dist/nodes/nodes-admin.service.js +310 -0
- package/dist/nodes/nodes-admin.service.js.map +1 -0
- package/dist/nodes/nodes.constants.d.ts +11 -0
- package/dist/nodes/nodes.constants.d.ts.map +1 -0
- package/dist/nodes/nodes.constants.js +15 -0
- package/dist/nodes/nodes.constants.js.map +1 -0
- package/dist/nodes/nodes.controller.d.ts +31 -0
- package/dist/nodes/nodes.controller.d.ts.map +1 -0
- package/dist/nodes/nodes.controller.js +616 -0
- package/dist/nodes/nodes.controller.js.map +1 -0
- package/dist/nodes/nodes.metrics.d.ts +51 -0
- package/dist/nodes/nodes.metrics.d.ts.map +1 -0
- package/dist/nodes/nodes.metrics.js +148 -0
- package/dist/nodes/nodes.metrics.js.map +1 -0
- package/dist/nodes/nodes.module.d.ts +35 -0
- package/dist/nodes/nodes.module.d.ts.map +1 -0
- package/dist/nodes/nodes.module.js +278 -0
- package/dist/nodes/nodes.module.js.map +1 -0
- package/dist/nodes/nodes.options.d.ts +64 -0
- package/dist/nodes/nodes.options.d.ts.map +1 -0
- package/dist/nodes/nodes.options.js +39 -0
- package/dist/nodes/nodes.options.js.map +1 -0
- package/dist/nodes/nodes.permissions.d.ts +29 -0
- package/dist/nodes/nodes.permissions.d.ts.map +1 -0
- package/dist/nodes/nodes.permissions.js +55 -0
- package/dist/nodes/nodes.permissions.js.map +1 -0
- package/dist/nodes/nodes.service.d.ts +482 -0
- package/dist/nodes/nodes.service.d.ts.map +1 -0
- package/dist/nodes/nodes.service.js +1017 -0
- package/dist/nodes/nodes.service.js.map +1 -0
- package/dist/nodes/nodes.system-settings.d.ts +83 -0
- package/dist/nodes/nodes.system-settings.d.ts.map +1 -0
- package/dist/nodes/nodes.system-settings.js +70 -0
- package/dist/nodes/nodes.system-settings.js.map +1 -0
- package/dist/nodes/ops/node-secret-revoker.d.ts +16 -0
- package/dist/nodes/ops/node-secret-revoker.d.ts.map +1 -0
- package/dist/nodes/ops/node-secret-revoker.js +152 -0
- package/dist/nodes/ops/node-secret-revoker.js.map +1 -0
- package/dist/nodes/ports.d.ts +126 -0
- package/dist/nodes/ports.d.ts.map +1 -0
- package/dist/nodes/ports.js +65 -0
- package/dist/nodes/ports.js.map +1 -0
- package/dist/nodes/tasks/node-offline-prune.task.d.ts +25 -0
- package/dist/nodes/tasks/node-offline-prune.task.d.ts.map +1 -0
- package/dist/nodes/tasks/node-offline-prune.task.js +96 -0
- package/dist/nodes/tasks/node-offline-prune.task.js.map +1 -0
- package/dist/nodes/tasks/node-secret-sweep.task.d.ts +24 -0
- package/dist/nodes/tasks/node-secret-sweep.task.d.ts.map +1 -0
- package/dist/nodes/tasks/node-secret-sweep.task.js +151 -0
- package/dist/nodes/tasks/node-secret-sweep.task.js.map +1 -0
- package/dist/nodes/tasks/node-stale-offline.task.d.ts +29 -0
- package/dist/nodes/tasks/node-stale-offline.task.d.ts.map +1 -0
- package/dist/nodes/tasks/node-stale-offline.task.js +120 -0
- package/dist/nodes/tasks/node-stale-offline.task.js.map +1 -0
- package/dist/notifications/broadcasts/broadcast-audience.d.ts +109 -0
- package/dist/notifications/broadcasts/broadcast-audience.d.ts.map +1 -0
- package/dist/notifications/broadcasts/broadcast-audience.js +150 -0
- package/dist/notifications/broadcasts/broadcast-audience.js.map +1 -0
- package/dist/notifications/broadcasts/broadcast-failure.listener.d.ts +30 -0
- package/dist/notifications/broadcasts/broadcast-failure.listener.d.ts.map +1 -0
- package/dist/notifications/broadcasts/broadcast-failure.listener.js +212 -0
- package/dist/notifications/broadcasts/broadcast-failure.listener.js.map +1 -0
- package/dist/notifications/broadcasts/broadcast-job-delete-guard.d.ts +17 -0
- package/dist/notifications/broadcasts/broadcast-job-delete-guard.d.ts.map +1 -0
- package/dist/notifications/broadcasts/broadcast-job-delete-guard.js +64 -0
- package/dist/notifications/broadcasts/broadcast-job-delete-guard.js.map +1 -0
- package/dist/notifications/broadcasts/broadcasts.controller.d.ts +32 -0
- package/dist/notifications/broadcasts/broadcasts.controller.d.ts.map +1 -0
- package/dist/notifications/broadcasts/broadcasts.controller.js +368 -0
- package/dist/notifications/broadcasts/broadcasts.controller.js.map +1 -0
- package/dist/notifications/broadcasts/broadcasts.module.d.ts +20 -0
- package/dist/notifications/broadcasts/broadcasts.module.d.ts.map +1 -0
- package/dist/notifications/broadcasts/broadcasts.module.js +121 -0
- package/dist/notifications/broadcasts/broadcasts.module.js.map +1 -0
- package/dist/notifications/broadcasts/broadcasts.notifications.d.ts +11 -0
- package/dist/notifications/broadcasts/broadcasts.notifications.d.ts.map +1 -0
- package/dist/notifications/broadcasts/broadcasts.notifications.js +92 -0
- package/dist/notifications/broadcasts/broadcasts.notifications.js.map +1 -0
- package/dist/notifications/broadcasts/broadcasts.service.d.ts +361 -0
- package/dist/notifications/broadcasts/broadcasts.service.d.ts.map +1 -0
- package/dist/notifications/broadcasts/broadcasts.service.js +693 -0
- package/dist/notifications/broadcasts/broadcasts.service.js.map +1 -0
- package/dist/notifications/broadcasts/dto/broadcast-list-query.dto.d.ts +15 -0
- package/dist/notifications/broadcasts/dto/broadcast-list-query.dto.d.ts.map +1 -0
- package/dist/notifications/broadcasts/dto/broadcast-list-query.dto.js +19 -0
- package/dist/notifications/broadcasts/dto/broadcast-list-query.dto.js.map +1 -0
- package/dist/notifications/broadcasts/dto/broadcast-response.dto.d.ts +152 -0
- package/dist/notifications/broadcasts/dto/broadcast-response.dto.d.ts.map +1 -0
- package/dist/notifications/broadcasts/dto/broadcast-response.dto.js +77 -0
- package/dist/notifications/broadcasts/dto/broadcast-response.dto.js.map +1 -0
- package/dist/notifications/broadcasts/dto/create-broadcast.dto.d.ts +62 -0
- package/dist/notifications/broadcasts/dto/create-broadcast.dto.d.ts.map +1 -0
- package/dist/notifications/broadcasts/dto/create-broadcast.dto.js +68 -0
- package/dist/notifications/broadcasts/dto/create-broadcast.dto.js.map +1 -0
- package/dist/notifications/broadcasts/handlers/broadcast-chunk.handler.d.ts +164 -0
- package/dist/notifications/broadcasts/handlers/broadcast-chunk.handler.d.ts.map +1 -0
- package/dist/notifications/broadcasts/handlers/broadcast-chunk.handler.js +807 -0
- package/dist/notifications/broadcasts/handlers/broadcast-chunk.handler.js.map +1 -0
- package/dist/notifications/broadcasts/handlers/broadcast-start.handler.d.ts +103 -0
- package/dist/notifications/broadcasts/handlers/broadcast-start.handler.d.ts.map +1 -0
- package/dist/notifications/broadcasts/handlers/broadcast-start.handler.js +454 -0
- package/dist/notifications/broadcasts/handlers/broadcast-start.handler.js.map +1 -0
- package/dist/notifications/channels/android-app-notification.channel.d.ts +36 -0
- package/dist/notifications/channels/android-app-notification.channel.d.ts.map +1 -0
- package/dist/notifications/channels/android-app-notification.channel.js +88 -0
- package/dist/notifications/channels/android-app-notification.channel.js.map +1 -0
- package/dist/notifications/channels/browser-notification.channel.d.ts +125 -0
- package/dist/notifications/channels/browser-notification.channel.d.ts.map +1 -0
- package/dist/notifications/channels/browser-notification.channel.js +312 -0
- package/dist/notifications/channels/browser-notification.channel.js.map +1 -0
- package/dist/notifications/channels/browser-templates.d.ts +98 -0
- package/dist/notifications/channels/browser-templates.d.ts.map +1 -0
- package/dist/notifications/channels/browser-templates.js +200 -0
- package/dist/notifications/channels/browser-templates.js.map +1 -0
- package/dist/notifications/channels/email-notification.channel.d.ts +76 -0
- package/dist/notifications/channels/email-notification.channel.d.ts.map +1 -0
- package/dist/notifications/channels/email-notification.channel.js +300 -0
- package/dist/notifications/channels/email-notification.channel.js.map +1 -0
- package/dist/notifications/channels/push-notification.channel.d.ts +82 -0
- package/dist/notifications/channels/push-notification.channel.d.ts.map +1 -0
- package/dist/notifications/channels/push-notification.channel.js +463 -0
- package/dist/notifications/channels/push-notification.channel.js.map +1 -0
- package/dist/notifications/channels/push-payload.d.ts +127 -0
- package/dist/notifications/channels/push-payload.d.ts.map +1 -0
- package/dist/notifications/channels/push-payload.js +108 -0
- package/dist/notifications/channels/push-payload.js.map +1 -0
- package/dist/notifications/data/notifications-db.d.ts +300 -0
- package/dist/notifications/data/notifications-db.d.ts.map +1 -0
- package/dist/notifications/data/notifications-db.js +52 -0
- package/dist/notifications/data/notifications-db.js.map +1 -0
- package/dist/notifications/describe-thrown.d.ts +21 -0
- package/dist/notifications/describe-thrown.d.ts.map +1 -0
- package/dist/notifications/describe-thrown.js +48 -0
- package/dist/notifications/describe-thrown.js.map +1 -0
- package/dist/notifications/doctor/egress/web-push.egress.contributor.d.ts +43 -0
- package/dist/notifications/doctor/egress/web-push.egress.contributor.d.ts.map +1 -0
- package/dist/notifications/doctor/egress/web-push.egress.contributor.js +111 -0
- package/dist/notifications/doctor/egress/web-push.egress.contributor.js.map +1 -0
- package/dist/notifications/doctor/push-vapid.doctor-check.d.ts +35 -0
- package/dist/notifications/doctor/push-vapid.doctor-check.d.ts.map +1 -0
- package/dist/notifications/doctor/push-vapid.doctor-check.js +87 -0
- package/dist/notifications/doctor/push-vapid.doctor-check.js.map +1 -0
- package/dist/notifications/dto/generate-push-config.dto.d.ts +13 -0
- package/dist/notifications/dto/generate-push-config.dto.d.ts.map +1 -0
- package/dist/notifications/dto/generate-push-config.dto.js +20 -0
- package/dist/notifications/dto/generate-push-config.dto.js.map +1 -0
- package/dist/notifications/dto/notification-channel.dto.d.ts +20 -0
- package/dist/notifications/dto/notification-channel.dto.d.ts.map +1 -0
- package/dist/notifications/dto/notification-channel.dto.js +18 -0
- package/dist/notifications/dto/notification-channel.dto.js.map +1 -0
- package/dist/notifications/dto/notification-config.dto.d.ts +15 -0
- package/dist/notifications/dto/notification-config.dto.d.ts.map +1 -0
- package/dist/notifications/dto/notification-config.dto.js +20 -0
- package/dist/notifications/dto/notification-config.dto.js.map +1 -0
- package/dist/notifications/dto/notification-event.dto.d.ts +19 -0
- package/dist/notifications/dto/notification-event.dto.d.ts.map +1 -0
- package/dist/notifications/dto/notification-event.dto.js +20 -0
- package/dist/notifications/dto/notification-event.dto.js.map +1 -0
- package/dist/notifications/dto/notification.dto.d.ts +43 -0
- package/dist/notifications/dto/notification.dto.d.ts.map +1 -0
- package/dist/notifications/dto/notification.dto.js +40 -0
- package/dist/notifications/dto/notification.dto.js.map +1 -0
- package/dist/notifications/dto/push-config-confirmation.dto.d.ts +24 -0
- package/dist/notifications/dto/push-config-confirmation.dto.d.ts.map +1 -0
- package/dist/notifications/dto/push-config-confirmation.dto.js +31 -0
- package/dist/notifications/dto/push-config-confirmation.dto.js.map +1 -0
- package/dist/notifications/dto/push-config-response.dto.d.ts +29 -0
- package/dist/notifications/dto/push-config-response.dto.d.ts.map +1 -0
- package/dist/notifications/dto/push-config-response.dto.js +22 -0
- package/dist/notifications/dto/push-config-response.dto.js.map +1 -0
- package/dist/notifications/dto/push-subscription.dto.d.ts +42 -0
- package/dist/notifications/dto/push-subscription.dto.d.ts.map +1 -0
- package/dist/notifications/dto/push-subscription.dto.js +38 -0
- package/dist/notifications/dto/push-subscription.dto.js.map +1 -0
- package/dist/notifications/dto/push-test.dto.d.ts +68 -0
- package/dist/notifications/dto/push-test.dto.d.ts.map +1 -0
- package/dist/notifications/dto/push-test.dto.js +37 -0
- package/dist/notifications/dto/push-test.dto.js.map +1 -0
- package/dist/notifications/dto/update-push-config.dto.d.ts +14 -0
- package/dist/notifications/dto/update-push-config.dto.d.ts.map +1 -0
- package/dist/notifications/dto/update-push-config.dto.js +20 -0
- package/dist/notifications/dto/update-push-config.dto.js.map +1 -0
- package/dist/notifications/index.d.ts +72 -0
- package/dist/notifications/index.d.ts.map +1 -0
- package/dist/notifications/index.js +173 -0
- package/dist/notifications/index.js.map +1 -0
- package/dist/notifications/notification-delivery.service.d.ts +63 -0
- package/dist/notifications/notification-delivery.service.d.ts.map +1 -0
- package/dist/notifications/notification-delivery.service.js +194 -0
- package/dist/notifications/notification-delivery.service.js.map +1 -0
- package/dist/notifications/notification-events.d.ts +72 -0
- package/dist/notifications/notification-events.d.ts.map +1 -0
- package/dist/notifications/notification-events.js +198 -0
- package/dist/notifications/notification-events.js.map +1 -0
- package/dist/notifications/notification-policy.d.ts +145 -0
- package/dist/notifications/notification-policy.d.ts.map +1 -0
- package/dist/notifications/notification-policy.js +132 -0
- package/dist/notifications/notification-policy.js.map +1 -0
- package/dist/notifications/notification-policy.service.d.ts +32 -0
- package/dist/notifications/notification-policy.service.d.ts.map +1 -0
- package/dist/notifications/notification-policy.service.js +127 -0
- package/dist/notifications/notification-policy.service.js.map +1 -0
- package/dist/notifications/notification-preferences.d.ts +146 -0
- package/dist/notifications/notification-preferences.d.ts.map +1 -0
- package/dist/notifications/notification-preferences.js +295 -0
- package/dist/notifications/notification-preferences.js.map +1 -0
- package/dist/notifications/notification-store.service.d.ts +72 -0
- package/dist/notifications/notification-store.service.d.ts.map +1 -0
- package/dist/notifications/notification-store.service.js +222 -0
- package/dist/notifications/notification-store.service.js.map +1 -0
- package/dist/notifications/notification-stream.service.d.ts +298 -0
- package/dist/notifications/notification-stream.service.d.ts.map +1 -0
- package/dist/notifications/notification-stream.service.js +406 -0
- package/dist/notifications/notification-stream.service.js.map +1 -0
- package/dist/notifications/notification.types.d.ts +432 -0
- package/dist/notifications/notification.types.d.ts.map +1 -0
- package/dist/notifications/notification.types.js +18 -0
- package/dist/notifications/notification.types.js.map +1 -0
- package/dist/notifications/notifications.constants.d.ts +17 -0
- package/dist/notifications/notifications.constants.d.ts.map +1 -0
- package/dist/notifications/notifications.constants.js +24 -0
- package/dist/notifications/notifications.constants.js.map +1 -0
- package/dist/notifications/notifications.controller.d.ts +141 -0
- package/dist/notifications/notifications.controller.d.ts.map +1 -0
- package/dist/notifications/notifications.controller.js +594 -0
- package/dist/notifications/notifications.controller.js.map +1 -0
- package/dist/notifications/notifications.module.d.ts +41 -0
- package/dist/notifications/notifications.module.d.ts.map +1 -0
- package/dist/notifications/notifications.module.js +311 -0
- package/dist/notifications/notifications.module.js.map +1 -0
- package/dist/notifications/notifications.options.d.ts +87 -0
- package/dist/notifications/notifications.options.d.ts.map +1 -0
- package/dist/notifications/notifications.options.js +43 -0
- package/dist/notifications/notifications.options.js.map +1 -0
- package/dist/notifications/notifications.permissions.d.ts +70 -0
- package/dist/notifications/notifications.permissions.d.ts.map +1 -0
- package/dist/notifications/notifications.permissions.js +98 -0
- package/dist/notifications/notifications.permissions.js.map +1 -0
- package/dist/notifications/notifications.service.d.ts +564 -0
- package/dist/notifications/notifications.service.d.ts.map +1 -0
- package/dist/notifications/notifications.service.js +1221 -0
- package/dist/notifications/notifications.service.js.map +1 -0
- package/dist/notifications/notifications.system-settings.d.ts +139 -0
- package/dist/notifications/notifications.system-settings.d.ts.map +1 -0
- package/dist/notifications/notifications.system-settings.js +198 -0
- package/dist/notifications/notifications.system-settings.js.map +1 -0
- package/dist/notifications/notifications.user-settings.d.ts +117 -0
- package/dist/notifications/notifications.user-settings.d.ts.map +1 -0
- package/dist/notifications/notifications.user-settings.js +192 -0
- package/dist/notifications/notifications.user-settings.js.map +1 -0
- package/dist/notifications/ops/job-failure-notifier.d.ts +31 -0
- package/dist/notifications/ops/job-failure-notifier.d.ts.map +1 -0
- package/dist/notifications/ops/job-failure-notifier.js +200 -0
- package/dist/notifications/ops/job-failure-notifier.js.map +1 -0
- package/dist/notifications/ops/node-offline-notifier.d.ts +18 -0
- package/dist/notifications/ops/node-offline-notifier.d.ts.map +1 -0
- package/dist/notifications/ops/node-offline-notifier.js +101 -0
- package/dist/notifications/ops/node-offline-notifier.js.map +1 -0
- package/dist/notifications/ops/nodes.notifications.d.ts +9 -0
- package/dist/notifications/ops/nodes.notifications.d.ts.map +1 -0
- package/dist/notifications/ops/nodes.notifications.js +41 -0
- package/dist/notifications/ops/nodes.notifications.js.map +1 -0
- package/dist/notifications/ops/ops.notifications.d.ts +9 -0
- package/dist/notifications/ops/ops.notifications.d.ts.map +1 -0
- package/dist/notifications/ops/ops.notifications.js +87 -0
- package/dist/notifications/ops/ops.notifications.js.map +1 -0
- package/dist/notifications/ports.d.ts +186 -0
- package/dist/notifications/ports.d.ts.map +1 -0
- package/dist/notifications/ports.js +110 -0
- package/dist/notifications/ports.js.map +1 -0
- package/dist/notifications/push-config.controller.d.ts +69 -0
- package/dist/notifications/push-config.controller.d.ts.map +1 -0
- package/dist/notifications/push-config.controller.js +275 -0
- package/dist/notifications/push-config.controller.js.map +1 -0
- package/dist/notifications/push-config.schema.d.ts +10 -0
- package/dist/notifications/push-config.schema.d.ts.map +1 -0
- package/dist/notifications/push-config.schema.js +22 -0
- package/dist/notifications/push-config.schema.js.map +1 -0
- package/dist/notifications/push-config.service.d.ts +205 -0
- package/dist/notifications/push-config.service.d.ts.map +1 -0
- package/dist/notifications/push-config.service.js +472 -0
- package/dist/notifications/push-config.service.js.map +1 -0
- package/dist/notifications/push-subscription.service.d.ts +72 -0
- package/dist/notifications/push-subscription.service.d.ts.map +1 -0
- package/dist/notifications/push-subscription.service.js +195 -0
- package/dist/notifications/push-subscription.service.js.map +1 -0
- package/dist/notifications/push-test.service.d.ts +99 -0
- package/dist/notifications/push-test.service.d.ts.map +1 -0
- package/dist/notifications/push-test.service.js +683 -0
- package/dist/notifications/push-test.service.js.map +1 -0
- package/dist/notifications/push-vapid-credential.constants.d.ts +45 -0
- package/dist/notifications/push-vapid-credential.constants.d.ts.map +1 -0
- package/dist/notifications/push-vapid-credential.constants.js +73 -0
- package/dist/notifications/push-vapid-credential.constants.js.map +1 -0
- package/dist/notifications/registry/bindings.registry.d.ts +128 -0
- package/dist/notifications/registry/bindings.registry.d.ts.map +1 -0
- package/dist/notifications/registry/bindings.registry.js +244 -0
- package/dist/notifications/registry/bindings.registry.js.map +1 -0
- package/dist/notifications/registry/channel-sender.registry.d.ts +54 -0
- package/dist/notifications/registry/channel-sender.registry.d.ts.map +1 -0
- package/dist/notifications/registry/channel-sender.registry.js +138 -0
- package/dist/notifications/registry/channel-sender.registry.js.map +1 -0
- package/dist/notifications/registry/channel-template.registry.d.ts +149 -0
- package/dist/notifications/registry/channel-template.registry.d.ts.map +1 -0
- package/dist/notifications/registry/channel-template.registry.js +169 -0
- package/dist/notifications/registry/channel-template.registry.js.map +1 -0
- package/dist/notifications/registry/channel.registry.d.ts +177 -0
- package/dist/notifications/registry/channel.registry.d.ts.map +1 -0
- package/dist/notifications/registry/channel.registry.js +214 -0
- package/dist/notifications/registry/channel.registry.js.map +1 -0
- package/dist/notifications/registry/event.registry.d.ts +154 -0
- package/dist/notifications/registry/event.registry.d.ts.map +1 -0
- package/dist/notifications/registry/event.registry.js +129 -0
- package/dist/notifications/registry/event.registry.js.map +1 -0
- package/dist/notifications/registry/index.d.ts +12 -0
- package/dist/notifications/registry/index.d.ts.map +1 -0
- package/dist/notifications/registry/index.js +61 -0
- package/dist/notifications/registry/index.js.map +1 -0
- package/dist/notifications/registry/platform-channels.d.ts +50 -0
- package/dist/notifications/registry/platform-channels.d.ts.map +1 -0
- package/dist/notifications/registry/platform-channels.js +105 -0
- package/dist/notifications/registry/platform-channels.js.map +1 -0
- package/dist/notifications/retention/notification-deliveries-purge.handler.d.ts +38 -0
- package/dist/notifications/retention/notification-deliveries-purge.handler.d.ts.map +1 -0
- package/dist/notifications/retention/notification-deliveries-purge.handler.js +113 -0
- package/dist/notifications/retention/notification-deliveries-purge.handler.js.map +1 -0
- package/dist/notifications/retention/notification-inbox-purge.handler.d.ts +32 -0
- package/dist/notifications/retention/notification-inbox-purge.handler.d.ts.map +1 -0
- package/dist/notifications/retention/notification-inbox-purge.handler.js +98 -0
- package/dist/notifications/retention/notification-inbox-purge.handler.js.map +1 -0
- package/dist/notifications/testing/conformance.d.ts +93 -0
- package/dist/notifications/testing/conformance.d.ts.map +1 -0
- package/dist/notifications/testing/conformance.js +292 -0
- package/dist/notifications/testing/conformance.js.map +1 -0
- package/dist/notifications/testing/index.d.ts +32 -0
- package/dist/notifications/testing/index.d.ts.map +1 -0
- package/dist/notifications/testing/index.js +85 -0
- package/dist/notifications/testing/index.js.map +1 -0
- package/dist/notifications/testing/sender-conformance.d.ts +71 -0
- package/dist/notifications/testing/sender-conformance.d.ts.map +1 -0
- package/dist/notifications/testing/sender-conformance.js +206 -0
- package/dist/notifications/testing/sender-conformance.js.map +1 -0
- package/dist/onboarding/index.d.ts +19 -0
- package/dist/onboarding/index.d.ts.map +1 -0
- package/dist/onboarding/index.js +65 -0
- package/dist/onboarding/index.js.map +1 -0
- package/dist/onboarding/onboarding-metrics.d.ts +56 -0
- package/dist/onboarding/onboarding-metrics.d.ts.map +1 -0
- package/dist/onboarding/onboarding-metrics.js +155 -0
- package/dist/onboarding/onboarding-metrics.js.map +1 -0
- package/dist/onboarding/onboarding.audiences.d.ts +50 -0
- package/dist/onboarding/onboarding.audiences.d.ts.map +1 -0
- package/dist/onboarding/onboarding.audiences.js +111 -0
- package/dist/onboarding/onboarding.audiences.js.map +1 -0
- package/dist/onboarding/onboarding.builtins.d.ts +88 -0
- package/dist/onboarding/onboarding.builtins.d.ts.map +1 -0
- package/dist/onboarding/onboarding.builtins.js +284 -0
- package/dist/onboarding/onboarding.builtins.js.map +1 -0
- package/dist/onboarding/onboarding.controller.d.ts +135 -0
- package/dist/onboarding/onboarding.controller.d.ts.map +1 -0
- package/dist/onboarding/onboarding.controller.js +164 -0
- package/dist/onboarding/onboarding.controller.js.map +1 -0
- package/dist/onboarding/onboarding.engine.d.ts +86 -0
- package/dist/onboarding/onboarding.engine.d.ts.map +1 -0
- package/dist/onboarding/onboarding.engine.js +226 -0
- package/dist/onboarding/onboarding.engine.js.map +1 -0
- package/dist/onboarding/onboarding.module.d.ts +29 -0
- package/dist/onboarding/onboarding.module.d.ts.map +1 -0
- package/dist/onboarding/onboarding.module.js +65 -0
- package/dist/onboarding/onboarding.module.js.map +1 -0
- package/dist/onboarding/onboarding.options.d.ts +56 -0
- package/dist/onboarding/onboarding.options.d.ts.map +1 -0
- package/dist/onboarding/onboarding.options.js +45 -0
- package/dist/onboarding/onboarding.options.js.map +1 -0
- package/dist/onboarding/onboarding.registries.d.ts +135 -0
- package/dist/onboarding/onboarding.registries.d.ts.map +1 -0
- package/dist/onboarding/onboarding.registries.js +282 -0
- package/dist/onboarding/onboarding.registries.js.map +1 -0
- package/dist/onboarding/onboarding.service.d.ts +62 -0
- package/dist/onboarding/onboarding.service.d.ts.map +1 -0
- package/dist/onboarding/onboarding.service.js +171 -0
- package/dist/onboarding/onboarding.service.js.map +1 -0
- package/dist/onboarding/onboarding.settings.d.ts +101 -0
- package/dist/onboarding/onboarding.settings.d.ts.map +1 -0
- package/dist/onboarding/onboarding.settings.js +171 -0
- package/dist/onboarding/onboarding.settings.js.map +1 -0
- package/dist/onboarding/onboarding.types.d.ts +225 -0
- package/dist/onboarding/onboarding.types.d.ts.map +1 -0
- package/dist/onboarding/onboarding.types.js +14 -0
- package/dist/onboarding/onboarding.types.js.map +1 -0
- package/dist/onboarding/ports.d.ts +48 -0
- package/dist/onboarding/ports.d.ts.map +1 -0
- package/dist/onboarding/ports.js +28 -0
- package/dist/onboarding/ports.js.map +1 -0
- package/dist/onboarding/testing/conformance.d.ts +64 -0
- package/dist/onboarding/testing/conformance.d.ts.map +1 -0
- package/dist/onboarding/testing/conformance.js +185 -0
- package/dist/onboarding/testing/conformance.js.map +1 -0
- package/dist/onboarding/testing/index.d.ts +3 -0
- package/dist/onboarding/testing/index.d.ts.map +1 -0
- package/dist/onboarding/testing/index.js +13 -0
- package/dist/onboarding/testing/index.js.map +1 -0
- package/dist/otel-core/index.d.ts +24 -0
- package/dist/otel-core/index.d.ts.map +1 -0
- package/dist/otel-core/index.js +58 -0
- package/dist/otel-core/index.js.map +1 -0
- package/dist/otel-core/metrics/gauge-provider.d.ts +44 -0
- package/dist/otel-core/metrics/gauge-provider.d.ts.map +1 -0
- package/dist/otel-core/metrics/gauge-provider.js +37 -0
- package/dist/otel-core/metrics/gauge-provider.js.map +1 -0
- package/dist/otel-core/metrics/labels.d.ts +79 -0
- package/dist/otel-core/metrics/labels.d.ts.map +1 -0
- package/dist/otel-core/metrics/labels.js +135 -0
- package/dist/otel-core/metrics/labels.js.map +1 -0
- package/dist/otel-core/metrics/metric-name.registry.d.ts +115 -0
- package/dist/otel-core/metrics/metric-name.registry.d.ts.map +1 -0
- package/dist/otel-core/metrics/metric-name.registry.js +136 -0
- package/dist/otel-core/metrics/metric-name.registry.js.map +1 -0
- package/dist/otel-core/metrics/metrics-host.service.d.ts +163 -0
- package/dist/otel-core/metrics/metrics-host.service.d.ts.map +1 -0
- package/dist/otel-core/metrics/metrics-host.service.js +344 -0
- package/dist/otel-core/metrics/metrics-host.service.js.map +1 -0
- package/dist/otel-core/metrics/otel-metrics.module.d.ts +54 -0
- package/dist/otel-core/metrics/otel-metrics.module.d.ts.map +1 -0
- package/dist/otel-core/metrics/otel-metrics.module.js +84 -0
- package/dist/otel-core/metrics/otel-metrics.module.js.map +1 -0
- package/dist/otel-core/sdk/index.d.ts +5 -0
- package/dist/otel-core/sdk/index.d.ts.map +1 -0
- package/dist/otel-core/sdk/index.js +32 -0
- package/dist/otel-core/sdk/index.js.map +1 -0
- package/dist/otel-core/sdk/initialize-otel.d.ts +180 -0
- package/dist/otel-core/sdk/initialize-otel.d.ts.map +1 -0
- package/dist/otel-core/sdk/initialize-otel.js +298 -0
- package/dist/otel-core/sdk/initialize-otel.js.map +1 -0
- package/dist/otel-core/sdk/instance-id.d.ts +29 -0
- package/dist/otel-core/sdk/instance-id.d.ts.map +1 -0
- package/dist/otel-core/sdk/instance-id.js +65 -0
- package/dist/otel-core/sdk/instance-id.js.map +1 -0
- package/dist/otel-core/sdk/service-name.d.ts +28 -0
- package/dist/otel-core/sdk/service-name.d.ts.map +1 -0
- package/dist/otel-core/sdk/service-name.js +63 -0
- package/dist/otel-core/sdk/service-name.js.map +1 -0
- package/dist/otel-core/sdk/telemetry-gate.d.ts +202 -0
- package/dist/otel-core/sdk/telemetry-gate.d.ts.map +1 -0
- package/dist/otel-core/sdk/telemetry-gate.js +478 -0
- package/dist/otel-core/sdk/telemetry-gate.js.map +1 -0
- package/dist/otel-core/spans/request-span-attributes.d.ts +58 -0
- package/dist/otel-core/spans/request-span-attributes.d.ts.map +1 -0
- package/dist/otel-core/spans/request-span-attributes.js +155 -0
- package/dist/otel-core/spans/request-span-attributes.js.map +1 -0
- package/dist/otel-core/spans/trace.decorator.d.ts +36 -0
- package/dist/otel-core/spans/trace.decorator.d.ts.map +1 -0
- package/dist/otel-core/spans/trace.decorator.js +74 -0
- package/dist/otel-core/spans/trace.decorator.js.map +1 -0
- package/dist/settings/data/settings-db.d.ts +144 -0
- package/dist/settings/data/settings-db.d.ts.map +1 -0
- package/dist/settings/data/settings-db.js +25 -0
- package/dist/settings/data/settings-db.js.map +1 -0
- package/dist/settings/data/settings-ownership.d.ts +27 -0
- package/dist/settings/data/settings-ownership.d.ts.map +1 -0
- package/dist/settings/data/settings-ownership.js +52 -0
- package/dist/settings/data/settings-ownership.js.map +1 -0
- package/dist/settings/index.d.ts +108 -0
- package/dist/settings/index.d.ts.map +1 -0
- package/dist/settings/index.js +114 -0
- package/dist/settings/index.js.map +1 -0
- package/dist/settings/org-settings/describe-fields.d.ts +7 -0
- package/dist/settings/org-settings/describe-fields.d.ts.map +1 -0
- package/dist/settings/org-settings/describe-fields.js +34 -0
- package/dist/settings/org-settings/describe-fields.js.map +1 -0
- package/dist/settings/org-settings/org-layer.d.ts +29 -0
- package/dist/settings/org-settings/org-layer.d.ts.map +1 -0
- package/dist/settings/org-settings/org-layer.js +74 -0
- package/dist/settings/org-settings/org-layer.js.map +1 -0
- package/dist/settings/org-settings/org-settings.controller.d.ts +112 -0
- package/dist/settings/org-settings/org-settings.controller.d.ts.map +1 -0
- package/dist/settings/org-settings/org-settings.controller.js +138 -0
- package/dist/settings/org-settings/org-settings.controller.js.map +1 -0
- package/dist/settings/org-settings/org-settings.service.d.ts +94 -0
- package/dist/settings/org-settings/org-settings.service.d.ts.map +1 -0
- package/dist/settings/org-settings/org-settings.service.js +267 -0
- package/dist/settings/org-settings/org-settings.service.js.map +1 -0
- package/dist/settings/ports.d.ts +79 -0
- package/dist/settings/ports.d.ts.map +1 -0
- package/dist/settings/ports.js +46 -0
- package/dist/settings/ports.js.map +1 -0
- package/dist/settings/registry/assemble.d.ts +195 -0
- package/dist/settings/registry/assemble.d.ts.map +1 -0
- package/dist/settings/registry/assemble.js +283 -0
- package/dist/settings/registry/assemble.js.map +1 -0
- package/dist/settings/registry/catalog.d.ts +24 -0
- package/dist/settings/registry/catalog.d.ts.map +1 -0
- package/dist/settings/registry/catalog.js +43 -0
- package/dist/settings/registry/catalog.js.map +1 -0
- package/dist/settings/registry/compose.d.ts +398 -0
- package/dist/settings/registry/compose.d.ts.map +1 -0
- package/dist/settings/registry/compose.js +285 -0
- package/dist/settings/registry/compose.js.map +1 -0
- package/dist/settings/registry/core-user-fields.d.ts +121 -0
- package/dist/settings/registry/core-user-fields.d.ts.map +1 -0
- package/dist/settings/registry/core-user-fields.js +252 -0
- package/dist/settings/registry/core-user-fields.js.map +1 -0
- package/dist/settings/registry/core-user-namespaces.d.ts +179 -0
- package/dist/settings/registry/core-user-namespaces.d.ts.map +1 -0
- package/dist/settings/registry/core-user-namespaces.js +142 -0
- package/dist/settings/registry/core-user-namespaces.js.map +1 -0
- package/dist/settings/registry/extend.d.ts +197 -0
- package/dist/settings/registry/extend.d.ts.map +1 -0
- package/dist/settings/registry/extend.js +379 -0
- package/dist/settings/registry/extend.js.map +1 -0
- package/dist/settings/registry/merge-helpers.d.ts +10 -0
- package/dist/settings/registry/merge-helpers.d.ts.map +1 -0
- package/dist/settings/registry/merge-helpers.js +24 -0
- package/dist/settings/registry/merge-helpers.js.map +1 -0
- package/dist/settings/registry/nested.d.ts +55 -0
- package/dist/settings/registry/nested.d.ts.map +1 -0
- package/dist/settings/registry/nested.js +158 -0
- package/dist/settings/registry/nested.js.map +1 -0
- package/dist/settings/registry/schema-walk.d.ts +46 -0
- package/dist/settings/registry/schema-walk.d.ts.map +1 -0
- package/dist/settings/registry/schema-walk.js +112 -0
- package/dist/settings/registry/schema-walk.js.map +1 -0
- package/dist/settings/registry/secret-fields.d.ts +32 -0
- package/dist/settings/registry/secret-fields.d.ts.map +1 -0
- package/dist/settings/registry/secret-fields.js +57 -0
- package/dist/settings/registry/secret-fields.js.map +1 -0
- package/dist/settings/registry/system-settings-namespace.d.ts +242 -0
- package/dist/settings/registry/system-settings-namespace.d.ts.map +1 -0
- package/dist/settings/registry/system-settings-namespace.js +214 -0
- package/dist/settings/registry/system-settings-namespace.js.map +1 -0
- package/dist/settings/registry/user-settings-namespace.d.ts +90 -0
- package/dist/settings/registry/user-settings-namespace.d.ts.map +1 -0
- package/dist/settings/registry/user-settings-namespace.js +108 -0
- package/dist/settings/registry/user-settings-namespace.js.map +1 -0
- package/dist/settings/row-store.d.ts +85 -0
- package/dist/settings/row-store.d.ts.map +1 -0
- package/dist/settings/row-store.js +168 -0
- package/dist/settings/row-store.js.map +1 -0
- package/dist/settings/settings-resolver.d.ts +48 -0
- package/dist/settings/settings-resolver.d.ts.map +1 -0
- package/dist/settings/settings-resolver.js +127 -0
- package/dist/settings/settings-resolver.js.map +1 -0
- package/dist/settings/settings.module.d.ts +35 -0
- package/dist/settings/settings.module.d.ts.map +1 -0
- package/dist/settings/settings.module.js +102 -0
- package/dist/settings/settings.module.js.map +1 -0
- package/dist/settings/settings.options.d.ts +69 -0
- package/dist/settings/settings.options.d.ts.map +1 -0
- package/dist/settings/settings.options.js +51 -0
- package/dist/settings/settings.options.js.map +1 -0
- package/dist/settings/settings.permissions.d.ts +55 -0
- package/dist/settings/settings.permissions.d.ts.map +1 -0
- package/dist/settings/settings.permissions.js +93 -0
- package/dist/settings/settings.permissions.js.map +1 -0
- package/dist/settings/system-settings/system-settings.controller.d.ts +12 -0
- package/dist/settings/system-settings/system-settings.controller.d.ts.map +1 -0
- package/dist/settings/system-settings/system-settings.controller.js +137 -0
- package/dist/settings/system-settings/system-settings.controller.js.map +1 -0
- package/dist/settings/system-settings/system-settings.service.d.ts +616 -0
- package/dist/settings/system-settings/system-settings.service.d.ts.map +1 -0
- package/dist/settings/system-settings/system-settings.service.js +969 -0
- package/dist/settings/system-settings/system-settings.service.js.map +1 -0
- package/dist/settings/testing/conformance.d.ts +59 -0
- package/dist/settings/testing/conformance.d.ts.map +1 -0
- package/dist/settings/testing/conformance.js +164 -0
- package/dist/settings/testing/conformance.js.map +1 -0
- package/dist/settings/testing/index.d.ts +3 -0
- package/dist/settings/testing/index.d.ts.map +1 -0
- package/dist/settings/testing/index.js +12 -0
- package/dist/settings/testing/index.js.map +1 -0
- package/dist/settings/user-settings/user-settings.controller.d.ts +12 -0
- package/dist/settings/user-settings/user-settings.controller.d.ts.map +1 -0
- package/dist/settings/user-settings/user-settings.controller.js +124 -0
- package/dist/settings/user-settings/user-settings.controller.js.map +1 -0
- package/dist/settings/user-settings/user-settings.service.d.ts +146 -0
- package/dist/settings/user-settings/user-settings.service.d.ts.map +1 -0
- package/dist/settings/user-settings/user-settings.service.js +380 -0
- package/dist/settings/user-settings/user-settings.service.js.map +1 -0
- package/dist/sharing/access/access-policy.service.d.ts +194 -0
- package/dist/sharing/access/access-policy.service.d.ts.map +1 -0
- package/dist/sharing/access/access-policy.service.js +515 -0
- package/dist/sharing/access/access-policy.service.js.map +1 -0
- package/dist/sharing/access/access-rules.d.ts +199 -0
- package/dist/sharing/access/access-rules.d.ts.map +1 -0
- package/dist/sharing/access/access-rules.js +230 -0
- package/dist/sharing/access/access-rules.js.map +1 -0
- package/dist/sharing/access/accessible.d.ts +197 -0
- package/dist/sharing/access/accessible.d.ts.map +1 -0
- package/dist/sharing/access/accessible.js +355 -0
- package/dist/sharing/access/accessible.js.map +1 -0
- package/dist/sharing/access/grantee-kinds.d.ts +261 -0
- package/dist/sharing/access/grantee-kinds.d.ts.map +1 -0
- package/dist/sharing/access/grantee-kinds.js +345 -0
- package/dist/sharing/access/grantee-kinds.js.map +1 -0
- package/dist/sharing/access/resource-types.d.ts +211 -0
- package/dist/sharing/access/resource-types.d.ts.map +1 -0
- package/dist/sharing/access/resource-types.js +235 -0
- package/dist/sharing/access/resource-types.js.map +1 -0
- package/dist/sharing/data/sharing-tx.d.ts +168 -0
- package/dist/sharing/data/sharing-tx.d.ts.map +1 -0
- package/dist/sharing/data/sharing-tx.js +24 -0
- package/dist/sharing/data/sharing-tx.js.map +1 -0
- package/dist/sharing/doctor/groups-orphaned.doctor-check.d.ts +37 -0
- package/dist/sharing/doctor/groups-orphaned.doctor-check.d.ts.map +1 -0
- package/dist/sharing/doctor/groups-orphaned.doctor-check.js +100 -0
- package/dist/sharing/doctor/groups-orphaned.doctor-check.js.map +1 -0
- package/dist/sharing/dto/grants.dto.d.ts +171 -0
- package/dist/sharing/dto/grants.dto.d.ts.map +1 -0
- package/dist/sharing/dto/grants.dto.js +78 -0
- package/dist/sharing/dto/grants.dto.js.map +1 -0
- package/dist/sharing/dto/groups.dto.d.ts +273 -0
- package/dist/sharing/dto/groups.dto.d.ts.map +1 -0
- package/dist/sharing/dto/groups.dto.js +150 -0
- package/dist/sharing/dto/groups.dto.js.map +1 -0
- package/dist/sharing/dto/link-grants.dto.d.ts +94 -0
- package/dist/sharing/dto/link-grants.dto.d.ts.map +1 -0
- package/dist/sharing/dto/link-grants.dto.js +53 -0
- package/dist/sharing/dto/link-grants.dto.js.map +1 -0
- package/dist/sharing/errors.d.ts +124 -0
- package/dist/sharing/errors.d.ts.map +1 -0
- package/dist/sharing/errors.js +236 -0
- package/dist/sharing/errors.js.map +1 -0
- package/dist/sharing/events.d.ts +99 -0
- package/dist/sharing/events.d.ts.map +1 -0
- package/dist/sharing/events.js +36 -0
- package/dist/sharing/events.js.map +1 -0
- package/dist/sharing/grants/grantee-kinds.controller.d.ts +14 -0
- package/dist/sharing/grants/grantee-kinds.controller.d.ts.map +1 -0
- package/dist/sharing/grants/grantee-kinds.controller.js +84 -0
- package/dist/sharing/grants/grantee-kinds.controller.js.map +1 -0
- package/dist/sharing/grants/grants.controller.d.ts +14 -0
- package/dist/sharing/grants/grants.controller.d.ts.map +1 -0
- package/dist/sharing/grants/grants.controller.js +176 -0
- package/dist/sharing/grants/grants.controller.js.map +1 -0
- package/dist/sharing/grants/grants.service.d.ts +197 -0
- package/dist/sharing/grants/grants.service.d.ts.map +1 -0
- package/dist/sharing/grants/grants.service.js +736 -0
- package/dist/sharing/grants/grants.service.js.map +1 -0
- package/dist/sharing/group-roles.d.ts +114 -0
- package/dist/sharing/group-roles.d.ts.map +1 -0
- package/dist/sharing/group-roles.js +186 -0
- package/dist/sharing/group-roles.js.map +1 -0
- package/dist/sharing/groups/group-common.d.ts +58 -0
- package/dist/sharing/groups/group-common.d.ts.map +1 -0
- package/dist/sharing/groups/group-common.js +96 -0
- package/dist/sharing/groups/group-common.js.map +1 -0
- package/dist/sharing/groups/group-invites.controller.d.ts +14 -0
- package/dist/sharing/groups/group-invites.controller.d.ts.map +1 -0
- package/dist/sharing/groups/group-invites.controller.js +124 -0
- package/dist/sharing/groups/group-invites.controller.js.map +1 -0
- package/dist/sharing/groups/group-invites.service.d.ts +118 -0
- package/dist/sharing/groups/group-invites.service.d.ts.map +1 -0
- package/dist/sharing/groups/group-invites.service.js +463 -0
- package/dist/sharing/groups/group-invites.service.js.map +1 -0
- package/dist/sharing/groups/group-membership.service.d.ts +108 -0
- package/dist/sharing/groups/group-membership.service.d.ts.map +1 -0
- package/dist/sharing/groups/group-membership.service.js +353 -0
- package/dist/sharing/groups/group-membership.service.js.map +1 -0
- package/dist/sharing/groups/groups.controller.d.ts +14 -0
- package/dist/sharing/groups/groups.controller.d.ts.map +1 -0
- package/dist/sharing/groups/groups.controller.js +327 -0
- package/dist/sharing/groups/groups.controller.js.map +1 -0
- package/dist/sharing/groups/groups.service.d.ts +81 -0
- package/dist/sharing/groups/groups.service.d.ts.map +1 -0
- package/dist/sharing/groups/groups.service.js +301 -0
- package/dist/sharing/groups/groups.service.js.map +1 -0
- package/dist/sharing/groups/member-lookup-throttle.d.ts +48 -0
- package/dist/sharing/groups/member-lookup-throttle.d.ts.map +1 -0
- package/dist/sharing/groups/member-lookup-throttle.js +99 -0
- package/dist/sharing/groups/member-lookup-throttle.js.map +1 -0
- package/dist/sharing/groups/sharing-effects.d.ts +85 -0
- package/dist/sharing/groups/sharing-effects.d.ts.map +1 -0
- package/dist/sharing/groups/sharing-effects.js +143 -0
- package/dist/sharing/groups/sharing-effects.js.map +1 -0
- package/dist/sharing/groups/sharing-principal.decorator.d.ts +14 -0
- package/dist/sharing/groups/sharing-principal.decorator.d.ts.map +1 -0
- package/dist/sharing/groups/sharing-principal.decorator.js +24 -0
- package/dist/sharing/groups/sharing-principal.decorator.js.map +1 -0
- package/dist/sharing/index.d.ts +56 -0
- package/dist/sharing/index.d.ts.map +1 -0
- package/dist/sharing/index.js +177 -0
- package/dist/sharing/index.js.map +1 -0
- package/dist/sharing/jobs/grants-prune.handler.d.ts +64 -0
- package/dist/sharing/jobs/grants-prune.handler.d.ts.map +1 -0
- package/dist/sharing/jobs/grants-prune.handler.js +181 -0
- package/dist/sharing/jobs/grants-prune.handler.js.map +1 -0
- package/dist/sharing/jobs/grants-prune.task.d.ts +14 -0
- package/dist/sharing/jobs/grants-prune.task.d.ts.map +1 -0
- package/dist/sharing/jobs/grants-prune.task.js +63 -0
- package/dist/sharing/jobs/grants-prune.task.js.map +1 -0
- package/dist/sharing/links/link-grant.decorators.d.ts +46 -0
- package/dist/sharing/links/link-grant.decorators.d.ts.map +1 -0
- package/dist/sharing/links/link-grant.decorators.js +71 -0
- package/dist/sharing/links/link-grant.decorators.js.map +1 -0
- package/dist/sharing/links/link-grant.guard.d.ts +47 -0
- package/dist/sharing/links/link-grant.guard.d.ts.map +1 -0
- package/dist/sharing/links/link-grant.guard.js +163 -0
- package/dist/sharing/links/link-grant.guard.js.map +1 -0
- package/dist/sharing/links/link-grants.controller.d.ts +14 -0
- package/dist/sharing/links/link-grants.controller.d.ts.map +1 -0
- package/dist/sharing/links/link-grants.controller.js +111 -0
- package/dist/sharing/links/link-grants.controller.js.map +1 -0
- package/dist/sharing/links/link-grants.service.d.ts +315 -0
- package/dist/sharing/links/link-grants.service.d.ts.map +1 -0
- package/dist/sharing/links/link-grants.service.js +582 -0
- package/dist/sharing/links/link-grants.service.js.map +1 -0
- package/dist/sharing/links/link-miss-throttle.d.ts +15 -0
- package/dist/sharing/links/link-miss-throttle.d.ts.map +1 -0
- package/dist/sharing/links/link-miss-throttle.js +55 -0
- package/dist/sharing/links/link-miss-throttle.js.map +1 -0
- package/dist/sharing/links/link-token.d.ts +11 -0
- package/dist/sharing/links/link-token.d.ts.map +1 -0
- package/dist/sharing/links/link-token.js +47 -0
- package/dist/sharing/links/link-token.js.map +1 -0
- package/dist/sharing/links/public-link.interceptor.d.ts +34 -0
- package/dist/sharing/links/public-link.interceptor.d.ts.map +1 -0
- package/dist/sharing/links/public-link.interceptor.js +76 -0
- package/dist/sharing/links/public-link.interceptor.js.map +1 -0
- package/dist/sharing/links/public-links.controller.d.ts +13 -0
- package/dist/sharing/links/public-links.controller.d.ts.map +1 -0
- package/dist/sharing/links/public-links.controller.js +97 -0
- package/dist/sharing/links/public-links.controller.js.map +1 -0
- package/dist/sharing/metrics.d.ts +75 -0
- package/dist/sharing/metrics.d.ts.map +1 -0
- package/dist/sharing/metrics.js +128 -0
- package/dist/sharing/metrics.js.map +1 -0
- package/dist/sharing/notifications/group-invitation.templates.d.ts +149 -0
- package/dist/sharing/notifications/group-invitation.templates.d.ts.map +1 -0
- package/dist/sharing/notifications/group-invitation.templates.js +146 -0
- package/dist/sharing/notifications/group-invitation.templates.js.map +1 -0
- package/dist/sharing/notifications/shared-with-you.templates.d.ts +118 -0
- package/dist/sharing/notifications/shared-with-you.templates.d.ts.map +1 -0
- package/dist/sharing/notifications/shared-with-you.templates.js +140 -0
- package/dist/sharing/notifications/shared-with-you.templates.js.map +1 -0
- package/dist/sharing/ownership.d.ts +134 -0
- package/dist/sharing/ownership.d.ts.map +1 -0
- package/dist/sharing/ownership.js +140 -0
- package/dist/sharing/ownership.js.map +1 -0
- package/dist/sharing/permissions.d.ts +57 -0
- package/dist/sharing/permissions.d.ts.map +1 -0
- package/dist/sharing/permissions.js +94 -0
- package/dist/sharing/permissions.js.map +1 -0
- package/dist/sharing/ports.d.ts +246 -0
- package/dist/sharing/ports.d.ts.map +1 -0
- package/dist/sharing/ports.js +65 -0
- package/dist/sharing/ports.js.map +1 -0
- package/dist/sharing/principal-groups.provider.d.ts +113 -0
- package/dist/sharing/principal-groups.provider.d.ts.map +1 -0
- package/dist/sharing/principal-groups.provider.js +281 -0
- package/dist/sharing/principal-groups.provider.js.map +1 -0
- package/dist/sharing/sharing.module.d.ts +34 -0
- package/dist/sharing/sharing.module.d.ts.map +1 -0
- package/dist/sharing/sharing.module.js +151 -0
- package/dist/sharing/sharing.module.js.map +1 -0
- package/dist/sharing/sharing.options.d.ts +175 -0
- package/dist/sharing/sharing.options.d.ts.map +1 -0
- package/dist/sharing/sharing.options.js +153 -0
- package/dist/sharing/sharing.options.js.map +1 -0
- package/dist/sharing/testing/access-rule-conformance.d.ts +90 -0
- package/dist/sharing/testing/access-rule-conformance.d.ts.map +1 -0
- package/dist/sharing/testing/access-rule-conformance.js +180 -0
- package/dist/sharing/testing/access-rule-conformance.js.map +1 -0
- package/dist/sharing/testing/conformance.d.ts +211 -0
- package/dist/sharing/testing/conformance.d.ts.map +1 -0
- package/dist/sharing/testing/conformance.js +509 -0
- package/dist/sharing/testing/conformance.js.map +1 -0
- package/dist/sharing/testing/grantee-kind-conformance.d.ts +77 -0
- package/dist/sharing/testing/grantee-kind-conformance.d.ts.map +1 -0
- package/dist/sharing/testing/grantee-kind-conformance.js +218 -0
- package/dist/sharing/testing/grantee-kind-conformance.js.map +1 -0
- package/dist/sharing/testing/hostile-principal.d.ts +26 -0
- package/dist/sharing/testing/hostile-principal.d.ts.map +1 -0
- package/dist/sharing/testing/hostile-principal.js +47 -0
- package/dist/sharing/testing/hostile-principal.js.map +1 -0
- package/dist/sharing/testing/index.d.ts +11 -0
- package/dist/sharing/testing/index.d.ts.map +1 -0
- package/dist/sharing/testing/index.js +29 -0
- package/dist/sharing/testing/index.js.map +1 -0
- package/dist/sharing/testing/recording-sql-kit.d.ts +24 -0
- package/dist/sharing/testing/recording-sql-kit.d.ts.map +1 -0
- package/dist/sharing/testing/recording-sql-kit.js +66 -0
- package/dist/sharing/testing/recording-sql-kit.js.map +1 -0
- package/dist/sharing/user-data.d.ts +56 -0
- package/dist/sharing/user-data.d.ts.map +1 -0
- package/dist/sharing/user-data.js +185 -0
- package/dist/sharing/user-data.js.map +1 -0
- package/dist/storage/config/doctor/egress/storage.egress.contributor.d.ts +28 -0
- package/dist/storage/config/doctor/egress/storage.egress.contributor.d.ts.map +1 -0
- package/dist/storage/config/doctor/egress/storage.egress.contributor.js +76 -0
- package/dist/storage/config/doctor/egress/storage.egress.contributor.js.map +1 -0
- package/dist/storage/config/doctor/storage-bucket.doctor-check.d.ts +47 -0
- package/dist/storage/config/doctor/storage-bucket.doctor-check.d.ts.map +1 -0
- package/dist/storage/config/doctor/storage-bucket.doctor-check.js +141 -0
- package/dist/storage/config/doctor/storage-bucket.doctor-check.js.map +1 -0
- package/dist/storage/config/doctor/storage-config.doctor-check.d.ts +31 -0
- package/dist/storage/config/doctor/storage-config.doctor-check.d.ts.map +1 -0
- package/dist/storage/config/doctor/storage-config.doctor-check.js +82 -0
- package/dist/storage/config/doctor/storage-config.doctor-check.js.map +1 -0
- package/dist/storage/config/dto/storage-bucket-provision.dto.d.ts +52 -0
- package/dist/storage/config/dto/storage-bucket-provision.dto.d.ts.map +1 -0
- package/dist/storage/config/dto/storage-bucket-provision.dto.js +33 -0
- package/dist/storage/config/dto/storage-bucket-provision.dto.js.map +1 -0
- package/dist/storage/config/dto/storage-config-response.dto.d.ts +80 -0
- package/dist/storage/config/dto/storage-config-response.dto.d.ts.map +1 -0
- package/dist/storage/config/dto/storage-config-response.dto.js +20 -0
- package/dist/storage/config/dto/storage-config-response.dto.js.map +1 -0
- package/dist/storage/config/dto/storage-connection-test.dto.d.ts +49 -0
- package/dist/storage/config/dto/storage-connection-test.dto.d.ts.map +1 -0
- package/dist/storage/config/dto/storage-connection-test.dto.js +32 -0
- package/dist/storage/config/dto/storage-connection-test.dto.js.map +1 -0
- package/dist/storage/config/dto/update-storage-config.dto.d.ts +24 -0
- package/dist/storage/config/dto/update-storage-config.dto.d.ts.map +1 -0
- package/dist/storage/config/dto/update-storage-config.dto.js +20 -0
- package/dist/storage/config/dto/update-storage-config.dto.js.map +1 -0
- package/dist/storage/config/index.d.ts +15 -0
- package/dist/storage/config/index.d.ts.map +1 -0
- package/dist/storage/config/index.js +33 -0
- package/dist/storage/config/index.js.map +1 -0
- package/dist/storage/config/storage-bucket-provision.service.d.ts +34 -0
- package/dist/storage/config/storage-bucket-provision.service.d.ts.map +1 -0
- package/dist/storage/config/storage-bucket-provision.service.js +185 -0
- package/dist/storage/config/storage-bucket-provision.service.js.map +1 -0
- package/dist/storage/config/storage-config-admin.service.d.ts +120 -0
- package/dist/storage/config/storage-config-admin.service.d.ts.map +1 -0
- package/dist/storage/config/storage-config-admin.service.js +355 -0
- package/dist/storage/config/storage-config-admin.service.js.map +1 -0
- package/dist/storage/config/storage-config.controller.d.ts +199 -0
- package/dist/storage/config/storage-config.controller.d.ts.map +1 -0
- package/dist/storage/config/storage-config.controller.js +275 -0
- package/dist/storage/config/storage-config.controller.js.map +1 -0
- package/dist/storage/config/storage-config.d.ts +104 -0
- package/dist/storage/config/storage-config.d.ts.map +1 -0
- package/dist/storage/config/storage-config.js +66 -0
- package/dist/storage/config/storage-config.js.map +1 -0
- package/dist/storage/config/storage-config.module.d.ts +11 -0
- package/dist/storage/config/storage-config.module.d.ts.map +1 -0
- package/dist/storage/config/storage-config.module.js +108 -0
- package/dist/storage/config/storage-config.module.js.map +1 -0
- package/dist/storage/config/storage-config.permissions.d.ts +17 -0
- package/dist/storage/config/storage-config.permissions.d.ts.map +1 -0
- package/dist/storage/config/storage-config.permissions.js +69 -0
- package/dist/storage/config/storage-config.permissions.js.map +1 -0
- package/dist/storage/config/storage-config.service.d.ts +248 -0
- package/dist/storage/config/storage-config.service.d.ts.map +1 -0
- package/dist/storage/config/storage-config.service.js +431 -0
- package/dist/storage/config/storage-config.service.js.map +1 -0
- package/dist/storage/config/storage-connection-test.service.d.ts +30 -0
- package/dist/storage/config/storage-connection-test.service.d.ts.map +1 -0
- package/dist/storage/config/storage-connection-test.service.js +174 -0
- package/dist/storage/config/storage-connection-test.service.js.map +1 -0
- package/dist/storage/config/storage-driver-context.d.ts +36 -0
- package/dist/storage/config/storage-driver-context.d.ts.map +1 -0
- package/dist/storage/config/storage-driver-context.js +61 -0
- package/dist/storage/config/storage-driver-context.js.map +1 -0
- package/dist/storage/config/storage-not-configured.error.d.ts +70 -0
- package/dist/storage/config/storage-not-configured.error.d.ts.map +1 -0
- package/dist/storage/config/storage-not-configured.error.js +117 -0
- package/dist/storage/config/storage-not-configured.error.js.map +1 -0
- package/dist/storage/config/storage-settings-compat.d.ts +44 -0
- package/dist/storage/config/storage-settings-compat.d.ts.map +1 -0
- package/dist/storage/config/storage-settings-compat.js +135 -0
- package/dist/storage/config/storage-settings-compat.js.map +1 -0
- package/dist/storage/config/storage-submission.service.d.ts +46 -0
- package/dist/storage/config/storage-submission.service.d.ts.map +1 -0
- package/dist/storage/config/storage-submission.service.js +102 -0
- package/dist/storage/config/storage-submission.service.js.map +1 -0
- package/dist/storage/config/storage.system-settings.d.ts +130 -0
- package/dist/storage/config/storage.system-settings.d.ts.map +1 -0
- package/dist/storage/config/storage.system-settings.js +307 -0
- package/dist/storage/config/storage.system-settings.js.map +1 -0
- package/dist/storage/data/storage-db.d.ts +292 -0
- package/dist/storage/data/storage-db.d.ts.map +1 -0
- package/dist/storage/data/storage-db.js +87 -0
- package/dist/storage/data/storage-db.js.map +1 -0
- package/dist/storage/drivers/builtin-storage-drivers.d.ts +8 -0
- package/dist/storage/drivers/builtin-storage-drivers.d.ts.map +1 -0
- package/dist/storage/drivers/builtin-storage-drivers.js +35 -0
- package/dist/storage/drivers/builtin-storage-drivers.js.map +1 -0
- package/dist/storage/drivers/s3/s3-config.d.ts +316 -0
- package/dist/storage/drivers/s3/s3-config.d.ts.map +1 -0
- package/dist/storage/drivers/s3/s3-config.js +315 -0
- package/dist/storage/drivers/s3/s3-config.js.map +1 -0
- package/dist/storage/drivers/s3/s3-connection-test.d.ts +28 -0
- package/dist/storage/drivers/s3/s3-connection-test.d.ts.map +1 -0
- package/dist/storage/drivers/s3/s3-connection-test.js +424 -0
- package/dist/storage/drivers/s3/s3-connection-test.js.map +1 -0
- package/dist/storage/drivers/s3/s3-family.d.ts +20 -0
- package/dist/storage/drivers/s3/s3-family.d.ts.map +1 -0
- package/dist/storage/drivers/s3/s3-family.js +208 -0
- package/dist/storage/drivers/s3/s3-family.js.map +1 -0
- package/dist/storage/drivers/s3/s3-probe.support.d.ts +153 -0
- package/dist/storage/drivers/s3/s3-probe.support.d.ts.map +1 -0
- package/dist/storage/drivers/s3/s3-probe.support.js +250 -0
- package/dist/storage/drivers/s3/s3-probe.support.js.map +1 -0
- package/dist/storage/drivers/s3/s3-provision.d.ts +46 -0
- package/dist/storage/drivers/s3/s3-provision.d.ts.map +1 -0
- package/dist/storage/drivers/s3/s3-provision.js +495 -0
- package/dist/storage/drivers/s3/s3-provision.js.map +1 -0
- package/dist/storage/drivers/s3/s3-purge.d.ts +29 -0
- package/dist/storage/drivers/s3/s3-purge.d.ts.map +1 -0
- package/dist/storage/drivers/s3/s3-purge.js +146 -0
- package/dist/storage/drivers/s3/s3-purge.js.map +1 -0
- package/dist/storage/drivers/storage-driver.d.ts +393 -0
- package/dist/storage/drivers/storage-driver.d.ts.map +1 -0
- package/dist/storage/drivers/storage-driver.js +251 -0
- package/dist/storage/drivers/storage-driver.js.map +1 -0
- package/dist/storage/handlers/storage-cleanup.handler.d.ts +59 -0
- package/dist/storage/handlers/storage-cleanup.handler.d.ts.map +1 -0
- package/dist/storage/handlers/storage-cleanup.handler.js +185 -0
- package/dist/storage/handlers/storage-cleanup.handler.js.map +1 -0
- package/dist/storage/handlers/storage-object-process.handler.d.ts +47 -0
- package/dist/storage/handlers/storage-object-process.handler.d.ts.map +1 -0
- package/dist/storage/handlers/storage-object-process.handler.js +172 -0
- package/dist/storage/handlers/storage-object-process.handler.js.map +1 -0
- package/dist/storage/index.d.ts +86 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/index.js +221 -0
- package/dist/storage/index.js.map +1 -0
- package/dist/storage/mime-type-match.d.ts +26 -0
- package/dist/storage/mime-type-match.d.ts.map +1 -0
- package/dist/storage/mime-type-match.js +36 -0
- package/dist/storage/mime-type-match.js.map +1 -0
- package/dist/storage/multipart.d.ts +51 -0
- package/dist/storage/multipart.d.ts.map +1 -0
- package/dist/storage/multipart.js +21 -0
- package/dist/storage/multipart.js.map +1 -0
- package/dist/storage/node-object-store.binding.d.ts +28 -0
- package/dist/storage/node-object-store.binding.d.ts.map +1 -0
- package/dist/storage/node-object-store.binding.js +40 -0
- package/dist/storage/node-object-store.binding.js.map +1 -0
- package/dist/storage/objects/dto/complete-upload.dto.d.ts +17 -0
- package/dist/storage/objects/dto/complete-upload.dto.d.ts.map +1 -0
- package/dist/storage/objects/dto/complete-upload.dto.js +19 -0
- package/dist/storage/objects/dto/complete-upload.dto.js.map +1 -0
- package/dist/storage/objects/dto/download-url-response.dto.d.ts +14 -0
- package/dist/storage/objects/dto/download-url-response.dto.d.ts.map +1 -0
- package/dist/storage/objects/dto/download-url-response.dto.js +19 -0
- package/dist/storage/objects/dto/download-url-response.dto.js.map +1 -0
- package/dist/storage/objects/dto/init-upload.dto.d.ts +33 -0
- package/dist/storage/objects/dto/init-upload.dto.d.ts.map +1 -0
- package/dist/storage/objects/dto/init-upload.dto.js +28 -0
- package/dist/storage/objects/dto/init-upload.dto.js.map +1 -0
- package/dist/storage/objects/dto/object-list-query.dto.d.ts +13 -0
- package/dist/storage/objects/dto/object-list-query.dto.d.ts.map +1 -0
- package/dist/storage/objects/dto/object-list-query.dto.js +7 -0
- package/dist/storage/objects/dto/object-list-query.dto.js.map +1 -0
- package/dist/storage/objects/dto/object-response.dto.d.ts +35 -0
- package/dist/storage/objects/dto/object-response.dto.d.ts.map +1 -0
- package/dist/storage/objects/dto/object-response.dto.js +28 -0
- package/dist/storage/objects/dto/object-response.dto.js.map +1 -0
- package/dist/storage/objects/dto/update-metadata.dto.d.ts +14 -0
- package/dist/storage/objects/dto/update-metadata.dto.d.ts.map +1 -0
- package/dist/storage/objects/dto/update-metadata.dto.js +19 -0
- package/dist/storage/objects/dto/update-metadata.dto.js.map +1 -0
- package/dist/storage/objects/objects.controller.d.ts +77 -0
- package/dist/storage/objects/objects.controller.d.ts.map +1 -0
- package/dist/storage/objects/objects.controller.js +383 -0
- package/dist/storage/objects/objects.controller.js.map +1 -0
- package/dist/storage/objects/objects.service.d.ts +156 -0
- package/dist/storage/objects/objects.service.d.ts.map +1 -0
- package/dist/storage/objects/objects.service.js +642 -0
- package/dist/storage/objects/objects.service.js.map +1 -0
- package/dist/storage/ports.d.ts +39 -0
- package/dist/storage/ports.d.ts.map +1 -0
- package/dist/storage/ports.js +37 -0
- package/dist/storage/ports.js.map +1 -0
- package/dist/storage/processing/index.d.ts +11 -0
- package/dist/storage/processing/index.d.ts.map +1 -0
- package/dist/storage/processing/index.js +16 -0
- package/dist/storage/processing/index.js.map +1 -0
- package/dist/storage/processing/object-processing.module.d.ts +11 -0
- package/dist/storage/processing/object-processing.module.d.ts.map +1 -0
- package/dist/storage/processing/object-processing.module.js +32 -0
- package/dist/storage/processing/object-processing.module.js.map +1 -0
- package/dist/storage/processing/object-processing.service.d.ts +65 -0
- package/dist/storage/processing/object-processing.service.d.ts.map +1 -0
- package/dist/storage/processing/object-processing.service.js +211 -0
- package/dist/storage/processing/object-processing.service.js.map +1 -0
- package/dist/storage/processing/object-processor.interface.d.ts +47 -0
- package/dist/storage/processing/object-processor.interface.d.ts.map +1 -0
- package/dist/storage/processing/object-processor.interface.js +3 -0
- package/dist/storage/processing/object-processor.interface.js.map +1 -0
- package/dist/storage/processing/object-processor.registry.d.ts +50 -0
- package/dist/storage/processing/object-processor.registry.d.ts.map +1 -0
- package/dist/storage/processing/object-processor.registry.js +100 -0
- package/dist/storage/processing/object-processor.registry.js.map +1 -0
- package/dist/storage/processing/processing-metadata.d.ts +20 -0
- package/dist/storage/processing/processing-metadata.d.ts.map +1 -0
- package/dist/storage/processing/processing-metadata.js +34 -0
- package/dist/storage/processing/processing-metadata.js.map +1 -0
- package/dist/storage/profile-image/avatar.controller.d.ts +24 -0
- package/dist/storage/profile-image/avatar.controller.d.ts.map +1 -0
- package/dist/storage/profile-image/avatar.controller.js +90 -0
- package/dist/storage/profile-image/avatar.controller.js.map +1 -0
- package/dist/storage/profile-image/avatar.service.d.ts +60 -0
- package/dist/storage/profile-image/avatar.service.d.ts.map +1 -0
- package/dist/storage/profile-image/avatar.service.js +117 -0
- package/dist/storage/profile-image/avatar.service.js.map +1 -0
- package/dist/storage/profile-image/dto/profile-image-response.dto.d.ts +28 -0
- package/dist/storage/profile-image/dto/profile-image-response.dto.d.ts.map +1 -0
- package/dist/storage/profile-image/dto/profile-image-response.dto.js +40 -0
- package/dist/storage/profile-image/dto/profile-image-response.dto.js.map +1 -0
- package/dist/storage/profile-image/profile-image.controller.d.ts +32 -0
- package/dist/storage/profile-image/profile-image.controller.d.ts.map +1 -0
- package/dist/storage/profile-image/profile-image.controller.js +192 -0
- package/dist/storage/profile-image/profile-image.controller.js.map +1 -0
- package/dist/storage/profile-image/profile-image.d.ts +138 -0
- package/dist/storage/profile-image/profile-image.d.ts.map +1 -0
- package/dist/storage/profile-image/profile-image.js +182 -0
- package/dist/storage/profile-image/profile-image.js.map +1 -0
- package/dist/storage/profile-image/profile-image.module.d.ts +39 -0
- package/dist/storage/profile-image/profile-image.module.d.ts.map +1 -0
- package/dist/storage/profile-image/profile-image.module.js +66 -0
- package/dist/storage/profile-image/profile-image.module.js.map +1 -0
- package/dist/storage/profile-image/profile-image.service.d.ts +66 -0
- package/dist/storage/profile-image/profile-image.service.d.ts.map +1 -0
- package/dist/storage/profile-image/profile-image.service.js +243 -0
- package/dist/storage/profile-image/profile-image.service.js.map +1 -0
- package/dist/storage/providers/index.d.ts +11 -0
- package/dist/storage/providers/index.d.ts.map +1 -0
- package/dist/storage/providers/index.js +18 -0
- package/dist/storage/providers/index.js.map +1 -0
- package/dist/storage/providers/resolving-storage.provider.d.ts +113 -0
- package/dist/storage/providers/resolving-storage.provider.d.ts.map +1 -0
- package/dist/storage/providers/resolving-storage.provider.js +292 -0
- package/dist/storage/providers/resolving-storage.provider.js.map +1 -0
- package/dist/storage/providers/s3/s3-storage.provider.d.ts +263 -0
- package/dist/storage/providers/s3/s3-storage.provider.d.ts.map +1 -0
- package/dist/storage/providers/s3/s3-storage.provider.js +542 -0
- package/dist/storage/providers/s3/s3-storage.provider.js.map +1 -0
- package/dist/storage/providers/storage-provider.binding.d.ts +29 -0
- package/dist/storage/providers/storage-provider.binding.d.ts.map +1 -0
- package/dist/storage/providers/storage-provider.binding.js +80 -0
- package/dist/storage/providers/storage-provider.binding.js.map +1 -0
- package/dist/storage/providers/storage-provider.interface.d.ts +164 -0
- package/dist/storage/providers/storage-provider.interface.d.ts.map +1 -0
- package/dist/storage/providers/storage-provider.interface.js +33 -0
- package/dist/storage/providers/storage-provider.interface.js.map +1 -0
- package/dist/storage/providers/storage-provider.types.d.ts +90 -0
- package/dist/storage/providers/storage-provider.types.d.ts.map +1 -0
- package/dist/storage/providers/storage-provider.types.js +3 -0
- package/dist/storage/providers/storage-provider.types.js.map +1 -0
- package/dist/storage/providers/storage-providers.module.d.ts +63 -0
- package/dist/storage/providers/storage-providers.module.d.ts.map +1 -0
- package/dist/storage/providers/storage-providers.module.js +94 -0
- package/dist/storage/providers/storage-providers.module.js.map +1 -0
- package/dist/storage/purge/run-storage-purge.d.ts +179 -0
- package/dist/storage/purge/run-storage-purge.d.ts.map +1 -0
- package/dist/storage/purge/run-storage-purge.js +205 -0
- package/dist/storage/purge/run-storage-purge.js.map +1 -0
- package/dist/storage/status/dto/storage-status.dto.d.ts +14 -0
- package/dist/storage/status/dto/storage-status.dto.d.ts.map +1 -0
- package/dist/storage/status/dto/storage-status.dto.js +19 -0
- package/dist/storage/status/dto/storage-status.dto.js.map +1 -0
- package/dist/storage/status/storage-status.controller.d.ts +16 -0
- package/dist/storage/status/storage-status.controller.d.ts.map +1 -0
- package/dist/storage/status/storage-status.controller.js +85 -0
- package/dist/storage/status/storage-status.controller.js.map +1 -0
- package/dist/storage/storage-credential.constants.d.ts +47 -0
- package/dist/storage/storage-credential.constants.d.ts.map +1 -0
- package/dist/storage/storage-credential.constants.js +88 -0
- package/dist/storage/storage-credential.constants.js.map +1 -0
- package/dist/storage/storage-job-input.d.ts +90 -0
- package/dist/storage/storage-job-input.d.ts.map +1 -0
- package/dist/storage/storage-job-input.js +96 -0
- package/dist/storage/storage-job-input.js.map +1 -0
- package/dist/storage/storage-key-prefix.registry.d.ts +196 -0
- package/dist/storage/storage-key-prefix.registry.d.ts.map +1 -0
- package/dist/storage/storage-key-prefix.registry.js +303 -0
- package/dist/storage/storage-key-prefix.registry.js.map +1 -0
- package/dist/storage/storage-key-prefixes.d.ts +66 -0
- package/dist/storage/storage-key-prefixes.d.ts.map +1 -0
- package/dist/storage/storage-key-prefixes.js +161 -0
- package/dist/storage/storage-key-prefixes.js.map +1 -0
- package/dist/storage/storage.constants.d.ts +17 -0
- package/dist/storage/storage.constants.d.ts.map +1 -0
- package/dist/storage/storage.constants.js +28 -0
- package/dist/storage/storage.constants.js.map +1 -0
- package/dist/storage/storage.module.d.ts +35 -0
- package/dist/storage/storage.module.d.ts.map +1 -0
- package/dist/storage/storage.module.js +99 -0
- package/dist/storage/storage.module.js.map +1 -0
- package/dist/storage/storage.options.d.ts +116 -0
- package/dist/storage/storage.options.d.ts.map +1 -0
- package/dist/storage/storage.options.js +97 -0
- package/dist/storage/storage.options.js.map +1 -0
- package/dist/storage/storage.permissions.d.ts +33 -0
- package/dist/storage/storage.permissions.d.ts.map +1 -0
- package/dist/storage/storage.permissions.js +55 -0
- package/dist/storage/storage.permissions.js.map +1 -0
- package/dist/storage/tasks/index.d.ts +2 -0
- package/dist/storage/tasks/index.d.ts.map +1 -0
- package/dist/storage/tasks/index.js +18 -0
- package/dist/storage/tasks/index.js.map +1 -0
- package/dist/storage/tasks/storage-cleanup.task.d.ts +17 -0
- package/dist/storage/tasks/storage-cleanup.task.d.ts.map +1 -0
- package/dist/storage/tasks/storage-cleanup.task.js +71 -0
- package/dist/storage/tasks/storage-cleanup.task.js.map +1 -0
- package/dist/storage/testing/conformance.d.ts +61 -0
- package/dist/storage/testing/conformance.d.ts.map +1 -0
- package/dist/storage/testing/conformance.js +163 -0
- package/dist/storage/testing/conformance.js.map +1 -0
- package/dist/storage/testing/driver-conformance.d.ts +66 -0
- package/dist/storage/testing/driver-conformance.d.ts.map +1 -0
- package/dist/storage/testing/driver-conformance.js +333 -0
- package/dist/storage/testing/driver-conformance.js.map +1 -0
- package/dist/storage/testing/index.d.ts +5 -0
- package/dist/storage/testing/index.d.ts.map +1 -0
- package/dist/storage/testing/index.js +16 -0
- package/dist/storage/testing/index.js.map +1 -0
- package/dist/telemetry/assistant/telemetry-ai-enabled.guard.d.ts +15 -0
- package/dist/telemetry/assistant/telemetry-ai-enabled.guard.d.ts.map +1 -0
- package/dist/telemetry/assistant/telemetry-ai-enabled.guard.js +50 -0
- package/dist/telemetry/assistant/telemetry-ai-enabled.guard.js.map +1 -0
- package/dist/telemetry/assistant/telemetry-assistant-tool.registry.d.ts +90 -0
- package/dist/telemetry/assistant/telemetry-assistant-tool.registry.d.ts.map +1 -0
- package/dist/telemetry/assistant/telemetry-assistant-tool.registry.js +52 -0
- package/dist/telemetry/assistant/telemetry-assistant-tool.registry.js.map +1 -0
- package/dist/telemetry/assistant/telemetry-assistant.controller.d.ts +14 -0
- package/dist/telemetry/assistant/telemetry-assistant.controller.d.ts.map +1 -0
- package/dist/telemetry/assistant/telemetry-assistant.controller.js +178 -0
- package/dist/telemetry/assistant/telemetry-assistant.controller.js.map +1 -0
- package/dist/telemetry/assistant/telemetry-assistant.metrics.d.ts +147 -0
- package/dist/telemetry/assistant/telemetry-assistant.metrics.d.ts.map +1 -0
- package/dist/telemetry/assistant/telemetry-assistant.metrics.js +495 -0
- package/dist/telemetry/assistant/telemetry-assistant.metrics.js.map +1 -0
- package/dist/telemetry/assistant/telemetry-assistant.service.d.ts +259 -0
- package/dist/telemetry/assistant/telemetry-assistant.service.d.ts.map +1 -0
- package/dist/telemetry/assistant/telemetry-assistant.service.js +1371 -0
- package/dist/telemetry/assistant/telemetry-assistant.service.js.map +1 -0
- package/dist/telemetry/assistant/telemetry-assistant.sql.d.ts +69 -0
- package/dist/telemetry/assistant/telemetry-assistant.sql.d.ts.map +1 -0
- package/dist/telemetry/assistant/telemetry-assistant.sql.js +471 -0
- package/dist/telemetry/assistant/telemetry-assistant.sql.js.map +1 -0
- package/dist/telemetry/assistant/telemetry-assistant.sse.d.ts +15 -0
- package/dist/telemetry/assistant/telemetry-assistant.sse.d.ts.map +1 -0
- package/dist/telemetry/assistant/telemetry-assistant.sse.js +68 -0
- package/dist/telemetry/assistant/telemetry-assistant.sse.js.map +1 -0
- package/dist/telemetry/connection/dto/telemetry-connection.dto.d.ts +92 -0
- package/dist/telemetry/connection/dto/telemetry-connection.dto.d.ts.map +1 -0
- package/dist/telemetry/connection/dto/telemetry-connection.dto.js +41 -0
- package/dist/telemetry/connection/dto/telemetry-connection.dto.js.map +1 -0
- package/dist/telemetry/connection/telemetry-connection-admin.service.d.ts +45 -0
- package/dist/telemetry/connection/telemetry-connection-admin.service.d.ts.map +1 -0
- package/dist/telemetry/connection/telemetry-connection-admin.service.js +303 -0
- package/dist/telemetry/connection/telemetry-connection-admin.service.js.map +1 -0
- package/dist/telemetry/connection/telemetry-connection-test.service.d.ts +41 -0
- package/dist/telemetry/connection/telemetry-connection-test.service.d.ts.map +1 -0
- package/dist/telemetry/connection/telemetry-connection-test.service.js +187 -0
- package/dist/telemetry/connection/telemetry-connection-test.service.js.map +1 -0
- package/dist/telemetry/connection/telemetry-connection.controller.d.ts +14 -0
- package/dist/telemetry/connection/telemetry-connection.controller.d.ts.map +1 -0
- package/dist/telemetry/connection/telemetry-connection.controller.js +192 -0
- package/dist/telemetry/connection/telemetry-connection.controller.js.map +1 -0
- package/dist/telemetry/connection/telemetry-connection.schema.d.ts +34 -0
- package/dist/telemetry/connection/telemetry-connection.schema.d.ts.map +1 -0
- package/dist/telemetry/connection/telemetry-connection.schema.js +112 -0
- package/dist/telemetry/connection/telemetry-connection.schema.js.map +1 -0
- package/dist/telemetry/connection/telemetry-connection.service.d.ts +197 -0
- package/dist/telemetry/connection/telemetry-connection.service.d.ts.map +1 -0
- package/dist/telemetry/connection/telemetry-connection.service.js +461 -0
- package/dist/telemetry/connection/telemetry-connection.service.js.map +1 -0
- package/dist/telemetry/dashboard/panels/dashboard-panel.manifest.d.ts +2 -0
- package/dist/telemetry/dashboard/panels/dashboard-panel.manifest.d.ts.map +1 -0
- package/dist/telemetry/dashboard/panels/dashboard-panel.manifest.js +28 -0
- package/dist/telemetry/dashboard/panels/dashboard-panel.manifest.js.map +1 -0
- package/dist/telemetry/dashboard/panels/dashboard-panel.registry.d.ts +111 -0
- package/dist/telemetry/dashboard/panels/dashboard-panel.registry.d.ts.map +1 -0
- package/dist/telemetry/dashboard/panels/dashboard-panel.registry.js +63 -0
- package/dist/telemetry/dashboard/panels/dashboard-panel.registry.js.map +1 -0
- package/dist/telemetry/dashboard/panels/dashboard-panels.d.ts +3 -0
- package/dist/telemetry/dashboard/panels/dashboard-panels.d.ts.map +1 -0
- package/dist/telemetry/dashboard/panels/dashboard-panels.js +12 -0
- package/dist/telemetry/dashboard/panels/dashboard-panels.js.map +1 -0
- package/dist/telemetry/dashboard/panels/telemetry-dashboard-panel.service.d.ts +34 -0
- package/dist/telemetry/dashboard/panels/telemetry-dashboard-panel.service.d.ts.map +1 -0
- package/dist/telemetry/dashboard/panels/telemetry-dashboard-panel.service.js +145 -0
- package/dist/telemetry/dashboard/panels/telemetry-dashboard-panel.service.js.map +1 -0
- package/dist/telemetry/dashboard/sql-literals.d.ts +21 -0
- package/dist/telemetry/dashboard/sql-literals.d.ts.map +1 -0
- package/dist/telemetry/dashboard/sql-literals.js +82 -0
- package/dist/telemetry/dashboard/sql-literals.js.map +1 -0
- package/dist/telemetry/dashboard/telemetry-dashboard.controller.d.ts +14 -0
- package/dist/telemetry/dashboard/telemetry-dashboard.controller.d.ts.map +1 -0
- package/dist/telemetry/dashboard/telemetry-dashboard.controller.js +342 -0
- package/dist/telemetry/dashboard/telemetry-dashboard.controller.js.map +1 -0
- package/dist/telemetry/dashboard/telemetry-dashboard.service.d.ts +129 -0
- package/dist/telemetry/dashboard/telemetry-dashboard.service.d.ts.map +1 -0
- package/dist/telemetry/dashboard/telemetry-dashboard.service.js +942 -0
- package/dist/telemetry/dashboard/telemetry-dashboard.service.js.map +1 -0
- package/dist/telemetry/dashboard/telemetry-dashboard.sql.d.ts +218 -0
- package/dist/telemetry/dashboard/telemetry-dashboard.sql.d.ts.map +1 -0
- package/dist/telemetry/dashboard/telemetry-dashboard.sql.js +525 -0
- package/dist/telemetry/dashboard/telemetry-dashboard.sql.js.map +1 -0
- package/dist/telemetry/dashboard/telemetry-dashboard.verdict.d.ts +235 -0
- package/dist/telemetry/dashboard/telemetry-dashboard.verdict.d.ts.map +1 -0
- package/dist/telemetry/dashboard/telemetry-dashboard.verdict.js +269 -0
- package/dist/telemetry/dashboard/telemetry-dashboard.verdict.js.map +1 -0
- package/dist/telemetry/dashboard/verdict-policy.d.ts +51 -0
- package/dist/telemetry/dashboard/verdict-policy.d.ts.map +1 -0
- package/dist/telemetry/dashboard/verdict-policy.js +77 -0
- package/dist/telemetry/dashboard/verdict-policy.js.map +1 -0
- package/dist/telemetry/doctor/egress/greptimedb.egress.contributor.d.ts +21 -0
- package/dist/telemetry/doctor/egress/greptimedb.egress.contributor.d.ts.map +1 -0
- package/dist/telemetry/doctor/egress/greptimedb.egress.contributor.js +59 -0
- package/dist/telemetry/doctor/egress/greptimedb.egress.contributor.js.map +1 -0
- package/dist/telemetry/doctor/telemetry-connection.doctor-check.d.ts +23 -0
- package/dist/telemetry/doctor/telemetry-connection.doctor-check.d.ts.map +1 -0
- package/dist/telemetry/doctor/telemetry-connection.doctor-check.js +69 -0
- package/dist/telemetry/doctor/telemetry-connection.doctor-check.js.map +1 -0
- package/dist/telemetry/doctor/telemetry-export.doctor-check.d.ts +33 -0
- package/dist/telemetry/doctor/telemetry-export.doctor-check.d.ts.map +1 -0
- package/dist/telemetry/doctor/telemetry-export.doctor-check.js +105 -0
- package/dist/telemetry/doctor/telemetry-export.doctor-check.js.map +1 -0
- package/dist/telemetry/doctor/telemetry-freshness.doctor-check.d.ts +39 -0
- package/dist/telemetry/doctor/telemetry-freshness.doctor-check.d.ts.map +1 -0
- package/dist/telemetry/doctor/telemetry-freshness.doctor-check.js +109 -0
- package/dist/telemetry/doctor/telemetry-freshness.doctor-check.js.map +1 -0
- package/dist/telemetry/doctor/telemetry-reachable.doctor-check.d.ts +23 -0
- package/dist/telemetry/doctor/telemetry-reachable.doctor-check.d.ts.map +1 -0
- package/dist/telemetry/doctor/telemetry-reachable.doctor-check.js +69 -0
- package/dist/telemetry/doctor/telemetry-reachable.doctor-check.js.map +1 -0
- package/dist/telemetry/doctor/telemetry-tables.doctor-check.d.ts +23 -0
- package/dist/telemetry/doctor/telemetry-tables.doctor-check.d.ts.map +1 -0
- package/dist/telemetry/doctor/telemetry-tables.doctor-check.js +91 -0
- package/dist/telemetry/doctor/telemetry-tables.doctor-check.js.map +1 -0
- package/dist/telemetry/dto/telemetry-assistant.dto.d.ts +14 -0
- package/dist/telemetry/dto/telemetry-assistant.dto.d.ts.map +1 -0
- package/dist/telemetry/dto/telemetry-assistant.dto.js +29 -0
- package/dist/telemetry/dto/telemetry-assistant.dto.js.map +1 -0
- package/dist/telemetry/dto/telemetry-config.dto.d.ts +63 -0
- package/dist/telemetry/dto/telemetry-config.dto.d.ts.map +1 -0
- package/dist/telemetry/dto/telemetry-config.dto.js +18 -0
- package/dist/telemetry/dto/telemetry-config.dto.js.map +1 -0
- package/dist/telemetry/dto/telemetry-dashboard.dto.d.ts +469 -0
- package/dist/telemetry/dto/telemetry-dashboard.dto.d.ts.map +1 -0
- package/dist/telemetry/dto/telemetry-dashboard.dto.js +128 -0
- package/dist/telemetry/dto/telemetry-dashboard.dto.js.map +1 -0
- package/dist/telemetry/dto/telemetry-query.dto.d.ts +44 -0
- package/dist/telemetry/dto/telemetry-query.dto.d.ts.map +1 -0
- package/dist/telemetry/dto/telemetry-query.dto.js +42 -0
- package/dist/telemetry/dto/telemetry-query.dto.js.map +1 -0
- package/dist/telemetry/dto/telemetry-status.dto.d.ts +22 -0
- package/dist/telemetry/dto/telemetry-status.dto.d.ts.map +1 -0
- package/dist/telemetry/dto/telemetry-status.dto.js +12 -0
- package/dist/telemetry/dto/telemetry-status.dto.js.map +1 -0
- package/dist/telemetry/export/parquet-writer.loader.d.ts +13 -0
- package/dist/telemetry/export/parquet-writer.loader.d.ts.map +1 -0
- package/dist/telemetry/export/parquet-writer.loader.js +29 -0
- package/dist/telemetry/export/parquet-writer.loader.js.map +1 -0
- package/dist/telemetry/export/telemetry-export.service.d.ts +39 -0
- package/dist/telemetry/export/telemetry-export.service.d.ts.map +1 -0
- package/dist/telemetry/export/telemetry-export.service.js +185 -0
- package/dist/telemetry/export/telemetry-export.service.js.map +1 -0
- package/dist/telemetry/handlers/telemetry-retention.handler.d.ts +27 -0
- package/dist/telemetry/handlers/telemetry-retention.handler.d.ts.map +1 -0
- package/dist/telemetry/handlers/telemetry-retention.handler.js +114 -0
- package/dist/telemetry/handlers/telemetry-retention.handler.js.map +1 -0
- package/dist/telemetry/index.d.ts +80 -0
- package/dist/telemetry/index.d.ts.map +1 -0
- package/dist/telemetry/index.js +160 -0
- package/dist/telemetry/index.js.map +1 -0
- package/dist/telemetry/internal/blank-secret.d.ts +3 -0
- package/dist/telemetry/internal/blank-secret.d.ts.map +1 -0
- package/dist/telemetry/internal/blank-secret.js +14 -0
- package/dist/telemetry/internal/blank-secret.js.map +1 -0
- package/dist/telemetry/internal/csv.d.ts +9 -0
- package/dist/telemetry/internal/csv.d.ts.map +1 -0
- package/dist/telemetry/internal/csv.js +23 -0
- package/dist/telemetry/internal/csv.js.map +1 -0
- package/dist/telemetry/internal/sse.d.ts +23 -0
- package/dist/telemetry/internal/sse.d.ts.map +1 -0
- package/dist/telemetry/internal/sse.js +43 -0
- package/dist/telemetry/internal/sse.js.map +1 -0
- package/dist/telemetry/metrics/groups/database.metric-group.d.ts +7 -0
- package/dist/telemetry/metrics/groups/database.metric-group.d.ts.map +1 -0
- package/dist/telemetry/metrics/groups/database.metric-group.js +162 -0
- package/dist/telemetry/metrics/groups/database.metric-group.js.map +1 -0
- package/dist/telemetry/metrics/groups/host.metric-group.d.ts +7 -0
- package/dist/telemetry/metrics/groups/host.metric-group.d.ts.map +1 -0
- package/dist/telemetry/metrics/groups/host.metric-group.js +149 -0
- package/dist/telemetry/metrics/groups/host.metric-group.js.map +1 -0
- package/dist/telemetry/metrics/groups/nodes.metric-group.d.ts +7 -0
- package/dist/telemetry/metrics/groups/nodes.metric-group.d.ts.map +1 -0
- package/dist/telemetry/metrics/groups/nodes.metric-group.js +162 -0
- package/dist/telemetry/metrics/groups/nodes.metric-group.js.map +1 -0
- package/dist/telemetry/metrics/groups/pipeline.metric-group.d.ts +7 -0
- package/dist/telemetry/metrics/groups/pipeline.metric-group.d.ts.map +1 -0
- package/dist/telemetry/metrics/groups/pipeline.metric-group.js +147 -0
- package/dist/telemetry/metrics/groups/pipeline.metric-group.js.map +1 -0
- package/dist/telemetry/metrics/groups/queue.metric-group.d.ts +7 -0
- package/dist/telemetry/metrics/groups/queue.metric-group.d.ts.map +1 -0
- package/dist/telemetry/metrics/groups/queue.metric-group.js +166 -0
- package/dist/telemetry/metrics/groups/queue.metric-group.js.map +1 -0
- package/dist/telemetry/metrics/groups/uptime.metric-group.d.ts +7 -0
- package/dist/telemetry/metrics/groups/uptime.metric-group.d.ts.map +1 -0
- package/dist/telemetry/metrics/groups/uptime.metric-group.js +106 -0
- package/dist/telemetry/metrics/groups/uptime.metric-group.js.map +1 -0
- package/dist/telemetry/metrics/metric-catalog.d.ts +325 -0
- package/dist/telemetry/metrics/metric-catalog.d.ts.map +1 -0
- package/dist/telemetry/metrics/metric-catalog.helpers.d.ts +38 -0
- package/dist/telemetry/metrics/metric-catalog.helpers.d.ts.map +1 -0
- package/dist/telemetry/metrics/metric-catalog.helpers.js +37 -0
- package/dist/telemetry/metrics/metric-catalog.helpers.js.map +1 -0
- package/dist/telemetry/metrics/metric-catalog.js +180 -0
- package/dist/telemetry/metrics/metric-catalog.js.map +1 -0
- package/dist/telemetry/metrics/metric-group-registry.service.d.ts +59 -0
- package/dist/telemetry/metrics/metric-group-registry.service.d.ts.map +1 -0
- package/dist/telemetry/metrics/metric-group-registry.service.js +99 -0
- package/dist/telemetry/metrics/metric-group-registry.service.js.map +1 -0
- package/dist/telemetry/metrics/metric-group.d.ts +115 -0
- package/dist/telemetry/metrics/metric-group.d.ts.map +1 -0
- package/dist/telemetry/metrics/metric-group.js +649 -0
- package/dist/telemetry/metrics/metric-group.js.map +1 -0
- package/dist/telemetry/metrics/metric-group.manifest.d.ts +2 -0
- package/dist/telemetry/metrics/metric-group.manifest.d.ts.map +1 -0
- package/dist/telemetry/metrics/metric-group.manifest.js +30 -0
- package/dist/telemetry/metrics/metric-group.manifest.js.map +1 -0
- package/dist/telemetry/metrics/metric-group.registry.d.ts +93 -0
- package/dist/telemetry/metrics/metric-group.registry.d.ts.map +1 -0
- package/dist/telemetry/metrics/metric-group.registry.js +184 -0
- package/dist/telemetry/metrics/metric-group.registry.js.map +1 -0
- package/dist/telemetry/metrics/metric-presentation.d.ts +29 -0
- package/dist/telemetry/metrics/metric-presentation.d.ts.map +1 -0
- package/dist/telemetry/metrics/metric-presentation.js +127 -0
- package/dist/telemetry/metrics/metric-presentation.js.map +1 -0
- package/dist/telemetry/metrics/metric-sql.d.ts +99 -0
- package/dist/telemetry/metrics/metric-sql.d.ts.map +1 -0
- package/dist/telemetry/metrics/metric-sql.js +262 -0
- package/dist/telemetry/metrics/metric-sql.js.map +1 -0
- package/dist/telemetry/metrics/metric-unit.registry.d.ts +61 -0
- package/dist/telemetry/metrics/metric-unit.registry.d.ts.map +1 -0
- package/dist/telemetry/metrics/metric-unit.registry.js +91 -0
- package/dist/telemetry/metrics/metric-unit.registry.js.map +1 -0
- package/dist/telemetry/metrics/metric-values.d.ts +19 -0
- package/dist/telemetry/metrics/metric-values.d.ts.map +1 -0
- package/dist/telemetry/metrics/metric-values.js +97 -0
- package/dist/telemetry/metrics/metric-values.js.map +1 -0
- package/dist/telemetry/metrics/metric-verdict.d.ts +20 -0
- package/dist/telemetry/metrics/metric-verdict.d.ts.map +1 -0
- package/dist/telemetry/metrics/metric-verdict.js +218 -0
- package/dist/telemetry/metrics/metric-verdict.js.map +1 -0
- package/dist/telemetry/ports.d.ts +575 -0
- package/dist/telemetry/ports.d.ts.map +1 -0
- package/dist/telemetry/ports.js +78 -0
- package/dist/telemetry/ports.js.map +1 -0
- package/dist/telemetry/query/sql-guard.d.ts +71 -0
- package/dist/telemetry/query/sql-guard.d.ts.map +1 -0
- package/dist/telemetry/query/sql-guard.js +258 -0
- package/dist/telemetry/query/sql-guard.js.map +1 -0
- package/dist/telemetry/query/telemetry-availability.d.ts +11 -0
- package/dist/telemetry/query/telemetry-availability.d.ts.map +1 -0
- package/dist/telemetry/query/telemetry-availability.js +55 -0
- package/dist/telemetry/query/telemetry-availability.js.map +1 -0
- package/dist/telemetry/query/telemetry-query-facade.d.ts +128 -0
- package/dist/telemetry/query/telemetry-query-facade.d.ts.map +1 -0
- package/dist/telemetry/query/telemetry-query-facade.js +112 -0
- package/dist/telemetry/query/telemetry-query-facade.js.map +1 -0
- package/dist/telemetry/query/telemetry-query.errors.d.ts +50 -0
- package/dist/telemetry/query/telemetry-query.errors.d.ts.map +1 -0
- package/dist/telemetry/query/telemetry-query.errors.js +110 -0
- package/dist/telemetry/query/telemetry-query.errors.js.map +1 -0
- package/dist/telemetry/query/telemetry-query.service.d.ts +57 -0
- package/dist/telemetry/query/telemetry-query.service.d.ts.map +1 -0
- package/dist/telemetry/query/telemetry-query.service.js +196 -0
- package/dist/telemetry/query/telemetry-query.service.js.map +1 -0
- package/dist/telemetry/query/telemetry-schema.service.d.ts +30 -0
- package/dist/telemetry/query/telemetry-schema.service.d.ts.map +1 -0
- package/dist/telemetry/query/telemetry-schema.service.js +105 -0
- package/dist/telemetry/query/telemetry-schema.service.js.map +1 -0
- package/dist/telemetry/stack/dto/telemetry-stack.dto.d.ts +29 -0
- package/dist/telemetry/stack/dto/telemetry-stack.dto.d.ts.map +1 -0
- package/dist/telemetry/stack/dto/telemetry-stack.dto.js +27 -0
- package/dist/telemetry/stack/dto/telemetry-stack.dto.js.map +1 -0
- package/dist/telemetry/stack/stack-agent.client.d.ts +76 -0
- package/dist/telemetry/stack/stack-agent.client.d.ts.map +1 -0
- package/dist/telemetry/stack/stack-agent.client.js +208 -0
- package/dist/telemetry/stack/stack-agent.client.js.map +1 -0
- package/dist/telemetry/stack/telemetry-stack-deploy.handler.d.ts +44 -0
- package/dist/telemetry/stack/telemetry-stack-deploy.handler.d.ts.map +1 -0
- package/dist/telemetry/stack/telemetry-stack-deploy.handler.js +160 -0
- package/dist/telemetry/stack/telemetry-stack-deploy.handler.js.map +1 -0
- package/dist/telemetry/stack/telemetry-stack.controller.d.ts +14 -0
- package/dist/telemetry/stack/telemetry-stack.controller.d.ts.map +1 -0
- package/dist/telemetry/stack/telemetry-stack.controller.js +107 -0
- package/dist/telemetry/stack/telemetry-stack.controller.js.map +1 -0
- package/dist/telemetry/stack/telemetry-stack.service.d.ts +19 -0
- package/dist/telemetry/stack/telemetry-stack.service.d.ts.map +1 -0
- package/dist/telemetry/stack/telemetry-stack.service.js +122 -0
- package/dist/telemetry/stack/telemetry-stack.service.js.map +1 -0
- package/dist/telemetry/stores/dto/telemetry-store.dto.d.ts +73 -0
- package/dist/telemetry/stores/dto/telemetry-store.dto.d.ts.map +1 -0
- package/dist/telemetry/stores/dto/telemetry-store.dto.js +15 -0
- package/dist/telemetry/stores/dto/telemetry-store.dto.js.map +1 -0
- package/dist/telemetry/stores/greptime/greptime-host.d.ts +44 -0
- package/dist/telemetry/stores/greptime/greptime-host.d.ts.map +1 -0
- package/dist/telemetry/stores/greptime/greptime-host.js +114 -0
- package/dist/telemetry/stores/greptime/greptime-host.js.map +1 -0
- package/dist/telemetry/stores/greptime/greptime.client.d.ts +144 -0
- package/dist/telemetry/stores/greptime/greptime.client.d.ts.map +1 -0
- package/dist/telemetry/stores/greptime/greptime.client.js +381 -0
- package/dist/telemetry/stores/greptime/greptime.client.js.map +1 -0
- package/dist/telemetry/stores/greptime/greptime.dialect.d.ts +8 -0
- package/dist/telemetry/stores/greptime/greptime.dialect.d.ts.map +1 -0
- package/dist/telemetry/stores/greptime/greptime.dialect.js +53 -0
- package/dist/telemetry/stores/greptime/greptime.dialect.js.map +1 -0
- package/dist/telemetry/stores/greptime/greptime.retention.d.ts +37 -0
- package/dist/telemetry/stores/greptime/greptime.retention.d.ts.map +1 -0
- package/dist/telemetry/stores/greptime/greptime.retention.js +128 -0
- package/dist/telemetry/stores/greptime/greptime.retention.js.map +1 -0
- package/dist/telemetry/stores/greptime/greptime.schema.d.ts +25 -0
- package/dist/telemetry/stores/greptime/greptime.schema.d.ts.map +1 -0
- package/dist/telemetry/stores/greptime/greptime.schema.js +80 -0
- package/dist/telemetry/stores/greptime/greptime.schema.js.map +1 -0
- package/dist/telemetry/stores/greptime/greptime.store.d.ts +8 -0
- package/dist/telemetry/stores/greptime/greptime.store.d.ts.map +1 -0
- package/dist/telemetry/stores/greptime/greptime.store.js +47 -0
- package/dist/telemetry/stores/greptime/greptime.store.js.map +1 -0
- package/dist/telemetry/stores/telemetry-store-settings.service.d.ts +44 -0
- package/dist/telemetry/stores/telemetry-store-settings.service.d.ts.map +1 -0
- package/dist/telemetry/stores/telemetry-store-settings.service.js +208 -0
- package/dist/telemetry/stores/telemetry-store-settings.service.js.map +1 -0
- package/dist/telemetry/stores/telemetry-store.controller.d.ts +14 -0
- package/dist/telemetry/stores/telemetry-store.controller.d.ts.map +1 -0
- package/dist/telemetry/stores/telemetry-store.controller.js +111 -0
- package/dist/telemetry/stores/telemetry-store.controller.js.map +1 -0
- package/dist/telemetry/stores/telemetry-store.d.ts +428 -0
- package/dist/telemetry/stores/telemetry-store.d.ts.map +1 -0
- package/dist/telemetry/stores/telemetry-store.errors.d.ts +85 -0
- package/dist/telemetry/stores/telemetry-store.errors.d.ts.map +1 -0
- package/dist/telemetry/stores/telemetry-store.errors.js +126 -0
- package/dist/telemetry/stores/telemetry-store.errors.js.map +1 -0
- package/dist/telemetry/stores/telemetry-store.js +213 -0
- package/dist/telemetry/stores/telemetry-store.js.map +1 -0
- package/dist/telemetry/stores/telemetry-store.resolver.d.ts +81 -0
- package/dist/telemetry/stores/telemetry-store.resolver.d.ts.map +1 -0
- package/dist/telemetry/stores/telemetry-store.resolver.js +312 -0
- package/dist/telemetry/stores/telemetry-store.resolver.js.map +1 -0
- package/dist/telemetry/tasks/telemetry-retention.task.d.ts +8 -0
- package/dist/telemetry/tasks/telemetry-retention.task.d.ts.map +1 -0
- package/dist/telemetry/tasks/telemetry-retention.task.js +61 -0
- package/dist/telemetry/tasks/telemetry-retention.task.js.map +1 -0
- package/dist/telemetry/telemetry-admin.controller.d.ts +14 -0
- package/dist/telemetry/telemetry-admin.controller.d.ts.map +1 -0
- package/dist/telemetry/telemetry-admin.controller.js +148 -0
- package/dist/telemetry/telemetry-admin.controller.js.map +1 -0
- package/dist/telemetry/telemetry-config.controller.d.ts +14 -0
- package/dist/telemetry/telemetry-config.controller.d.ts.map +1 -0
- package/dist/telemetry/telemetry-config.controller.js +73 -0
- package/dist/telemetry/telemetry-config.controller.js.map +1 -0
- package/dist/telemetry/telemetry-explorer.controller.d.ts +14 -0
- package/dist/telemetry/telemetry-explorer.controller.d.ts.map +1 -0
- package/dist/telemetry/telemetry-explorer.controller.js +193 -0
- package/dist/telemetry/telemetry-explorer.controller.js.map +1 -0
- package/dist/telemetry/telemetry-settings.service.d.ts +87 -0
- package/dist/telemetry/telemetry-settings.service.d.ts.map +1 -0
- package/dist/telemetry/telemetry-settings.service.js +284 -0
- package/dist/telemetry/telemetry-settings.service.js.map +1 -0
- package/dist/telemetry/telemetry-status.service.d.ts +16 -0
- package/dist/telemetry/telemetry-status.service.d.ts.map +1 -0
- package/dist/telemetry/telemetry-status.service.js +116 -0
- package/dist/telemetry/telemetry-status.service.js.map +1 -0
- package/dist/telemetry/telemetry-support-bundle.section.d.ts +163 -0
- package/dist/telemetry/telemetry-support-bundle.section.d.ts.map +1 -0
- package/dist/telemetry/telemetry-support-bundle.section.js +189 -0
- package/dist/telemetry/telemetry-support-bundle.section.js.map +1 -0
- package/dist/telemetry/telemetry.module.d.ts +35 -0
- package/dist/telemetry/telemetry.module.d.ts.map +1 -0
- package/dist/telemetry/telemetry.module.js +249 -0
- package/dist/telemetry/telemetry.module.js.map +1 -0
- package/dist/telemetry/telemetry.options.d.ts +236 -0
- package/dist/telemetry/telemetry.options.d.ts.map +1 -0
- package/dist/telemetry/telemetry.options.js +302 -0
- package/dist/telemetry/telemetry.options.js.map +1 -0
- package/dist/telemetry/telemetry.permissions.d.ts +64 -0
- package/dist/telemetry/telemetry.permissions.d.ts.map +1 -0
- package/dist/telemetry/telemetry.permissions.js +85 -0
- package/dist/telemetry/telemetry.permissions.js.map +1 -0
- package/dist/telemetry/telemetry.settings.d.ts +79 -0
- package/dist/telemetry/telemetry.settings.d.ts.map +1 -0
- package/dist/telemetry/telemetry.settings.js +92 -0
- package/dist/telemetry/telemetry.settings.js.map +1 -0
- package/dist/telemetry/testing/coach-metric-group.fixture.d.ts +17 -0
- package/dist/telemetry/testing/coach-metric-group.fixture.d.ts.map +1 -0
- package/dist/telemetry/testing/coach-metric-group.fixture.js +128 -0
- package/dist/telemetry/testing/coach-metric-group.fixture.js.map +1 -0
- package/dist/telemetry/testing/conformance.d.ts +316 -0
- package/dist/telemetry/testing/conformance.d.ts.map +1 -0
- package/dist/telemetry/testing/conformance.js +764 -0
- package/dist/telemetry/testing/conformance.js.map +1 -0
- package/dist/telemetry/testing/index.d.ts +14 -0
- package/dist/telemetry/testing/index.d.ts.map +1 -0
- package/dist/telemetry/testing/index.js +50 -0
- package/dist/telemetry/testing/index.js.map +1 -0
- package/dist/telemetry/testing/metric-schema.fixture.d.ts +73 -0
- package/dist/telemetry/testing/metric-schema.fixture.d.ts.map +1 -0
- package/dist/telemetry/testing/metric-schema.fixture.js +362 -0
- package/dist/telemetry/testing/metric-schema.fixture.js.map +1 -0
- package/dist/telemetry/testing/store-conformance.d.ts +129 -0
- package/dist/telemetry/testing/store-conformance.d.ts.map +1 -0
- package/dist/telemetry/testing/store-conformance.js +371 -0
- package/dist/telemetry/testing/store-conformance.js.map +1 -0
- package/dist/telemetry/testing/stub-ports.d.ts +56 -0
- package/dist/telemetry/testing/stub-ports.d.ts.map +1 -0
- package/dist/telemetry/testing/stub-ports.js +127 -0
- package/dist/telemetry/testing/stub-ports.js.map +1 -0
- package/dist/testing/conformance-suite.d.ts +149 -0
- package/dist/testing/conformance-suite.d.ts.map +1 -0
- package/dist/testing/conformance-suite.js +8 -0
- package/dist/testing/conformance-suite.js.map +1 -0
- package/dist/testing/conformance-suites.d.ts +14 -0
- package/dist/testing/conformance-suites.d.ts.map +1 -0
- package/dist/testing/conformance-suites.js +27 -0
- package/dist/testing/conformance-suites.js.map +1 -0
- package/dist/testing/host/in-memory-audit-sink.d.ts +23 -0
- package/dist/testing/host/in-memory-audit-sink.d.ts.map +1 -0
- package/dist/testing/host/in-memory-audit-sink.js +30 -0
- package/dist/testing/host/in-memory-audit-sink.js.map +1 -0
- package/dist/testing/host/in-memory-system-settings-store.d.ts +31 -0
- package/dist/testing/host/in-memory-system-settings-store.d.ts.map +1 -0
- package/dist/testing/host/in-memory-system-settings-store.js +54 -0
- package/dist/testing/host/in-memory-system-settings-store.js.map +1 -0
- package/dist/testing/host/index.d.ts +4 -0
- package/dist/testing/host/index.d.ts.map +1 -0
- package/dist/testing/host/index.js +13 -0
- package/dist/testing/host/index.js.map +1 -0
- package/dist/testing/host/test-platform-host.d.ts +35 -0
- package/dist/testing/host/test-platform-host.d.ts.map +1 -0
- package/dist/testing/host/test-platform-host.js +81 -0
- package/dist/testing/host/test-platform-host.js.map +1 -0
- package/dist/testing/index.d.ts +40 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +35 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/testing/prisma-schema.d.ts +99 -0
- package/dist/testing/prisma-schema.d.ts.map +1 -0
- package/dist/testing/prisma-schema.js +175 -0
- package/dist/testing/prisma-schema.js.map +1 -0
- package/dist/testing/run-platform-conformance.d.ts +77 -0
- package/dist/testing/run-platform-conformance.d.ts.map +1 -0
- package/dist/testing/run-platform-conformance.js +126 -0
- package/dist/testing/run-platform-conformance.js.map +1 -0
- package/dist/testing/suites/cron-enqueue-only.d.ts +53 -0
- package/dist/testing/suites/cron-enqueue-only.d.ts.map +1 -0
- package/dist/testing/suites/cron-enqueue-only.js +184 -0
- package/dist/testing/suites/cron-enqueue-only.js.map +1 -0
- package/dist/testing/suites/user-owned-data.d.ts +86 -0
- package/dist/testing/suites/user-owned-data.d.ts.map +1 -0
- package/dist/testing/suites/user-owned-data.js +329 -0
- package/dist/testing/suites/user-owned-data.js.map +1 -0
- package/dist/testing/test-api.d.ts +15 -0
- package/dist/testing/test-api.d.ts.map +1 -0
- package/dist/testing/test-api.js +29 -0
- package/dist/testing/test-api.js.map +1 -0
- package/dist/user-data/composed-schema.d.ts +28 -0
- package/dist/user-data/composed-schema.d.ts.map +1 -0
- package/dist/user-data/composed-schema.js +56 -0
- package/dist/user-data/composed-schema.js.map +1 -0
- package/dist/user-data/default-environment.d.ts +19 -0
- package/dist/user-data/default-environment.d.ts.map +1 -0
- package/dist/user-data/default-environment.js +47 -0
- package/dist/user-data/default-environment.js.map +1 -0
- package/dist/user-data/doctor/user-data-registries.doctor-check.d.ts +23 -0
- package/dist/user-data/doctor/user-data-registries.doctor-check.d.ts.map +1 -0
- package/dist/user-data/doctor/user-data-registries.doctor-check.js +102 -0
- package/dist/user-data/doctor/user-data-registries.doctor-check.js.map +1 -0
- package/dist/user-data/handlers/factory-reset.handler.d.ts +54 -0
- package/dist/user-data/handlers/factory-reset.handler.d.ts.map +1 -0
- package/dist/user-data/handlers/factory-reset.handler.js +351 -0
- package/dist/user-data/handlers/factory-reset.handler.js.map +1 -0
- package/dist/user-data/handlers/org-offboard.handler.d.ts +52 -0
- package/dist/user-data/handlers/org-offboard.handler.d.ts.map +1 -0
- package/dist/user-data/handlers/org-offboard.handler.js +263 -0
- package/dist/user-data/handlers/org-offboard.handler.js.map +1 -0
- package/dist/user-data/handlers/user-data-purge.handler.d.ts +69 -0
- package/dist/user-data/handlers/user-data-purge.handler.d.ts.map +1 -0
- package/dist/user-data/handlers/user-data-purge.handler.js +146 -0
- package/dist/user-data/handlers/user-data-purge.handler.js.map +1 -0
- package/dist/user-data/index.d.ts +30 -0
- package/dist/user-data/index.d.ts.map +1 -0
- package/dist/user-data/index.js +118 -0
- package/dist/user-data/index.js.map +1 -0
- package/dist/user-data/platform-user-data.d.ts +39 -0
- package/dist/user-data/platform-user-data.d.ts.map +1 -0
- package/dist/user-data/platform-user-data.js +167 -0
- package/dist/user-data/platform-user-data.js.map +1 -0
- package/dist/user-data/ports.d.ts +68 -0
- package/dist/user-data/ports.d.ts.map +1 -0
- package/dist/user-data/ports.js +43 -0
- package/dist/user-data/ports.js.map +1 -0
- package/dist/user-data/preconditions/recent-org-export.d.ts +29 -0
- package/dist/user-data/preconditions/recent-org-export.d.ts.map +1 -0
- package/dist/user-data/preconditions/recent-org-export.js +79 -0
- package/dist/user-data/preconditions/recent-org-export.js.map +1 -0
- package/dist/user-data/purge/purge-planner.d.ts +106 -0
- package/dist/user-data/purge/purge-planner.d.ts.map +1 -0
- package/dist/user-data/purge/purge-planner.js +202 -0
- package/dist/user-data/purge/purge-planner.js.map +1 -0
- package/dist/user-data/purge/user-purge.d.ts +209 -0
- package/dist/user-data/purge/user-purge.d.ts.map +1 -0
- package/dist/user-data/purge/user-purge.js +305 -0
- package/dist/user-data/purge/user-purge.js.map +1 -0
- package/dist/user-data/registry-checks.d.ts +44 -0
- package/dist/user-data/registry-checks.d.ts.map +1 -0
- package/dist/user-data/registry-checks.js +121 -0
- package/dist/user-data/registry-checks.js.map +1 -0
- package/dist/user-data/testing/conformance.d.ts +33 -0
- package/dist/user-data/testing/conformance.d.ts.map +1 -0
- package/dist/user-data/testing/conformance.js +80 -0
- package/dist/user-data/testing/conformance.js.map +1 -0
- package/dist/user-data/testing/index.d.ts +3 -0
- package/dist/user-data/testing/index.d.ts.map +1 -0
- package/dist/user-data/testing/index.js +13 -0
- package/dist/user-data/testing/index.js.map +1 -0
- package/dist/user-data/user-data-plan.service.d.ts +62 -0
- package/dist/user-data/user-data-plan.service.d.ts.map +1 -0
- package/dist/user-data/user-data-plan.service.js +84 -0
- package/dist/user-data/user-data-plan.service.js.map +1 -0
- package/dist/user-data/user-data.controller.d.ts +142 -0
- package/dist/user-data/user-data.controller.d.ts.map +1 -0
- package/dist/user-data/user-data.controller.js +302 -0
- package/dist/user-data/user-data.controller.js.map +1 -0
- package/dist/user-data/user-data.metrics.d.ts +57 -0
- package/dist/user-data/user-data.metrics.d.ts.map +1 -0
- package/dist/user-data/user-data.metrics.js +84 -0
- package/dist/user-data/user-data.metrics.js.map +1 -0
- package/dist/user-data/user-data.module.d.ts +38 -0
- package/dist/user-data/user-data.module.d.ts.map +1 -0
- package/dist/user-data/user-data.module.js +86 -0
- package/dist/user-data/user-data.module.js.map +1 -0
- package/dist/user-data/user-data.options.d.ts +108 -0
- package/dist/user-data/user-data.options.d.ts.map +1 -0
- package/dist/user-data/user-data.options.js +66 -0
- package/dist/user-data/user-data.options.js.map +1 -0
- package/dist/user-data/user-data.permissions.d.ts +29 -0
- package/dist/user-data/user-data.permissions.d.ts.map +1 -0
- package/dist/user-data/user-data.permissions.js +33 -0
- package/dist/user-data/user-data.permissions.js.map +1 -0
- package/dist/user-data/user-data.registries.d.ts +202 -0
- package/dist/user-data/user-data.registries.d.ts.map +1 -0
- package/dist/user-data/user-data.registries.js +425 -0
- package/dist/user-data/user-data.registries.js.map +1 -0
- package/dist/user-data/user-data.service.d.ts +132 -0
- package/dist/user-data/user-data.service.d.ts.map +1 -0
- package/dist/user-data/user-data.service.js +434 -0
- package/dist/user-data/user-data.service.js.map +1 -0
- package/dist/user-data/user-data.types.d.ts +299 -0
- package/dist/user-data/user-data.types.d.ts.map +1 -0
- package/dist/user-data/user-data.types.js +23 -0
- package/dist/user-data/user-data.types.js.map +1 -0
- package/dist/user-data/user-purge.runner.d.ts +132 -0
- package/dist/user-data/user-purge.runner.d.ts.map +1 -0
- package/dist/user-data/user-purge.runner.js +283 -0
- package/dist/user-data/user-purge.runner.js.map +1 -0
- package/dist/user-data/user-removal-hooks.d.ts +17 -0
- package/dist/user-data/user-removal-hooks.d.ts.map +1 -0
- package/dist/user-data/user-removal-hooks.js +27 -0
- package/dist/user-data/user-removal-hooks.js.map +1 -0
- package/package.json +336 -4
|
@@ -0,0 +1,1866 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
var DatabaseBackupRunnerService_1;
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DatabaseBackupRunnerService = exports.systemBackupTimers = exports.DB_BACKUP_TIMERS = exports.systemDatabaseBackupEngine = exports.DB_BACKUP_ENGINE = exports.BACKUP_JOB_DEDUP_KEY = exports.BACKUP_JOB_TYPE = exports.ACTIVE_RUN_STATUSES = exports.ACTIVE_RUN_INDEX_NAME = exports.NODE_CLOCK_SKEW_WARN_MS = exports.BACKUP_HEARTBEAT_INTERVAL_MS = void 0;
|
|
17
|
+
exports.isActiveRunConflict = isActiveRunConflict;
|
|
18
|
+
const node_crypto_1 = require("node:crypto");
|
|
19
|
+
const node_crypto_2 = require("node:crypto");
|
|
20
|
+
const node_stream_1 = require("node:stream");
|
|
21
|
+
const promises_1 = require("node:stream/promises");
|
|
22
|
+
const common_1 = require("@nestjs/common");
|
|
23
|
+
const config_1 = require("@nestjs/config");
|
|
24
|
+
const index_1 = require("../jobs/index");
|
|
25
|
+
const index_2 = require("../jobs/index");
|
|
26
|
+
const db_backup_sweep_handler_1 = require("./handlers/db-backup-sweep.handler");
|
|
27
|
+
const index_3 = require("../jobs/index");
|
|
28
|
+
const index_4 = require("../core/index");
|
|
29
|
+
const db_backup_db_1 = require("./data/db-backup-db");
|
|
30
|
+
const options_1 = require("./options");
|
|
31
|
+
const ports_1 = require("./ports");
|
|
32
|
+
const index_5 = require("../settings/index");
|
|
33
|
+
const index_6 = require("../storage/index");
|
|
34
|
+
const index_7 = require("../storage/index");
|
|
35
|
+
const db_backup_storage_1 = require("./db-backup-storage");
|
|
36
|
+
const db_backup_constants_1 = require("./db-backup.constants");
|
|
37
|
+
const backup_target_1 = require("./backup-target");
|
|
38
|
+
const db_backup_events_1 = require("./db-backup-events");
|
|
39
|
+
const db_backup_errors_1 = require("./db-backup.errors");
|
|
40
|
+
const migration_state_util_1 = require("./migration-state.util");
|
|
41
|
+
const pg_dump_util_1 = require("./pg-dump.util");
|
|
42
|
+
const pg_restore_util_1 = require("./pg-restore.util");
|
|
43
|
+
const pg_version_util_1 = require("./pg-version.util");
|
|
44
|
+
// =============================================================================
|
|
45
|
+
// The streaming pg_dump engine (issue #281, epic #254)
|
|
46
|
+
// =============================================================================
|
|
47
|
+
//
|
|
48
|
+
// One backup = one `database_backup_runs` row + one `pg_dump` process whose
|
|
49
|
+
// stdout goes STRAIGHT INTO OBJECT STORAGE. This file is the only place either
|
|
50
|
+
// is created. Everything in it exists to hold five properties, and each of the
|
|
51
|
+
// five is a failure this template has to not have.
|
|
52
|
+
//
|
|
53
|
+
// -----------------------------------------------------------------------------
|
|
54
|
+
// 1. THE DUMP IS A QUEUE JOB, AND THE JOB'S LIFETIME IS THE DUMP'S LIFETIME
|
|
55
|
+
// (issue #351, epic #345)
|
|
56
|
+
// -----------------------------------------------------------------------------
|
|
57
|
+
//
|
|
58
|
+
// It did not used to be. Until #351 `startBackup` awaited an INSERT and then
|
|
59
|
+
// fired `void this.executeRun(...)`: the dump had no job type, appeared in
|
|
60
|
+
// neither `GET /api/admin/jobs` nor insights, occupied no worker slot, and
|
|
61
|
+
// could not run anywhere but the API process. `schema.prisma` gave three
|
|
62
|
+
// reasons for that, and #346/#347 removed all three:
|
|
63
|
+
//
|
|
64
|
+
// 1. "The 30-minute reaper would requeue a running dump" → answered by a
|
|
65
|
+
// per-type PROFILE. `db.backup.run` declares `maxRuntimeMs: 6h`, and the
|
|
66
|
+
// lease is DERIVED from it (`resolveJobLeaseMs`), so the reaper's
|
|
67
|
+
// deadline is longer than the ceiling by construction.
|
|
68
|
+
// 2. "The in-process worker never renews its lease" → answered by #347.
|
|
69
|
+
// `JobWorker` renews on a ticker for as long as `process()` runs.
|
|
70
|
+
// 3. "A retry budget would re-run a failed multi-gigabyte dump" → answered
|
|
71
|
+
// by `maxAttempts: 1` in that same profile. The correct retry for a
|
|
72
|
+
// backup is still the next scheduled one; the difference is that the
|
|
73
|
+
// QUEUE now knows that, and `JobStuckService`'s give-up phase enforces
|
|
74
|
+
// it rather than the absence of a queue enforcing it by accident.
|
|
75
|
+
//
|
|
76
|
+
// So there are now TWO entry points into this file, and the difference
|
|
77
|
+
// between them is exactly which of them owns a `jobs` row:
|
|
78
|
+
//
|
|
79
|
+
// `queueBackup` — the normal path (#283's endpoint, #282's cron). Writes a
|
|
80
|
+
// `jobs` row and a `pending` run row IN ONE TRANSACTION and
|
|
81
|
+
// returns; a worker claims the job and calls
|
|
82
|
+
// `runQueuedBackup`, which is where the dump actually
|
|
83
|
+
// happens, AWAITED.
|
|
84
|
+
// `startBackup` — the ONE remaining detached path: the `pre_restore` safety
|
|
85
|
+
// dump (`DatabaseRestoreService`). It takes a backup while
|
|
86
|
+
// a restore is mid-flight, so it must not depend on a
|
|
87
|
+
// worker slot being free, on `JOBS_WORKER_MODE`, or on this
|
|
88
|
+
// process still polling the queue seconds from now. It
|
|
89
|
+
// claims `running` directly, with no job.
|
|
90
|
+
//
|
|
91
|
+
// ⚠ THE DETACHED PROMISE (`startBackup` only) CARRIES A TERMINAL `.catch()`.
|
|
92
|
+
// Without one, an EXPECTED failure (the dump exits non-zero; the bucket
|
|
93
|
+
// refuses the write) becomes an unhandled promise rejection, and an unhandled
|
|
94
|
+
// rejection TERMINATES the Node process by default. A failed backup must not
|
|
95
|
+
// be able to take the API down with it. `runQueuedBackup` needs no such guard
|
|
96
|
+
// and deliberately has none: it has a caller — the worker — whose entire job
|
|
97
|
+
// is to turn a rejection into a settled row.
|
|
98
|
+
//
|
|
99
|
+
// ⚠ WHY `executeRun` RETURNS AN OUTCOME RATHER THAN THROWING. It records
|
|
100
|
+
// every failure it anticipates on the run row and returns; the decision to
|
|
101
|
+
// FAIL THE JOB belongs to `runQueuedBackup`, which rethrows the recorded
|
|
102
|
+
// error. Had `executeRun` simply kept swallowing, the queued path would
|
|
103
|
+
// report `succeeded` for a job whose run row said `failed` — a job row that
|
|
104
|
+
// lies, which is worse than no job row at all.
|
|
105
|
+
//
|
|
106
|
+
// -----------------------------------------------------------------------------
|
|
107
|
+
// 2. THE VERSION CHECK RUNS BEFORE A SINGLE BYTE IS DUMPED
|
|
108
|
+
// -----------------------------------------------------------------------------
|
|
109
|
+
//
|
|
110
|
+
// `pg_dump` refuses to dump a server newer than itself. Checked first (see
|
|
111
|
+
// `pg-version.util.ts`), that becomes a run whose `lastError` says "rebuild the
|
|
112
|
+
// image with postgresql<N>-client"; checked never, it becomes an opaque
|
|
113
|
+
// non-zero exit after a partial object has already been written.
|
|
114
|
+
//
|
|
115
|
+
// It runs INSIDE the detached body rather than before the claim, deliberately:
|
|
116
|
+
// the check opens a connection of its own, and a blocked deployment deserves a
|
|
117
|
+
// VISIBLE failed run in the admin list every night rather than an exception
|
|
118
|
+
// swallowed by a cron with no row to point at.
|
|
119
|
+
//
|
|
120
|
+
// -----------------------------------------------------------------------------
|
|
121
|
+
// 3. THE ARCHIVE IS NEVER MATERIALISED — ONE PASS, ONE COPY, NO HEAP
|
|
122
|
+
// -----------------------------------------------------------------------------
|
|
123
|
+
//
|
|
124
|
+
// dump.done.catch(err => meter.destroy(err));
|
|
125
|
+
// dump.stdout.pipe(meter);
|
|
126
|
+
// await Promise.all([provider.upload(key, meter, opts), dump.done]);
|
|
127
|
+
//
|
|
128
|
+
// The metering `Transform` hashes and counts each chunk AS IT PASSES and
|
|
129
|
+
// forwards it unchanged. There is no buffer, no temp file, no second read:
|
|
130
|
+
// checksum and byte count are produced by the same single pass the upload is
|
|
131
|
+
// already making. Buffering "just to hash it first" would put an entire
|
|
132
|
+
// production database in this process's heap — the memory profile this whole
|
|
133
|
+
// design exists to avoid, and one that fails on the deployment that needs the
|
|
134
|
+
// backup most.
|
|
135
|
+
//
|
|
136
|
+
// ⚠ `Promise.all` ON **BOTH** HALVES IS LOAD-BEARING, NOT BELT-AND-BRACES.
|
|
137
|
+
// The two failure modes are genuinely independent and each is invisible to the
|
|
138
|
+
// other side:
|
|
139
|
+
//
|
|
140
|
+
// - A DUMP THAT DIES MID-STREAM simply ENDS its stdout. The upload sees a
|
|
141
|
+
// clean EOF and reports a perfectly successful upload OF A TRUNCATED
|
|
142
|
+
// ARCHIVE. Only `dump.done`'s exit code distinguishes that from a complete
|
|
143
|
+
// dump — which is why `pg-dump.util.ts` calls it "the authority on
|
|
144
|
+
// success".
|
|
145
|
+
// - A DUMP CAN EXIT NON-ZERO AFTER ITS LAST BYTE LANDED (a failure during
|
|
146
|
+
// cleanup), and an upload can fail after the dump finished cleanly.
|
|
147
|
+
//
|
|
148
|
+
// So both are awaited, and either one rejecting fails the run. The two
|
|
149
|
+
// cross-teardowns beside them close the remaining leaks: a dead dump destroys
|
|
150
|
+
// the metering stream (or the upload would hang forever waiting on bytes that
|
|
151
|
+
// will never come), and a dead upload SIGKILLs the dump (or `pg_dump` would
|
|
152
|
+
// keep reading a database for an archive nobody is storing).
|
|
153
|
+
//
|
|
154
|
+
// -----------------------------------------------------------------------------
|
|
155
|
+
// 4. VERIFICATION READS THE STORED OBJECT BACK, NOT THE STREAM WE SENT
|
|
156
|
+
// -----------------------------------------------------------------------------
|
|
157
|
+
//
|
|
158
|
+
// Before a run is `completed`, the UPLOADED OBJECT is streamed back out of
|
|
159
|
+
// storage and through `pg_restore --list`; an empty table of contents fails the
|
|
160
|
+
// run. The checksum proves the bytes we SENT are the bytes we hashed. This
|
|
161
|
+
// proves the bytes that ARRIVED are a readable archive — which catches a
|
|
162
|
+
// truncated upload, a zero-byte object, and a dump that ran against the wrong
|
|
163
|
+
// (empty) database, none of which any exit code or byte count can see.
|
|
164
|
+
//
|
|
165
|
+
// The cost is one extra read of the object. That is the correct price for the
|
|
166
|
+
// property that makes the whole feature worth having: a backup marked
|
|
167
|
+
// `completed` in this table is a backup that has been proven restorable-shaped
|
|
168
|
+
// at least once.
|
|
169
|
+
//
|
|
170
|
+
// -----------------------------------------------------------------------------
|
|
171
|
+
// 5. FAILURE DELETES THE OBJECT FIRST, THEN MARKS THE ROW
|
|
172
|
+
// -----------------------------------------------------------------------------
|
|
173
|
+
//
|
|
174
|
+
// In that order, always. The row is the only index of what exists in the
|
|
175
|
+
// bucket: a run marked `failed` while its partial object is still there is an
|
|
176
|
+
// orphan nothing will ever look for, billed forever. Deleting first means the
|
|
177
|
+
// worst case is the opposite — an object already gone when the row says
|
|
178
|
+
// `running`, which #282's stale sweep resolves.
|
|
179
|
+
//
|
|
180
|
+
// The delete is BEST-EFFORT and never masks the original error. The reason the
|
|
181
|
+
// backup failed is what the operator needs; "and also the delete failed" is a
|
|
182
|
+
// log line, not a replacement diagnosis.
|
|
183
|
+
//
|
|
184
|
+
// THERE IS NO AUTOMATIC RETRY. Re-running a failed multi-gigabyte dump burns
|
|
185
|
+
// hours of I/O on a database that is probably already unwell; the retry for a
|
|
186
|
+
// backup is the next scheduled run. That is now `maxAttempts: 1` on the
|
|
187
|
+
// handler's profile rather than the absence of a queue — see
|
|
188
|
+
// `handlers/db-backup-run.handler.ts`.
|
|
189
|
+
// =============================================================================
|
|
190
|
+
/**
|
|
191
|
+
* How often the heartbeat writes `lastHeartbeatAt` and the live
|
|
192
|
+
* `bytesWritten`.
|
|
193
|
+
*
|
|
194
|
+
* ⚠ THIS IS PROGRESS REPORTING, NOT THE LIVENESS SIGNAL — that changed in
|
|
195
|
+
* #351 and the distinction matters when tuning it. While the dump was
|
|
196
|
+
* detached, this beat was the ONLY evidence a run was still alive, and #282's
|
|
197
|
+
* stale sweep was the only thing that could settle an abandoned one. The dump
|
|
198
|
+
* is now a queue job, and #347's LEASE RENEWAL is what says "the executor is
|
|
199
|
+
* still there": the worker renews on a ticker derived from the type's
|
|
200
|
+
* `maxRuntimeMs`, and `JobStuckService` reaps a lease that stops being
|
|
201
|
+
* renewed. What this beat still owns — and nothing else does — is
|
|
202
|
+
* `bytesWritten`, the number the admin UI's progress bar reads.
|
|
203
|
+
*
|
|
204
|
+
* TWENTY SECONDS, and the number is still bounded on both sides by things
|
|
205
|
+
* that already exist. `databaseBackup.runStaleMinutes` starts at 120 and its
|
|
206
|
+
* minimum is 1, so the interval must stay comfortably under a minute: the
|
|
207
|
+
* stale sweep remains the backstop for the `pre_restore` path, which has no
|
|
208
|
+
* job and therefore no lease. At the other end each beat is one indexed
|
|
209
|
+
* UPDATE by primary key, so a tighter interval would be affordable but
|
|
210
|
+
* pointless: the progress bar it feeds is read by a human.
|
|
211
|
+
*
|
|
212
|
+
* A CONSTANT, not an environment variable. Nothing an operator could set here
|
|
213
|
+
* would be a better answer than "well inside the smallest stale window", and a
|
|
214
|
+
* knob whose only wrong settings are silent (too slow → false stale sweeps)
|
|
215
|
+
* is a knob worth not having.
|
|
216
|
+
*
|
|
217
|
+
* @stability experimental
|
|
218
|
+
*/
|
|
219
|
+
exports.BACKUP_HEARTBEAT_INTERVAL_MS = 20_000;
|
|
220
|
+
/**
|
|
221
|
+
* How many times the claim will re-attempt its INSERT when the run holding the
|
|
222
|
+
* active slot settles out from under the re-read.
|
|
223
|
+
*
|
|
224
|
+
* BOUNDED, for the reason `ENQUEUE_MAX_ATTEMPTS` is (see `jobs.service.ts`):
|
|
225
|
+
* an unbounded loop is correct in theory and a spin in practice. Three covers
|
|
226
|
+
* the real race — a run finishing inside the few milliseconds between the
|
|
227
|
+
* failed insert and the lookup — and turns a pathological one into an honest
|
|
228
|
+
* "already running" rather than a hang.
|
|
229
|
+
*/
|
|
230
|
+
const CLAIM_MAX_ATTEMPTS = 3;
|
|
231
|
+
/**
|
|
232
|
+
* The name of the partial unique index that enforces one active run.
|
|
233
|
+
*
|
|
234
|
+
* Declared in
|
|
235
|
+
* `prisma/migrations/20260907120000_add_database_backup_runs/migration.sql`;
|
|
236
|
+
* repeated here because a P2002 has to be attributed to *this* constraint and
|
|
237
|
+
* not to some other unique constraint a fork may add to the table.
|
|
238
|
+
*/
|
|
239
|
+
/**
|
|
240
|
+
* How far a worker node's reported finish time may be from this server's clock
|
|
241
|
+
* before the completing write logs a warning.
|
|
242
|
+
*
|
|
243
|
+
* FIVE MINUTES, and it is a WARNING AND NOTHING ELSE — never a refusal. A
|
|
244
|
+
* skewed clock does not make an archive less valid, and refusing a verified
|
|
245
|
+
* multi-gigabyte backup over NTP would be the wrong trade by a wide margin.
|
|
246
|
+
* The reason it is worth a line in the log at all is that the node's lease
|
|
247
|
+
* renewal (#347) runs on the very same clock, so a node this far out is a node
|
|
248
|
+
* whose next long job may lose its claim for reasons nobody will connect to
|
|
249
|
+
* the time.
|
|
250
|
+
*
|
|
251
|
+
* @stability experimental
|
|
252
|
+
*/
|
|
253
|
+
exports.NODE_CLOCK_SKEW_WARN_MS = 5 * 60 * 1000;
|
|
254
|
+
/**
|
|
255
|
+
* The raw-SQL partial unique index that admits ONE `pending`/`running` run
|
|
256
|
+
* (intentional schema drift: never `@@unique`, never a `findFirst` pre-check).
|
|
257
|
+
*
|
|
258
|
+
* @stability experimental
|
|
259
|
+
*/
|
|
260
|
+
exports.ACTIVE_RUN_INDEX_NAME = 'database_backup_runs_active_uniq_idx';
|
|
261
|
+
/** The physical column and the Prisma field the index is built over. */
|
|
262
|
+
const ACTIVE_RUN_COLUMN_NAME = 'status';
|
|
263
|
+
/**
|
|
264
|
+
* The statuses the index's predicate covers — "an active run".
|
|
265
|
+
*
|
|
266
|
+
* @stability experimental
|
|
267
|
+
*/
|
|
268
|
+
exports.ACTIVE_RUN_STATUSES = ['pending', 'running'];
|
|
269
|
+
/**
|
|
270
|
+
* The `Job.type` a queued dump runs under (issue #351, epic #345).
|
|
271
|
+
*
|
|
272
|
+
* DECLARED HERE RATHER THAN IN THE HANDLER, and the direction is the reason:
|
|
273
|
+
* this file ENQUEUES the job and the handler EXECUTES it, so the handler can
|
|
274
|
+
* import the runner but the runner must never import the handler (that would
|
|
275
|
+
* be a cycle, and a module-evaluation-order one at that). The single
|
|
276
|
+
* definition therefore lives on the enqueueing side, and
|
|
277
|
+
* `handlers/db-backup-run.handler.ts` imports it for its `type`.
|
|
278
|
+
*
|
|
279
|
+
* ⚠ PERMANENT once jobs of this type exist, exactly as
|
|
280
|
+
* `JobHandler.type` says: `jobs` rows outlive the handler that produced them,
|
|
281
|
+
* so renaming this string orphans every historical row and every job already
|
|
282
|
+
* queued under the old name.
|
|
283
|
+
*
|
|
284
|
+
* @stability experimental
|
|
285
|
+
*/
|
|
286
|
+
exports.BACKUP_JOB_TYPE = 'db.backup.run';
|
|
287
|
+
/**
|
|
288
|
+
* The one dedup key EVERY backup enqueue uses.
|
|
289
|
+
*
|
|
290
|
+
* CONSTANT, and that is the entire single-active-backup guard at the queue
|
|
291
|
+
* layer. A backup has no subject — there is one database and one archive per
|
|
292
|
+
* run — so `buildDedupKey` folds the null subject pair away and every caller
|
|
293
|
+
* lands on the same string. `jobs_active_dedup_uniq_idx` then makes a second
|
|
294
|
+
* enqueue while one is `pending`/`running` a P2002, which is exactly what
|
|
295
|
+
* BOTH callers want: the scheduler stands down, and #283's endpoint reports
|
|
296
|
+
* "already running" with the winner's run id.
|
|
297
|
+
*
|
|
298
|
+
* Derived through `buildDedupKey` rather than written out as a literal,
|
|
299
|
+
* because the index enforces uniqueness over whatever string the enqueue path
|
|
300
|
+
* puts in the column — and a literal here that drifted from the builder would
|
|
301
|
+
* silently stop colliding with the rows it is supposed to collide with.
|
|
302
|
+
*
|
|
303
|
+
* @stability experimental
|
|
304
|
+
*/
|
|
305
|
+
exports.BACKUP_JOB_DEDUP_KEY = (0, index_2.buildDedupKey)(exports.BACKUP_JOB_TYPE, null, null);
|
|
306
|
+
/**
|
|
307
|
+
* DI token for {@link DatabaseBackupEngine}.
|
|
308
|
+
*
|
|
309
|
+
* OPTIONAL, and DELIBERATELY NOT PROVIDED in `DbBackupModule` — exactly like
|
|
310
|
+
* `JOB_CLOCK`. The application always gets {@link systemDatabaseBackupEngine};
|
|
311
|
+
* only a test that constructs this service directly can substitute one, so a
|
|
312
|
+
* fork cannot ship a stubbed dump engine by accident.
|
|
313
|
+
*
|
|
314
|
+
* @stability experimental
|
|
315
|
+
*/
|
|
316
|
+
exports.DB_BACKUP_ENGINE = Symbol('DB_BACKUP_ENGINE');
|
|
317
|
+
/**
|
|
318
|
+
* The real engine: real binaries, real database.
|
|
319
|
+
*
|
|
320
|
+
* @stability experimental
|
|
321
|
+
*/
|
|
322
|
+
exports.systemDatabaseBackupEngine = {
|
|
323
|
+
startDump: ({ compressionLevel, timeoutMs }) => (0, pg_dump_util_1.spawnPgDump)({ compressionLevel, timeoutMs }),
|
|
324
|
+
readTocEntryCount: (source) => (0, pg_restore_util_1.readTocEntryCount)({ source }),
|
|
325
|
+
checkClientVersion: () => (0, pg_version_util_1.checkPgClientVersion)({
|
|
326
|
+
// The `pg` seam rather than a Prisma query, so the check still answers
|
|
327
|
+
// while the application database is mid-swap during a Phase 7 restore.
|
|
328
|
+
readServerVersionNum: () => (0, pg_version_util_1.readServerVersionNumWithPgClient)(),
|
|
329
|
+
}),
|
|
330
|
+
};
|
|
331
|
+
/**
|
|
332
|
+
* DI token for {@link BackupTimers}. Optional and unprovided, as {@link DB_BACKUP_ENGINE} is.
|
|
333
|
+
*
|
|
334
|
+
* @stability experimental
|
|
335
|
+
*/
|
|
336
|
+
exports.DB_BACKUP_TIMERS = Symbol('DB_BACKUP_TIMERS');
|
|
337
|
+
/**
|
|
338
|
+
* The real timers, with the interval UNREF'D.
|
|
339
|
+
*
|
|
340
|
+
* A refed 20-second interval would hold a shutting-down process open, turning
|
|
341
|
+
* a graceful deploy into an orchestrator kill for as long as a dump lasts.
|
|
342
|
+
* Unref'd, the heartbeat stops mattering the moment nothing else is keeping
|
|
343
|
+
* the process alive — which is correct, because at that point there is no dump
|
|
344
|
+
* left to report progress for either. (The `typeof` guard is for fake-timer
|
|
345
|
+
* configurations whose handle is a bare number.)
|
|
346
|
+
*
|
|
347
|
+
* @stability experimental
|
|
348
|
+
*/
|
|
349
|
+
exports.systemBackupTimers = {
|
|
350
|
+
setInterval: (handler, ms) => {
|
|
351
|
+
const timer = setInterval(handler, ms);
|
|
352
|
+
if (typeof timer.unref === 'function') {
|
|
353
|
+
timer.unref();
|
|
354
|
+
}
|
|
355
|
+
return timer;
|
|
356
|
+
},
|
|
357
|
+
clearInterval: (handle) => clearInterval(handle),
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* Whether `error` is a unique-constraint violation on the SINGLE-ACTIVE-RUN
|
|
361
|
+
* index specifically — as opposed to any other P2002 this table (or a fork's
|
|
362
|
+
* additions to it) might raise.
|
|
363
|
+
*
|
|
364
|
+
* THIS DISCRIMINATION IS LOAD-BEARING, for the same reason
|
|
365
|
+
* `isActiveDedupConflict` gives in `jobs.service.ts`: treating every P2002 as
|
|
366
|
+
* "already running" would report a genuine constraint bug as an ordinary busy
|
|
367
|
+
* signal, and that is the exact class of error that must stay loud. Anything
|
|
368
|
+
* this function does not positively recognise propagates untouched.
|
|
369
|
+
*
|
|
370
|
+
* Two metadata shapes are inspected because Prisma reports the violation
|
|
371
|
+
* differently depending on how the client is talking to Postgres — the driver
|
|
372
|
+
* adapter (`@prisma/adapter-pg`, which `PrismaService` uses) puts it under
|
|
373
|
+
* `meta.driverAdapterError.cause`, the classic engine under `meta.target`. Both
|
|
374
|
+
* are checked so that switching adapters degrades to "the P2002 propagates",
|
|
375
|
+
* never to "an unrelated conflict is silently swallowed".
|
|
376
|
+
*
|
|
377
|
+
* @stability experimental
|
|
378
|
+
*/
|
|
379
|
+
function isActiveRunConflict(error) {
|
|
380
|
+
if (!(error instanceof db_backup_db_1.PrismaClientKnownRequestError) || error.code !== 'P2002') {
|
|
381
|
+
return false;
|
|
382
|
+
}
|
|
383
|
+
const names = new Set([exports.ACTIVE_RUN_INDEX_NAME, ACTIVE_RUN_COLUMN_NAME]);
|
|
384
|
+
const meta = (error.meta ?? {});
|
|
385
|
+
// Shape 1: driver adapter.
|
|
386
|
+
const adapterError = meta.driverAdapterError;
|
|
387
|
+
const cause = adapterError?.cause;
|
|
388
|
+
if (cause) {
|
|
389
|
+
const constraint = cause.constraint;
|
|
390
|
+
if (Array.isArray(constraint?.fields) &&
|
|
391
|
+
constraint.fields.some((field) => names.has(String(field)))) {
|
|
392
|
+
return true;
|
|
393
|
+
}
|
|
394
|
+
if (typeof constraint?.index === 'string' && constraint.index === exports.ACTIVE_RUN_INDEX_NAME) {
|
|
395
|
+
return true;
|
|
396
|
+
}
|
|
397
|
+
if (typeof cause.originalMessage === 'string' &&
|
|
398
|
+
cause.originalMessage.includes(exports.ACTIVE_RUN_INDEX_NAME)) {
|
|
399
|
+
return true;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
// Shape 2: classic query engine.
|
|
403
|
+
const target = meta.target;
|
|
404
|
+
if (typeof target === 'string') {
|
|
405
|
+
return names.has(target);
|
|
406
|
+
}
|
|
407
|
+
if (Array.isArray(target)) {
|
|
408
|
+
return target.some((entry) => names.has(String(entry)));
|
|
409
|
+
}
|
|
410
|
+
return false;
|
|
411
|
+
}
|
|
412
|
+
/** Anything thrown, as an `Error`. JavaScript lets you throw a string. */
|
|
413
|
+
function toError(value) {
|
|
414
|
+
return value instanceof Error ? value : new Error(String(value));
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* The trigger and actor a `db.backup.run` job carries, DEFENSIVELY.
|
|
418
|
+
*
|
|
419
|
+
* `Job.payload` is opaque JSONB written by an earlier process — possibly an
|
|
420
|
+
* earlier BUILD of this application, possibly by hand — so it is parsed, not
|
|
421
|
+
* cast. The fallback is `manual` with no actor rather than a throw: this is
|
|
422
|
+
* only reached when a job has no run row at all (see `resolveRunForJob`), and
|
|
423
|
+
* refusing to take a backup because its provenance is unreadable would trade
|
|
424
|
+
* a missing audit field for a missing backup.
|
|
425
|
+
*/
|
|
426
|
+
function readBackupJobPayload(job) {
|
|
427
|
+
const payload = (job.payload ?? {});
|
|
428
|
+
const trigger = payload.trigger === 'scheduled' || payload.trigger === 'pre_restore'
|
|
429
|
+
? payload.trigger
|
|
430
|
+
: 'manual';
|
|
431
|
+
return {
|
|
432
|
+
trigger,
|
|
433
|
+
createdById: typeof payload.createdById === 'string' ? payload.createdById : null,
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* The backup engine: the ONE writer of `database_backup_runs`. Claims a run (the partial unique index arbitrates), streams `pg_dump` into object storage without buffering, verifies the archive, prunes by retention and records the outcome. Drive it through `queueBackup` (the queue) or `startBackup`.
|
|
438
|
+
*
|
|
439
|
+
* @stability experimental
|
|
440
|
+
*/
|
|
441
|
+
let DatabaseBackupRunnerService = DatabaseBackupRunnerService_1 = class DatabaseBackupRunnerService {
|
|
442
|
+
prisma;
|
|
443
|
+
settings;
|
|
444
|
+
notifications;
|
|
445
|
+
config;
|
|
446
|
+
jobs;
|
|
447
|
+
metrics;
|
|
448
|
+
events;
|
|
449
|
+
logger = new common_1.Logger(DatabaseBackupRunnerService_1.name);
|
|
450
|
+
engine;
|
|
451
|
+
timers;
|
|
452
|
+
/** See {@link ActiveRunHandle}: process-local, never shared, never persisted. */
|
|
453
|
+
active = new Map();
|
|
454
|
+
constructor(prisma, settings, storage,
|
|
455
|
+
// #373 (epic #372). The token above moves the archive and names its kind
|
|
456
|
+
// (`storage.kind`, PP-14.1); this is read first only to REFRESH the
|
|
457
|
+
// settings snapshot the default provider answers `kind` from, so the pair
|
|
458
|
+
// on a backup row (bucket, provider) still describes one fresh
|
|
459
|
+
// configuration. A backup row that named the wrong provider is a row a
|
|
460
|
+
// restore cannot act on — see `db-backup-storage.ts`'s header.
|
|
461
|
+
storageConfig, notifications, config,
|
|
462
|
+
// #351 (epic #345). REQUIRED, like the two above it and for the same kind
|
|
463
|
+
// of reason: a runner that could be constructed without the queue is a
|
|
464
|
+
// runner a fork can wire so that `queueBackup` has nothing to enqueue
|
|
465
|
+
// into, and the failure would be "backups silently stop happening" — the
|
|
466
|
+
// one failure mode this subsystem must not have.
|
|
467
|
+
jobs, engine, timers, metrics = ports_1.NOOP_DB_BACKUP_METRICS, options, target, mirrors, events) {
|
|
468
|
+
this.prisma = prisma;
|
|
469
|
+
this.settings = settings;
|
|
470
|
+
this.notifications = notifications;
|
|
471
|
+
this.config = config;
|
|
472
|
+
this.jobs = jobs;
|
|
473
|
+
this.metrics = metrics;
|
|
474
|
+
this.events = events;
|
|
475
|
+
this.engine = engine ?? exports.systemDatabaseBackupEngine;
|
|
476
|
+
this.timers = timers ?? exports.systemBackupTimers;
|
|
477
|
+
this.metrics = metrics ?? ports_1.NOOP_DB_BACKUP_METRICS;
|
|
478
|
+
this.appVersion = options?.appVersion ?? options_1.defaultAppVersion;
|
|
479
|
+
this.target = target ?? new backup_target_1.StorageProviderBackupTarget(storage, storageConfig);
|
|
480
|
+
this.mirrors = mirrors ?? [];
|
|
481
|
+
}
|
|
482
|
+
/** Where every archive is written, read back and deleted. */
|
|
483
|
+
target;
|
|
484
|
+
/** Where copies are written after the primary succeeded. */
|
|
485
|
+
mirrors;
|
|
486
|
+
/**
|
|
487
|
+
* Whether a worker node can take this deployment's backups: its presigned PUT
|
|
488
|
+
* writes through the storage provider, so only the default target qualifies.
|
|
489
|
+
* `DatabaseBackupRunHandler.nodeOffloadEnabled` withholds the type otherwise.
|
|
490
|
+
*/
|
|
491
|
+
supportsNodeOffload() {
|
|
492
|
+
return (0, backup_target_1.isStorageBackedTarget)(this.target);
|
|
493
|
+
}
|
|
494
|
+
/** The application version recorded on a run (`DbBackupModuleOptions.appVersion`). */
|
|
495
|
+
appVersion;
|
|
496
|
+
/**
|
|
497
|
+
* The kind of the storage provider in force, for the rows and the rule that
|
|
498
|
+
* record or compare it: `STORAGE_PROVIDER`'s own `kind` (the configured
|
|
499
|
+
* `s3`/`r2`/`s3compatible` for the default provider, the app backend's id for
|
|
500
|
+
* a `StorageModule.forRoot({ provider })` binding).
|
|
501
|
+
*
|
|
502
|
+
* The settings read comes first, and only for the default provider's sake:
|
|
503
|
+
* `ResolvingStorageProvider.kind` is synchronous and answers from the last
|
|
504
|
+
* settings read, so awaiting one here keeps this exactly as fresh as the
|
|
505
|
+
* `activeProvider()` call it replaces.
|
|
506
|
+
*/
|
|
507
|
+
async activeProviderKind() {
|
|
508
|
+
await this.target.refresh?.();
|
|
509
|
+
return this.target.id;
|
|
510
|
+
}
|
|
511
|
+
/**
|
|
512
|
+
* Validates a `databaseBackup.storageProvider` value against the provider
|
|
513
|
+
* this deployment actually has.
|
|
514
|
+
*
|
|
515
|
+
* Exposed on the service so #283's `PUT` config handler can call it without
|
|
516
|
+
* importing storage internals, and so there is exactly ONE rule shared by
|
|
517
|
+
* the write path and the run path. The rule itself is pure and lives in
|
|
518
|
+
* `db-backup-storage.ts`.
|
|
519
|
+
*
|
|
520
|
+
* ⚠ ASYNC SINCE #373 (epic #372), and unavoidably so: "the active provider"
|
|
521
|
+
* is a setting now, so answering the question means reading it. This is the
|
|
522
|
+
* ONE place that read happens for both call sites — the `PUT` config endpoint
|
|
523
|
+
* (`DatabaseBackupAdminService.updateConfig`) and the run paths below — which
|
|
524
|
+
* is what keeps the form and the runner from ever judging the same value
|
|
525
|
+
* against two different answers.
|
|
526
|
+
*
|
|
527
|
+
* @throws {@link DatabaseBackupStorageProviderError} → a 400.
|
|
528
|
+
*/
|
|
529
|
+
async assertStorageProviderUsable(configured) {
|
|
530
|
+
(0, db_backup_storage_1.assertUsableStorageProvider)(configured, await this.activeProviderKind());
|
|
531
|
+
}
|
|
532
|
+
/**
|
|
533
|
+
* Queues a backup: writes the `jobs` row and its `pending` run row, and
|
|
534
|
+
* returns. A worker claims the job and `runQueuedBackup` takes the dump.
|
|
535
|
+
*
|
|
536
|
+
* THE NORMAL PATH — #283's `POST /api/admin/db-backup/runs` and #282's cron
|
|
537
|
+
* both come through here. Only the `pre_restore` dump still uses
|
|
538
|
+
* {@link startBackup}.
|
|
539
|
+
*
|
|
540
|
+
* ---------------------------------------------------------------------------
|
|
541
|
+
* ⚠ BOTH INSERTS ARE ONE TRANSACTION. THIS IS THE PART TO READ.
|
|
542
|
+
* ---------------------------------------------------------------------------
|
|
543
|
+
*
|
|
544
|
+
* The endpoint must keep answering with a real run id immediately (its 202
|
|
545
|
+
* shape and `GET /runs/{id}` polling are unchanged), so the run row is
|
|
546
|
+
* created at ENQUEUE time as `pending` and the handler flips it to `running`
|
|
547
|
+
* when a worker actually claims it. That is strictly more honest than the
|
|
548
|
+
* old behaviour, which reported `running` before anything ran. It also
|
|
549
|
+
* creates two rows that must agree, and there are exactly three ways for
|
|
550
|
+
* two rows written separately to disagree. All three are made
|
|
551
|
+
* UNREPRESENTABLE by putting both inserts in ONE COMMIT:
|
|
552
|
+
*
|
|
553
|
+
* 1. A CLAIMED JOB WITH NO RUN ROW. A worker can claim within
|
|
554
|
+
* milliseconds of the enqueue. Insert the job first and there is a real
|
|
555
|
+
* window in which the handler resolves its run and finds nothing.
|
|
556
|
+
* Inside one transaction the job row is invisible to every other
|
|
557
|
+
* session — the claim's `FOR UPDATE SKIP LOCKED` included — until the
|
|
558
|
+
* same commit that publishes the run row. The window has no duration
|
|
559
|
+
* because it has no state.
|
|
560
|
+
* 2. AN ORPHAN `pending` RUN ROW. Insert the run row first and a failed
|
|
561
|
+
* enqueue (or a process death between the two statements) leaves a
|
|
562
|
+
* `pending` row behind. That is not a cosmetic leak: the TIGHTENED
|
|
563
|
+
* `database_backup_runs_active_uniq_idx` admits exactly ONE active row
|
|
564
|
+
* across `pending` and `running` COMBINED, so a leaked row blocks every
|
|
565
|
+
* future backup — manual and scheduled — until somebody deletes it by
|
|
566
|
+
* hand. A rolled-back transaction leaves nothing at all.
|
|
567
|
+
* 3. A RUN ROW WHOSE `job_id` WAS FILLED IN AFTERWARDS. Insert-then-UPDATE
|
|
568
|
+
* reintroduces (1) for the length of the gap. The `jobId` is written
|
|
569
|
+
* BY THE INSERT, never by a second statement.
|
|
570
|
+
*
|
|
571
|
+
* REJECTED: two statements with compensating deletes ("insert the run,
|
|
572
|
+
* enqueue, delete the run if the enqueue throws"). The compensation is
|
|
573
|
+
* itself a write that can fail, and its failure mode is precisely (2) —
|
|
574
|
+
* the leak that blocks every future backup. A rollback the database
|
|
575
|
+
* performs cannot fail in that way.
|
|
576
|
+
*
|
|
577
|
+
* REJECTED: `JobsService.enqueue` inside the transaction. Its
|
|
578
|
+
* catch-the-P2002-and-re-read loop cannot run there at all — Postgres aborts
|
|
579
|
+
* a transaction at the first failed statement — which is why
|
|
580
|
+
* `enqueueWithin` exists and why the conflict is resolved out here, after
|
|
581
|
+
* the transaction has ended.
|
|
582
|
+
*
|
|
583
|
+
* ⚠ THE ORDER OF THE TWO INSERTS INSIDE THE TRANSACTION IS NOT LOAD-BEARING
|
|
584
|
+
* (that is the point of a transaction), but the job goes first anyway so
|
|
585
|
+
* that its id can be written onto the run row by the insert rather than by
|
|
586
|
+
* an update. See (3).
|
|
587
|
+
*
|
|
588
|
+
* @throws {@link DatabaseBackupAlreadyRunningError} when either guard refused —
|
|
589
|
+
* the queue's dedup index (a backup job is already in flight) or the run
|
|
590
|
+
* table's single-active index (a `pre_restore` dump, say) — carrying the id
|
|
591
|
+
* of the run that won where one can be identified.
|
|
592
|
+
* @throws {@link DatabaseBackupStorageProviderError} when the configured provider
|
|
593
|
+
* is not the active one. Raised BEFORE anything is written, so a
|
|
594
|
+
* misconfigured provider is a clean 400 at request time and not a job that
|
|
595
|
+
* fails an hour later.
|
|
596
|
+
*/
|
|
597
|
+
async queueBackup(input) {
|
|
598
|
+
const policy = await this.settings.getDatabaseBackupPolicy();
|
|
599
|
+
// BEFORE the transaction, exactly as it was before the claim: there is
|
|
600
|
+
// nothing to record about a backup that was never allowed to start, and a
|
|
601
|
+
// `failed` row (or a failed job) per attempt would bury the real history
|
|
602
|
+
// under configuration noise.
|
|
603
|
+
await this.assertStorageProviderUsable(policy.storageProvider);
|
|
604
|
+
const bucket = this.target.location ?? this.target.id;
|
|
605
|
+
// Resolved once, OUTSIDE the retry loop and outside the transaction below:
|
|
606
|
+
// it is a settings read, and a transaction is the last place to put one.
|
|
607
|
+
// Both halves of the pair are taken here so every attempt writes the same
|
|
608
|
+
// provider and bucket.
|
|
609
|
+
const provider = await this.activeProviderKind();
|
|
610
|
+
for (let attempt = 1; attempt <= CLAIM_MAX_ATTEMPTS; attempt += 1) {
|
|
611
|
+
// Generated HERE, for the reason `claimRun` gives: the storage key
|
|
612
|
+
// embeds it. The timestamp the key is built from is the ENQUEUE time
|
|
613
|
+
// rather than the start time, which is only a naming detail — the uuid
|
|
614
|
+
// is what makes the key unique, and a key that named a start time would
|
|
615
|
+
// have to be rewritten when the worker claimed it.
|
|
616
|
+
const id = (0, node_crypto_2.randomUUID)();
|
|
617
|
+
const queuedAt = new Date();
|
|
618
|
+
try {
|
|
619
|
+
return await this.prisma.$transaction(async (tx) => {
|
|
620
|
+
const job = await this.jobs.enqueueWithin(tx, {
|
|
621
|
+
type: exports.BACKUP_JOB_TYPE,
|
|
622
|
+
// `backfill`, reused rather than extended — the same choice the
|
|
623
|
+
// broadcast fan-out made. A `backup` reason would be a
|
|
624
|
+
// registration plus a new stored value for a display string, and
|
|
625
|
+
// the thing it would say is already said
|
|
626
|
+
// precisely by `DatabaseBackupRun.trigger`
|
|
627
|
+
// (`manual`/`scheduled`/`pre_restore`).
|
|
628
|
+
reason: 'backfill',
|
|
629
|
+
// No subject, which is what makes the dedup key constant — see
|
|
630
|
+
// BACKUP_JOB_DEDUP_KEY. Dedup is deliberately left ON.
|
|
631
|
+
payload: {
|
|
632
|
+
trigger: input.trigger,
|
|
633
|
+
createdById: input.createdById ?? null,
|
|
634
|
+
},
|
|
635
|
+
});
|
|
636
|
+
const run = await tx.databaseBackupRun.create({
|
|
637
|
+
data: {
|
|
638
|
+
...this.buildRunData(input, { id, bucket, provider, at: queuedAt }),
|
|
639
|
+
jobId: job.id,
|
|
640
|
+
// `pending`: nothing has started. `startedAt` and
|
|
641
|
+
// `lastHeartbeatAt` are deliberately left NULL — the sweep in
|
|
642
|
+
// `db-backup-schedule.task.ts` ages a pending row by `createdAt`
|
|
643
|
+
// precisely because a row that never started must not be able to
|
|
644
|
+
// claim it did.
|
|
645
|
+
status: 'pending',
|
|
646
|
+
},
|
|
647
|
+
});
|
|
648
|
+
return { run, job };
|
|
649
|
+
});
|
|
650
|
+
}
|
|
651
|
+
catch (error) {
|
|
652
|
+
const winner = await this.resolveQueueConflict(error);
|
|
653
|
+
if (winner !== 'retry')
|
|
654
|
+
throw winner;
|
|
655
|
+
// Whichever guard fired, the row that held the slot SETTLED between
|
|
656
|
+
// the failed insert and the lookup, so nothing is active any more and
|
|
657
|
+
// reporting "already running" would be false. Loop and insert again —
|
|
658
|
+
// with a fresh run id and key, because the old ones were never stored.
|
|
659
|
+
this.logger.debug(`The backup slot was released between a conflicting enqueue and the lookup ` +
|
|
660
|
+
`(attempt ${attempt}/${CLAIM_MAX_ATTEMPTS}); retrying.`);
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
// Every attempt collided and every lookup came back empty: something is
|
|
664
|
+
// churning backups faster than this loop can insert between them. An
|
|
665
|
+
// honest "not now" with no id beats a spin.
|
|
666
|
+
throw new db_backup_errors_1.DatabaseBackupAlreadyRunningError(null);
|
|
667
|
+
}
|
|
668
|
+
/**
|
|
669
|
+
* Classifies a failed {@link queueBackup} transaction.
|
|
670
|
+
*
|
|
671
|
+
* Returns the error to throw, or the literal `'retry'` when the conflict
|
|
672
|
+
* has already resolved itself and the caller should insert again.
|
|
673
|
+
*
|
|
674
|
+
* ⚠ IT RUNS AFTER THE TRANSACTION HAS ROLLED BACK, never inside it — see
|
|
675
|
+
* `JobsService.enqueueWithin` for why an aborted transaction can execute no
|
|
676
|
+
* further statement. Both discriminators are the EXISTING exported ones
|
|
677
|
+
* (`isActiveDedupConflict`, `isActiveRunConflict`), so anything neither
|
|
678
|
+
* positively recognises propagates untouched: a genuine constraint bug must
|
|
679
|
+
* stay loud rather than be reported as an ordinary busy signal.
|
|
680
|
+
*/
|
|
681
|
+
async resolveQueueConflict(error) {
|
|
682
|
+
if ((0, index_3.isActiveDedupConflict)(error)) {
|
|
683
|
+
// The queue's guard fired: a `db.backup.run` job is already pending or
|
|
684
|
+
// running. Its run row was written in the SAME commit as the job, so if
|
|
685
|
+
// the job is there the run is there too — which is what lets a 409 carry
|
|
686
|
+
// a real run id rather than a bare "one is already running".
|
|
687
|
+
const active = await this.prisma.job.findFirst({
|
|
688
|
+
where: { dedupKey: exports.BACKUP_JOB_DEDUP_KEY, status: { in: ['pending', 'running'] } },
|
|
689
|
+
orderBy: { createdAt: 'asc' },
|
|
690
|
+
select: { id: true, backupRun: { select: { id: true } } },
|
|
691
|
+
});
|
|
692
|
+
if (active === null)
|
|
693
|
+
return 'retry';
|
|
694
|
+
// ⚠ `?? null`, NOT a throw. The link can legitimately be absent: an
|
|
695
|
+
// administrator deleting the run row (#283's `DELETE /runs/{id}`) leaves
|
|
696
|
+
// the job, and `job.history.purge` deleting the job sets `job_id` back
|
|
697
|
+
// to NULL on the run. "A backup is already queued, and here is no id"
|
|
698
|
+
// is still a true and useful 409; inventing an error because the audit
|
|
699
|
+
// link is missing would turn a survivable state into a 500.
|
|
700
|
+
return new db_backup_errors_1.DatabaseBackupAlreadyRunningError(active.backupRun?.id ?? null);
|
|
701
|
+
}
|
|
702
|
+
if (isActiveRunConflict(error)) {
|
|
703
|
+
// The run table's own guard fired. The commonest cause is the ONE path
|
|
704
|
+
// that still creates a run outside the queue — the `pre_restore` dump —
|
|
705
|
+
// and the next commonest is a `pending` row whose job was deleted from
|
|
706
|
+
// under it. Either way the correct answer is the same 409 the manual
|
|
707
|
+
// path has always given.
|
|
708
|
+
const activeRunId = await this.findActiveRunId();
|
|
709
|
+
return activeRunId === null
|
|
710
|
+
? 'retry'
|
|
711
|
+
: new db_backup_errors_1.DatabaseBackupAlreadyRunningError(activeRunId);
|
|
712
|
+
}
|
|
713
|
+
return toError(error);
|
|
714
|
+
}
|
|
715
|
+
/**
|
|
716
|
+
* Takes a backup WITHOUT a job: claims the single active slot as `running`,
|
|
717
|
+
* then streams the dump into storage in the background.
|
|
718
|
+
*
|
|
719
|
+
* ⚠ ONE CALLER REMAINS, AND IT IS NOT A LEGACY ONE. `DatabaseRestoreService`
|
|
720
|
+
* takes the `pre_restore` safety dump through here, deliberately outside the
|
|
721
|
+
* queue: it runs in the middle of a restore, and making it wait for a worker
|
|
722
|
+
* slot would make the safety net depend on `JOBS_WORKER_MODE`, on the queue
|
|
723
|
+
* being drained, and on this process still polling seconds from now — three
|
|
724
|
+
* things that are least trustworthy at exactly the moment a database is
|
|
725
|
+
* being replaced. Everything else must use {@link queueBackup}.
|
|
726
|
+
*
|
|
727
|
+
* @returns the freshly claimed run, ALREADY `running` and with its
|
|
728
|
+
* server-chosen `storageKey` set. The dump has not finished — see property 1
|
|
729
|
+
* in this file's header for why it must not have.
|
|
730
|
+
*
|
|
731
|
+
* @throws {@link DatabaseBackupAlreadyRunningError} when the index refused the
|
|
732
|
+
* claim, carrying the id of the run that won.
|
|
733
|
+
* @throws {@link DatabaseBackupStorageProviderError} when the configured provider
|
|
734
|
+
* is not the active one.
|
|
735
|
+
*/
|
|
736
|
+
async startBackup(input) {
|
|
737
|
+
const policy = await this.settings.getDatabaseBackupPolicy();
|
|
738
|
+
// BEFORE the claim, so a misconfigured provider produces a clean 400 and
|
|
739
|
+
// no row at all — there is nothing to record about a backup that was never
|
|
740
|
+
// allowed to start, and a `failed` row per attempt would bury the real
|
|
741
|
+
// history under configuration noise.
|
|
742
|
+
await this.assertStorageProviderUsable(policy.storageProvider);
|
|
743
|
+
const run = await this.claimRun(input);
|
|
744
|
+
// ⚠ DETACHED, WITH A TERMINAL `.catch()`. `executeRun` is written not to
|
|
745
|
+
// reject — every failure it anticipates is recorded on the row — so this
|
|
746
|
+
// handler is the guard for the ones it does not: a Prisma outage while
|
|
747
|
+
// writing the failure itself, a bug in this file. Without it such a
|
|
748
|
+
// rejection is unhandled, and an unhandled rejection terminates the
|
|
749
|
+
// process. `void` marks the promise as deliberately not awaited.
|
|
750
|
+
void this.executeRun(run, policy).catch((error) => {
|
|
751
|
+
this.logger.error(`Database backup run ${run.id} failed outside its own failure handling: ` +
|
|
752
|
+
`${toError(error).message}`);
|
|
753
|
+
});
|
|
754
|
+
return run;
|
|
755
|
+
}
|
|
756
|
+
/**
|
|
757
|
+
* Takes the dump a `db.backup.run` job was queued for, AWAITED.
|
|
758
|
+
*
|
|
759
|
+
* THE JOB'S LIFETIME IS THE DUMP'S LIFETIME — this method returns when
|
|
760
|
+
* `pg_dump` has finished, the archive has been uploaded, and the stored
|
|
761
|
+
* object has been read back and verified. That is the whole point of #351:
|
|
762
|
+
* a handler that returned early would buy a dashboard row and nothing else
|
|
763
|
+
* (no lease, no slot accounting, no timeout, no possibility of node
|
|
764
|
+
* execution). `handlers/db-backup-run.handler.ts` calls exactly this and
|
|
765
|
+
* does nothing else.
|
|
766
|
+
*
|
|
767
|
+
* ---------------------------------------------------------------------------
|
|
768
|
+
* IT IS AUTHORITATIVE ABOUT THE RUN ROW, AND IT IS IDEMPOTENT
|
|
769
|
+
* ---------------------------------------------------------------------------
|
|
770
|
+
*
|
|
771
|
+
* `job_id` is `@unique`, so "the run for this job" is a single lookup that
|
|
772
|
+
* CANNOT return two rows — the resolution below is not a heuristic. What it
|
|
773
|
+
* finds decides what happens:
|
|
774
|
+
*
|
|
775
|
+
* - `pending` (the ordinary case) → flipped to `running` with `startedAt`
|
|
776
|
+
* and a seeded heartbeat. Only now has anything actually started, which
|
|
777
|
+
* is why the row did not claim otherwise before.
|
|
778
|
+
* - `running` → adopted with a warning. Unreachable while the profile says
|
|
779
|
+
* `maxAttempts: 1` (the reaper's give-up phase fails such a job rather
|
|
780
|
+
* than requeueing it), but a fork that raises that budget makes it
|
|
781
|
+
* reachable, and stranding the row would be worse than re-dumping to a
|
|
782
|
+
* key that is overwritten anyway.
|
|
783
|
+
* - `completed` → returns without doing anything. The queue is
|
|
784
|
+
* at-least-once; re-running a job whose work is already durable must be
|
|
785
|
+
* a no-op, not a second dump.
|
|
786
|
+
* - `failed` / `stale` → throws. Something already gave up on this run
|
|
787
|
+
* (an operator, or the stale sweep), and it is no longer holding the
|
|
788
|
+
* active slot — so re-dumping could run alongside a backup started since.
|
|
789
|
+
* - NOTHING AT ALL → creates the row, from the job's payload. `queueBackup`
|
|
790
|
+
* makes this unreachable for jobs it queued (both rows land in one
|
|
791
|
+
* commit), so it covers the paths that are not `queueBackup`: a job
|
|
792
|
+
* enqueued by hand, or a run row an administrator deleted while its job
|
|
793
|
+
* was still queued. Failing the job there would be a worse answer than
|
|
794
|
+
* taking the backup that was asked for.
|
|
795
|
+
*
|
|
796
|
+
* @throws whatever the dump failed with, AFTER `executeRun` has recorded it
|
|
797
|
+
* on the run row. The worker turns that into `Job.lastError` and — with
|
|
798
|
+
* `maxAttempts: 1` — a terminal `failed`, never a retry.
|
|
799
|
+
*/
|
|
800
|
+
async runQueuedBackup(job) {
|
|
801
|
+
// Read FRESH rather than carried in the payload: the job may have been
|
|
802
|
+
// queued hours ago (a busy worker, a paused queue), and the compression
|
|
803
|
+
// level, the stale window and the storage provider are all settings an
|
|
804
|
+
// administrator may have changed since. Same rule the payload comment
|
|
805
|
+
// states — carry identifiers, re-read state.
|
|
806
|
+
const policy = await this.settings.getDatabaseBackupPolicy();
|
|
807
|
+
// Re-asserted here as well as in `queueBackup`, and not redundantly: the
|
|
808
|
+
// provider can be reconfigured between the enqueue and the claim, and a
|
|
809
|
+
// dump written with the wrong provider is a backup nobody can find. It
|
|
810
|
+
// throws, which fails the job with a legible reason.
|
|
811
|
+
await this.assertStorageProviderUsable(policy.storageProvider);
|
|
812
|
+
const run = await this.resolveRunForJob(job);
|
|
813
|
+
// Already `completed` — see the idempotency note above.
|
|
814
|
+
if (run === null)
|
|
815
|
+
return;
|
|
816
|
+
const outcome = await this.executeRun(run, policy);
|
|
817
|
+
if (outcome.status === 'failed') {
|
|
818
|
+
// ⚠ RETHROWN, DELIBERATELY, EVEN THOUGH THE RUN ROW ALREADY SAYS
|
|
819
|
+
// `failed`. The two rows record different facts — the run says what the
|
|
820
|
+
// archive is, the job says what the executor did — and a job that
|
|
821
|
+
// reported `succeeded` for a dump that failed would be a row that LIES,
|
|
822
|
+
// which is strictly worse than the detached behaviour it replaced. It
|
|
823
|
+
// also makes `GET /api/admin/jobs` and insights tell the truth about
|
|
824
|
+
// backup failures, which is half of why this type exists.
|
|
825
|
+
throw outcome.error;
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* The run row this job owns, made ready to execute — or `null` when the work
|
|
830
|
+
* is already done. See {@link runQueuedBackup} for the full decision table.
|
|
831
|
+
*/
|
|
832
|
+
async resolveRunForJob(job) {
|
|
833
|
+
// ONE lookup on a UNIQUE column. Not a `findFirst` with an ordering, which
|
|
834
|
+
// would be a way of coping with duplicates the schema makes impossible.
|
|
835
|
+
const existing = await this.prisma.databaseBackupRun.findUnique({
|
|
836
|
+
where: { jobId: job.id },
|
|
837
|
+
});
|
|
838
|
+
const startedAt = new Date();
|
|
839
|
+
if (existing !== null) {
|
|
840
|
+
if (existing.status === 'completed') {
|
|
841
|
+
this.logger.log(`Job ${job.id} (${exports.BACKUP_JOB_TYPE}) is for backup run ${existing.id}, which has ` +
|
|
842
|
+
'already completed; nothing to do.');
|
|
843
|
+
return null;
|
|
844
|
+
}
|
|
845
|
+
if (existing.status !== 'pending' && existing.status !== 'running') {
|
|
846
|
+
throw new Error(`Backup run ${existing.id} is already "${existing.status}", so job ${job.id} will ` +
|
|
847
|
+
'not re-take it: the run no longer holds the single active slot, and dumping now ' +
|
|
848
|
+
'could run alongside a backup started since it was abandoned.');
|
|
849
|
+
}
|
|
850
|
+
if (existing.status === 'running') {
|
|
851
|
+
this.logger.warn(`Backup run ${existing.id} was already "running" when job ${job.id} claimed it; ` +
|
|
852
|
+
'its previous executor did not settle it. Re-taking the dump to the same key.');
|
|
853
|
+
}
|
|
854
|
+
return this.prisma.databaseBackupRun.update({
|
|
855
|
+
where: { id: existing.id },
|
|
856
|
+
data: {
|
|
857
|
+
status: 'running',
|
|
858
|
+
// The FIRST start is the one worth keeping — see the `running`
|
|
859
|
+
// branch above, which is the only way this is ever already set.
|
|
860
|
+
startedAt: existing.startedAt ?? startedAt,
|
|
861
|
+
// Seeded so the stale sweep has a baseline from the first moment:
|
|
862
|
+
// a `running` run whose heartbeat is NULL is indistinguishable from
|
|
863
|
+
// one that never started.
|
|
864
|
+
lastHeartbeatAt: startedAt,
|
|
865
|
+
},
|
|
866
|
+
});
|
|
867
|
+
}
|
|
868
|
+
// No row. Create one — the run id is generated here because the storage
|
|
869
|
+
// key embeds it, exactly as in `claimRun` and `queueBackup`.
|
|
870
|
+
const payload = readBackupJobPayload(job);
|
|
871
|
+
this.logger.warn(`Job ${job.id} (${exports.BACKUP_JOB_TYPE}) has no backup run row; creating one from its ` +
|
|
872
|
+
'payload. This is expected only for a job that was not queued by `queueBackup`.');
|
|
873
|
+
const id = (0, node_crypto_2.randomUUID)();
|
|
874
|
+
return this.prisma.databaseBackupRun.create({
|
|
875
|
+
data: {
|
|
876
|
+
...this.buildRunData(payload, {
|
|
877
|
+
id,
|
|
878
|
+
bucket: this.target.location ?? this.target.id,
|
|
879
|
+
provider: await this.activeProviderKind(),
|
|
880
|
+
at: startedAt,
|
|
881
|
+
}),
|
|
882
|
+
jobId: job.id,
|
|
883
|
+
status: 'running',
|
|
884
|
+
startedAt,
|
|
885
|
+
lastHeartbeatAt: startedAt,
|
|
886
|
+
},
|
|
887
|
+
});
|
|
888
|
+
}
|
|
889
|
+
/**
|
|
890
|
+
* Stops a run THIS PROCESS is executing.
|
|
891
|
+
*
|
|
892
|
+
* Cancellation is not a second teardown mechanism: it destroys the metering
|
|
893
|
+
* stream with a {@link DatabaseBackupCancelledError}, which tears the upload
|
|
894
|
+
* down, which fails the `Promise.all`, which reaches the ORDINARY failure
|
|
895
|
+
* path — partial object deleted, row marked `failed`, heartbeat cleared. A
|
|
896
|
+
* bespoke "cancelled" cleanup would be a second chance to leave a
|
|
897
|
+
* half-written object in the bucket.
|
|
898
|
+
*
|
|
899
|
+
* Reports honestly when it holds no handle; see {@link CancelBackupResult}.
|
|
900
|
+
*/
|
|
901
|
+
cancel(runId) {
|
|
902
|
+
const handle = this.active.get(runId);
|
|
903
|
+
if (handle === undefined) {
|
|
904
|
+
return { outcome: 'not_running_here', runId };
|
|
905
|
+
}
|
|
906
|
+
// Set BEFORE calling `abort`, because `abort` is a no-op in the window
|
|
907
|
+
// between the run being registered and the child existing. `executeRun`
|
|
908
|
+
// re-reads this flag right after the spawn so a cancel that landed in that
|
|
909
|
+
// window still kills the process it just started.
|
|
910
|
+
handle.cancelled = true;
|
|
911
|
+
handle.abort(new db_backup_errors_1.DatabaseBackupCancelledError(runId));
|
|
912
|
+
return { outcome: 'signalled', runId };
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* INSERTs the run, letting the partial unique index decide the race.
|
|
916
|
+
*
|
|
917
|
+
* There is deliberately no `findFirst({ where: { status: 'running' } })`
|
|
918
|
+
* anywhere in this path. That is a check-then-act race and it is racy
|
|
919
|
+
* exactly when it matters — a scheduled tick on one replica and an admin's
|
|
920
|
+
* click on another, in the same second. Only the database can make "is one
|
|
921
|
+
* already active" atomic with the insert that would violate it.
|
|
922
|
+
*/
|
|
923
|
+
async claimRun(input) {
|
|
924
|
+
const bucket = this.target.location ?? this.target.id;
|
|
925
|
+
// Once, before the loop — see `queueBackup`: one settings read, and every
|
|
926
|
+
// attempt records the same pair.
|
|
927
|
+
const provider = await this.activeProviderKind();
|
|
928
|
+
for (let attempt = 1; attempt <= CLAIM_MAX_ATTEMPTS; attempt += 1) {
|
|
929
|
+
// The id is generated HERE rather than left to the column default,
|
|
930
|
+
// because the storage key contains it (see `buildBackupStorageKey`) and
|
|
931
|
+
// the key has to be on the row the insert creates — a second UPDATE to
|
|
932
|
+
// fill it in would leave a window in which a crashed process had claimed
|
|
933
|
+
// the active slot with no key to clean up.
|
|
934
|
+
const id = (0, node_crypto_2.randomUUID)();
|
|
935
|
+
const startedAt = new Date();
|
|
936
|
+
const data = {
|
|
937
|
+
...this.buildRunData(input, { id, bucket, provider, at: startedAt }),
|
|
938
|
+
// Claimed directly as `running`, never as `pending`: on THIS path
|
|
939
|
+
// (the `pre_restore` dump) the claim and the start are one act, so a
|
|
940
|
+
// separate `pending` phase would be a state nothing ever observes and
|
|
941
|
+
// a second write to leave behind on a crash. `queueBackup` is the path
|
|
942
|
+
// that legitimately writes `pending`, because there the claim and the
|
|
943
|
+
// start are genuinely different moments — a worker sits between them.
|
|
944
|
+
status: 'running',
|
|
945
|
+
startedAt,
|
|
946
|
+
// Seeded at the claim so the stale sweep has a baseline from the first
|
|
947
|
+
// moment: a run whose heartbeat is NULL is indistinguishable from one
|
|
948
|
+
// that never started.
|
|
949
|
+
lastHeartbeatAt: startedAt,
|
|
950
|
+
};
|
|
951
|
+
try {
|
|
952
|
+
return await this.prisma.databaseBackupRun.create({ data });
|
|
953
|
+
}
|
|
954
|
+
catch (error) {
|
|
955
|
+
// Any conflict that is NOT this index's is somebody else's problem and
|
|
956
|
+
// must stay loud.
|
|
957
|
+
if (!isActiveRunConflict(error)) {
|
|
958
|
+
throw error;
|
|
959
|
+
}
|
|
960
|
+
const activeRunId = await this.findActiveRunId();
|
|
961
|
+
if (activeRunId !== null) {
|
|
962
|
+
throw new db_backup_errors_1.DatabaseBackupAlreadyRunningError(activeRunId);
|
|
963
|
+
}
|
|
964
|
+
// The winner SETTLED between the failed insert and this lookup, so it
|
|
965
|
+
// dropped out of the index's predicate and the slot is free again.
|
|
966
|
+
// Reporting "already running" now would be false. Loop and insert
|
|
967
|
+
// again — with a fresh id and key, because the old ones were never
|
|
968
|
+
// stored.
|
|
969
|
+
this.logger.debug(`The active backup slot was released between a conflicting insert and the ` +
|
|
970
|
+
`lookup (attempt ${attempt}/${CLAIM_MAX_ATTEMPTS}); retrying the claim.`);
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
// Every attempt collided and every lookup came back empty: something is
|
|
974
|
+
// churning runs faster than this loop can insert between them. An honest
|
|
975
|
+
// "not now" with no id beats a spin.
|
|
976
|
+
throw new db_backup_errors_1.DatabaseBackupAlreadyRunningError(null);
|
|
977
|
+
}
|
|
978
|
+
/**
|
|
979
|
+
* The columns every new run row carries, whichever path creates it.
|
|
980
|
+
*
|
|
981
|
+
* ONE BUILDER, THREE CALLERS (`claimRun`, `queueBackup`,
|
|
982
|
+
* `resolveRunForJob`), and the reason is the storage triple: provider, key
|
|
983
|
+
* and bucket are chosen by the SERVER and must be chosen the same way every
|
|
984
|
+
* time, or two paths produce archives that a restore looks for in different
|
|
985
|
+
* places. What it deliberately does NOT set is the lifecycle trio —
|
|
986
|
+
* `status`, `startedAt`, `lastHeartbeatAt` — because that is precisely where
|
|
987
|
+
* the three callers legitimately differ.
|
|
988
|
+
*
|
|
989
|
+
* ⚠ `provider` AND `bucket` BOTH ARRIVE IN `args`, and this method reads
|
|
990
|
+
* neither for itself. Both are live values since #373 (epic #372) — the
|
|
991
|
+
* bucket from `StorageProvider.getBucket()`, the provider from
|
|
992
|
+
* `StorageConfigService.activeProvider()` — and both must be resolved by the
|
|
993
|
+
* caller, which is `async` and can await, rather than here, which is
|
|
994
|
+
* synchronous because it is sometimes called inside a transaction callback.
|
|
995
|
+
* Passing them in also keeps the pair together: a row names one
|
|
996
|
+
* configuration's bucket and that same configuration's provider.
|
|
997
|
+
*
|
|
998
|
+
* ⚠ `Unchecked` INPUT, DELIBERATELY. `createdById` is a real relation
|
|
999
|
+
* (`createdBy`), and Prisma's *Checked* create input stops accepting the raw
|
|
1000
|
+
* scalar the moment a scalar FK is promoted to one — it wants
|
|
1001
|
+
* `createdBy: { connect: { id } }` instead, which cannot express "and also
|
|
1002
|
+
* null". The unchecked variant takes the column as written, which is what a
|
|
1003
|
+
* nullable audit FK wants.
|
|
1004
|
+
*/
|
|
1005
|
+
buildRunData(input, args) {
|
|
1006
|
+
return {
|
|
1007
|
+
id: args.id,
|
|
1008
|
+
trigger: input.trigger,
|
|
1009
|
+
storageProvider: args.provider,
|
|
1010
|
+
storageKey: (0, db_backup_storage_1.buildBackupStorageKey)(args.at, args.id),
|
|
1011
|
+
bucket: args.bucket,
|
|
1012
|
+
format: db_backup_storage_1.BACKUP_ARCHIVE_FORMAT,
|
|
1013
|
+
createdById: input.createdById ?? null,
|
|
1014
|
+
};
|
|
1015
|
+
}
|
|
1016
|
+
/** The id of whichever run currently occupies the active slot, or `null`. */
|
|
1017
|
+
async findActiveRunId() {
|
|
1018
|
+
const row = await this.prisma.databaseBackupRun.findFirst({
|
|
1019
|
+
where: { status: { in: [...exports.ACTIVE_RUN_STATUSES] } },
|
|
1020
|
+
orderBy: { createdAt: 'desc' },
|
|
1021
|
+
select: { id: true },
|
|
1022
|
+
});
|
|
1023
|
+
return row?.id ?? null;
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* The dump itself. NEVER REJECTS for a failure it anticipates — it records
|
|
1027
|
+
* the failure on the run and REPORTS it as a {@link BackupRunOutcome},
|
|
1028
|
+
* because one of its two callers has nobody left to tell and the other must
|
|
1029
|
+
* fail a job.
|
|
1030
|
+
*
|
|
1031
|
+
* ⚠ THE RETURN VALUE IS NOT A SECOND RECORD OF THE FAILURE. The run row is
|
|
1032
|
+
* written first and is the durable fact; this is how the caller learns of
|
|
1033
|
+
* it. `startBackup` discards it (detached, nobody to tell);
|
|
1034
|
+
* `runQueuedBackup` rethrows `error` so the worker settles the job.
|
|
1035
|
+
*/
|
|
1036
|
+
async executeRun(run, policy) {
|
|
1037
|
+
const { id: runId, storageKey } = run;
|
|
1038
|
+
const handle = { cancelled: false, abort: () => undefined };
|
|
1039
|
+
this.active.set(runId, handle);
|
|
1040
|
+
// A holder rather than a plain `let`, so the heartbeat closure and the
|
|
1041
|
+
// metering transform see the same counter without either capturing a stale
|
|
1042
|
+
// copy.
|
|
1043
|
+
const progress = { bytes: 0n };
|
|
1044
|
+
// Best-effort provenance, gathered once and written onto whichever terminal
|
|
1045
|
+
// update happens — so a FAILED run carries it too. Which server, which
|
|
1046
|
+
// build and (most importantly) which schema produced this archive is
|
|
1047
|
+
// exactly what someone reading a failure at 3am needs.
|
|
1048
|
+
const audit = {
|
|
1049
|
+
dbVersion: null,
|
|
1050
|
+
appVersion: this.appVersion(),
|
|
1051
|
+
migrationName: null,
|
|
1052
|
+
pgDumpVersion: null,
|
|
1053
|
+
};
|
|
1054
|
+
let heartbeat;
|
|
1055
|
+
try {
|
|
1056
|
+
const version = await this.engine.checkClientVersion();
|
|
1057
|
+
if (version.status === 'blocked') {
|
|
1058
|
+
throw new db_backup_errors_1.DatabaseBackupClientVersionError(version.message, version.clientMajor, version.serverMajor);
|
|
1059
|
+
}
|
|
1060
|
+
// `unknown` is WARN AND PROCEED by design — an unreadable version string
|
|
1061
|
+
// must never be the reason a backup did not happen. See
|
|
1062
|
+
// `pg-version.util.ts`'s header.
|
|
1063
|
+
if (version.status === 'unknown')
|
|
1064
|
+
this.logger.warn(version.message);
|
|
1065
|
+
if (version.warning !== undefined)
|
|
1066
|
+
this.logger.warn(version.warning);
|
|
1067
|
+
// WHICH CLIENT WROTE THIS ARCHIVE (#352). On this path it is the API
|
|
1068
|
+
// image's own `pg_dump`, which is not news — but the node path records
|
|
1069
|
+
// the same column from a binary nobody here can inspect, and a column
|
|
1070
|
+
// that is populated on one path and empty on the other is a column
|
|
1071
|
+
// nobody trusts. `version.client` is the raw `--version` banner, or
|
|
1072
|
+
// `null` when it could not be read, which never fails a backup.
|
|
1073
|
+
audit.pgDumpVersion = version.client ?? null;
|
|
1074
|
+
audit.dbVersion = await this.readServerVersion();
|
|
1075
|
+
audit.migrationName = await this.readLatestMigrationName();
|
|
1076
|
+
const dump = this.engine.startDump({
|
|
1077
|
+
compressionLevel: policy.compressionLevel,
|
|
1078
|
+
// The operator's own stale window IS the dump's budget. Letting the
|
|
1079
|
+
// dump outlive the window that declares it stale would produce a run
|
|
1080
|
+
// marked `stale` by #282's sweep while `pg_dump` was still writing to
|
|
1081
|
+
// the very key the sweep is about to consider abandoned.
|
|
1082
|
+
timeoutMs: policy.runStaleMinutes * 60_000,
|
|
1083
|
+
});
|
|
1084
|
+
const hash = (0, node_crypto_1.createHash)('sha256');
|
|
1085
|
+
const meter = new node_stream_1.Transform({
|
|
1086
|
+
transform(chunk, _encoding, callback) {
|
|
1087
|
+
hash.update(chunk);
|
|
1088
|
+
progress.bytes += BigInt(chunk.length);
|
|
1089
|
+
// The chunk is forwarded UNCHANGED and NOT retained: this transform
|
|
1090
|
+
// is a tap, not a buffer. That is the whole streaming contract.
|
|
1091
|
+
callback(null, chunk);
|
|
1092
|
+
},
|
|
1093
|
+
});
|
|
1094
|
+
// ⚠ NO-OP `error` LISTENERS, AND THEY ARE NOT DECORATION. A Node stream
|
|
1095
|
+
// that emits `error` with nothing listening throws the error as an
|
|
1096
|
+
// UNCAUGHT EXCEPTION and takes the process down. Both of these streams
|
|
1097
|
+
// are destroyed on purpose in this file's failure paths — the meter by a
|
|
1098
|
+
// dead dump or by `cancel`, stdout when the child is SIGKILLed — and at
|
|
1099
|
+
// that moment the upload may already have stopped reading, so there is
|
|
1100
|
+
// genuinely no other listener. The error itself is not lost: it is
|
|
1101
|
+
// already travelling to the `catch` below through `Promise.all`, which is
|
|
1102
|
+
// where the run's `lastError` comes from.
|
|
1103
|
+
meter.on('error', () => undefined);
|
|
1104
|
+
dump.stdout.on('error', () => undefined);
|
|
1105
|
+
handle.abort = (error) => {
|
|
1106
|
+
dump.kill('SIGKILL');
|
|
1107
|
+
meter.destroy(error);
|
|
1108
|
+
};
|
|
1109
|
+
// A cancel that arrived while the version check was still running found a
|
|
1110
|
+
// no-op `abort`. Re-read the flag now that there is something to kill.
|
|
1111
|
+
if (handle.cancelled) {
|
|
1112
|
+
handle.abort(new db_backup_errors_1.DatabaseBackupCancelledError(runId));
|
|
1113
|
+
}
|
|
1114
|
+
heartbeat = this.timers.setInterval(() => {
|
|
1115
|
+
void this.writeHeartbeat(runId, progress.bytes);
|
|
1116
|
+
}, exports.BACKUP_HEARTBEAT_INTERVAL_MS);
|
|
1117
|
+
// A DEAD DUMP MUST TEAR THE UPLOAD DOWN. Without this the provider sits
|
|
1118
|
+
// waiting on a stream that will never end or error, and the run hangs
|
|
1119
|
+
// until something else kills the process. `.catch()` returns a NEW
|
|
1120
|
+
// promise, so `dump.done` still rejects into the `Promise.all` below.
|
|
1121
|
+
dump.done.catch((error) => {
|
|
1122
|
+
meter.destroy(toError(error));
|
|
1123
|
+
});
|
|
1124
|
+
// The archive goes into the TARGET's streaming sink: `openWrite` returns a
|
|
1125
|
+
// writable the meter is piped into, and `done` settles once the target
|
|
1126
|
+
// holds every byte. Nothing here collects the bytes (property 2).
|
|
1127
|
+
const sink = this.target.openWrite(storageKey, {
|
|
1128
|
+
contentType: db_backup_storage_1.BACKUP_CONTENT_TYPE,
|
|
1129
|
+
// Deliberately no size: a streamed dump's size is unknown until the
|
|
1130
|
+
// last byte, which is exactly why it is streamed.
|
|
1131
|
+
// Provenance ON THE OBJECT as well as on the row: an operator staring
|
|
1132
|
+
// at a bucket with `aws s3api head-object` can find the run this file
|
|
1133
|
+
// came from without a database, which is the situation a restore is
|
|
1134
|
+
// most likely to be happening in.
|
|
1135
|
+
metadata: { runId, trigger: run.trigger },
|
|
1136
|
+
});
|
|
1137
|
+
const upload = sink.done;
|
|
1138
|
+
// `pipeline` rather than `pipe`: a failure on EITHER side destroys the
|
|
1139
|
+
// other, so a dead sink stops the meter and a destroyed meter (a dead
|
|
1140
|
+
// dump, a cancel) fails the sink. The error itself is not lost here; it
|
|
1141
|
+
// travels to the `catch` below through `Promise.all`.
|
|
1142
|
+
const piped = (0, promises_1.pipeline)(meter, sink.stream).catch(() => undefined);
|
|
1143
|
+
void piped;
|
|
1144
|
+
// ...AND A DEAD UPLOAD MUST TEAR THE DUMP DOWN, or `pg_dump` keeps
|
|
1145
|
+
// reading a whole database to produce an archive nobody is storing.
|
|
1146
|
+
// Same `.catch()` trick: `upload` itself still rejects below.
|
|
1147
|
+
upload.catch(() => {
|
|
1148
|
+
dump.kill('SIGKILL');
|
|
1149
|
+
});
|
|
1150
|
+
dump.stdout.pipe(meter);
|
|
1151
|
+
// BOTH HALVES. See property 3 in this file's header for why neither one
|
|
1152
|
+
// alone is evidence of success.
|
|
1153
|
+
await Promise.all([upload, dump.done]);
|
|
1154
|
+
// VERIFY WHAT ARRIVED, not what we sent.
|
|
1155
|
+
const stored = await this.target.openRead(storageKey);
|
|
1156
|
+
const tocEntries = await this.engine.readTocEntryCount(stored);
|
|
1157
|
+
if (tocEntries <= 0) {
|
|
1158
|
+
throw new db_backup_errors_1.DatabaseBackupVerificationError(storageKey, tocEntries);
|
|
1159
|
+
}
|
|
1160
|
+
// The archive is stored and proven: stop the progress heartbeat now, so it
|
|
1161
|
+
// cannot write to a row `completeRun` is about to settle (and so it does
|
|
1162
|
+
// not keep ticking through the mirror copies that follow).
|
|
1163
|
+
if (heartbeat !== undefined) {
|
|
1164
|
+
this.timers.clearInterval(heartbeat);
|
|
1165
|
+
heartbeat = undefined;
|
|
1166
|
+
}
|
|
1167
|
+
// ⚠ THE COMPLETING WRITE IS A SHARED METHOD, AND THAT IS THE #352 RULE.
|
|
1168
|
+
// `completeNodeRun` — the path where a WORKER NODE ran the dump — calls
|
|
1169
|
+
// the very same `completeRun` with the numbers the node reported, so a
|
|
1170
|
+
// run's stored state cannot depend on which executor produced it. Inline
|
|
1171
|
+
// this update again and the two paths start drifting on the day somebody
|
|
1172
|
+
// fixes a bug in one of them. See `example-checksum.handler.ts` for the
|
|
1173
|
+
// same shape one level up.
|
|
1174
|
+
await this.completeRun({
|
|
1175
|
+
runId,
|
|
1176
|
+
storageKey,
|
|
1177
|
+
// `bytesWritten` and `sizeBytes` converge here and only here: one was
|
|
1178
|
+
// live progress, the other is the final answer.
|
|
1179
|
+
bytes: progress.bytes,
|
|
1180
|
+
checksumSha256: hash.digest('hex'),
|
|
1181
|
+
tocEntries,
|
|
1182
|
+
executor: 'server',
|
|
1183
|
+
audit,
|
|
1184
|
+
at: new Date(),
|
|
1185
|
+
});
|
|
1186
|
+
return { status: 'completed' };
|
|
1187
|
+
}
|
|
1188
|
+
catch (error) {
|
|
1189
|
+
// ORDER MATTERS. Delete first — see property 5 in the header.
|
|
1190
|
+
const failure = toError(error);
|
|
1191
|
+
await this.deletePartialObject(storageKey);
|
|
1192
|
+
await this.markFailed(runId, failure, progress.bytes, audit);
|
|
1193
|
+
// ⚠ RETURNED, NOT RETHROWN, and the `finally` below still runs either
|
|
1194
|
+
// way. Rethrowing here would make the detached `pre_restore` path
|
|
1195
|
+
// reject, which is the unhandled-rejection hazard property 1 spends a
|
|
1196
|
+
// paragraph on; `runQueuedBackup` is where this becomes a throw, and it
|
|
1197
|
+
// is a throw with a caller.
|
|
1198
|
+
return { status: 'failed', error: failure };
|
|
1199
|
+
}
|
|
1200
|
+
finally {
|
|
1201
|
+
// ALWAYS. A heartbeat that outlives its run would keep writing
|
|
1202
|
+
// `lastHeartbeatAt` to a settled row forever, which is precisely the
|
|
1203
|
+
// signal #282's stale sweep uses to decide a run is still alive.
|
|
1204
|
+
if (heartbeat !== undefined)
|
|
1205
|
+
this.timers.clearInterval(heartbeat);
|
|
1206
|
+
this.active.delete(runId);
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
// ===========================================================================
|
|
1210
|
+
// The completing write — ONE METHOD, TWO EXECUTORS (#352, epic #345)
|
|
1211
|
+
// ===========================================================================
|
|
1212
|
+
/**
|
|
1213
|
+
* Marks a run `completed`: the terminal write, plus the enqueue of the
|
|
1214
|
+
* retention prune that may only ever follow it.
|
|
1215
|
+
*
|
|
1216
|
+
* ⚠ BOTH EXECUTION PATHS COME THROUGH HERE, AND THAT IS THE POINT.
|
|
1217
|
+
* `executeRun` calls it with what THIS process streamed and hashed;
|
|
1218
|
+
* {@link completeNodeRun} calls it with what a worker node reported and this
|
|
1219
|
+
* server then verified. A run's stored state therefore cannot depend on
|
|
1220
|
+
* which executor produced it — the same "one write, two paths" rule
|
|
1221
|
+
* `example-checksum.handler.ts` states for a node-eligible handler, applied
|
|
1222
|
+
* to the row that a restore later reads.
|
|
1223
|
+
*
|
|
1224
|
+
* ⚠ IT ASSUMES VERIFICATION HAS ALREADY HAPPENED, and takes `tocEntries` as
|
|
1225
|
+
* the evidence rather than the trust: both callers download the STORED
|
|
1226
|
+
* object and count its table of contents before calling, and `verifiedAt` is
|
|
1227
|
+
* written here precisely because it is unreachable without having done so.
|
|
1228
|
+
* Do not add a `skipVerification` parameter; the day this method can be
|
|
1229
|
+
* called without a server-side read-back is the day `verified_at` stops
|
|
1230
|
+
* meaning anything.
|
|
1231
|
+
*
|
|
1232
|
+
* The prune's ENQUEUE lives here rather than at the two call sites for the
|
|
1233
|
+
* reason the long comment below gives four times over: every one of its
|
|
1234
|
+
* ordering constraints is a property of "a run just completed", not of who
|
|
1235
|
+
* ran it.
|
|
1236
|
+
*/
|
|
1237
|
+
async completeRun(input) {
|
|
1238
|
+
const { runId, storageKey, bytes, executor, at } = input;
|
|
1239
|
+
const completed = await this.prisma.databaseBackupRun.update({
|
|
1240
|
+
where: { id: runId },
|
|
1241
|
+
data: {
|
|
1242
|
+
status: 'completed',
|
|
1243
|
+
finishedAt: at,
|
|
1244
|
+
lastHeartbeatAt: at,
|
|
1245
|
+
bytesWritten: bytes,
|
|
1246
|
+
sizeBytes: bytes,
|
|
1247
|
+
checksumSha256: input.checksumSha256,
|
|
1248
|
+
// ⚠ THE SERVER'S OWN READ-BACK IS WHAT SETS THIS, on both paths. A node
|
|
1249
|
+
// reporting `verified: true` would be the machine with the least reason
|
|
1250
|
+
// to be trusted attesting to the one fact this subsystem rests on; see
|
|
1251
|
+
// docs/specs/database-backup.md, "Read-back verification", and the
|
|
1252
|
+
// result contract's header.
|
|
1253
|
+
verifiedAt: at,
|
|
1254
|
+
lastError: null,
|
|
1255
|
+
...input.audit,
|
|
1256
|
+
},
|
|
1257
|
+
});
|
|
1258
|
+
// #600. After the `completed` write, from the row it returned (a mocked
|
|
1259
|
+
// client may return nothing — the metrics service tolerates a null).
|
|
1260
|
+
this.metrics.backupSettled('completed', runDurationMs(completed?.startedAt, at), bytes);
|
|
1261
|
+
this.logger.log(`Database backup run ${runId} completed on the ${executor}: ${bytes} bytes at ` +
|
|
1262
|
+
`"${storageKey}" (${input.tocEntries} archive entries verified).`);
|
|
1263
|
+
// `db_backup.run.completed`: AFTER the `completed` write committed and
|
|
1264
|
+
// outside any transaction, so it reports a fact that is already durable. It
|
|
1265
|
+
// never throws (`DbBackupEvents`).
|
|
1266
|
+
this.events?.runCompleted({
|
|
1267
|
+
runId,
|
|
1268
|
+
status: 'completed',
|
|
1269
|
+
targetId: completed?.storageProvider ?? this.target.id,
|
|
1270
|
+
sizeBytes: (0, db_backup_events_1.eventBytes)(bytes),
|
|
1271
|
+
durationMs: Math.max(0, runDurationMs(completed?.startedAt, at) ?? 0),
|
|
1272
|
+
});
|
|
1273
|
+
// -------------------------------------------------------------------------
|
|
1274
|
+
// QUEUE THE PRUNE HERE, AND NOWHERE ELSE (#353, epic #345).
|
|
1275
|
+
// -------------------------------------------------------------------------
|
|
1276
|
+
//
|
|
1277
|
+
// This used to `await this.retention.prune()`. It now enqueues
|
|
1278
|
+
// `db.backup.sweep`, whose handler does the pruning on a worker slot — the
|
|
1279
|
+
// last piece of long-running work in this subsystem that was still running
|
|
1280
|
+
// detached from the queue. ALL THREE ORDERING CONSTRAINTS THAT GOVERNED THE
|
|
1281
|
+
// INLINE CALL STILL GOVERN THE ENQUEUE, and they are why this statement is
|
|
1282
|
+
// exactly here:
|
|
1283
|
+
//
|
|
1284
|
+
// AFTER VERIFICATION, because retention deletes older archives and this one
|
|
1285
|
+
// is only a replacement for them once it has been proven to be a readable
|
|
1286
|
+
// archive. Enqueueing before the `pg_restore --list` check would let a run
|
|
1287
|
+
// that is about to fail verification delete the last known-good backup on
|
|
1288
|
+
// its way out — the single worst thing this subsystem could do.
|
|
1289
|
+
//
|
|
1290
|
+
// AFTER THE `completed` UPDATE, not before it, and the reason is an
|
|
1291
|
+
// off-by-one that is easy to ship: the count rule keeps the newest N
|
|
1292
|
+
// `completed` runs, so a prune that ran while this row still said `running`
|
|
1293
|
+
// would not count it, and would evict one MORE old backup than retention
|
|
1294
|
+
// asked for — a deployment set to keep 7 would drift to 6. A job cannot be
|
|
1295
|
+
// claimed before the write it was enqueued after has committed, so the
|
|
1296
|
+
// constraint holds across the move.
|
|
1297
|
+
//
|
|
1298
|
+
// ONLY ON SUCCESS. There is no enqueue on any failure path. A failed backup
|
|
1299
|
+
// is exactly when the old archives matter most; deleting one because the
|
|
1300
|
+
// night's dump died would be the failure mode of a backup system that makes
|
|
1301
|
+
// things worse under stress.
|
|
1302
|
+
//
|
|
1303
|
+
// ⚠ THE FOURTH CONSTRAINT IS NOW STRUCTURAL RATHER THAN DEFENDED BY A
|
|
1304
|
+
// `try`. The inline call was wrapped because this method runs INSIDE
|
|
1305
|
+
// `executeRun`'s `try`, whose `catch` deletes the object and marks the run
|
|
1306
|
+
// `failed`: a `throw` escaping retention would have DELETED THE ARCHIVE THIS
|
|
1307
|
+
// RUN HAD JUST PROVEN GOOD. The prune now happens in a different job, on a
|
|
1308
|
+
// different worker slot, after this job has settled — there is no longer any
|
|
1309
|
+
// code path by which retention can reach the backup's failure handler. The
|
|
1310
|
+
// `try` stays anyway, because the ENQUEUE is still a database write inside
|
|
1311
|
+
// that same `try`, and storage housekeeping must not be able to fail a
|
|
1312
|
+
// verified backup for any reason at all.
|
|
1313
|
+
try {
|
|
1314
|
+
await (0, index_1.enqueueHousekeepingJob)({
|
|
1315
|
+
jobs: this.jobs,
|
|
1316
|
+
prisma: this.prisma,
|
|
1317
|
+
logger: this.logger,
|
|
1318
|
+
type: db_backup_sweep_handler_1.DB_BACKUP_SWEEP_TYPE,
|
|
1319
|
+
what: 'database backup sweep',
|
|
1320
|
+
});
|
|
1321
|
+
}
|
|
1322
|
+
catch (error) {
|
|
1323
|
+
this.logger.warn(`Could not queue retention after database backup run ${runId} completed (the ` +
|
|
1324
|
+
`backup itself is fine; storage will be reclaimed by the scheduler's next ` +
|
|
1325
|
+
`tick): ${toError(error).message}`);
|
|
1326
|
+
}
|
|
1327
|
+
// -------------------------------------------------------------------------
|
|
1328
|
+
// MIRRORS, LAST, AND ONLY NOW (PP-14.12).
|
|
1329
|
+
// -------------------------------------------------------------------------
|
|
1330
|
+
//
|
|
1331
|
+
// The primary's archive is written, read back and recorded `completed`: it
|
|
1332
|
+
// is restorable. Copying it elsewhere is a second line of defence, so it
|
|
1333
|
+
// runs AFTER that fact is durable and inside this same job (the lease keeps
|
|
1334
|
+
// renewing while the copy streams), and nothing it does can change the
|
|
1335
|
+
// run's outcome. See `mirrorArchive`.
|
|
1336
|
+
await this.mirrorArchive(runId, storageKey, completed?.trigger ?? 'manual');
|
|
1337
|
+
}
|
|
1338
|
+
/**
|
|
1339
|
+
* Copies a verified archive to every mirror target, one at a time, and
|
|
1340
|
+
* records each result. NEVER THROWS, and never changes the run.
|
|
1341
|
+
*
|
|
1342
|
+
* Each copy STREAMS the primary's bytes (`openRead`) into the mirror's sink
|
|
1343
|
+
* (`openWrite`): the dump is not run twice and the archive is not buffered.
|
|
1344
|
+
* The copy is then read back from the mirror and its SHA-256 compared with
|
|
1345
|
+
* the one computed over what the primary served, so a mirror holds a proven
|
|
1346
|
+
* copy or a recorded failure, never a silent half-file (a failed copy is
|
|
1347
|
+
* deleted from the mirror). The result of each is an `audit_events` row
|
|
1348
|
+
* (`db_backup.mirror.completed` / `.failed`) that the `backup.mirrors` Doctor
|
|
1349
|
+
* check reads, plus a log line.
|
|
1350
|
+
*/
|
|
1351
|
+
async mirrorArchive(runId, storageKey, trigger) {
|
|
1352
|
+
for (const mirror of this.mirrors) {
|
|
1353
|
+
try {
|
|
1354
|
+
const result = await this.copyToMirror(mirror, runId, storageKey, trigger);
|
|
1355
|
+
await this.recordMirrorResult(runId, storageKey, mirror, result);
|
|
1356
|
+
}
|
|
1357
|
+
catch (error) {
|
|
1358
|
+
// `copyToMirror` and `recordMirrorResult` contain their own failures;
|
|
1359
|
+
// this is the net for anything unforeseen, so the next mirror still runs.
|
|
1360
|
+
this.logger.error(`Mirroring database backup run ${runId} to "${mirror.id}" hit an unexpected error ` +
|
|
1361
|
+
`(the run is unaffected): ${toError(error).message}`);
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
/** One mirror copy: stream, read back, compare. Resolves the outcome; never throws. */
|
|
1366
|
+
async copyToMirror(mirror, runId, storageKey, trigger) {
|
|
1367
|
+
const sourceHash = (0, node_crypto_1.createHash)('sha256');
|
|
1368
|
+
let bytes = 0n;
|
|
1369
|
+
try {
|
|
1370
|
+
const source = await this.target.openRead(storageKey);
|
|
1371
|
+
const tap = new node_stream_1.Transform({
|
|
1372
|
+
transform(chunk, _encoding, callback) {
|
|
1373
|
+
sourceHash.update(chunk);
|
|
1374
|
+
bytes += BigInt(chunk.length);
|
|
1375
|
+
callback(null, chunk);
|
|
1376
|
+
},
|
|
1377
|
+
});
|
|
1378
|
+
const sink = mirror.openWrite(storageKey, {
|
|
1379
|
+
contentType: db_backup_storage_1.BACKUP_CONTENT_TYPE,
|
|
1380
|
+
metadata: { runId, trigger },
|
|
1381
|
+
});
|
|
1382
|
+
const stored = sink.done.then(() => undefined);
|
|
1383
|
+
// Both halves, as for the primary: the stream finished AND the target says
|
|
1384
|
+
// every byte is stored. A rejection on either rejects the whole.
|
|
1385
|
+
await Promise.all([(0, promises_1.pipeline)(source, tap, sink.stream), stored]);
|
|
1386
|
+
// Read it BACK from the mirror and hash what it holds.
|
|
1387
|
+
const copyHash = (0, node_crypto_1.createHash)('sha256');
|
|
1388
|
+
let copyBytes = 0n;
|
|
1389
|
+
for await (const chunk of await mirror.openRead(storageKey)) {
|
|
1390
|
+
const buffer = Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk);
|
|
1391
|
+
copyHash.update(buffer);
|
|
1392
|
+
copyBytes += BigInt(buffer.length);
|
|
1393
|
+
}
|
|
1394
|
+
if (copyBytes !== bytes || copyHash.digest('hex') !== sourceHash.digest('hex')) {
|
|
1395
|
+
throw new Error(`the copy read back from the mirror differs from the primary archive (${copyBytes} bytes, expected ${bytes})`);
|
|
1396
|
+
}
|
|
1397
|
+
return { targetId: mirror.id, status: 'ok', sizeBytes: (0, db_backup_events_1.eventBytes)(bytes) };
|
|
1398
|
+
}
|
|
1399
|
+
catch (error) {
|
|
1400
|
+
// A failed copy must not leave a plausible-looking partial archive behind.
|
|
1401
|
+
try {
|
|
1402
|
+
await mirror.delete(storageKey);
|
|
1403
|
+
}
|
|
1404
|
+
catch {
|
|
1405
|
+
// Best effort; the failure below is what the operator needs.
|
|
1406
|
+
}
|
|
1407
|
+
return { targetId: mirror.id, status: 'failed', sizeBytes: 0, error: toError(error).message };
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
/** Records one mirror result: a log line and an audit row (best effort). */
|
|
1411
|
+
async recordMirrorResult(runId, storageKey, mirror, result) {
|
|
1412
|
+
if (result.status === 'ok') {
|
|
1413
|
+
this.logger.log(`Database backup run ${runId} was mirrored to "${mirror.id}" (${result.sizeBytes} bytes at "${storageKey}").`);
|
|
1414
|
+
}
|
|
1415
|
+
else {
|
|
1416
|
+
this.logger.warn(`Database backup run ${runId} could NOT be mirrored to "${mirror.id}" (the run itself is fine; ` +
|
|
1417
|
+
`the backup.mirrors Doctor check reports it): ${result.error ?? 'unknown error'}`);
|
|
1418
|
+
}
|
|
1419
|
+
try {
|
|
1420
|
+
await this.prisma.auditEvent.create({
|
|
1421
|
+
data: {
|
|
1422
|
+
actorUserId: null,
|
|
1423
|
+
action: result.status === 'ok' ? db_backup_constants_1.MIRROR_AUDIT_COMPLETED : db_backup_constants_1.MIRROR_AUDIT_FAILED,
|
|
1424
|
+
targetType: db_backup_constants_1.MIRROR_AUDIT_TARGET_TYPE,
|
|
1425
|
+
targetId: runId,
|
|
1426
|
+
meta: { ...result, storageKey },
|
|
1427
|
+
},
|
|
1428
|
+
});
|
|
1429
|
+
}
|
|
1430
|
+
catch (error) {
|
|
1431
|
+
this.logger.warn(`Could not record the mirror result of run ${runId} for "${mirror.id}": ${toError(error).message}`);
|
|
1432
|
+
}
|
|
1433
|
+
}
|
|
1434
|
+
// ===========================================================================
|
|
1435
|
+
// The node path (#352, epic #345)
|
|
1436
|
+
// ===========================================================================
|
|
1437
|
+
/**
|
|
1438
|
+
* Where a worker node must write this job's archive — the run's OWN key,
|
|
1439
|
+
* re-read by `jobId`.
|
|
1440
|
+
*
|
|
1441
|
+
* This is what `DatabaseBackupRunHandler.deriveOutputKey` delegates to, and
|
|
1442
|
+
* it exists because the data plane's default (`node-outputs/<jobId>/<uuid>`)
|
|
1443
|
+
* is exactly wrong for this artifact: `database_backup_runs.storage_key` is
|
|
1444
|
+
* what the retention sweep, the download endpoint and the whole restore path
|
|
1445
|
+
* look the archive up by, so a backup written anywhere else is a backup none
|
|
1446
|
+
* of them can find.
|
|
1447
|
+
*
|
|
1448
|
+
* ⚠ IDEMPOTENT BY CONSTRUCTION, NOT BY CONVENTION. A node asks for its
|
|
1449
|
+
* upload URL more than once as a matter of course (a timed-out transfer, a
|
|
1450
|
+
* lost response, a process restarted while holding the lease), and every one
|
|
1451
|
+
* of those calls must yield the SAME key or a retry silently writes a second
|
|
1452
|
+
* archive that no row points at. The key is read back from the run row, and
|
|
1453
|
+
* `DatabaseBackupRun.jobId` is `@unique`, so "there is at most one to find"
|
|
1454
|
+
* is enforced by the database rather than remembered by this method.
|
|
1455
|
+
*
|
|
1456
|
+
* ⚠ IT ALSO FLIPS `pending` → `running`, AND THAT IS DELIBERATE. This
|
|
1457
|
+
* request is the ONLY moment the server learns that a remote executor has
|
|
1458
|
+
* actually begun dumping: on the node path nothing else writes to the row
|
|
1459
|
+
* between the claim and the result. Leaving it `pending` would mean the
|
|
1460
|
+
* admin list reports "queued" for a dump that has been streaming for twenty
|
|
1461
|
+
* minutes, and `startedAt` — which the failure notification and every
|
|
1462
|
+
* duration render — would stay NULL. The flip is idempotent: a second call
|
|
1463
|
+
* finds `running` and only reads.
|
|
1464
|
+
*
|
|
1465
|
+
* @throws when there is no run row for this job, or when the run has already
|
|
1466
|
+
* settled. Both fail the upload-URL request (a 500 the node reports as a job
|
|
1467
|
+
* failure), which is the correct answer: there is nowhere legitimate for
|
|
1468
|
+
* those bytes to go, and signing a URL anyway would put an unreferenced
|
|
1469
|
+
* archive in the bucket.
|
|
1470
|
+
*/
|
|
1471
|
+
async resolveNodeOutputKey(job) {
|
|
1472
|
+
const run = await this.prisma.databaseBackupRun.findUnique({
|
|
1473
|
+
where: { jobId: job.id },
|
|
1474
|
+
});
|
|
1475
|
+
if (run === null) {
|
|
1476
|
+
throw new Error(`Job ${job.id} (${exports.BACKUP_JOB_TYPE}) has no backup run row, so there is no key for a ` +
|
|
1477
|
+
'node to write to. Refusing to sign an upload.');
|
|
1478
|
+
}
|
|
1479
|
+
if (run.status !== 'pending' && run.status !== 'running') {
|
|
1480
|
+
throw new Error(`Backup run ${run.id} is already "${run.status}", so job ${job.id} may not be handed ` +
|
|
1481
|
+
'an upload URL: the run no longer holds the active slot and its archive is settled.');
|
|
1482
|
+
}
|
|
1483
|
+
if (run.status === 'pending') {
|
|
1484
|
+
const startedAt = new Date();
|
|
1485
|
+
await this.prisma.databaseBackupRun.update({
|
|
1486
|
+
where: { id: run.id },
|
|
1487
|
+
data: {
|
|
1488
|
+
status: 'running',
|
|
1489
|
+
startedAt,
|
|
1490
|
+
// Seeded so #282's stale sweep has a baseline from the first moment.
|
|
1491
|
+
// On this path it is never advanced again — a node has no database
|
|
1492
|
+
// access and cannot heartbeat — which is exactly why that sweep
|
|
1493
|
+
// consults the JOB's lease before giving up on a run; see
|
|
1494
|
+
// `DatabaseBackupScheduleTask.releaseStaleRuns`.
|
|
1495
|
+
lastHeartbeatAt: startedAt,
|
|
1496
|
+
},
|
|
1497
|
+
});
|
|
1498
|
+
this.logger.log(`Backup run ${run.id} is being taken by a worker node for job ${job.id}; it asked ` +
|
|
1499
|
+
`for its upload target, so the dump has started.`);
|
|
1500
|
+
}
|
|
1501
|
+
return run.storageKey;
|
|
1502
|
+
}
|
|
1503
|
+
/**
|
|
1504
|
+
* Writes down a backup a WORKER NODE took — after this server has read the
|
|
1505
|
+
* uploaded archive back and proven it is one.
|
|
1506
|
+
*
|
|
1507
|
+
* This is the whole of `DatabaseBackupRunHandler.persistNodeResult`, and the
|
|
1508
|
+
* order of its four steps is the design:
|
|
1509
|
+
*
|
|
1510
|
+
* 1. FIND THE RUN by `jobId` (one lookup on a UNIQUE column, which cannot
|
|
1511
|
+
* return two rows).
|
|
1512
|
+
* 2. REFUSE A KEY WE DID NOT HAND OUT. A node may only report the key
|
|
1513
|
+
* `resolveNodeOutputKey` gave it. Anything else is either a confused
|
|
1514
|
+
* executor or an attempt to point this deployment's restore path at
|
|
1515
|
+
* bytes of somebody else's choosing, and neither is something to
|
|
1516
|
+
* "correct" by trusting the node's spelling.
|
|
1517
|
+
* 3. VERIFY SERVER-SIDE, ALWAYS. `download(key)` → `readTocEntryCount` →
|
|
1518
|
+
* `> 0`. The node's `sha256` is recorded as THE NODE'S CLAIM about what
|
|
1519
|
+
* it streamed; `verifiedAt` is set only because THIS process read the
|
|
1520
|
+
* object back out of the bucket. docs/specs/database-backup.md,
|
|
1521
|
+
* "Read-back verification", already settled that verification means
|
|
1522
|
+
* "what the bucket holds", and the cost — one download per backup — is
|
|
1523
|
+
* the cost this path already pays on the server.
|
|
1524
|
+
* 4. WRITE THROUGH `completeRun`, the same method `executeRun` uses.
|
|
1525
|
+
*
|
|
1526
|
+
* ⚠ THIS IS NOT A SECOND DUMP ENGINE AND MUST NOT BECOME ONE. It does not
|
|
1527
|
+
* re-hash the archive, does not recompute the size, and does not "fix" a
|
|
1528
|
+
* digest it dislikes — `job-handler.interface.ts` states why (the moment the
|
|
1529
|
+
* server redoes the work, the node's answer is decorative and the reason for
|
|
1530
|
+
* the node plane is gone). The read-back is not a recomputation of the
|
|
1531
|
+
* node's result: it is the one check whose whole point is that it must not
|
|
1532
|
+
* be delegated.
|
|
1533
|
+
*
|
|
1534
|
+
* FAILURE GOES THROUGH THE ORDINARY FAILURE PATH — delete the partial
|
|
1535
|
+
* object, then mark the run `failed` — for the reason property 5 of this
|
|
1536
|
+
* file's header gives: a `failed` run must never leave an object behind, or
|
|
1537
|
+
* the bucket accumulates archives that nothing points at and retention has
|
|
1538
|
+
* no row to prune them by. The throw then reaches `NodesService.submitResult`,
|
|
1539
|
+
* which settles the JOB as failed. Both rows end up telling the truth.
|
|
1540
|
+
*/
|
|
1541
|
+
async completeNodeRun(job, result) {
|
|
1542
|
+
const run = await this.prisma.databaseBackupRun.findUnique({
|
|
1543
|
+
where: { jobId: job.id },
|
|
1544
|
+
});
|
|
1545
|
+
if (run === null) {
|
|
1546
|
+
throw new Error(`Job ${job.id} (${exports.BACKUP_JOB_TYPE}) has no backup run row, so there is nothing to ` +
|
|
1547
|
+
'record a node-taken backup against.');
|
|
1548
|
+
}
|
|
1549
|
+
// IDEMPOTENT RESUBMISSION. A node whose result reached us but whose
|
|
1550
|
+
// response was lost will send the identical result again; the work is done
|
|
1551
|
+
// and the row says so. Refusing here would fail a job whose archive is
|
|
1552
|
+
// sitting verified in the bucket.
|
|
1553
|
+
if (run.status === 'completed') {
|
|
1554
|
+
this.logger.log(`Backup run ${run.id} is already completed; job ${job.id}'s node result is a ` +
|
|
1555
|
+
'resubmission and was ignored.');
|
|
1556
|
+
return;
|
|
1557
|
+
}
|
|
1558
|
+
if (run.status !== 'pending' && run.status !== 'running') {
|
|
1559
|
+
throw new Error(`Backup run ${run.id} is "${run.status}", so job ${job.id}'s node result will not be ` +
|
|
1560
|
+
'recorded: the run was given up on and no longer holds the active backup slot.');
|
|
1561
|
+
}
|
|
1562
|
+
// ⚠ STEP 2. Compared against the row, never against a recomputed template:
|
|
1563
|
+
// the key was chosen once, at run creation, and the row is the only place
|
|
1564
|
+
// it lives.
|
|
1565
|
+
if (result.storageKey !== run.storageKey) {
|
|
1566
|
+
await this.failNodeRun(run, new Error(`The node reported storage key "${result.storageKey}" but backup run ${run.id} was ` +
|
|
1567
|
+
`assigned "${run.storageKey}". A node may only report the key the server handed ` +
|
|
1568
|
+
'it; nothing was recorded.'));
|
|
1569
|
+
// Unreachable — `failNodeRun` always throws. Kept so the control flow is
|
|
1570
|
+
// readable without following the helper.
|
|
1571
|
+
return;
|
|
1572
|
+
}
|
|
1573
|
+
const bytes = BigInt(result.bytes);
|
|
1574
|
+
// ⚠ STEP 3. `readTocEntryCount` reads the STORED object, not the node's
|
|
1575
|
+
// report of it. An upload that was truncated by a dead transfer, an
|
|
1576
|
+
// archive `pg_dump` never finished writing, and a key the node uploaded
|
|
1577
|
+
// nothing to all fail here — which is the entire reason this step is not
|
|
1578
|
+
// the node's to perform.
|
|
1579
|
+
let tocEntries;
|
|
1580
|
+
try {
|
|
1581
|
+
const stored = await this.target.openRead(run.storageKey);
|
|
1582
|
+
tocEntries = await this.engine.readTocEntryCount(stored);
|
|
1583
|
+
}
|
|
1584
|
+
catch (error) {
|
|
1585
|
+
await this.failNodeRun(run, toError(error));
|
|
1586
|
+
return;
|
|
1587
|
+
}
|
|
1588
|
+
if (tocEntries <= 0) {
|
|
1589
|
+
await this.failNodeRun(run, new db_backup_errors_1.DatabaseBackupVerificationError(run.storageKey, tocEntries));
|
|
1590
|
+
return;
|
|
1591
|
+
}
|
|
1592
|
+
// The node's own view of the dump, kept in the LOG and out of the row.
|
|
1593
|
+
//
|
|
1594
|
+
// REJECTED: writing `result.startedAt`/`finishedAt` into `started_at` and
|
|
1595
|
+
// `finished_at`. Those two columns are this server's record of the run's
|
|
1596
|
+
// lifetime — the claim, and the settle that follows a verified read-back —
|
|
1597
|
+
// and a remote clock in them would make a run's duration depend on the
|
|
1598
|
+
// executor's NTP configuration, produce `finishedAt < startedAt` for a
|
|
1599
|
+
// node running a few seconds behind, and put a value in a column every
|
|
1600
|
+
// list, notification and duration render already reads on the server's
|
|
1601
|
+
// clock. The node's window is still worth having: it is the only measure
|
|
1602
|
+
// of how long the dump ITSELF took, because this process sees only the
|
|
1603
|
+
// claim and the settle.
|
|
1604
|
+
const at = new Date();
|
|
1605
|
+
const skewMs = Math.abs(at.getTime() - Date.parse(result.finishedAt));
|
|
1606
|
+
if (Number.isFinite(skewMs) && skewMs > exports.NODE_CLOCK_SKEW_WARN_MS) {
|
|
1607
|
+
this.logger.warn(`Node-reported finish time for backup run ${run.id} is ${Math.round(skewMs / 1000)}s ` +
|
|
1608
|
+
`away from this server's clock. The archive is fine — the row is written on this ` +
|
|
1609
|
+
`server's clock — but a node whose clock is far out is worth checking, because its ` +
|
|
1610
|
+
`lease arithmetic runs on the same one.`);
|
|
1611
|
+
}
|
|
1612
|
+
await this.completeRun({
|
|
1613
|
+
runId: run.id,
|
|
1614
|
+
storageKey: run.storageKey,
|
|
1615
|
+
bytes,
|
|
1616
|
+
checksumSha256: result.sha256,
|
|
1617
|
+
tocEntries,
|
|
1618
|
+
executor: 'node',
|
|
1619
|
+
audit: {
|
|
1620
|
+
// The three facts only the executor could know...
|
|
1621
|
+
dbVersion: result.dbVersion,
|
|
1622
|
+
migrationName: result.migrationName,
|
|
1623
|
+
pgDumpVersion: result.pgDumpVersion,
|
|
1624
|
+
// ...and the one only this process can: which application build wrote
|
|
1625
|
+
// the row. Deliberately NOT the node's CLI version — that is a
|
|
1626
|
+
// property of the executor, and `Job.executor` plus the node's own id
|
|
1627
|
+
// already record which machine ran it.
|
|
1628
|
+
appVersion: this.appVersion(),
|
|
1629
|
+
},
|
|
1630
|
+
at,
|
|
1631
|
+
});
|
|
1632
|
+
this.logger.log(`Backup run ${run.id} was taken by a worker node for job ${job.id}: the node reports it ` +
|
|
1633
|
+
`dumped from ${result.startedAt} to ${result.finishedAt} (${bytes} bytes, sha256 ` +
|
|
1634
|
+
`${result.sha256.slice(0, 12)}…).`);
|
|
1635
|
+
}
|
|
1636
|
+
/**
|
|
1637
|
+
* The node path's failure path: delete, mark, throw.
|
|
1638
|
+
*
|
|
1639
|
+
* ALWAYS THROWS, and the throw is the contract — `persistNodeResult` failing
|
|
1640
|
+
* is how `NodesService.submitResult` learns to settle the job as failed. A
|
|
1641
|
+
* variant that returned quietly would leave a `failed` run row under a
|
|
1642
|
+
* `succeeded` job, which is precisely the pair of rows that must never
|
|
1643
|
+
* disagree.
|
|
1644
|
+
*
|
|
1645
|
+
* The DELETE comes first, for the reason `executeRun`'s catch does the same:
|
|
1646
|
+
* a `failed` run that leaves its object behind is an archive nothing points
|
|
1647
|
+
* at and retention has no row to prune it by.
|
|
1648
|
+
*/
|
|
1649
|
+
async failNodeRun(run, error) {
|
|
1650
|
+
await this.deletePartialObject(run.storageKey);
|
|
1651
|
+
await this.markFailed(run.id, error, run.bytesWritten, {
|
|
1652
|
+
dbVersion: run.dbVersion,
|
|
1653
|
+
appVersion: run.appVersion ?? this.appVersion(),
|
|
1654
|
+
migrationName: run.migrationName,
|
|
1655
|
+
pgDumpVersion: run.pgDumpVersion,
|
|
1656
|
+
});
|
|
1657
|
+
throw error;
|
|
1658
|
+
}
|
|
1659
|
+
/**
|
|
1660
|
+
* One heartbeat: liveness plus live progress, in one indexed UPDATE.
|
|
1661
|
+
*
|
|
1662
|
+
* SWALLOWS ITS OWN FAILURES. A transient write failure — a connection
|
|
1663
|
+
* recycled, a brief failover, a lock wait — is not evidence that a dump
|
|
1664
|
+
* streaming perfectly well should be abandoned. Aborting a two-hour backup
|
|
1665
|
+
* because one progress UPDATE failed would be the definition of a
|
|
1666
|
+
* self-inflicted outage. A sustained failure is not silent either: the
|
|
1667
|
+
* heartbeat stops advancing, and #282's stale sweep is exactly the mechanism
|
|
1668
|
+
* that notices.
|
|
1669
|
+
*/
|
|
1670
|
+
async writeHeartbeat(runId, bytes) {
|
|
1671
|
+
try {
|
|
1672
|
+
await this.prisma.databaseBackupRun.update({
|
|
1673
|
+
where: { id: runId },
|
|
1674
|
+
data: { lastHeartbeatAt: new Date(), bytesWritten: bytes },
|
|
1675
|
+
});
|
|
1676
|
+
}
|
|
1677
|
+
catch (error) {
|
|
1678
|
+
this.logger.warn(`Heartbeat for database backup run ${runId} could not be written ` +
|
|
1679
|
+
`(the dump continues): ${toError(error).message}`);
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1682
|
+
/**
|
|
1683
|
+
* Removes the object a failed run may have partially written.
|
|
1684
|
+
*
|
|
1685
|
+
* BEST-EFFORT, AND IT NEVER MASKS THE ORIGINAL ERROR. Whatever broke the
|
|
1686
|
+
* backup is what the operator needs on the row; "and the cleanup also failed"
|
|
1687
|
+
* is a log line. Deleting a key that was never created is a no-op on every
|
|
1688
|
+
* provider this interface targets, so there is no need to check first.
|
|
1689
|
+
*/
|
|
1690
|
+
async deletePartialObject(storageKey) {
|
|
1691
|
+
try {
|
|
1692
|
+
await this.target.delete(storageKey);
|
|
1693
|
+
}
|
|
1694
|
+
catch (error) {
|
|
1695
|
+
this.logger.warn(`Could not delete the partial backup object "${storageKey}"; it may need ` +
|
|
1696
|
+
`removing by hand: ${toError(error).message}`);
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1699
|
+
/** Writes the terminal `failed` row. Never throws — it is the last thing in a failure path. */
|
|
1700
|
+
async markFailed(runId, error, bytes, audit) {
|
|
1701
|
+
this.logger.error(`Database backup run ${runId} failed: ${error.message}`);
|
|
1702
|
+
let failed;
|
|
1703
|
+
try {
|
|
1704
|
+
failed = await this.prisma.databaseBackupRun.update({
|
|
1705
|
+
where: { id: runId },
|
|
1706
|
+
data: {
|
|
1707
|
+
status: 'failed',
|
|
1708
|
+
finishedAt: new Date(),
|
|
1709
|
+
// NOT reset to zero: how far a failed dump got is the difference
|
|
1710
|
+
// between "the database refused the connection" and "it died at 40 GB".
|
|
1711
|
+
bytesWritten: bytes,
|
|
1712
|
+
lastError: error.message,
|
|
1713
|
+
...audit,
|
|
1714
|
+
},
|
|
1715
|
+
});
|
|
1716
|
+
}
|
|
1717
|
+
catch (writeError) {
|
|
1718
|
+
// The row is now stuck in `running` with a stopped heartbeat, which is
|
|
1719
|
+
// exactly the shape #282's stale sweep exists to resolve. Nothing better
|
|
1720
|
+
// is available from here, and throwing would only reach the detached
|
|
1721
|
+
// `.catch()` in `startBackup`.
|
|
1722
|
+
this.logger.error(`Could not record the failure of database backup run ${runId}; the stale ` +
|
|
1723
|
+
`sweep will settle it: ${toError(writeError).message}`);
|
|
1724
|
+
// ⚠ NO NOTIFICATION ON THIS BRANCH, DELIBERATELY. Nothing has been
|
|
1725
|
+
// recorded, so the run is still `running` from the table's point of view,
|
|
1726
|
+
// and the stale sweep will settle it and raise the event with a `stale`
|
|
1727
|
+
// outcome. Raising it here as well would mail two failure notices for one
|
|
1728
|
+
// failure, and the second one would contradict the row.
|
|
1729
|
+
return;
|
|
1730
|
+
}
|
|
1731
|
+
this.metrics.backupSettled('failed', runDurationMs(failed?.startedAt, failed?.finishedAt));
|
|
1732
|
+
// `db_backup.run.completed` with `status: 'failed'`: after the row is
|
|
1733
|
+
// written, outside any transaction, never throwing.
|
|
1734
|
+
this.events?.runCompleted({
|
|
1735
|
+
runId,
|
|
1736
|
+
status: 'failed',
|
|
1737
|
+
targetId: failed?.storageProvider ?? this.target.id,
|
|
1738
|
+
sizeBytes: (0, db_backup_events_1.eventBytes)(failed?.sizeBytes),
|
|
1739
|
+
durationMs: Math.max(0, runDurationMs(failed?.startedAt, failed?.finishedAt) ?? 0),
|
|
1740
|
+
});
|
|
1741
|
+
// ⚠ AFTER THE COMMIT, AND OUTSIDE ANY TRANSACTION. The `failed` row above
|
|
1742
|
+
// is the fact; this is the report of it, and the report must not be able to
|
|
1743
|
+
// change or delay the fact. `notifyPermissionHolders` is detached and never
|
|
1744
|
+
// rejects, and the `void` is what says so at the call site.
|
|
1745
|
+
this.announceFailure(failed, 'failed');
|
|
1746
|
+
}
|
|
1747
|
+
/**
|
|
1748
|
+
* Raise `db_backup.backup_failed` for a settled run. Never throws.
|
|
1749
|
+
*
|
|
1750
|
+
* SHARED WITH THE STALE SWEEP in shape but not in code — the sweep
|
|
1751
|
+
* (`tasks/db-backup-schedule.task.ts`) writes its own rows and raises its own
|
|
1752
|
+
* event, because it is a different process settling a run this one never saw.
|
|
1753
|
+
* What IS shared is the event key, the permission and the template; the two
|
|
1754
|
+
* differ only in `outcome`, which is exactly the field that exists to record
|
|
1755
|
+
* that difference.
|
|
1756
|
+
*/
|
|
1757
|
+
announceFailure(run, outcome) {
|
|
1758
|
+
try {
|
|
1759
|
+
// ANNOTATED WITH THE TEMPLATE'S TYPE: `notifyPermissionHolders` takes
|
|
1760
|
+
// `data: unknown`, so this is the only place the shape is checked.
|
|
1761
|
+
const payload = {
|
|
1762
|
+
runId: run.id,
|
|
1763
|
+
outcome,
|
|
1764
|
+
error: run.lastError,
|
|
1765
|
+
startedAt: run.startedAt,
|
|
1766
|
+
failedAt: run.finishedAt ?? new Date(),
|
|
1767
|
+
trigger: run.trigger,
|
|
1768
|
+
appUrl: this.appUrl(),
|
|
1769
|
+
};
|
|
1770
|
+
// `db_backup:read` — the exact string `db-backup.controller.ts` enforces.
|
|
1771
|
+
//
|
|
1772
|
+
// ⚠ `.catch()` DESPITE THE DISPATCHER CONTRACTING NEVER TO REJECT: that
|
|
1773
|
+
// contract is `NotificationsService`'s, not this file's, and an unhandled
|
|
1774
|
+
// rejection on a detached backup-failure path has nobody to report it to.
|
|
1775
|
+
// The `try/catch` around this block cannot see a rejected promise.
|
|
1776
|
+
void this.notifications
|
|
1777
|
+
.notifyPermissionHolders('db_backup.backup_failed', db_backup_constants_1.PERMISSIONS.DB_BACKUP_READ, payload)
|
|
1778
|
+
.catch((error) => {
|
|
1779
|
+
this.logger.error(`Dispatching 'db_backup.backup_failed' for run ${run.id} rejected, ` +
|
|
1780
|
+
`which the dispatcher contracts never to do: ${toError(error).message}`);
|
|
1781
|
+
});
|
|
1782
|
+
}
|
|
1783
|
+
catch (error) {
|
|
1784
|
+
this.logger.error(`Could not raise 'db_backup.backup_failed' for run ${run.id}; the run's ` +
|
|
1785
|
+
`${outcome} row is unaffected: ${toError(error).message}`);
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
/**
|
|
1789
|
+
* The application root, trailing slashes trimmed, or `undefined`.
|
|
1790
|
+
*
|
|
1791
|
+
* Same shape as `UsersService.appUrl()`; `undefined` makes the template omit
|
|
1792
|
+
* its CTA rather than render a button that goes nowhere.
|
|
1793
|
+
*/
|
|
1794
|
+
appUrl() {
|
|
1795
|
+
const appUrl = this.config.get('appUrl');
|
|
1796
|
+
return appUrl ? appUrl.replace(/\/+$/, '') : undefined;
|
|
1797
|
+
}
|
|
1798
|
+
/**
|
|
1799
|
+
* The PostgreSQL server version, for the run's audit trio.
|
|
1800
|
+
*
|
|
1801
|
+
* `current_setting('server_version')` rather than `version()`, which returns
|
|
1802
|
+
* a whole banner including the compiler and platform — provenance we neither
|
|
1803
|
+
* need nor want to store per run.
|
|
1804
|
+
*
|
|
1805
|
+
* BEST-EFFORT: a failure here is `null`, never a failed backup. A run that
|
|
1806
|
+
* could not read the server version is still a perfectly valid archive.
|
|
1807
|
+
*/
|
|
1808
|
+
async readServerVersion() {
|
|
1809
|
+
try {
|
|
1810
|
+
const rows = await this.prisma.$queryRaw `
|
|
1811
|
+
SELECT current_setting('server_version') AS server_version
|
|
1812
|
+
`;
|
|
1813
|
+
const value = rows[0]?.server_version;
|
|
1814
|
+
return typeof value === 'string' && value.length > 0 ? value : null;
|
|
1815
|
+
}
|
|
1816
|
+
catch {
|
|
1817
|
+
return null;
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1820
|
+
/**
|
|
1821
|
+
* The newest applied migration, for the run's audit trio.
|
|
1822
|
+
*
|
|
1823
|
+
* THE MOST IMPORTANT OF THE THREE: it says which SCHEMA the archive
|
|
1824
|
+
* contains, so an operator can tell — before replaying it — whether the code
|
|
1825
|
+
* that is running will understand what comes back.
|
|
1826
|
+
*
|
|
1827
|
+
* ⚠ THE QUERY LIVES IN `migration-state.util.ts` AND IS SHARED WITH #284's
|
|
1828
|
+
* RESTORE PRE-FLIGHT, which compares the value recorded here against the one
|
|
1829
|
+
* live at restore time. Two copies of "the newest applied migration" — one
|
|
1830
|
+
* that excludes rolled-back rows and one that does not, say — would make that
|
|
1831
|
+
* comparison meaningless: the gate would block restores of compatible
|
|
1832
|
+
* archives, or pass an incompatible one. Best-effort, like the version above.
|
|
1833
|
+
*/
|
|
1834
|
+
async readLatestMigrationName() {
|
|
1835
|
+
return (0, migration_state_util_1.readLatestAppliedMigration)(this.prisma);
|
|
1836
|
+
}
|
|
1837
|
+
};
|
|
1838
|
+
exports.DatabaseBackupRunnerService = DatabaseBackupRunnerService;
|
|
1839
|
+
exports.DatabaseBackupRunnerService = DatabaseBackupRunnerService = DatabaseBackupRunnerService_1 = __decorate([
|
|
1840
|
+
(0, common_1.Injectable)(),
|
|
1841
|
+
__param(0, (0, common_1.Inject)(index_4.PLATFORM_PRISMA)),
|
|
1842
|
+
__param(2, (0, common_1.Inject)(index_6.STORAGE_PROVIDER)),
|
|
1843
|
+
__param(4, (0, common_1.Inject)(ports_1.DB_BACKUP_NOTIFIER)),
|
|
1844
|
+
__param(7, (0, common_1.Optional)()),
|
|
1845
|
+
__param(7, (0, common_1.Inject)(exports.DB_BACKUP_ENGINE)),
|
|
1846
|
+
__param(8, (0, common_1.Optional)()),
|
|
1847
|
+
__param(8, (0, common_1.Inject)(exports.DB_BACKUP_TIMERS)),
|
|
1848
|
+
__param(9, (0, common_1.Optional)()),
|
|
1849
|
+
__param(9, (0, common_1.Inject)(ports_1.DB_BACKUP_METRICS)),
|
|
1850
|
+
__param(10, (0, common_1.Optional)()),
|
|
1851
|
+
__param(10, (0, common_1.Inject)(options_1.DB_BACKUP_OPTIONS)),
|
|
1852
|
+
__param(11, (0, common_1.Optional)()),
|
|
1853
|
+
__param(11, (0, common_1.Inject)(backup_target_1.DB_BACKUP_TARGET)),
|
|
1854
|
+
__param(12, (0, common_1.Optional)()),
|
|
1855
|
+
__param(12, (0, common_1.Inject)(backup_target_1.DB_BACKUP_MIRROR_TARGETS)),
|
|
1856
|
+
__param(13, (0, common_1.Optional)()),
|
|
1857
|
+
__metadata("design:paramtypes", [Object, index_5.SystemSettingsService, Object, index_7.StorageConfigService, Object, config_1.ConfigService,
|
|
1858
|
+
index_3.JobsService, Object, Object, Object, Object, Object, Array, db_backup_events_1.DbBackupEvents])
|
|
1859
|
+
], DatabaseBackupRunnerService);
|
|
1860
|
+
/** A settled run's wall time in ms, or `null` when either instant is missing (#600). */
|
|
1861
|
+
function runDurationMs(startedAt, finishedAt) {
|
|
1862
|
+
return startedAt instanceof Date && finishedAt instanceof Date
|
|
1863
|
+
? finishedAt.getTime() - startedAt.getTime()
|
|
1864
|
+
: null;
|
|
1865
|
+
}
|
|
1866
|
+
//# sourceMappingURL=db-backup-runner.service.js.map
|