@noodleseed/one 0.83.0 → 0.84.0
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/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +4 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands/catalog-data-platform-auth.d.ts.map +1 -1
- package/dist/commands/catalog-data-platform-auth.js +70 -2
- package/dist/commands/catalog-data-platform-auth.js.map +1 -1
- package/dist/commands/platform-account-reset-args.d.ts +40 -0
- package/dist/commands/platform-account-reset-args.d.ts.map +1 -0
- package/dist/commands/platform-account-reset-args.js +181 -0
- package/dist/commands/platform-account-reset-args.js.map +1 -0
- package/dist/commands/platform-account-reset-files.d.ts +9 -0
- package/dist/commands/platform-account-reset-files.d.ts.map +1 -0
- package/dist/commands/platform-account-reset-files.js +45 -0
- package/dist/commands/platform-account-reset-files.js.map +1 -0
- package/dist/commands/platform-account-reset-ops.d.ts +3 -0
- package/dist/commands/platform-account-reset-ops.d.ts.map +1 -0
- package/dist/commands/platform-account-reset-ops.js +162 -0
- package/dist/commands/platform-account-reset-ops.js.map +1 -0
- package/node_modules/@noodle-borg/agent-kit/dist/generated/example-files.js +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/generated/example-files.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-embedded-assistant-ref.js +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-embedded-assistant-ref.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/package.json +1 -1
- package/node_modules/@noodle-borg/service/dist/billing/enforcement-activation.d.ts +4 -4
- package/node_modules/@noodle-borg/service/dist/billing/read-contract.d.ts +6 -6
- package/node_modules/@noodle-borg/service/dist/index.d.ts +4 -1
- package/node_modules/@noodle-borg/service/dist/index.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/index.js +2 -0
- package/node_modules/@noodle-borg/service/dist/index.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/main.js +5 -0
- package/node_modules/@noodle-borg/service/dist/main.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/developer-grant-flow.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/developer-grant-flow.js +1 -0
- package/node_modules/@noodle-borg/service/dist/oauth/developer-grant-flow.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/provider.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/provider.js +1 -0
- package/node_modules/@noodle-borg/service/dist/oauth/provider.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/store-postgres-schema.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/store-postgres-schema.js +17 -0
- package/node_modules/@noodle-borg/service/dist/oauth/store-postgres-schema.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/store-postgres.d.ts +2 -2
- package/node_modules/@noodle-borg/service/dist/oauth/store-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/store-postgres.js +25 -5
- package/node_modules/@noodle-borg/service/dist/oauth/store-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/store.d.ts +5 -3
- package/node_modules/@noodle-borg/service/dist/oauth/store.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/store.js +5 -5
- package/node_modules/@noodle-borg/service/dist/oauth/store.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/upstream-callback-handler.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/upstream-callback-handler.js +7 -2
- package/node_modules/@noodle-borg/service/dist/oauth/upstream-callback-handler.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/upstream-callback-support.d.ts +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/upstream-callback-support.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/upstream-callback-support.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/upstream-consent.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/upstream-consent.js +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/upstream-consent.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/upstream-federation.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/oauth/upstream-federation.js +6 -1
- package/node_modules/@noodle-borg/service/dist/oauth/upstream-federation.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/options.d.ts +13 -0
- package/node_modules/@noodle-borg/service/dist/options.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-config.d.ts +9 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-config.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-config.js +24 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-config.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-dispatch-lock-postgres.d.ts +12 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-dispatch-lock-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-dispatch-lock-postgres.js +110 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-dispatch-lock-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-fingerprint.d.ts +9 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-fingerprint.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-fingerprint.js +46 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-fingerprint.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-operation-postgres.d.ts +77 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-operation-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-operation-postgres.js +144 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-operation-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-operator.d.ts +29 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-operator.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-operator.js +59 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-operator.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-helpers.d.ts +11 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-helpers.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-helpers.js +22 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-helpers.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-postgres.d.ts +41 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-postgres.js +314 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-resources-postgres.d.ts +14 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-resources-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-resources-postgres.js +210 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-resources-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-rollback-postgres.d.ts +11 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-rollback-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-rollback-postgres.js +71 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-rollback-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ports.d.ts +12 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ports.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ports.js +2 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ports.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-evidence-postgres.d.ts +22 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-evidence-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-evidence-postgres.js +177 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-evidence-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-local-postgres.d.ts +35 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-local-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-local-postgres.js +184 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-local-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-persistence-postgres.d.ts +11 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-persistence-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-persistence-postgres.js +120 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-persistence-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-postgres.d.ts +79 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-postgres.js +286 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-result.d.ts +21 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-result.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-result.js +81 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-result.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-quarantine-postgres.d.ts +46 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-quarantine-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-quarantine-postgres.js +283 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-quarantine-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-eligibility-postgres.d.ts +13 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-eligibility-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-eligibility-postgres.js +81 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-eligibility-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-local-postgres.d.ts +30 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-local-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-local-postgres.js +248 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-local-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-postgres.d.ts +29 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-postgres.js +281 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-preview-postgres.d.ts +55 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-preview-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-preview-postgres.js +262 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-preview-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-schema-postgres.d.ts +7 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-schema-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-schema-postgres.js +439 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-schema-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset.d.ts +276 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset.js +141 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-configuration.d.ts +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-legacy-sources-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-legacy-sources-postgres.js +5 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-legacy-sources-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-local-subjects-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-local-subjects-postgres.js +10 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-local-subjects-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-source-fence-postgres.d.ts +5 -10
- package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-source-fence-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-source-fence-postgres.js +86 -47
- package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-source-fence-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-source-fence-transaction-postgres.d.ts +17 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-source-fence-transaction-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-source-fence-transaction-postgres.js +240 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-source-fence-transaction-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-operator.d.ts +63 -63
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-support.d.ts +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-runtime.d.ts +18 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-runtime.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-runtime.js +97 -2
- package/node_modules/@noodle-borg/service/dist/platform-auth-runtime.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-service-bootstrap.d.ts +4 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-service-bootstrap.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-service-bootstrap.js +4 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-service-bootstrap.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-identity-postgres.d.ts +7 -2
- package/node_modules/@noodle-borg/service/dist/platform-identity-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-identity-postgres.js +24 -2
- package/node_modules/@noodle-borg/service/dist/platform-identity-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-identity-schema-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-identity-schema-postgres.js +4 -0
- package/node_modules/@noodle-borg/service/dist/platform-identity-schema-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-identity-sync-postgres.d.ts +7 -1
- package/node_modules/@noodle-borg/service/dist/platform-identity-sync-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-identity-sync-postgres.js +121 -8
- package/node_modules/@noodle-borg/service/dist/platform-identity-sync-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-identity-sync-recovery-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-identity-sync-recovery-postgres.js +11 -1
- package/node_modules/@noodle-borg/service/dist/platform-identity-sync-recovery-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-identity-sync.d.ts +5 -3
- package/node_modules/@noodle-borg/service/dist/platform-identity-sync.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-identity-sync.js +15 -1
- package/node_modules/@noodle-borg/service/dist/platform-identity-sync.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-identity.d.ts +23 -2
- package/node_modules/@noodle-borg/service/dist/platform-identity.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-identity.js +21 -0
- package/node_modules/@noodle-borg/service/dist/platform-identity.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/registry-state.d.ts +8 -0
- package/node_modules/@noodle-borg/service/dist/registry-state.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/registry-state.js +15 -2
- package/node_modules/@noodle-borg/service/dist/registry-state.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/registry.d.ts +2 -0
- package/node_modules/@noodle-borg/service/dist/registry.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/registry.js +4 -1
- package/node_modules/@noodle-borg/service/dist/registry.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/platform-account-reset-dispatch.d.ts +8 -0
- package/node_modules/@noodle-borg/service/dist/routes/platform-account-reset-dispatch.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/routes/platform-account-reset-dispatch.js +36 -0
- package/node_modules/@noodle-borg/service/dist/routes/platform-account-reset-dispatch.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/routes/platform-account-reset.d.ts +22 -0
- package/node_modules/@noodle-borg/service/dist/routes/platform-account-reset.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/routes/platform-account-reset.js +201 -0
- package/node_modules/@noodle-borg/service/dist/routes/platform-account-reset.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/routes/private-platform-auth-dispatch.d.ts +18 -0
- package/node_modules/@noodle-borg/service/dist/routes/private-platform-auth-dispatch.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/routes/private-platform-auth-dispatch.js +36 -0
- package/node_modules/@noodle-borg/service/dist/routes/private-platform-auth-dispatch.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/serve-options.d.ts +2 -1
- package/node_modules/@noodle-borg/service/dist/serve-options.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/serve.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/serve.js +16 -1
- package/node_modules/@noodle-borg/service/dist/serve.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/service.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/service.js +4 -5
- package/node_modules/@noodle-borg/service/dist/service.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/workos-directory.d.ts +22 -3
- package/node_modules/@noodle-borg/service/dist/workos-directory.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/workos-directory.js +56 -5
- package/node_modules/@noodle-borg/service/dist/workos-directory.js.map +1 -1
- package/package.json +1 -1
package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-preview-postgres.d.ts
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { type PlatformAccountResetResult, type PlatformAccountResetRollbackPreviewRequest } from './platform-account-reset.js';
|
|
2
|
+
import { type PlatformAccountResetWorkosEvidence } from './platform-account-reset-preview-evidence-postgres.js';
|
|
3
|
+
import { type PlatformAccountResetRollbackLocalInspection } from './platform-account-reset-rollback-local-postgres.js';
|
|
4
|
+
import type { PlatformAuthInventorySourceManifest } from './platform-auth-inventory-sources.js';
|
|
5
|
+
import type { PlatformIdentityQueryable } from './platform-identity-postgres.js';
|
|
6
|
+
import type { PlatformAccountResetDirectory } from './workos-directory.js';
|
|
7
|
+
type RollbackPreviewConnection = PlatformIdentityQueryable & {
|
|
8
|
+
release?: (error?: Error) => void;
|
|
9
|
+
};
|
|
10
|
+
type RollbackPreviewPool = PlatformIdentityQueryable & {
|
|
11
|
+
connect?: () => Promise<RollbackPreviewConnection>;
|
|
12
|
+
};
|
|
13
|
+
export interface PlatformAccountResetRollbackPreviewEvidence {
|
|
14
|
+
readonly operationId: string;
|
|
15
|
+
readonly releaseSha: string;
|
|
16
|
+
readonly expectedGeneration: number;
|
|
17
|
+
readonly previewChecksum: string;
|
|
18
|
+
}
|
|
19
|
+
interface RollbackPreviewOptions {
|
|
20
|
+
readonly directory: PlatformAccountResetDirectory;
|
|
21
|
+
readonly sourceAvailability: PlatformAuthInventorySourceManifest;
|
|
22
|
+
readonly googleRealm: string;
|
|
23
|
+
readonly workosRealm: string;
|
|
24
|
+
readonly releaseSha: string;
|
|
25
|
+
readonly now?: () => Date;
|
|
26
|
+
readonly providerTimeoutMs?: number;
|
|
27
|
+
readonly localCaptureTimeoutMs?: number;
|
|
28
|
+
readonly previewTtlMs?: number;
|
|
29
|
+
}
|
|
30
|
+
interface StoredRollbackPreview {
|
|
31
|
+
readonly previewChecksum: string;
|
|
32
|
+
readonly sourceEpoch: number;
|
|
33
|
+
readonly releaseSha: string;
|
|
34
|
+
readonly rolloutGeneration: number;
|
|
35
|
+
readonly sourceManifestFingerprint: string;
|
|
36
|
+
readonly evidenceFingerprint: string;
|
|
37
|
+
readonly safeResult: PlatformAccountResetResult;
|
|
38
|
+
readonly previewExpiresAt: string;
|
|
39
|
+
readonly fingerprint: string;
|
|
40
|
+
}
|
|
41
|
+
export interface PlatformAccountResetPreparedRollbackValidation {
|
|
42
|
+
readonly local: PlatformAccountResetRollbackLocalInspection;
|
|
43
|
+
readonly remote: PlatformAccountResetWorkosEvidence;
|
|
44
|
+
readonly stored: StoredRollbackPreview;
|
|
45
|
+
}
|
|
46
|
+
/** Fresh rollback evidence. Provider reads are bounded and never run while database locks are held. */
|
|
47
|
+
export declare class PostgresPlatformAccountResetRollbackPreviewStore {
|
|
48
|
+
#private;
|
|
49
|
+
constructor(pool: RollbackPreviewPool, options: RollbackPreviewOptions);
|
|
50
|
+
preview(rawRequest: PlatformAccountResetRollbackPreviewRequest): Promise<PlatformAccountResetResult>;
|
|
51
|
+
prepareUsable(evidence: PlatformAccountResetRollbackPreviewEvidence, deadline?: number): Promise<PlatformAccountResetPreparedRollbackValidation>;
|
|
52
|
+
assertPrepared(connection: PlatformIdentityQueryable, evidence: PlatformAccountResetRollbackPreviewEvidence, prepared: PlatformAccountResetPreparedRollbackValidation): Promise<PlatformAccountResetResult>;
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
55
|
+
//# sourceMappingURL=platform-account-reset-rollback-preview-postgres.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-account-reset-rollback-preview-postgres.d.ts","sourceRoot":"","sources":["../src/platform-account-reset-rollback-preview-postgres.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,0BAA0B,EAE/B,KAAK,0CAA0C,EAEhD,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EAEL,KAAK,kCAAkC,EACxC,MAAM,uDAAuD,CAAC;AAE/D,OAAO,EAGL,KAAK,2CAA2C,EACjD,MAAM,qDAAqD,CAAC;AAO7D,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,sCAAsC,CAAC;AAChG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAE3E,KAAK,yBAAyB,GAAG,yBAAyB,GAAG;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,CAAA;CAAE,CAAC;AACnG,KAAK,mBAAmB,GAAG,yBAAyB,GAAG;IACrD,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACpD,CAAC;AAEF,MAAM,WAAW,2CAA2C;IAC1D,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,kBAAkB,EA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,OAAO,CACX,UAAU,EAAE,0CAA0C,GACrD,OAAO,CAAC,0BAA0B,CAAC;IAuEhC,aAAa,CACjB,QAAQ,EAAE,2CAA2C,EACrD,QAAQ,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,8CAA8C,CAAC;IA2BpD,cAAc,CAClB,UAAU,EAAE,yBAAyB,EACrC,QAAQ,EAAE,2CAA2C,EACrD,QAAQ,EAAE,8CAA8C,GACvD,OAAO,CAAC,0BAA0B,CAAC;CAoNvC"}
|
package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-preview-postgres.js
ADDED
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import { PlatformAccountResetResultSchema, PlatformAccountResetRollbackPreviewRequestSchema, } from './platform-account-reset.js';
|
|
2
|
+
import { remainingPlatformAccountResetDispatchMilliseconds } from './platform-account-reset-dispatch-lock-postgres.js';
|
|
3
|
+
import { canonicalJson, sha256Canonical } from './platform-account-reset-fingerprint.js';
|
|
4
|
+
import { loadPlatformAccountResetWorkosEvidence, } from './platform-account-reset-preview-evidence-postgres.js';
|
|
5
|
+
import { PlatformAccountResetPreviewError } from './platform-account-reset-preview-result.js';
|
|
6
|
+
import { inspectPlatformAccountResetRollbackLocalEvidence, } from './platform-account-reset-rollback-local-postgres.js';
|
|
7
|
+
import { PostgresPlatformAuthLegacyInventorySources } from './platform-auth-inventory-legacy-sources-postgres.js';
|
|
8
|
+
import { assertPlatformAuthInventorySourceFence, PLATFORM_ACCOUNT_RESET_EXECUTION_TABLES, runPlatformAuthInventorySourceFenceTransaction, } from './platform-auth-inventory-source-fence-postgres.js';
|
|
9
|
+
const DEFAULT_PROVIDER_TIMEOUT_MS = 5_000;
|
|
10
|
+
const DEFAULT_LOCAL_CAPTURE_TIMEOUT_MS = 5_000;
|
|
11
|
+
const DEFAULT_PREVIEW_TTL_MS = 5 * 60 * 1000;
|
|
12
|
+
/** Fresh rollback evidence. Provider reads are bounded and never run while database locks are held. */
|
|
13
|
+
export class PostgresPlatformAccountResetRollbackPreviewStore {
|
|
14
|
+
#pool;
|
|
15
|
+
#options;
|
|
16
|
+
constructor(pool, options) {
|
|
17
|
+
this.#pool = pool;
|
|
18
|
+
this.#options = {
|
|
19
|
+
...options,
|
|
20
|
+
providerTimeoutMs: validPositive(options.providerTimeoutMs, DEFAULT_PROVIDER_TIMEOUT_MS),
|
|
21
|
+
localCaptureTimeoutMs: validPositive(options.localCaptureTimeoutMs, DEFAULT_LOCAL_CAPTURE_TIMEOUT_MS),
|
|
22
|
+
previewTtlMs: validPositive(options.previewTtlMs, DEFAULT_PREVIEW_TTL_MS),
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
async preview(rawRequest) {
|
|
26
|
+
const request = PlatformAccountResetRollbackPreviewRequestSchema.parse(rawRequest);
|
|
27
|
+
const first = await this.#captureLocal(request.operationId);
|
|
28
|
+
const remote = await this.#readRemote(first.local);
|
|
29
|
+
return runPlatformAuthInventorySourceFenceTransaction(this.#pool, async (connection) => {
|
|
30
|
+
await this.#assertSourceFence(connection);
|
|
31
|
+
const second = await this.#inspectLocal(connection, request.operationId);
|
|
32
|
+
this.#assertSameLocal(first.local, second);
|
|
33
|
+
const combinedFingerprint = this.#assertRemoteMatches(second, remote);
|
|
34
|
+
const previewChecksum = sha256Canonical({
|
|
35
|
+
schemaVersion: 1,
|
|
36
|
+
label: 'platform_account_reset_rollback_preview',
|
|
37
|
+
operationId: request.operationId,
|
|
38
|
+
releaseSha: second.releaseSha,
|
|
39
|
+
rolloutGeneration: second.rolloutGeneration,
|
|
40
|
+
sourceEpoch: second.sourceEpoch,
|
|
41
|
+
targetSetFingerprint: second.targetSetFingerprint,
|
|
42
|
+
sourceManifestFingerprint: this.#sourceManifestFingerprint(),
|
|
43
|
+
evidenceFingerprint: combinedFingerprint,
|
|
44
|
+
createdAt: first.createdAt,
|
|
45
|
+
previewExpiresAt: first.previewExpiresAt,
|
|
46
|
+
});
|
|
47
|
+
const safeResult = {
|
|
48
|
+
...second.baseResult,
|
|
49
|
+
lifecycle: 'quarantined',
|
|
50
|
+
sourceEpoch: second.sourceEpoch,
|
|
51
|
+
previewChecksum,
|
|
52
|
+
requestFingerprint: sha256Canonical(request),
|
|
53
|
+
blockers: [],
|
|
54
|
+
};
|
|
55
|
+
const inserted = await connection.query(`WITH authority AS MATERIALIZED (
|
|
56
|
+
SELECT clock_timestamp() AS checked_at
|
|
57
|
+
)
|
|
58
|
+
INSERT INTO platform_account_reset_rollback_previews
|
|
59
|
+
(operation_id, preview_checksum, source_epoch, release_sha,
|
|
60
|
+
rollout_generation, source_manifest_fingerprint, evidence_fingerprint,
|
|
61
|
+
safe_result, preview_expires_at, created_at)
|
|
62
|
+
SELECT $1, $2, $3, $4, $5, $6, $7, $8::jsonb, $9::timestamptz, $10::timestamptz
|
|
63
|
+
FROM authority
|
|
64
|
+
WHERE authority.checked_at < $9::timestamptz
|
|
65
|
+
AND EXISTS (
|
|
66
|
+
SELECT 1 FROM platform_account_reset_operations operation
|
|
67
|
+
WHERE operation.operation_id = $1
|
|
68
|
+
AND operation.lifecycle = 'quarantined'
|
|
69
|
+
AND operation.finalize_after > authority.checked_at
|
|
70
|
+
)
|
|
71
|
+
RETURNING operation_id`, [
|
|
72
|
+
request.operationId,
|
|
73
|
+
previewChecksum,
|
|
74
|
+
second.sourceEpoch,
|
|
75
|
+
second.releaseSha,
|
|
76
|
+
second.rolloutGeneration,
|
|
77
|
+
this.#sourceManifestFingerprint(),
|
|
78
|
+
combinedFingerprint,
|
|
79
|
+
JSON.stringify(safeResult),
|
|
80
|
+
first.previewExpiresAt,
|
|
81
|
+
first.createdAt,
|
|
82
|
+
]);
|
|
83
|
+
if (inserted.rows.length !== 1)
|
|
84
|
+
throw new PlatformAccountResetPreviewError('operation_conflict');
|
|
85
|
+
return safeResult;
|
|
86
|
+
}, this.#transactionOptions());
|
|
87
|
+
}
|
|
88
|
+
async prepareUsable(evidence, deadline) {
|
|
89
|
+
const captured = await runPlatformAuthInventorySourceFenceTransaction(this.#pool, async (connection) => {
|
|
90
|
+
await this.#assertSourceFence(connection);
|
|
91
|
+
const stored = await this.#loadStored(connection, evidence);
|
|
92
|
+
const local = await this.#inspectLocal(connection, evidence.operationId);
|
|
93
|
+
if (stored.sourceEpoch !== local.sourceEpoch)
|
|
94
|
+
throw new PlatformAccountResetPreviewError('source_epoch_mismatch');
|
|
95
|
+
return { local, stored };
|
|
96
|
+
}, this.#transactionOptions(deadline));
|
|
97
|
+
const remote = await this.#readRemote(captured.local, deadline);
|
|
98
|
+
const confirmed = await runPlatformAuthInventorySourceFenceTransaction(this.#pool, async (connection) => {
|
|
99
|
+
await this.#assertSourceFence(connection);
|
|
100
|
+
return this.#loadStored(connection, evidence);
|
|
101
|
+
}, this.#transactionOptions(deadline));
|
|
102
|
+
if (confirmed.fingerprint !== captured.stored.fingerprint)
|
|
103
|
+
throw new PlatformAccountResetPreviewError('operation_conflict');
|
|
104
|
+
return { ...captured, remote };
|
|
105
|
+
}
|
|
106
|
+
async assertPrepared(connection, evidence, prepared) {
|
|
107
|
+
await this.#assertSourceFence(connection);
|
|
108
|
+
const stored = await this.#loadStored(connection, evidence);
|
|
109
|
+
if (stored.fingerprint !== prepared.stored.fingerprint)
|
|
110
|
+
throw new PlatformAccountResetPreviewError('operation_conflict');
|
|
111
|
+
const local = await this.#inspectLocal(connection, evidence.operationId);
|
|
112
|
+
this.#assertSameLocal(prepared.local, local);
|
|
113
|
+
const combinedFingerprint = this.#assertRemoteMatches(local, prepared.remote);
|
|
114
|
+
if (combinedFingerprint !== stored.evidenceFingerprint)
|
|
115
|
+
throw new PlatformAccountResetPreviewError('operation_conflict');
|
|
116
|
+
const expected = {
|
|
117
|
+
...local.baseResult,
|
|
118
|
+
lifecycle: 'quarantined',
|
|
119
|
+
sourceEpoch: local.sourceEpoch,
|
|
120
|
+
previewChecksum: stored.previewChecksum,
|
|
121
|
+
requestFingerprint: stored.safeResult.requestFingerprint,
|
|
122
|
+
blockers: [],
|
|
123
|
+
};
|
|
124
|
+
if (canonicalJson(expected) !== canonicalJson(stored.safeResult))
|
|
125
|
+
throw new PlatformAccountResetPreviewError('operation_conflict');
|
|
126
|
+
return stored.safeResult;
|
|
127
|
+
}
|
|
128
|
+
async #captureLocal(operationId) {
|
|
129
|
+
return runPlatformAuthInventorySourceFenceTransaction(this.#pool, async (connection) => {
|
|
130
|
+
await this.#assertSourceFence(connection);
|
|
131
|
+
const authority = await connection.query(`WITH authority AS MATERIALIZED (
|
|
132
|
+
SELECT clock_timestamp() AS created_at
|
|
133
|
+
)
|
|
134
|
+
SELECT authority.created_at::text AS created_at,
|
|
135
|
+
(authority.created_at + $1::bigint * interval '1 millisecond')::text
|
|
136
|
+
AS preview_expires_at
|
|
137
|
+
FROM authority`, [this.#options.previewTtlMs]);
|
|
138
|
+
const timestamp = authority.rows[0];
|
|
139
|
+
if (timestamp === undefined)
|
|
140
|
+
throw new PlatformAccountResetPreviewError('operation_conflict');
|
|
141
|
+
const local = await this.#inspectLocal(connection, operationId);
|
|
142
|
+
return {
|
|
143
|
+
local,
|
|
144
|
+
createdAt: timestamp.created_at,
|
|
145
|
+
previewExpiresAt: timestamp.preview_expires_at,
|
|
146
|
+
};
|
|
147
|
+
}, this.#transactionOptions());
|
|
148
|
+
}
|
|
149
|
+
async #inspectLocal(connection, operationId) {
|
|
150
|
+
return inspectPlatformAccountResetRollbackLocalEvidence(connection, operationId, {
|
|
151
|
+
googleRealm: this.#options.googleRealm,
|
|
152
|
+
workosRealm: this.#options.workosRealm,
|
|
153
|
+
releaseSha: this.#options.releaseSha,
|
|
154
|
+
sourceAvailability: this.#options.sourceAvailability,
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
async #readRemote(local, dispatchDeadline) {
|
|
158
|
+
const providerTimeoutMs = dispatchDeadline === undefined
|
|
159
|
+
? this.#options.providerTimeoutMs
|
|
160
|
+
: remainingPlatformAccountResetDispatchMilliseconds(dispatchDeadline, this.#options.providerTimeoutMs);
|
|
161
|
+
const controller = new AbortController();
|
|
162
|
+
const deadline = new Date(Date.now() + providerTimeoutMs);
|
|
163
|
+
const timeout = setTimeout(() => controller.abort(new DOMException('account reset provider deadline exceeded', 'AbortError')), providerTimeoutMs);
|
|
164
|
+
try {
|
|
165
|
+
return await loadPlatformAccountResetWorkosEvidence(local.contacts, this.#options.directory, this.#options.workosRealm, { signal: controller.signal, deadline });
|
|
166
|
+
}
|
|
167
|
+
finally {
|
|
168
|
+
clearTimeout(timeout);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
#assertRemoteMatches(local, remote) {
|
|
172
|
+
if (remote.providerUnavailableCount !== 0)
|
|
173
|
+
throw new PlatformAccountResetPreviewError('provider_cleanup_pending');
|
|
174
|
+
if (remote.conflictCount !== 0)
|
|
175
|
+
throw new PlatformAccountResetPreviewError('workos_user_conflict');
|
|
176
|
+
const expected = [...local.workosResources].sort(compareResource);
|
|
177
|
+
const actual = [...remote.resources].sort(compareResource);
|
|
178
|
+
if (canonicalJson(expected) !== canonicalJson(actual))
|
|
179
|
+
throw new PlatformAccountResetPreviewError('operation_conflict');
|
|
180
|
+
return sha256Canonical({
|
|
181
|
+
schemaVersion: 1,
|
|
182
|
+
label: 'platform_account_reset_rollback_evidence',
|
|
183
|
+
localEvidenceFingerprint: local.evidenceFingerprint,
|
|
184
|
+
workosResources: actual,
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
async #loadStored(connection, evidence) {
|
|
188
|
+
const result = await connection.query(`SELECT preview_checksum, source_epoch::text, release_sha,
|
|
189
|
+
rollout_generation::text, source_manifest_fingerprint,
|
|
190
|
+
evidence_fingerprint, safe_result,
|
|
191
|
+
preview_expires_at::text AS preview_expires_at,
|
|
192
|
+
created_at::text AS created_at
|
|
193
|
+
FROM platform_account_reset_rollback_previews
|
|
194
|
+
WHERE operation_id = $1 AND preview_checksum = $2
|
|
195
|
+
AND preview_expires_at > clock_timestamp()
|
|
196
|
+
AND preview_expires_at =
|
|
197
|
+
created_at + $3::bigint * interval '1 millisecond'
|
|
198
|
+
FOR SHARE`, [evidence.operationId, evidence.previewChecksum, this.#options.previewTtlMs]);
|
|
199
|
+
const row = result.rows[0];
|
|
200
|
+
if (row === undefined)
|
|
201
|
+
throw new PlatformAccountResetPreviewError('operation_conflict');
|
|
202
|
+
if (row.release_sha !== evidence.releaseSha || row.release_sha !== this.#options.releaseSha)
|
|
203
|
+
throw new PlatformAccountResetPreviewError('release_mismatch');
|
|
204
|
+
if (Number(row.rollout_generation) !== evidence.expectedGeneration)
|
|
205
|
+
throw new PlatformAccountResetPreviewError('generation_mismatch');
|
|
206
|
+
if (row.source_manifest_fingerprint !== this.#sourceManifestFingerprint())
|
|
207
|
+
throw new PlatformAccountResetPreviewError('source_epoch_mismatch');
|
|
208
|
+
const safeResult = PlatformAccountResetResultSchema.safeParse(row.safe_result);
|
|
209
|
+
if (!safeResult.success)
|
|
210
|
+
throw new PlatformAccountResetPreviewError('operation_conflict');
|
|
211
|
+
return {
|
|
212
|
+
previewChecksum: row.preview_checksum,
|
|
213
|
+
sourceEpoch: Number(row.source_epoch),
|
|
214
|
+
releaseSha: row.release_sha,
|
|
215
|
+
rolloutGeneration: Number(row.rollout_generation),
|
|
216
|
+
sourceManifestFingerprint: row.source_manifest_fingerprint,
|
|
217
|
+
evidenceFingerprint: row.evidence_fingerprint,
|
|
218
|
+
safeResult: safeResult.data,
|
|
219
|
+
previewExpiresAt: row.preview_expires_at,
|
|
220
|
+
fingerprint: sha256Canonical({
|
|
221
|
+
...row,
|
|
222
|
+
safe_result: safeResult.data,
|
|
223
|
+
}),
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
async #assertSourceFence(connection) {
|
|
227
|
+
await new PostgresPlatformAuthLegacyInventorySources({
|
|
228
|
+
googleRealm: this.#options.googleRealm,
|
|
229
|
+
sourceAvailability: this.#options.sourceAvailability,
|
|
230
|
+
excludedSubjects: [],
|
|
231
|
+
}).assertManifest(connection);
|
|
232
|
+
await assertPlatformAuthInventorySourceFence(connection, this.#options.sourceAvailability);
|
|
233
|
+
}
|
|
234
|
+
#assertSameLocal(first, second) {
|
|
235
|
+
if (first.evidenceFingerprint !== second.evidenceFingerprint)
|
|
236
|
+
throw new PlatformAccountResetPreviewError('operation_conflict');
|
|
237
|
+
}
|
|
238
|
+
#sourceManifestFingerprint() {
|
|
239
|
+
return sha256Canonical({
|
|
240
|
+
schemaVersion: 1,
|
|
241
|
+
label: 'platform_auth_inventory_source_manifest',
|
|
242
|
+
manifest: this.#options.sourceAvailability,
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
#transactionOptions(deadline) {
|
|
246
|
+
const timeout = deadline === undefined
|
|
247
|
+
? this.#options.localCaptureTimeoutMs
|
|
248
|
+
: remainingPlatformAccountResetDispatchMilliseconds(deadline, this.#options.localCaptureTimeoutMs);
|
|
249
|
+
return {
|
|
250
|
+
lockTables: PLATFORM_ACCOUNT_RESET_EXECUTION_TABLES,
|
|
251
|
+
lockTimeoutMs: timeout,
|
|
252
|
+
statementTimeoutMs: timeout,
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
function compareResource(left, right) {
|
|
257
|
+
return canonicalJson(left).localeCompare(canonicalJson(right));
|
|
258
|
+
}
|
|
259
|
+
function validPositive(value, fallback) {
|
|
260
|
+
return value !== undefined && Number.isSafeInteger(value) && value > 0 ? value : fallback;
|
|
261
|
+
}
|
|
262
|
+
//# sourceMappingURL=platform-account-reset-rollback-preview-postgres.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-account-reset-rollback-preview-postgres.js","sourceRoot":"","sources":["../src/platform-account-reset-rollback-preview-postgres.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,gCAAgC,EAEhC,gDAAgD,GACjD,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,iDAAiD,EAAE,MAAM,oDAAoD,CAAC;AACvH,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,yCAAyC,C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CAAC,CAAC;IACL,CAAC;IAED,mBAAmB,CAAC,QAAiB;QACnC,MAAM,OAAO,GACX,QAAQ,KAAK,SAAS;YACpB,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,qBAAqB;YACrC,CAAC,CAAC,iDAAiD,CAC/C,QAAQ,EACR,IAAI,CAAC,QAAQ,CAAC,qBAAqB,CACpC,CAAC;QACR,OAAO;YACL,UAAU,EAAE,uCAAuC;YACnD,aAAa,EAAE,OAAO;YACtB,kBAAkB,EAAE,OAAO;SAC5B,CAAC;IACJ,CAAC;CACF;AAED,SAAS,eAAe,CACtB,IAAkD,EAClD,KAAmD;IAEnD,OAAO,aAAa,CAAC,IAAI,CAAC,CAAC,aAAa,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;AACjE,CAAC;AAED,SAAS,aAAa,CAAC,KAAyB,EAAE,QAAgB;IAChE,OAAO,KAAK,KAAK,SAAS,IAAI,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC;AAC5F,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PlatformIdentityQueryable } from './platform-identity-schema-postgres.js';
|
|
2
|
+
/**
|
|
3
|
+
* Additive, service-only persistence for the exact-three account reset. Sensitive reservation and locator
|
|
4
|
+
* fields never appear in the append-only event table or the public result contract.
|
|
5
|
+
*/
|
|
6
|
+
export declare function ensurePlatformAccountResetSchema(pool: PlatformIdentityQueryable): Promise<void>;
|
|
7
|
+
//# sourceMappingURL=platform-account-reset-schema-postgres.d.ts.map
|
package/node_modules/@noodle-borg/service/dist/platform-account-reset-schema-postgres.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-account-reset-schema-postgres.d.ts","sourceRoot":"","sources":["../src/platform-account-reset-schema-postgres.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAExF;;;GAGG;AACH,wBAAsB,gCAAgC,CACpD,IAAI,EAAE,yBAAyB,GAC9B,OAAO,CAAC,IAAI,CAAC,CAmbf"}
|