@noodleseed/one 0.84.4 → 0.85.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/commands/catalog-data-platform-auth.d.ts.map +1 -1
- package/dist/commands/catalog-data-platform-auth.js +10 -0
- package/dist/commands/catalog-data-platform-auth.js.map +1 -1
- package/dist/commands/platform-auth-migration-args.d.ts +4 -0
- package/dist/commands/platform-auth-migration-args.d.ts.map +1 -1
- package/dist/commands/platform-auth-migration-args.js +13 -0
- package/dist/commands/platform-auth-migration-args.js.map +1 -1
- package/dist/commands/platform-auth-migration-ops.d.ts.map +1 -1
- package/dist/commands/platform-auth-migration-ops.js +44 -6
- package/dist/commands/platform-auth-migration-ops.js.map +1 -1
- package/dist/commands/platform-auth-rollout-acceleration-files.d.ts +23 -0
- package/dist/commands/platform-auth-rollout-acceleration-files.d.ts.map +1 -0
- package/dist/commands/platform-auth-rollout-acceleration-files.js +74 -0
- package/dist/commands/platform-auth-rollout-acceleration-files.js.map +1 -0
- package/node_modules/@noodle-borg/agent-kit/dist/generated/example-files.js +2 -2
- 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.d.ts.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-embedded-assistant-ref.js +3 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-embedded-assistant-ref.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-operations-refs.d.ts.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-operations-refs.js +7 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-operations-refs.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/package.json +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-legacy-materialization-postgres.d.ts +10 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-legacy-materialization-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-legacy-materialization-postgres.js +121 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-legacy-materialization-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-legacy-workspace-postgres.d.ts +23 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-legacy-workspace-postgres.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-legacy-workspace-postgres.js +94 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-legacy-workspace-postgres.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-operation-postgres.d.ts +4 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-operation-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-operation-postgres.js +17 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-operation-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-operator.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-operator.js +13 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-operator.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-postgres.d.ts +3 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-postgres.js +11 -2
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-ownership-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-local-postgres.d.ts +3 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-local-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-local-postgres.js +117 -38
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-local-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-persistence-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-persistence-postgres.js +28 -9
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-persistence-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-postgres.d.ts +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-postgres.js +16 -6
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-result.d.ts +3 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-result.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-result.js +2 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-preview-result.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-quarantine-postgres.d.ts +2 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-quarantine-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-quarantine-postgres.js +21 -2
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-quarantine-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-postgres.js +7 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-rollback-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-schema-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-schema-postgres.js +148 -0
- package/node_modules/@noodle-borg/service/dist/platform-account-reset-schema-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-configuration.d.ts +15 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-configuration.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-source-fence-postgres.d.ts +2 -2
- 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 +3 -1
- 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-migration-schema.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-migration-schema.js +2 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-migration-schema.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-operator-rollout.d.ts +10 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-operator-rollout.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-operator-rollout.js +13 -3
- package/node_modules/@noodle-borg/service/dist/platform-auth-operator-rollout.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-operator.d.ts +63 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-operator.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-operator.js +5 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-operator.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-acceleration-schema.d.ts +4 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-acceleration-schema.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-acceleration-schema.js +43 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-acceleration-schema.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-acceleration.d.ts +38 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-acceleration.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-acceleration.js +97 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-acceleration.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-postgres.d.ts +0 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-postgres.js +49 -16
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-support.d.ts +27 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-support.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-support.js +28 -4
- package/node_modules/@noodle-borg/service/dist/platform-auth-rollout-support.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/registry-state.d.ts +3 -1
- package/node_modules/@noodle-borg/service/dist/registry-state.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/registry-state.js +4 -1
- package/node_modules/@noodle-borg/service/dist/registry-state.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/registry-status.d.ts +16 -0
- package/node_modules/@noodle-borg/service/dist/registry-status.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/registry-status.js +30 -0
- package/node_modules/@noodle-borg/service/dist/registry-status.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/registry-targets.d.ts +6 -0
- package/node_modules/@noodle-borg/service/dist/registry-targets.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/registry-targets.js +42 -2
- package/node_modules/@noodle-borg/service/dist/registry-targets.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/registry.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/registry.js +77 -51
- package/node_modules/@noodle-borg/service/dist/registry.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/in-memory.d.ts +4 -2
- package/node_modules/@noodle-borg/service/dist/store/in-memory.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/in-memory.js +16 -12
- package/node_modules/@noodle-borg/service/dist/store/in-memory.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/json-file.d.ts +4 -2
- package/node_modules/@noodle-borg/service/dist/store/json-file.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/json-file.js +50 -31
- package/node_modules/@noodle-borg/service/dist/store/json-file.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/postgres-rows.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/postgres-rows.js +19 -3
- package/node_modules/@noodle-borg/service/dist/store/postgres-rows.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/postgres.d.ts +4 -2
- package/node_modules/@noodle-borg/service/dist/store/postgres.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store/postgres.js +19 -9
- package/node_modules/@noodle-borg/service/dist/store/postgres.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/store.d.ts +4 -2
- package/node_modules/@noodle-borg/service/dist/store.d.ts.map +1 -1
- package/node_modules/@noodle-borg/transport-http/dist/admission-context.d.ts +4 -0
- package/node_modules/@noodle-borg/transport-http/dist/admission-context.d.ts.map +1 -0
- package/node_modules/@noodle-borg/transport-http/dist/admission-context.js +37 -0
- package/node_modules/@noodle-borg/transport-http/dist/admission-context.js.map +1 -0
- package/node_modules/@noodle-borg/transport-http/dist/handler.d.ts +1 -1
- package/node_modules/@noodle-borg/transport-http/dist/handler.d.ts.map +1 -1
- package/node_modules/@noodle-borg/transport-http/dist/handler.js +13 -38
- package/node_modules/@noodle-borg/transport-http/dist/handler.js.map +1 -1
- package/package.json +1 -1
|
@@ -81,6 +81,36 @@ export async function ensurePlatformAccountResetSchema(pool) {
|
|
|
81
81
|
updated_at timestamptz NOT NULL DEFAULT now(),
|
|
82
82
|
PRIMARY KEY (operation_id, principal_id)
|
|
83
83
|
)
|
|
84
|
+
`);
|
|
85
|
+
await pool.query(`
|
|
86
|
+
CREATE TABLE IF NOT EXISTS platform_account_reset_legacy_targets (
|
|
87
|
+
operation_id text NOT NULL
|
|
88
|
+
REFERENCES platform_account_reset_operations(operation_id) ON DELETE RESTRICT,
|
|
89
|
+
legacy_google_subject text NOT NULL
|
|
90
|
+
CHECK (char_length(legacy_google_subject) BETWEEN 1 AND 64),
|
|
91
|
+
target_fingerprint text NOT NULL CHECK (target_fingerprint ~ '^[0-9a-f]{64}$'),
|
|
92
|
+
source_snapshot_fingerprint text NOT NULL
|
|
93
|
+
CHECK (source_snapshot_fingerprint ~ '^[0-9a-f]{64}$'),
|
|
94
|
+
personal_org_slug text NOT NULL CHECK (char_length(personal_org_slug) > 0),
|
|
95
|
+
billing_identity_issuer text NOT NULL
|
|
96
|
+
CHECK (billing_identity_issuer = 'https://accounts.google.com'),
|
|
97
|
+
billing_subject text NOT NULL CHECK (
|
|
98
|
+
char_length(billing_subject) > 0
|
|
99
|
+
AND billing_subject = legacy_google_subject
|
|
100
|
+
),
|
|
101
|
+
billing_account_id text NOT NULL CHECK (char_length(billing_account_id) > 0),
|
|
102
|
+
workspace_plan_fingerprint text NOT NULL
|
|
103
|
+
CHECK (workspace_plan_fingerprint ~ '^[0-9a-f]{64}$'),
|
|
104
|
+
lifecycle text NOT NULL CHECK (lifecycle IN (
|
|
105
|
+
'previewed', 'materialized', 'quarantined', 'rolled_back',
|
|
106
|
+
'finalizing', 'finalization_blocked', 'finalized'
|
|
107
|
+
)),
|
|
108
|
+
created_at timestamptz NOT NULL DEFAULT now(),
|
|
109
|
+
updated_at timestamptz NOT NULL DEFAULT now(),
|
|
110
|
+
PRIMARY KEY (operation_id, legacy_google_subject),
|
|
111
|
+
UNIQUE (operation_id, personal_org_slug),
|
|
112
|
+
UNIQUE (operation_id, billing_account_id)
|
|
113
|
+
)
|
|
84
114
|
`);
|
|
85
115
|
await pool.query(`
|
|
86
116
|
CREATE TABLE IF NOT EXISTS platform_account_reset_email_reservations (
|
|
@@ -314,6 +344,107 @@ export async function ensurePlatformAccountResetSchema(pool) {
|
|
|
314
344
|
RETURN NEW;
|
|
315
345
|
END;
|
|
316
346
|
$$ LANGUAGE plpgsql
|
|
347
|
+
`);
|
|
348
|
+
await pool.query(`
|
|
349
|
+
CREATE OR REPLACE FUNCTION platform_account_reset_legacy_target_transition_allowed(
|
|
350
|
+
prior_lifecycle text, next_lifecycle text
|
|
351
|
+
) RETURNS boolean AS $$
|
|
352
|
+
SELECT prior_lifecycle = next_lifecycle OR (prior_lifecycle, next_lifecycle) IN (
|
|
353
|
+
('previewed', 'materialized'),
|
|
354
|
+
('materialized', 'quarantined'),
|
|
355
|
+
('quarantined', 'rolled_back'),
|
|
356
|
+
('quarantined', 'finalizing'),
|
|
357
|
+
('finalizing', 'finalization_blocked'),
|
|
358
|
+
('finalizing', 'finalized'),
|
|
359
|
+
('finalization_blocked', 'finalizing')
|
|
360
|
+
)
|
|
361
|
+
$$ LANGUAGE sql IMMUTABLE
|
|
362
|
+
`);
|
|
363
|
+
await pool.query(`
|
|
364
|
+
CREATE OR REPLACE FUNCTION platform_account_reset_legacy_target_guard() RETURNS trigger AS $$
|
|
365
|
+
BEGIN
|
|
366
|
+
IF TG_OP = 'DELETE' THEN
|
|
367
|
+
RAISE EXCEPTION 'platform account reset legacy target identity is immutable';
|
|
368
|
+
END IF;
|
|
369
|
+
IF TG_OP = 'INSERT' AND EXISTS (
|
|
370
|
+
SELECT 1 FROM platform_account_reset_targets
|
|
371
|
+
WHERE operation_id = NEW.operation_id
|
|
372
|
+
) THEN
|
|
373
|
+
RAISE EXCEPTION 'platform account reset target shape cannot be mixed';
|
|
374
|
+
END IF;
|
|
375
|
+
IF TG_OP = 'UPDATE' AND (
|
|
376
|
+
OLD.operation_id IS DISTINCT FROM NEW.operation_id
|
|
377
|
+
OR OLD.legacy_google_subject IS DISTINCT FROM NEW.legacy_google_subject
|
|
378
|
+
OR OLD.target_fingerprint IS DISTINCT FROM NEW.target_fingerprint
|
|
379
|
+
OR OLD.source_snapshot_fingerprint IS DISTINCT FROM NEW.source_snapshot_fingerprint
|
|
380
|
+
OR OLD.personal_org_slug IS DISTINCT FROM NEW.personal_org_slug
|
|
381
|
+
OR OLD.billing_identity_issuer IS DISTINCT FROM NEW.billing_identity_issuer
|
|
382
|
+
OR OLD.billing_subject IS DISTINCT FROM NEW.billing_subject
|
|
383
|
+
OR OLD.billing_account_id IS DISTINCT FROM NEW.billing_account_id
|
|
384
|
+
OR OLD.workspace_plan_fingerprint IS DISTINCT FROM NEW.workspace_plan_fingerprint
|
|
385
|
+
) THEN
|
|
386
|
+
RAISE EXCEPTION 'platform account reset legacy target identity is immutable';
|
|
387
|
+
END IF;
|
|
388
|
+
IF TG_OP = 'UPDATE'
|
|
389
|
+
AND NOT platform_account_reset_legacy_target_transition_allowed(
|
|
390
|
+
OLD.lifecycle, NEW.lifecycle
|
|
391
|
+
) THEN
|
|
392
|
+
RAISE EXCEPTION 'platform account reset lifecycle transition is invalid';
|
|
393
|
+
END IF;
|
|
394
|
+
RETURN NEW;
|
|
395
|
+
END;
|
|
396
|
+
$$ LANGUAGE plpgsql
|
|
397
|
+
`);
|
|
398
|
+
await pool.query(`
|
|
399
|
+
CREATE OR REPLACE FUNCTION platform_account_reset_target_shape_guard() RETURNS trigger AS $$
|
|
400
|
+
BEGIN
|
|
401
|
+
IF EXISTS (
|
|
402
|
+
SELECT 1 FROM platform_account_reset_legacy_targets
|
|
403
|
+
WHERE operation_id = NEW.operation_id AND lifecycle <> 'materialized'
|
|
404
|
+
) THEN
|
|
405
|
+
RAISE EXCEPTION 'platform account reset target shape cannot be mixed';
|
|
406
|
+
END IF;
|
|
407
|
+
RETURN NEW;
|
|
408
|
+
END;
|
|
409
|
+
$$ LANGUAGE plpgsql
|
|
410
|
+
`);
|
|
411
|
+
await pool.query(`
|
|
412
|
+
CREATE OR REPLACE FUNCTION platform_account_reset_legacy_exact_three_guard()
|
|
413
|
+
RETURNS trigger AS $$
|
|
414
|
+
DECLARE
|
|
415
|
+
legacy_count integer;
|
|
416
|
+
canonical_count integer;
|
|
417
|
+
operation_lifecycle text;
|
|
418
|
+
BEGIN
|
|
419
|
+
SELECT count(*)::int INTO legacy_count
|
|
420
|
+
FROM platform_account_reset_legacy_targets
|
|
421
|
+
WHERE operation_id = NEW.operation_id;
|
|
422
|
+
SELECT count(*)::int INTO canonical_count
|
|
423
|
+
FROM platform_account_reset_targets
|
|
424
|
+
WHERE operation_id = NEW.operation_id;
|
|
425
|
+
SELECT lifecycle INTO operation_lifecycle
|
|
426
|
+
FROM platform_account_reset_operations
|
|
427
|
+
WHERE operation_id = NEW.operation_id;
|
|
428
|
+
IF legacy_count <> 3
|
|
429
|
+
OR (
|
|
430
|
+
operation_lifecycle = 'previewed'
|
|
431
|
+
AND (
|
|
432
|
+
canonical_count <> 0
|
|
433
|
+
OR EXISTS (
|
|
434
|
+
SELECT 1 FROM platform_account_reset_legacy_targets
|
|
435
|
+
WHERE operation_id = NEW.operation_id AND lifecycle <> 'previewed'
|
|
436
|
+
)
|
|
437
|
+
)
|
|
438
|
+
)
|
|
439
|
+
OR (
|
|
440
|
+
operation_lifecycle <> 'previewed'
|
|
441
|
+
AND canonical_count <> 3
|
|
442
|
+
) THEN
|
|
443
|
+
RAISE EXCEPTION 'platform account reset legacy target set must contain exactly three';
|
|
444
|
+
END IF;
|
|
445
|
+
RETURN NULL;
|
|
446
|
+
END;
|
|
447
|
+
$$ LANGUAGE plpgsql
|
|
317
448
|
`);
|
|
318
449
|
await pool.query(`
|
|
319
450
|
CREATE OR REPLACE FUNCTION platform_account_reset_event_append_only() RETURNS trigger AS $$
|
|
@@ -396,6 +527,22 @@ export async function ensurePlatformAccountResetSchema(pool) {
|
|
|
396
527
|
CREATE TRIGGER platform_account_reset_target_guard_trigger
|
|
397
528
|
BEFORE UPDATE OR DELETE ON platform_account_reset_targets
|
|
398
529
|
FOR EACH ROW EXECUTE FUNCTION platform_account_reset_target_guard();
|
|
530
|
+
DROP TRIGGER IF EXISTS platform_account_reset_target_shape_guard_trigger
|
|
531
|
+
ON platform_account_reset_targets;
|
|
532
|
+
CREATE TRIGGER platform_account_reset_target_shape_guard_trigger
|
|
533
|
+
BEFORE INSERT ON platform_account_reset_targets
|
|
534
|
+
FOR EACH ROW EXECUTE FUNCTION platform_account_reset_target_shape_guard();
|
|
535
|
+
DROP TRIGGER IF EXISTS platform_account_reset_legacy_target_guard_trigger
|
|
536
|
+
ON platform_account_reset_legacy_targets;
|
|
537
|
+
CREATE TRIGGER platform_account_reset_legacy_target_guard_trigger
|
|
538
|
+
BEFORE INSERT OR UPDATE OR DELETE ON platform_account_reset_legacy_targets
|
|
539
|
+
FOR EACH ROW EXECUTE FUNCTION platform_account_reset_legacy_target_guard();
|
|
540
|
+
DROP TRIGGER IF EXISTS platform_account_reset_legacy_exact_three_guard_trigger
|
|
541
|
+
ON platform_account_reset_legacy_targets;
|
|
542
|
+
CREATE CONSTRAINT TRIGGER platform_account_reset_legacy_exact_three_guard_trigger
|
|
543
|
+
AFTER INSERT OR UPDATE ON platform_account_reset_legacy_targets
|
|
544
|
+
DEFERRABLE INITIALLY DEFERRED
|
|
545
|
+
FOR EACH ROW EXECUTE FUNCTION platform_account_reset_legacy_exact_three_guard();
|
|
399
546
|
DROP TRIGGER IF EXISTS platform_account_reset_cleanup_guard_trigger
|
|
400
547
|
ON platform_account_reset_cleanup_ledger;
|
|
401
548
|
CREATE TRIGGER platform_account_reset_cleanup_guard_trigger
|
|
@@ -430,6 +577,7 @@ export async function ensurePlatformAccountResetSchema(pool) {
|
|
|
430
577
|
await pool.query(`
|
|
431
578
|
REVOKE ALL ON platform_account_reset_operations,
|
|
432
579
|
platform_account_reset_targets,
|
|
580
|
+
platform_account_reset_legacy_targets,
|
|
433
581
|
platform_account_reset_email_reservations,
|
|
434
582
|
platform_account_reset_cleanup_ledger,
|
|
435
583
|
platform_account_reset_events,
|
package/node_modules/@noodle-borg/service/dist/platform-account-reset-schema-postgres.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-account-reset-schema-postgres.js","sourceRoot":"","sources":["../src/platform-account-reset-schema-postgres.ts"],"names":[],"m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CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;;;;;;;GAWhB,CAAC,CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;;;GAOhB,CAAC,CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;GAkBhB,CAAC,CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;;GAMhB,CAAC,CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;;;;GAQhB,CAAC,CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDhB,CAAC,CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CAAC
|
|
1
|
+
{"version":3,"file":"platform-account-reset-schema-postgres.js","sourceRoot":"","sources":["../src/platform-account-reset-schema-postgres.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,gCAAgC,CACpD,IAA+B;IAE/B,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BhB,CAAC,CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CACd,+gBAA+gB,CAChhB,CAAC;IACF,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BhB,CAAC,CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;GAKhB,CAAC,CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;;;;;;;;;;GAchB,CAAC,CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BhB,CAAC,CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;;;;;;;GAWhB,CAAC,CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;GAkBhB,C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K,CAAC;;;;;;GAMhB,CAAC,CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;;;;GAQhB,CAAC,CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDhB,CAAC,CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDhB,CAAC,CAAC;IACH,MAAM,IAAI,CAAC,KAAK,CAAC;;;;;;;;GAQhB,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -62,6 +62,21 @@ export declare function configurationBoundPreviewRequest(state: DurableState, ag
|
|
|
62
62
|
canaryClientIds: readonly string[];
|
|
63
63
|
recoveryClientIds: readonly string[];
|
|
64
64
|
releaseSha: string;
|
|
65
|
+
accelerationApproval: {
|
|
66
|
+
schemaVersion: 1;
|
|
67
|
+
exception: "exact_three_legacy_cutover";
|
|
68
|
+
targetEnvironment: "production";
|
|
69
|
+
releaseSha: string;
|
|
70
|
+
expectedGeneration: number;
|
|
71
|
+
fromPercentage: 1 | 50 | 100 | 10;
|
|
72
|
+
toPercentage: 1 | 50 | 100 | 10;
|
|
73
|
+
approvedAt: string;
|
|
74
|
+
evidence: {
|
|
75
|
+
stageVolumeChecksum: string;
|
|
76
|
+
criticalSmokesChecksum: string;
|
|
77
|
+
rollbackSmokeChecksum: string;
|
|
78
|
+
};
|
|
79
|
+
} | null;
|
|
65
80
|
};
|
|
66
81
|
export {};
|
|
67
82
|
//# sourceMappingURL=platform-auth-configuration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-auth-configuration.d.ts","sourceRoot":"","sources":["../src/platform-auth-configuration.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,OAAO,EACZ,cAAc,EACf,MAAM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G,SAAS,CAAC;CACpE,CAAC;AAEN,iHAAiH;AACjH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE1E;AAED,wGAAwG;AACxG,wBAAgB,0CAA0C,CACxD,OAAO,EAAE,iCAAiC,EAC1C,UAAU,EAAE,2BAA2B,GAAG,SAAS,GAClD,IAAI,CAiBN;AAED,0GAA0G;AAC1G,wBAAgB,6CAA6C,CAC3D,KAAK,EAAE,yBAAyB,EAChC,MAAM,EAAE,0BAA0B,EAClC,UAAU,EAAE,2BAA2B,GAAG,SAAS,EACnD,cAAc,EAAE,MAAM,GACrB,8BAA8B,CAyBhC;AAED,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,YAAY,EACnB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,EAC3C,aAAa,EAAE,+BAA+B,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM3D"}
|
package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-source-fence-postgres.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type PlatformAuthInventorySourceManifest } from './platform-auth-inventory-sources.js';
|
|
2
2
|
import type { PlatformIdentityQueryable } from './platform-identity-postgres.js';
|
|
3
3
|
export { acquirePlatformAuthInventorySourceFence, releasePlatformAuthInventorySourceFence, runPlatformAuthInventorySourceFenceTransaction, } from './platform-auth-inventory-source-fence-transaction-postgres.js';
|
|
4
|
-
export declare const PLATFORM_ACCOUNT_RESET_PREVIEW_TABLES: readonly ["apps", "billing_account_defaults", "billing_account_members", "billing_accounts", "billing_stripe_customers", "billing_stripe_subscription_bindings", "deploy_records", "developer_access_grants", "environments", "oauth_authorization_codes", "oauth_consent_grant_provenance", "oauth_consent_grants", "oauth_device_authorizations", "oauth_refresh_tokens", "org_billing_home_accounts", "org_billing_links", "org_members", "orgs", "personal_workspace_bindings", "platform_auth_rollout_state", "platform_identity_links", "platform_principals", "platform_verified_emails", "repo_connections", "state_handle_records", "welcome_email_outbox", "workos_import_attempt_evidence", "workos_import_ledger"];
|
|
5
|
-
export declare const PLATFORM_ACCOUNT_RESET_EXECUTION_TABLES: readonly ["apps", "billing_account_defaults", "billing_account_members", "billing_accounts", "billing_stripe_customers", "billing_stripe_subscription_bindings", "deploy_records", "developer_access_grants", "environments", "oauth_authorization_codes", "oauth_consent_grant_provenance", "oauth_consent_grants", "oauth_device_authorizations", "oauth_refresh_tokens", "org_billing_home_accounts", "org_billing_links", "org_members", "orgs", "personal_workspace_bindings", "platform_auth_rollout_state", "platform_identity_links", "platform_principals", "platform_verified_emails", "repo_connections", "state_handle_records", "welcome_email_outbox", "workos_import_attempt_evidence", "workos_import_ledger", "identity_migration_runs", "platform_account_reset_cleanup_ledger", "platform_account_reset_email_reservations", "platform_account_reset_events", "platform_account_reset_operations", "platform_account_reset_rollback_previews", "platform_account_reset_targets", "platform_auth_inventory_candidates"
|
|
4
|
+
export declare const PLATFORM_ACCOUNT_RESET_PREVIEW_TABLES: readonly ["apps", "billing_account_defaults", "billing_account_members", "billing_accounts", "billing_stripe_customers", "billing_stripe_subscription_bindings", "deploy_records", "developer_access_grants", "environments", "identity_backfill_ledger", "oauth_authorization_codes", "oauth_consent_grant_provenance", "oauth_consent_grants", "oauth_device_authorizations", "oauth_refresh_tokens", "org_billing_home_accounts", "org_billing_links", "org_members", "orgs", "personal_workspace_bindings", "platform_auth_rollout_state", "platform_identity_links", "platform_identity_sync_outbox", "platform_principals", "platform_verified_emails", "repo_connections", "state_handle_records", "welcome_email_outbox", "workos_import_attempt_evidence", "workos_import_ledger"];
|
|
5
|
+
export declare const PLATFORM_ACCOUNT_RESET_EXECUTION_TABLES: readonly ["apps", "billing_account_defaults", "billing_account_members", "billing_accounts", "billing_stripe_customers", "billing_stripe_subscription_bindings", "deploy_records", "developer_access_grants", "environments", "identity_backfill_ledger", "oauth_authorization_codes", "oauth_consent_grant_provenance", "oauth_consent_grants", "oauth_device_authorizations", "oauth_refresh_tokens", "org_billing_home_accounts", "org_billing_links", "org_members", "orgs", "personal_workspace_bindings", "platform_auth_rollout_state", "platform_identity_links", "platform_identity_sync_outbox", "platform_principals", "platform_verified_emails", "repo_connections", "state_handle_records", "welcome_email_outbox", "workos_import_attempt_evidence", "workos_import_ledger", "identity_migration_runs", "platform_account_reset_cleanup_ledger", "platform_account_reset_email_reservations", "platform_account_reset_events", "platform_account_reset_legacy_targets", "platform_account_reset_operations", "platform_account_reset_rollback_previews", "platform_account_reset_targets", "platform_auth_inventory_candidates"];
|
|
6
6
|
export declare const PLATFORM_AUTH_INVENTORY_CANONICAL_TABLES: readonly ["platform_principals", "platform_identity_links", "platform_verified_emails"];
|
|
7
7
|
/** Installs additive, statement-level change evidence without serializing writers on a counter row. */
|
|
8
8
|
export declare function ensurePlatformAuthInventorySourceFenceSchema(pool: PlatformIdentityQueryable): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-auth-inventory-source-fence-postgres.d.ts","sourceRoot":"","sources":["../src/platform-auth-inventory-source-fence-postgres.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,mCAAmC,EACzC,MAAM,sCAAsC,CAAC;AAE9C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAEjF,OAAO,EACL,uCAAuC,EACvC,uCAAuC,EACvC,8CAA8C,GAC/C,MAAM,gEAAgE,CAAC;AAGxE,eAAO,MAAM,qCAAqC,
|
|
1
|
+
{"version":3,"file":"platform-auth-inventory-source-fence-postgres.d.ts","sourceRoot":"","sources":["../src/platform-auth-inventory-source-fence-postgres.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,mCAAmC,EACzC,MAAM,sCAAsC,CAAC;AAE9C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAEjF,OAAO,EACL,uCAAuC,EACvC,uCAAuC,EACvC,8CAA8C,GAC/C,MAAM,gEAAgE,CAAC;AAGxE,eAAO,MAAM,qCAAqC,6vBA+BxC,CAAC;AACX,eAAO,MAAM,uCAAuC,ilCAW1C,CAAC;AACX,eAAO,MAAM,wCAAwC,yFAI3C,CAAC;AAGX,uGAAuG;AACvG,wBAAsB,4CAA4C,CAChE,IAAI,EAAE,yBAAyB,GAC9B,OAAO,CAAC,IAAI,CAAC,CAgCf;AAED,oGAAoG;AACpG,wBAAsB,+CAA+C,CACnE,IAAI,EAAE,yBAAyB,GAC9B,OAAO,CAAC,IAAI,CAAC,CAuCf;AAED,wBAAsB,sCAAsC,CAC1D,IAAI,EAAE,yBAAyB,EAC/B,QAAQ,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC,CA4Bf;AAMD,wBAAsB,oCAAoC,CACxD,IAAI,EAAE,yBAAyB,GAC9B,OAAO,CAAC,MAAM,CAAC,CAOjB;AAED,4GAA4G;AAC5G,wBAAsB,2CAA2C,CAC/D,UAAU,EAAE,yBAAyB,EACrC,YAAY,EAAE,SAAS,MAAM,EAAE,GAC9B,OAAO,CAAC,IAAI,CAAC,CAiBf"}
|
package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-source-fence-postgres.js
CHANGED
|
@@ -13,6 +13,7 @@ export const PLATFORM_ACCOUNT_RESET_PREVIEW_TABLES = [
|
|
|
13
13
|
'deploy_records',
|
|
14
14
|
'developer_access_grants',
|
|
15
15
|
'environments',
|
|
16
|
+
'identity_backfill_ledger',
|
|
16
17
|
'oauth_authorization_codes',
|
|
17
18
|
'oauth_consent_grant_provenance',
|
|
18
19
|
'oauth_consent_grants',
|
|
@@ -25,6 +26,7 @@ export const PLATFORM_ACCOUNT_RESET_PREVIEW_TABLES = [
|
|
|
25
26
|
'personal_workspace_bindings',
|
|
26
27
|
'platform_auth_rollout_state',
|
|
27
28
|
'platform_identity_links',
|
|
29
|
+
'platform_identity_sync_outbox',
|
|
28
30
|
'platform_principals',
|
|
29
31
|
'platform_verified_emails',
|
|
30
32
|
'repo_connections',
|
|
@@ -39,11 +41,11 @@ export const PLATFORM_ACCOUNT_RESET_EXECUTION_TABLES = [
|
|
|
39
41
|
'platform_account_reset_cleanup_ledger',
|
|
40
42
|
'platform_account_reset_email_reservations',
|
|
41
43
|
'platform_account_reset_events',
|
|
44
|
+
'platform_account_reset_legacy_targets',
|
|
42
45
|
'platform_account_reset_operations',
|
|
43
46
|
'platform_account_reset_rollback_previews',
|
|
44
47
|
'platform_account_reset_targets',
|
|
45
48
|
'platform_auth_inventory_candidates',
|
|
46
|
-
'platform_identity_sync_outbox',
|
|
47
49
|
];
|
|
48
50
|
export const PLATFORM_AUTH_INVENTORY_CANONICAL_TABLES = [
|
|
49
51
|
'platform_principals',
|
package/node_modules/@noodle-borg/service/dist/platform-auth-inventory-source-fence-postgres.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-auth-inventory-source-fence-postgres.js","sourceRoot":"","sources":["../src/platform-auth-inventory-source-fence-postgres.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gDAAgD,EAAE,MAAM,gEAAgE,CAAC;AAClI,OAAO,EACL,yCAAyC,GAE1C,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAG1E,OAAO,EACL,uCAAuC,EACvC,uCAAuC,EACvC,8CAA8C,GAC/C,MAAM,gEAAgE,CAAC;AAExE,MAAM,oBAAoB,GAAG,8CAA8C,CAAC;AAC5E,MAAM,CAAC,MAAM,qCAAqC,GAAG;IACnD,MAAM;IACN,0BAA0B;IAC1B,yBAAyB;IACzB,kBAAkB;IAClB,0BAA0B;IAC1B,sCAAsC;IACtC,gBAAgB;IAChB,yBAAyB;IACzB,cAAc;IACd,2BAA2B;IAC3B,gCAAgC;IAChC,sBAAsB;IACtB,6BAA6B;IAC7B,sBAAsB;IACtB,2BAA2B;IAC3B,mBAAmB;IACnB,aAAa;IACb,MAAM;IACN,6BAA6B;IAC7B,6BAA6B;IAC7B,yBAAyB;IACzB,qBAAqB;IACrB,0BAA0B;IAC1B,kBAAkB;IAClB,sBAAsB;IACtB,sBAAsB;IACtB,gCAAgC;IAChC,sBAAsB;CACd,CAAC;AACX,MAAM,CAAC,MAAM,uCAAuC,GAAG;IACrD,GAAG,qCAAqC;IACxC,yBAAyB;IACzB,uCAAuC;IACvC,2CAA2C;IAC3C,+BAA+B;IAC/B,mCAAmC;IACnC,0CAA0C;IAC1C,gCAAgC;IAChC,oCAAoC;
|
|
1
|
+
{"version":3,"file":"platform-auth-inventory-source-fence-postgres.js","sourceRoot":"","sources":["../src/platform-auth-inventory-source-fence-postgres.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gDAAgD,EAAE,MAAM,gEAAgE,CAAC;AAClI,OAAO,EACL,yCAAyC,GAE1C,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAG1E,OAAO,EACL,uCAAuC,EACvC,uCAAuC,EACvC,8CAA8C,GAC/C,MAAM,gEAAgE,CAAC;AAExE,MAAM,oBAAoB,GAAG,8CAA8C,CAAC;AAC5E,MAAM,CAAC,MAAM,qCAAqC,GAAG;IACnD,MAAM;IACN,0BAA0B;IAC1B,yBAAyB;IACzB,kBAAkB;IAClB,0BAA0B;IAC1B,sCAAsC;IACtC,gBAAgB;IAChB,yBAAyB;IACzB,cAAc;IACd,0BAA0B;IAC1B,2BAA2B;IAC3B,gCAAgC;IAChC,sBAAsB;IACtB,6BAA6B;IAC7B,sBAAsB;IACtB,2BAA2B;IAC3B,mBAAmB;IACnB,aAAa;IACb,MAAM;IACN,6BAA6B;IAC7B,6BAA6B;IAC7B,yBAAyB;IACzB,+BAA+B;IAC/B,qBAAqB;IACrB,0BAA0B;IAC1B,kBAAkB;IAClB,sBAAsB;IACtB,sBAAsB;IACtB,gCAAgC;IAChC,sBAAsB;CACd,CAAC;A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,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC;IACpC,IAAI,KAAK,KAAK,SAAS;QAAE,MAAM,IAAI,0BAA0B,CAAC,uBAAuB,CAAC,CAAC;IACvF,OAAO,KAAK,CAAC;AACf,CAAC;AAED,4GAA4G;AAC5G,MAAM,CAAC,KAAK,UAAU,2CAA2C,CAC/D,UAAqC,EACrC,YAA+B;IAE/B,MAAM,OAAO,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5F,KAAK,MAAM,MAAM,IAAI,OAAO;QAC1B,MAAM,UAAU,CAAC,KAAK,CACpB;;SAEG,EACH,CAAC,MAAM,CAAC,CACT,CAAC;IACJ,MAAM,UAAU,CAAC,KAAK,CACpB;;;;gBAIY,EACZ,CAAC,OAAO,CAAC,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-auth-migration-schema.d.ts","sourceRoot":"","sources":["../src/platform-auth-migration-schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"platform-auth-migration-schema.d.ts","sourceRoot":"","sources":["../src/platform-auth-migration-schema.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAExF,KAAK,gBAAgB,GAAG,yBAAyB,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAC7E,KAAK,UAAU,GAAG,yBAAyB,GAAG;IAC5C,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,gBAAgB,CAAC,CAAC;CAC3C,CAAC;AA0BF,gFAAgF;AAChF,wBAAsB,iCAAiC,CACrD,IAAI,EAAE,yBAAyB,GAC9B,OAAO,CAAC,IAAI,CAAC,CA6Qf;AAED;;;;GAIG;AACH,wBAAsB,kCAAkC,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAgGxF"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createHash } from 'node:crypto';
|
|
2
2
|
import { ensurePlatformAuthInventorySourceFenceSchema } from './platform-auth-inventory-source-fence-postgres.js';
|
|
3
|
+
import { ensurePlatformAuthRolloutAccelerationSchema } from './platform-auth-rollout-acceleration-schema.js';
|
|
3
4
|
/** Additive Task 3 storage kept separate from the canonical identity schema. */
|
|
4
5
|
export async function ensurePlatformAuthMigrationSchema(pool) {
|
|
5
6
|
await pool.query(`
|
|
@@ -269,6 +270,7 @@ export async function ensurePlatformAuthMigrationSchema(pool) {
|
|
|
269
270
|
ADD COLUMN IF NOT EXISTS staging_workos_only_smoke_checksum text
|
|
270
271
|
CHECK (staging_workos_only_smoke_checksum IS NULL OR staging_workos_only_smoke_checksum ~ '^[0-9a-f]{64}$')
|
|
271
272
|
`);
|
|
273
|
+
await ensurePlatformAuthRolloutAccelerationSchema(pool);
|
|
272
274
|
}
|
|
273
275
|
/**
|
|
274
276
|
* Upgrades the rollout clock and frozen inventory shape shipped by preceding releases. Original inventory
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-auth-migration-schema.js","sourceRoot":"","sources":["../src/platform-auth-migration-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,4CAA4C,EAAE,MAAM,oDAAoD,CAAC;
|
|
1
|
+
{"version":3,"file":"platform-auth-migration-schema.js","sourceRoot":"","sources":["../src/platform-auth-migration-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,4CAA4C,EAAE,MAAM,oDAAoD,CAAC;AAClH,OAAO,EAAE,2CAA2C,EAAE,MAAM,gDA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AAI,CAAC,GAAG,QAAQ,CAAC;IAC9C,CAAC;IACD,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,QAAkB,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACtF,MAAM,IAAI,KAAK,CAAC,kEAAkE,CAAC,CAAC;IACtF,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,CAAC,aAAa,EAAE,QAAQ,EAAE,CAAC;AAC3E,CAAC;AAED,MAAM,oBAAoB,GAAG;IAC3B,sCAAsC;IACtC,wBAAwB;IACxB,kCAAkC;IAClC,sBAAsB;IACtB,uBAAuB;IACvB,yBAAyB;CACjB,CAAC;AACX,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAAS,oBAAoB,CAAC,CAAC;AAEjE,SAAS,UAAU,CAAC,KAAc;IAChC,OAAO,UAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAC1E,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PlatformAuthExecuteInput, PlatformAuthOperationPreview, PlatformAuthOperatorSnapshot, PlatformAuthPreviewRequest } from './platform-auth-operator.js';
|
|
2
|
+
import type { PlatformAuthRolloutAccelerationApproval } from './platform-auth-rollout-acceleration.js';
|
|
2
3
|
export type PlatformAuthOperatorRolloutTarget = {
|
|
3
4
|
readonly cohortMode: 'preserve';
|
|
4
5
|
} | {
|
|
@@ -28,7 +29,15 @@ export declare function platformAuthFinalizationEvidence(input: Extract<Platform
|
|
|
28
29
|
readonly rollbackRehearsalChecksum: string;
|
|
29
30
|
readonly stagingWorkosOnlySmokeChecksum: string;
|
|
30
31
|
} | {
|
|
31
|
-
readonly operation: 'activate'
|
|
32
|
+
readonly operation: 'activate';
|
|
33
|
+
readonly accelerationApproval?: PlatformAuthRolloutAccelerationApproval;
|
|
34
|
+
} | {
|
|
35
|
+
readonly operation: 'rollback';
|
|
36
|
+
};
|
|
37
|
+
export declare function platformAuthRolloutAcceleration(input: Extract<PlatformAuthPreviewRequest | PlatformAuthExecuteInput, {
|
|
38
|
+
operation: 'activate';
|
|
39
|
+
}>): {
|
|
40
|
+
readonly accelerationApproval?: PlatformAuthRolloutAccelerationApproval;
|
|
32
41
|
};
|
|
33
42
|
export declare function platformAuthExecutionPreviewRequest(input: Extract<PlatformAuthExecuteInput, {
|
|
34
43
|
readonly operation: 'activate' | 'rollback' | 'finalize';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-auth-operator-rollout.d.ts","sourceRoot":"","sources":["../src/platform-auth-operator-rollout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,4BAA4B,EAC5B,4BAA4B,EAC5B,0BAA0B,EAC3B,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"platform-auth-operator-rollout.d.ts","sourceRoot":"","sources":["../src/platform-auth-operator-rollout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,4BAA4B,EAC5B,4BAA4B,EAC5B,0BAA0B,EAC3B,MAAM,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,yCAAyC,CAAC;AAEvG,MAAM,MAAM,iCAAiC,GACzC;IAAE,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAA;CAAE,GACnC;IACE,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC;IAC/B,QAAQ,CAAC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5C,QAAQ,CAAC,iBAAiB,EAAE,SAAS,MAAM,EAAE,CAAC;CAC/C,CAAC;AAEN,eAAO,MAAM,4CAA4C,QAA4B,CAAC;AAEtF,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,0BAA0B,EACjC,QA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,CAAC,oBAAoB,CAAC,EAAE,uCAAuC,CAAC;CACzE,GACD;IAAE,QAAQ,CAAC,SAAS,EAAE,UAAU,CAAA;CAAE,CAWrC;AAED,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,OAAO,CAAC,0BAA0B,GAAG,wBAAwB,EAAE;IAAE,SAAS,EAAE,UAAU,CAAA;CAAE,CAAC,GAC/F;IACD,QAAQ,CAAC,oBAAoB,CAAC,EAAE,uCAAuC,CAAC;CACzE,CAIA;AAED,wBAAgB,mCAAmC,CACjD,KAAK,EAAE,OAAO,CACZ,wBAAwB,EACxB;IAAE,QAAQ,CAAC,SAAS,EAAE,UAAU,GAAG,UAAU,GAAG,UAAU,CAAA;CAAE,CAC7D,GACA,0BAA0B,CA4B5B"}
|
|
@@ -115,14 +115,22 @@ export function platformAuthRolloutPercentage(input) {
|
|
|
115
115
|
: 100;
|
|
116
116
|
}
|
|
117
117
|
export function platformAuthFinalizationEvidence(input) {
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
if (input.operation === 'finalize') {
|
|
119
|
+
return {
|
|
120
120
|
operation: input.operation,
|
|
121
121
|
rollbackRehearsalChecksum: input.rollbackRehearsalChecksum,
|
|
122
122
|
stagingWorkosOnlySmokeChecksum: input.stagingWorkosOnlySmokeChecksum,
|
|
123
|
-
}
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
return input.operation === 'activate'
|
|
126
|
+
? { operation: input.operation, ...platformAuthRolloutAcceleration(input) }
|
|
124
127
|
: { operation: input.operation };
|
|
125
128
|
}
|
|
129
|
+
export function platformAuthRolloutAcceleration(input) {
|
|
130
|
+
return input.accelerationApproval !== undefined
|
|
131
|
+
? { accelerationApproval: input.accelerationApproval }
|
|
132
|
+
: {};
|
|
133
|
+
}
|
|
126
134
|
export function platformAuthExecutionPreviewRequest(input) {
|
|
127
135
|
if (input.operation === 'activate') {
|
|
128
136
|
return input.cohortMode === 'replace'
|
|
@@ -131,6 +139,7 @@ export function platformAuthExecutionPreviewRequest(input) {
|
|
|
131
139
|
operation: input.operation,
|
|
132
140
|
percentage: input.percentage,
|
|
133
141
|
cohortMode: input.cohortMode,
|
|
142
|
+
...platformAuthRolloutAcceleration(input),
|
|
134
143
|
canaryClientIds: [...input.canaryClientIds],
|
|
135
144
|
recoveryClientIds: [...input.recoveryClientIds],
|
|
136
145
|
}
|
|
@@ -139,6 +148,7 @@ export function platformAuthExecutionPreviewRequest(input) {
|
|
|
139
148
|
operation: input.operation,
|
|
140
149
|
percentage: input.percentage,
|
|
141
150
|
cohortMode: input.cohortMode,
|
|
151
|
+
...platformAuthRolloutAcceleration(input),
|
|
142
152
|
};
|
|
143
153
|
}
|
|
144
154
|
return input.operation === 'finalize'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-auth-operator-rollout.js","sourceRoot":"","sources":["../src/platform-auth-operator-rollout.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,wBAAwB,IAAI,IAAI,EAAE,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"platform-auth-operator-rollout.js","sourceRoot":"","sources":["../src/platform-auth-operator-rollout.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,wBAAwB,IAAI,IAAI,EAAE,MAAM,4CAA4C,CAAC;AAW9F,MAAM,CAAC,MAAM,4CAA4C,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AAEtF,MAAM,UAAU,2BAA2B,CACzC,KAAiC,EACjC,QAAsC,EACtC,GAAG,GAAG,IAAI,IAAI,EAAE;IAEhB,IAAI,KAAK,CAAC,SAAS,KAAK,gBAAgB;QAAE,OAAO,EAAE,CAAC;IACpD,IAAI,KAAK,CAAC,SAAS,KAAK,UAAU;QAChC,OAAO,QAAQ,CAAC,OAAO,CAAC,SAAS,KAAK,WAAW;YAC/C,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,4BAA4B,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC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CAAC,KAAK,CAAC;gBACzC,eAAe,EAAE,CAAC,GAAG,KAAK,CAAC,eAAe,CAAC;gBAC3C,iBAAiB,EAAE,CAAC,GAAG,KAAK,CAAC,iBAAiB,CAAC;aAChD;YACH,CAAC,CAAC;gBACE,aAAa,EAAE,CAAC;gBAChB,SAAS,EAAE,KAAK,CAAC,SAAS;gBAC1B,UAAU,EAAE,KAAK,CAAC,UAAU;gBAC5B,UAAU,EAAE,KAAK,CAAC,UAAU;gBAC5B,GAAG,+BAA+B,CAAC,KAAK,CAAC;aAC1C,CAAC;IACR,CAAC;IACD,OAAO,KAAK,CAAC,SAAS,KAAK,UAAU;QACnC,CAAC,CAAC;YACE,aAAa,EAAE,CAAC;YAChB,SAAS,EAAE,KAAK,CAAC,SAAS;YAC1B,yBAAyB,EAAE,KAAK,CAAC,yBAAyB;YAC1D,8BAA8B,EAAE,KAAK,CAAC,8BAA8B;SACrE;QACH,CAAC,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;AACvD,CAAC;AAED,SAAS,MAAM,CAAC,MAAyB;IACvC,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;AACrC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { type PlatformAuthRolloutAccelerationApproval } from './platform-auth-rollout-acceleration.js';
|
|
2
3
|
export declare const PlatformAuthInventoryBlockerCodeSchema: z.ZodEnum<{
|
|
3
4
|
missing_verified_email: "missing_verified_email";
|
|
4
5
|
multiple_current_verified_emails: "multiple_current_verified_emails";
|
|
@@ -272,6 +273,21 @@ export declare const PlatformAuthPreviewRequestSchema: z.ZodUnion<readonly [z.Zo
|
|
|
272
273
|
operation: z.ZodLiteral<"activate">;
|
|
273
274
|
percentage: z.ZodNumber;
|
|
274
275
|
cohortMode: z.ZodLiteral<"preserve">;
|
|
276
|
+
accelerationApproval: z.ZodOptional<z.ZodObject<{
|
|
277
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
278
|
+
exception: z.ZodLiteral<"exact_three_legacy_cutover">;
|
|
279
|
+
targetEnvironment: z.ZodLiteral<"production">;
|
|
280
|
+
releaseSha: z.ZodString;
|
|
281
|
+
expectedGeneration: z.ZodNumber;
|
|
282
|
+
fromPercentage: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<10>, z.ZodLiteral<50>, z.ZodLiteral<100>]>;
|
|
283
|
+
toPercentage: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<10>, z.ZodLiteral<50>, z.ZodLiteral<100>]>;
|
|
284
|
+
approvedAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
285
|
+
evidence: z.ZodObject<{
|
|
286
|
+
stageVolumeChecksum: z.ZodString;
|
|
287
|
+
criticalSmokesChecksum: z.ZodString;
|
|
288
|
+
rollbackSmokeChecksum: z.ZodString;
|
|
289
|
+
}, z.core.$strict>;
|
|
290
|
+
}, z.core.$strict>>;
|
|
275
291
|
}, z.core.$strict>, z.ZodObject<{
|
|
276
292
|
schemaVersion: z.ZodLiteral<1>;
|
|
277
293
|
operation: z.ZodLiteral<"activate">;
|
|
@@ -279,6 +295,21 @@ export declare const PlatformAuthPreviewRequestSchema: z.ZodUnion<readonly [z.Zo
|
|
|
279
295
|
cohortMode: z.ZodLiteral<"replace">;
|
|
280
296
|
canaryClientIds: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>;
|
|
281
297
|
recoveryClientIds: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>;
|
|
298
|
+
accelerationApproval: z.ZodOptional<z.ZodObject<{
|
|
299
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
300
|
+
exception: z.ZodLiteral<"exact_three_legacy_cutover">;
|
|
301
|
+
targetEnvironment: z.ZodLiteral<"production">;
|
|
302
|
+
releaseSha: z.ZodString;
|
|
303
|
+
expectedGeneration: z.ZodNumber;
|
|
304
|
+
fromPercentage: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<10>, z.ZodLiteral<50>, z.ZodLiteral<100>]>;
|
|
305
|
+
toPercentage: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<10>, z.ZodLiteral<50>, z.ZodLiteral<100>]>;
|
|
306
|
+
approvedAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
307
|
+
evidence: z.ZodObject<{
|
|
308
|
+
stageVolumeChecksum: z.ZodString;
|
|
309
|
+
criticalSmokesChecksum: z.ZodString;
|
|
310
|
+
rollbackSmokeChecksum: z.ZodString;
|
|
311
|
+
}, z.core.$strict>;
|
|
312
|
+
}, z.core.$strict>>;
|
|
282
313
|
}, z.core.$strict>, z.ZodObject<{
|
|
283
314
|
schemaVersion: z.ZodLiteral<1>;
|
|
284
315
|
operation: z.ZodLiteral<"rollback">;
|
|
@@ -321,6 +352,21 @@ export declare const PlatformAuthRecoverOutboxRequestSchema: z.ZodObject<{
|
|
|
321
352
|
export declare const PlatformAuthActivateRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
322
353
|
percentage: z.ZodNumber;
|
|
323
354
|
cohortMode: z.ZodLiteral<"preserve">;
|
|
355
|
+
accelerationApproval: z.ZodOptional<z.ZodObject<{
|
|
356
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
357
|
+
exception: z.ZodLiteral<"exact_three_legacy_cutover">;
|
|
358
|
+
targetEnvironment: z.ZodLiteral<"production">;
|
|
359
|
+
releaseSha: z.ZodString;
|
|
360
|
+
expectedGeneration: z.ZodNumber;
|
|
361
|
+
fromPercentage: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<10>, z.ZodLiteral<50>, z.ZodLiteral<100>]>;
|
|
362
|
+
toPercentage: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<10>, z.ZodLiteral<50>, z.ZodLiteral<100>]>;
|
|
363
|
+
approvedAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
364
|
+
evidence: z.ZodObject<{
|
|
365
|
+
stageVolumeChecksum: z.ZodString;
|
|
366
|
+
criticalSmokesChecksum: z.ZodString;
|
|
367
|
+
rollbackSmokeChecksum: z.ZodString;
|
|
368
|
+
}, z.core.$strict>;
|
|
369
|
+
}, z.core.$strict>>;
|
|
324
370
|
schemaVersion: z.ZodLiteral<1>;
|
|
325
371
|
expectedGeneration: z.ZodNumber;
|
|
326
372
|
releaseSha: z.ZodString;
|
|
@@ -333,6 +379,21 @@ export declare const PlatformAuthActivateRequestSchema: z.ZodDiscriminatedUnion<
|
|
|
333
379
|
cohortMode: z.ZodLiteral<"replace">;
|
|
334
380
|
canaryClientIds: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>;
|
|
335
381
|
recoveryClientIds: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>;
|
|
382
|
+
accelerationApproval: z.ZodOptional<z.ZodObject<{
|
|
383
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
384
|
+
exception: z.ZodLiteral<"exact_three_legacy_cutover">;
|
|
385
|
+
targetEnvironment: z.ZodLiteral<"production">;
|
|
386
|
+
releaseSha: z.ZodString;
|
|
387
|
+
expectedGeneration: z.ZodNumber;
|
|
388
|
+
fromPercentage: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<10>, z.ZodLiteral<50>, z.ZodLiteral<100>]>;
|
|
389
|
+
toPercentage: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<10>, z.ZodLiteral<50>, z.ZodLiteral<100>]>;
|
|
390
|
+
approvedAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
391
|
+
evidence: z.ZodObject<{
|
|
392
|
+
stageVolumeChecksum: z.ZodString;
|
|
393
|
+
criticalSmokesChecksum: z.ZodString;
|
|
394
|
+
rollbackSmokeChecksum: z.ZodString;
|
|
395
|
+
}, z.core.$strict>;
|
|
396
|
+
}, z.core.$strict>>;
|
|
336
397
|
schemaVersion: z.ZodLiteral<1>;
|
|
337
398
|
expectedGeneration: z.ZodNumber;
|
|
338
399
|
releaseSha: z.ZodString;
|
|
@@ -1518,12 +1579,14 @@ export type PlatformAuthExecuteInput = MutationEvidence & ({
|
|
|
1518
1579
|
readonly operation: 'activate';
|
|
1519
1580
|
readonly percentage: number;
|
|
1520
1581
|
readonly cohortMode: 'preserve';
|
|
1582
|
+
readonly accelerationApproval?: PlatformAuthRolloutAccelerationApproval;
|
|
1521
1583
|
} | {
|
|
1522
1584
|
readonly operation: 'activate';
|
|
1523
1585
|
readonly percentage: number;
|
|
1524
1586
|
readonly cohortMode: 'replace';
|
|
1525
1587
|
readonly canaryClientIds: readonly string[];
|
|
1526
1588
|
readonly recoveryClientIds: readonly string[];
|
|
1589
|
+
readonly accelerationApproval?: PlatformAuthRolloutAccelerationApproval;
|
|
1527
1590
|
} | {
|
|
1528
1591
|
readonly operation: 'rollback';
|
|
1529
1592
|
} | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-auth-operator.d.ts","sourceRoot":"","sources":["../src/platform-auth-operator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"platform-auth-operator.d.ts","sourceRoot":"","sources":["../src/platform-auth-operator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,KAAK,uCAAuC,EAE7C,MAAM,yCAAyC,CAAC;AAUjD,eAAO,MAAM,sCAAsC;;;;;;;EAOjD,CAAC;AAEH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;EAiBjD,CAAC;AAgFH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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