Skip to content

Commit 6de9d66

Browse files
committed
chore(spec): regenerate the declaration-text shard for the added export
`check:api-surface-declarations` landed on main after this branch point; the merge brings it in. Its delta on this branch is 0 removed / 1 added / 2 reshaped, and all three are non-narrowing: + FLOW_PAUSE_CAPABLE_NODE_TYPES — introduced by this PR; it is on neither main's api-surface nor main's declaration shard, so "added" is accurate. ~ ApprovalDecision, ApprovalNodeConfigSchema — property ORDER inside their `z.ZodEnum<{...}>` type literals, same members, same literal values. Object type members are order-insensitive in TypeScript, so old and new are mutually assignable; proved with a two-direction assignability probe plus a `@ts-expect-error` negative control, tsc exit 0. Claude-Session: https://claude.ai/code/session_01LvwGppdonww4zGLWZo5rho Co-authored-by: Claude <noreply@anthropic.com>
1 parent 1b793d0 commit 6de9d66

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

‎packages/spec/api-surface-declarations/automation.txt‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# excluded: documentation drift is `check:docs`'s axis, not this one.
1313
#
1414
# entry: ./automation
15-
# exported names: 273
16-
# declarations: 279
15+
# exported names: 274
16+
# declarations: 280
1717
#
1818
# GENERATED — ⛔ never hand-edited. Regenerate after a real build:
1919
# pnpm --filter @objectstack/spec build && pnpm --filter @objectstack/spec gen:api-surface-declarations
@@ -215,8 +215,8 @@ declare const ActionRefSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
215215

216216
// ── ApprovalDecision (const) ──
217217
declare const ApprovalDecision: z.ZodEnum<{
218-
reject: "reject";
219218
approve: "approve";
219+
reject: "reject";
220220
}>;
221221

222222
// ── ApprovalDecision (type) ──
@@ -311,8 +311,8 @@ declare const ApprovalNodeConfigSchema: z.ZodObject<{
311311
lockRecord: z.ZodDefault<z.ZodBoolean>;
312312
approvalStatusField: z.ZodOptional<z.ZodString>;
313313
onEmptyApprovers: z.ZodDefault<z.ZodEnum<{
314-
fail: "fail";
315314
fallback: "fallback";
315+
fail: "fail";
316316
auto_approve: "auto_approve";
317317
admin_rescue: "admin_rescue";
318318
}>>;
@@ -988,6 +988,9 @@ declare const FLOW_BUILTIN_NODE_TYPES: readonly string[];
988988
// ── FLOW_NODE_EXPRESSION_PATHS (const) ──
989989
declare const FLOW_NODE_EXPRESSION_PATHS: readonly FlowNodeExpressionPath[];
990990

991+
// ── FLOW_PAUSE_CAPABLE_NODE_TYPES (const) ──
992+
declare const FLOW_PAUSE_CAPABLE_NODE_TYPES: readonly string[];
993+
991994
// ── FLOW_REGION_CONFIG_KEYS (const) ──
992995
declare const FLOW_REGION_CONFIG_KEYS: ReadonlySet<string>;
993996

0 commit comments

Comments
 (0)