@deskwork/core 0.45.2 → 0.47.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.
Files changed (156) hide show
  1. package/dist/config.d.ts +14 -4
  2. package/dist/config.d.ts.map +1 -1
  3. package/dist/config.js +43 -12
  4. package/dist/config.js.map +1 -1
  5. package/dist/content-index.d.ts +25 -0
  6. package/dist/content-index.d.ts.map +1 -1
  7. package/dist/content-index.js +142 -15
  8. package/dist/content-index.js.map +1 -1
  9. package/dist/doctor/index.d.ts +3 -0
  10. package/dist/doctor/index.d.ts.map +1 -1
  11. package/dist/doctor/index.js +3 -0
  12. package/dist/doctor/index.js.map +1 -1
  13. package/dist/doctor/legacy-config.d.ts +98 -0
  14. package/dist/doctor/legacy-config.d.ts.map +1 -0
  15. package/dist/doctor/legacy-config.js +174 -0
  16. package/dist/doctor/legacy-config.js.map +1 -0
  17. package/dist/doctor/project-scope-gate.d.ts +12 -21
  18. package/dist/doctor/project-scope-gate.d.ts.map +1 -1
  19. package/dist/doctor/project-scope-gate.js +13 -25
  20. package/dist/doctor/project-scope-gate.js.map +1 -1
  21. package/dist/doctor/repair.d.ts +11 -0
  22. package/dist/doctor/repair.d.ts.map +1 -1
  23. package/dist/doctor/repair.js +10 -89
  24. package/dist/doctor/repair.js.map +1 -1
  25. package/dist/doctor/rules/duplicate-id.d.ts +7 -2
  26. package/dist/doctor/rules/duplicate-id.d.ts.map +1 -1
  27. package/dist/doctor/rules/duplicate-id.js +8 -5
  28. package/dist/doctor/rules/duplicate-id.js.map +1 -1
  29. package/dist/doctor/rules/duplicate-id.ts +8 -5
  30. package/dist/doctor/rules/legacy-top-level-id-migration.d.ts.map +1 -1
  31. package/dist/doctor/rules/legacy-top-level-id-migration.js +11 -8
  32. package/dist/doctor/rules/legacy-top-level-id-migration.js.map +1 -1
  33. package/dist/doctor/rules/legacy-top-level-id-migration.ts +10 -11
  34. package/dist/doctor/rules/sites-to-lanes-migration.d.ts +39 -0
  35. package/dist/doctor/rules/sites-to-lanes-migration.d.ts.map +1 -0
  36. package/dist/doctor/rules/sites-to-lanes-migration.js +395 -0
  37. package/dist/doctor/rules/sites-to-lanes-migration.js.map +1 -0
  38. package/dist/doctor/rules/sites-to-lanes-migration.ts +449 -0
  39. package/dist/doctor/rules/workflow-stale.d.ts.map +1 -1
  40. package/dist/doctor/rules/workflow-stale.js +5 -2
  41. package/dist/doctor/rules/workflow-stale.js.map +1 -1
  42. package/dist/doctor/rules/workflow-stale.ts +5 -1
  43. package/dist/doctor/runner.d.ts +15 -1
  44. package/dist/doctor/runner.d.ts.map +1 -1
  45. package/dist/doctor/runner.js +48 -41
  46. package/dist/doctor/runner.js.map +1 -1
  47. package/dist/doctor/sites-migration-backfill.d.ts +71 -0
  48. package/dist/doctor/sites-migration-backfill.d.ts.map +1 -0
  49. package/dist/doctor/sites-migration-backfill.js +164 -0
  50. package/dist/doctor/sites-migration-backfill.js.map +1 -0
  51. package/dist/doctor/validate.d.ts.map +1 -1
  52. package/dist/doctor/validate.js +34 -73
  53. package/dist/doctor/validate.js.map +1 -1
  54. package/dist/entry/resolve-artifact.d.ts +80 -0
  55. package/dist/entry/resolve-artifact.d.ts.map +1 -0
  56. package/dist/entry/resolve-artifact.js +102 -0
  57. package/dist/entry/resolve-artifact.js.map +1 -0
  58. package/dist/entry/shortform-path.d.ts +34 -0
  59. package/dist/entry/shortform-path.d.ts.map +1 -0
  60. package/dist/entry/shortform-path.js +50 -0
  61. package/dist/entry/shortform-path.js.map +1 -0
  62. package/dist/index.d.ts +1 -2
  63. package/dist/index.d.ts.map +1 -1
  64. package/dist/index.js +1 -2
  65. package/dist/index.js.map +1 -1
  66. package/dist/iterate/iterate.d.ts.map +1 -1
  67. package/dist/iterate/iterate.js +21 -26
  68. package/dist/iterate/iterate.js.map +1 -1
  69. package/dist/lanes/bootstrap.d.ts +11 -7
  70. package/dist/lanes/bootstrap.d.ts.map +1 -1
  71. package/dist/lanes/bootstrap.js +42 -17
  72. package/dist/lanes/bootstrap.js.map +1 -1
  73. package/dist/lanes/index.d.ts +1 -0
  74. package/dist/lanes/index.d.ts.map +1 -1
  75. package/dist/lanes/index.js +6 -0
  76. package/dist/lanes/index.js.map +1 -1
  77. package/dist/lanes/loader.d.ts +33 -6
  78. package/dist/lanes/loader.d.ts.map +1 -1
  79. package/dist/lanes/loader.js +44 -11
  80. package/dist/lanes/loader.js.map +1 -1
  81. package/dist/lanes/operations/create.d.ts +11 -2
  82. package/dist/lanes/operations/create.d.ts.map +1 -1
  83. package/dist/lanes/operations/create.js +15 -4
  84. package/dist/lanes/operations/create.js.map +1 -1
  85. package/dist/lanes/operations/list.d.ts +3 -2
  86. package/dist/lanes/operations/list.d.ts.map +1 -1
  87. package/dist/lanes/operations/list.js +3 -2
  88. package/dist/lanes/operations/list.js.map +1 -1
  89. package/dist/lanes/operations/move.d.ts +29 -25
  90. package/dist/lanes/operations/move.d.ts.map +1 -1
  91. package/dist/lanes/operations/move.js +45 -242
  92. package/dist/lanes/operations/move.js.map +1 -1
  93. package/dist/lanes/operations/update.d.ts +15 -5
  94. package/dist/lanes/operations/update.d.ts.map +1 -1
  95. package/dist/lanes/operations/update.js +32 -12
  96. package/dist/lanes/operations/update.js.map +1 -1
  97. package/dist/lanes/scaffold-path.d.ts +88 -0
  98. package/dist/lanes/scaffold-path.d.ts.map +1 -0
  99. package/dist/lanes/scaffold-path.js +122 -0
  100. package/dist/lanes/scaffold-path.js.map +1 -0
  101. package/dist/lanes/types.d.ts +54 -31
  102. package/dist/lanes/types.d.ts.map +1 -1
  103. package/dist/lanes/types.js +60 -21
  104. package/dist/lanes/types.js.map +1 -1
  105. package/dist/outline-split.d.ts +2 -3
  106. package/dist/outline-split.d.ts.map +1 -1
  107. package/dist/outline-split.js +2 -3
  108. package/dist/outline-split.js.map +1 -1
  109. package/dist/paths.d.ts +14 -87
  110. package/dist/paths.d.ts.map +1 -1
  111. package/dist/paths.js +21 -131
  112. package/dist/paths.js.map +1 -1
  113. package/dist/remark-strip-outline.mjs +2 -3
  114. package/dist/rename-slug.d.ts +3 -3
  115. package/dist/rename-slug.d.ts.map +1 -1
  116. package/dist/rename-slug.js +137 -44
  117. package/dist/rename-slug.js.map +1 -1
  118. package/dist/review/handlers.d.ts +3 -3
  119. package/dist/review/handlers.d.ts.map +1 -1
  120. package/dist/review/handlers.js +18 -14
  121. package/dist/review/handlers.js.map +1 -1
  122. package/dist/review/report.d.ts +13 -2
  123. package/dist/review/report.d.ts.map +1 -1
  124. package/dist/review/report.js +48 -18
  125. package/dist/review/report.js.map +1 -1
  126. package/dist/review/start-handlers.d.ts +4 -4
  127. package/dist/review/start-handlers.d.ts.map +1 -1
  128. package/dist/review/start-handlers.js +25 -25
  129. package/dist/review/start-handlers.js.map +1 -1
  130. package/dist/review/workflow-paths.d.ts +24 -26
  131. package/dist/review/workflow-paths.d.ts.map +1 -1
  132. package/dist/review/workflow-paths.js +70 -60
  133. package/dist/review/workflow-paths.js.map +1 -1
  134. package/dist/schema/draft-annotation.d.ts +8 -8
  135. package/dist/schema/entry.d.ts +6 -6
  136. package/dist/schema/journal-events.d.ts +56 -42
  137. package/dist/schema/journal-events.d.ts.map +1 -1
  138. package/dist/schema/journal-events.js +23 -9
  139. package/dist/schema/journal-events.js.map +1 -1
  140. package/dist/sidecar/read.d.ts +8 -0
  141. package/dist/sidecar/read.d.ts.map +1 -1
  142. package/dist/sidecar/read.js +36 -9
  143. package/dist/sidecar/read.js.map +1 -1
  144. package/dist/sidecar/write.d.ts +14 -0
  145. package/dist/sidecar/write.d.ts.map +1 -1
  146. package/dist/sidecar/write.js +25 -0
  147. package/dist/sidecar/write.js.map +1 -1
  148. package/package.json +9 -9
  149. package/dist/body-state.d.ts +0 -27
  150. package/dist/body-state.d.ts.map +0 -1
  151. package/dist/body-state.js +0 -62
  152. package/dist/body-state.js.map +0 -1
  153. package/dist/scaffold.d.ts +0 -67
  154. package/dist/scaffold.d.ts.map +0 -1
  155. package/dist/scaffold.js +0 -122
  156. package/dist/scaffold.js.map +0 -1
@@ -7,25 +7,24 @@
7
7
  * the 500-line guideline and to give the shortform path resolver a clean
8
8
  * home alongside its longform sibling.
9
9
  *
10
- * Resolution rules:
10
+ * Resolution rules (Phase 39c-2b(a) — stored artifactPath only):
11
11
  *
12
- * - `longform` / `outline`: prefer the content index (so writingcontrol-
13
- * shaped non-template paths work); fall back to the site's
14
- * `blogFilenameTemplate` for legacy / pre-doctor entries.
15
- * - `shortform`: defers to `resolveShortformFilePath` in `paths.ts`,
16
- * which composes the entry directory (via `findEntryFile`) with
17
- * `scrapbook/shortform/<platform>[-<channel>].md`.
12
+ * - `longform` / `outline`: `resolveArtifactPathOrThrow` on the entry's
13
+ * stored `artifactPath` (refined to a sibling `index.md` when present).
14
+ * - `shortform`: `composeShortformDraftPath` `scrapbook/shortform/
15
+ * <platform>[-<channel>].md` under the parent entry's artifactPath dir.
18
16
  *
19
- * The shortform variant returns `undefined` when the entry has no body file
20
- * scaffolded yet the caller decides whether to create the entry directory
21
- * or surface a 404. The longform variant always returns a path because the
22
- * slug-template fallback is unconditional for it.
17
+ * Both load the entry sidecar from the workflow's id (or the calendar by
18
+ * slug). There is NO content-index / slug-template fallback; an entry with
19
+ * no derivable id or no `artifactPath` throws with `doctor --fix` guidance.
23
20
  */
24
21
  import { existsSync } from 'node:fs';
25
- import { buildContentIndex } from "../content-index.js";
26
- import { resolveCalendarPath, resolveEntryFilePath, resolveShortformFilePath, } from "../paths.js";
22
+ import { resolveCalendarPath } from "../paths.js";
27
23
  import { readCalendar } from "../calendar.js";
28
24
  import { findEntry, findEntryById } from "../calendar-mutations.js";
25
+ import { readSidecarSync } from "../sidecar/read.js";
26
+ import { resolveArtifactPathOrThrow } from "../entry/resolve-artifact.js";
27
+ import { composeShortformDraftPath } from "../entry/shortform-path.js";
29
28
  /**
30
29
  * Read a calendar entry by id or slug for a given site, returning
31
30
  * `undefined` when the calendar is missing or the entry can't be found.
@@ -51,62 +50,73 @@ export function lookupEntry(projectRoot, config, site, match) {
51
50
  }
52
51
  }
53
52
  /**
54
- * Resolve the absolute path of the markdown file backing a longform or
55
- * outline workflow.
56
- *
57
- * Precedence:
58
- * 1. Content index — when an entry id is known (passed in or derived
59
- * from the workflow's site+slug via the calendar), look up the file
60
- * whose frontmatter `deskwork.id:` matches. Refactor-proof.
61
- * 2. Slug-template fallback — when no entry id is available (legacy
62
- * workflow, pre-doctor entry, ad-hoc draft with no calendar record),
63
- * fall back to the site's `blogFilenameTemplate`.
53
+ * Load the entry SIDECAR backing a workflow, resolving its stable id
54
+ * from the hint or the calendar (Phase 39c-2b(a)).
64
55
  *
65
- * Always returns a path (the slug-template fallback is unconditional);
66
- * callers should `existsSync` if they need existence guarantees.
56
+ * Resolution reads the entry's stored `artifactPath` only so the
57
+ * sidecar is the input the path resolvers need. The id is taken from
58
+ * `hint.entryId` / `hint.entry.id`, else derived from the calendar by
59
+ * slug. An entry with no derivable id, or no sidecar on disk, is an
60
+ * unmigrated state: this throws with `doctor --fix` guidance rather than
61
+ * falling back to a slug+stage search (the location-as-key disease this
62
+ * retirement removes).
67
63
  */
68
- export function resolveLongformFilePath(projectRoot, config, site, slug, hint) {
69
- let entry = hint.entry;
70
- let entryId = hint.entryId;
71
- if (entry === undefined && (entryId === undefined || entryId === '')) {
72
- entry = lookupEntry(projectRoot, config, site, { slug });
73
- entryId = entry?.id;
64
+ function loadWorkflowEntrySidecar(projectRoot, config, site, slug, hint) {
65
+ // Resolution prefers the ACTUAL entry backing the slug (the looked-up
66
+ // calendar entry) over a caller-supplied `entryId` the latter is a
67
+ // provenance override for stamping the workflow, not a resolution key
68
+ // (a caller can stamp a sibling-calendar id while the file still lives
69
+ // under the real entry's artifactPath). The save path passes only
70
+ // `entryId` (no `entry`), where it IS the resolution key.
71
+ let entryId = hint.entry?.id ??
72
+ (hint.entryId !== undefined && hint.entryId !== '' ? hint.entryId : undefined);
73
+ if (entryId === undefined || entryId === '') {
74
+ entryId = lookupEntry(projectRoot, config, site, { slug })?.id;
74
75
  }
75
- else if (entry === undefined && entryId !== undefined) {
76
- entry = lookupEntry(projectRoot, config, site, { entryId });
76
+ if (entryId === undefined || entryId === '') {
77
+ throw new Error(`Cannot resolve workflow file for slug "${slug}": no entry id could be ` +
78
+ `derived from the calendar. Resolution reads the stored artifactPath ` +
79
+ `only — there is no slug+stage fallback. Run \`deskwork doctor --fix\` ` +
80
+ `to bind the entry, then retry.`);
77
81
  }
78
- else if (entryId === undefined || entryId === '') {
79
- entryId = entry?.id;
82
+ try {
83
+ return readSidecarSync(projectRoot, entryId);
84
+ }
85
+ catch {
86
+ throw new Error(`Cannot resolve workflow file for slug "${slug}" (entry ${entryId}): no ` +
87
+ `entry sidecar on disk. Resolution reads the stored artifactPath only — ` +
88
+ `there is no slug+stage fallback. Run \`deskwork doctor --fix\` to ` +
89
+ `migrate this entry, then retry.`);
80
90
  }
81
- // Delegate to the top-level helper — same precedence (id-bound path
82
- // first, slug-template fallback). The studio passes a per-request
83
- // memoized index; the CLI can let it build per call.
84
- const idx = hint.index ?? buildContentIndex(projectRoot, config, site);
85
- const slugForFallback = entry?.slug ?? slug;
86
- return resolveEntryFilePath(projectRoot, config, site, slugForFallback, entryId, idx);
91
+ }
92
+ /**
93
+ * Resolve the absolute path of the markdown file backing a longform or
94
+ * outline workflow, from the entry's stored `artifactPath` (Phase
95
+ * 39c-2b(a)). There is NO content-index lookup or slug-template
96
+ * fallback an entry without a stored path throws `doctor --fix`.
97
+ *
98
+ * Returns the canonical document path (refined to a sibling `index.md`
99
+ * when one exists on disk). Callers should `existsSync` if they need an
100
+ * existence guarantee — the path may name a not-yet-written file.
101
+ */
102
+ export function resolveLongformFilePath(projectRoot, config, site, slug, hint) {
103
+ const entry = loadWorkflowEntrySidecar(projectRoot, config, site, slug, hint);
104
+ return resolveArtifactPathOrThrow(entry, projectRoot);
87
105
  }
88
106
  /**
89
107
  * Resolve the absolute path of the markdown file backing a shortform
90
- * workflow. Returns `undefined` when the entry has no body file
91
- * scaffolded yet — the entry directory cannot be derived in that case
92
- * and the caller decides what to do (create the directory tree, or 404).
108
+ * workflow, COMPOSED from the parent entry's stored `artifactPath`
109
+ * directory (Phase 39c-2b(a), spec AUDIT-35):
110
+ *
111
+ * <dir-of-parent-artifact>/scrapbook/shortform/<platform>[-<channel>].md
112
+ *
113
+ * Always returns a path (the shortform child path is deterministic once
114
+ * the parent has an `artifactPath`); it does NOT return `undefined` for
115
+ * an un-scaffolded file — the caller scaffolds it in place. An unmigrated
116
+ * parent (no `artifactPath`) throws `doctor --fix`.
93
117
  */
94
118
  export function resolveShortformWorkflowFilePath(projectRoot, config, site, slug, platform, channel, hint) {
95
- let entry = hint.entry;
96
- let entryId = hint.entryId;
97
- if (entry === undefined && (entryId === undefined || entryId === '')) {
98
- entry = lookupEntry(projectRoot, config, site, { slug });
99
- entryId = entry?.id;
100
- }
101
- else if (entry === undefined && entryId !== undefined) {
102
- entry = lookupEntry(projectRoot, config, site, { entryId });
103
- }
104
- else if (entryId === undefined || entryId === '') {
105
- entryId = entry?.id;
106
- }
107
- return resolveShortformFilePath(projectRoot, config, site, {
108
- ...(entryId !== undefined && entryId !== '' ? { id: entryId } : {}),
109
- slug: entry?.slug ?? slug,
110
- }, platform, channel, hint.index);
119
+ const entry = loadWorkflowEntrySidecar(projectRoot, config, site, slug, hint);
120
+ return composeShortformDraftPath(entry, projectRoot, platform, channel);
111
121
  }
112
122
  //# sourceMappingURL=workflow-paths.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-paths.js","sourceRoot":"","sources":["../../src/review/workflow-paths.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,YAAY,E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TypeAny, {
29
+ y: number;
29
30
  kind: "pixel";
30
31
  x: number;
31
- y: number;
32
32
  }, {
33
+ y: number;
33
34
  kind: "pixel";
34
35
  x: number;
35
- y: number;
36
36
  }>, z.ZodObject<{
37
37
  kind: z.ZodLiteral<"dom-selector">;
38
38
  selector: z.ZodString;
@@ -105,13 +105,13 @@ export declare const DraftAnnotationSchema: z.ZodEffects<z.ZodDiscriminatedUnion
105
105
  x: z.ZodNumber;
106
106
  y: z.ZodNumber;
107
107
  }, "strict", z.ZodTypeAny, {
108
+ y: number;
108
109
  kind: "pixel";
109
110
  x: number;
110
- y: number;
111
111
  }, {
112
+ y: number;
112
113
  kind: "pixel";
113
114
  x: number;
114
- y: number;
115
115
  }>, z.ZodObject<{
116
116
  kind: z.ZodLiteral<"dom-selector">;
117
117
  selector: z.ZodString;
@@ -150,9 +150,9 @@ export declare const DraftAnnotationSchema: z.ZodEffects<z.ZodDiscriminatedUnion
150
150
  replyTo?: string | undefined;
151
151
  attachments?: string[] | undefined;
152
152
  spatialAnchor?: {
153
+ y: number;
153
154
  kind: "pixel";
154
155
  x: number;
155
- y: number;
156
156
  } | {
157
157
  kind: "dom-selector";
158
158
  selector: string;
@@ -176,9 +176,9 @@ export declare const DraftAnnotationSchema: z.ZodEffects<z.ZodDiscriminatedUnion
176
176
  replyTo?: string | undefined;
177
177
  attachments?: string[] | undefined;
178
178
  spatialAnchor?: {
179
+ y: number;
179
180
  kind: "pixel";
180
181
  x: number;
181
- y: number;
182
182
  } | {
183
183
  kind: "dom-selector";
184
184
  selector: string;
@@ -412,9 +412,9 @@ export declare const DraftAnnotationSchema: z.ZodEffects<z.ZodDiscriminatedUnion
412
412
  replyTo?: string | undefined;
413
413
  attachments?: string[] | undefined;
414
414
  spatialAnchor?: {
415
+ y: number;
415
416
  kind: "pixel";
416
417
  x: number;
417
- y: number;
418
418
  } | {
419
419
  kind: "dom-selector";
420
420
  selector: string;
@@ -502,9 +502,9 @@ export declare const DraftAnnotationSchema: z.ZodEffects<z.ZodDiscriminatedUnion
502
502
  replyTo?: string | undefined;
503
503
  attachments?: string[] | undefined;
504
504
  spatialAnchor?: {
505
+ y: number;
505
506
  kind: "pixel";
506
507
  x: number;
507
- y: number;
508
508
  } | {
509
509
  kind: "dom-selector";
510
510
  selector: string;
@@ -120,17 +120,17 @@ export declare const EntrySchema: z.ZodObject<{
120
120
  title: string;
121
121
  uuid: string;
122
122
  keywords: string[];
123
- createdAt: string;
124
123
  currentStage: string;
125
124
  iterationByStage: Record<string, number>;
125
+ createdAt: string;
126
126
  updatedAt: string;
127
127
  description?: string | undefined;
128
- datePublished?: string | undefined;
129
- priorStage?: string | undefined;
130
128
  archivedAt?: string | undefined;
129
+ priorStage?: string | undefined;
131
130
  lane?: string | undefined;
132
131
  artifactKind?: "markdown" | "html-mockup" | "single-file-html" | "image" | undefined;
133
132
  targetVersion?: string | undefined;
133
+ datePublished?: string | undefined;
134
134
  artifactPath?: string | undefined;
135
135
  members?: string[] | undefined;
136
136
  shortformWorkflows?: Record<string, string> | undefined;
@@ -140,17 +140,17 @@ export declare const EntrySchema: z.ZodObject<{
140
140
  title: string;
141
141
  uuid: string;
142
142
  keywords: string[];
143
- createdAt: string;
144
143
  currentStage: string;
145
144
  iterationByStage: Record<string, number>;
145
+ createdAt: string;
146
146
  updatedAt: string;
147
147
  description?: string | undefined;
148
- datePublished?: string | undefined;
149
- priorStage?: string | undefined;
150
148
  archivedAt?: string | undefined;
149
+ priorStage?: string | undefined;
151
150
  lane?: string | undefined;
152
151
  artifactKind?: "markdown" | "html-mockup" | "single-file-html" | "image" | undefined;
153
152
  targetVersion?: string | undefined;
153
+ datePublished?: string | undefined;
154
154
  artifactPath?: string | undefined;
155
155
  members?: string[] | undefined;
156
156
  shortformWorkflows?: Record<string, string> | undefined;
@@ -29,17 +29,17 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
29
29
  title: string;
30
30
  uuid: string;
31
31
  keywords: string[];
32
- createdAt: string;
33
32
  currentStage: string;
34
33
  iterationByStage: Record<string, number>;
34
+ createdAt: string;
35
35
  updatedAt: string;
36
36
  description?: string | undefined;
37
- datePublished?: string | undefined;
38
- priorStage?: string | undefined;
39
37
  archivedAt?: string | undefined;
38
+ priorStage?: string | undefined;
40
39
  lane?: string | undefined;
41
40
  artifactKind?: "markdown" | "html-mockup" | "single-file-html" | "image" | undefined;
42
41
  targetVersion?: string | undefined;
42
+ datePublished?: string | undefined;
43
43
  artifactPath?: string | undefined;
44
44
  members?: string[] | undefined;
45
45
  shortformWorkflows?: Record<string, string> | undefined;
@@ -49,17 +49,17 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
49
49
  title: string;
50
50
  uuid: string;
51
51
  keywords: string[];
52
- createdAt: string;
53
52
  currentStage: string;
54
53
  iterationByStage: Record<string, number>;
54
+ createdAt: string;
55
55
  updatedAt: string;
56
56
  description?: string | undefined;
57
- datePublished?: string | undefined;
58
- priorStage?: string | undefined;
59
57
  archivedAt?: string | undefined;
58
+ priorStage?: string | undefined;
60
59
  lane?: string | undefined;
61
60
  artifactKind?: "markdown" | "html-mockup" | "single-file-html" | "image" | undefined;
62
61
  targetVersion?: string | undefined;
62
+ datePublished?: string | undefined;
63
63
  artifactPath?: string | undefined;
64
64
  members?: string[] | undefined;
65
65
  shortformWorkflows?: Record<string, string> | undefined;
@@ -72,17 +72,17 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
72
72
  title: string;
73
73
  uuid: string;
74
74
  keywords: string[];
75
- createdAt: string;
76
75
  currentStage: string;
77
76
  iterationByStage: Record<string, number>;
77
+ createdAt: string;
78
78
  updatedAt: string;
79
79
  description?: string | undefined;
80
- datePublished?: string | undefined;
81
- priorStage?: string | undefined;
82
80
  archivedAt?: string | undefined;
81
+ priorStage?: string | undefined;
83
82
  lane?: string | undefined;
84
83
  artifactKind?: "markdown" | "html-mockup" | "single-file-html" | "image" | undefined;
85
84
  targetVersion?: string | undefined;
85
+ datePublished?: string | undefined;
86
86
  artifactPath?: string | undefined;
87
87
  members?: string[] | undefined;
88
88
  shortformWorkflows?: Record<string, string> | undefined;
@@ -97,17 +97,17 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
97
97
  title: string;
98
98
  uuid: string;
99
99
  keywords: string[];
100
- createdAt: string;
101
100
  currentStage: string;
102
101
  iterationByStage: Record<string, number>;
102
+ createdAt: string;
103
103
  updatedAt: string;
104
104
  description?: string | undefined;
105
- datePublished?: string | undefined;
106
- priorStage?: string | undefined;
107
105
  archivedAt?: string | undefined;
106
+ priorStage?: string | undefined;
108
107
  lane?: string | undefined;
109
108
  artifactKind?: "markdown" | "html-mockup" | "single-file-html" | "image" | undefined;
110
109
  targetVersion?: string | undefined;
110
+ datePublished?: string | undefined;
111
111
  artifactPath?: string | undefined;
112
112
  members?: string[] | undefined;
113
113
  shortformWorkflows?: Record<string, string> | undefined;
@@ -140,19 +140,19 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
140
140
  version: z.ZodNumber;
141
141
  markdown: z.ZodString;
142
142
  }, "strip", z.ZodTypeAny, {
143
- at: string;
144
143
  stage: string;
144
+ at: string;
145
145
  version: number;
146
+ markdown: string;
146
147
  kind: "iteration";
147
148
  entryId: string;
148
- markdown: string;
149
149
  }, {
150
- at: string;
151
150
  stage: string;
151
+ at: string;
152
152
  version: number;
153
+ markdown: string;
153
154
  kind: "iteration";
154
155
  entryId: string;
155
- markdown: string;
156
156
  }>, z.ZodObject<{
157
157
  kind: z.ZodLiteral<"annotation">;
158
158
  at: z.ZodString;
@@ -206,8 +206,8 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
206
206
  dispositionReason?: string | undefined;
207
207
  }>;
208
208
  }, "strip", z.ZodTypeAny, {
209
- at: string;
210
209
  stage: string;
210
+ at: string;
211
211
  version: number;
212
212
  annotation: {
213
213
  id: string;
@@ -226,8 +226,8 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
226
226
  kind: "annotation";
227
227
  entryId: string;
228
228
  }, {
229
- at: string;
230
229
  stage: string;
230
+ at: string;
231
231
  version: number;
232
232
  annotation: {
233
233
  id: string;
@@ -253,15 +253,15 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
253
253
  from: z.ZodNullable<z.ZodEnum<["in-review", "iterating", "approved"]>>;
254
254
  to: z.ZodNullable<z.ZodEnum<["in-review", "iterating", "approved"]>>;
255
255
  }, "strip", z.ZodTypeAny, {
256
- at: string;
257
256
  stage: string;
257
+ at: string;
258
258
  kind: "review-state-change";
259
259
  from: "in-review" | "iterating" | "approved" | null;
260
260
  to: "in-review" | "iterating" | "approved" | null;
261
261
  entryId: string;
262
262
  }, {
263
- at: string;
264
263
  stage: string;
264
+ at: string;
265
265
  kind: "review-state-change";
266
266
  from: "in-review" | "iterating" | "approved" | null;
267
267
  to: "in-review" | "iterating" | "approved" | null;
@@ -327,13 +327,13 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
327
327
  x: z.ZodNumber;
328
328
  y: z.ZodNumber;
329
329
  }, "strict", z.ZodTypeAny, {
330
+ y: number;
330
331
  kind: "pixel";
331
332
  x: number;
332
- y: number;
333
333
  }, {
334
+ y: number;
334
335
  kind: "pixel";
335
336
  x: number;
336
- y: number;
337
337
  }>, z.ZodObject<{
338
338
  kind: z.ZodLiteral<"dom-selector">;
339
339
  selector: z.ZodString;
@@ -372,9 +372,9 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
372
372
  replyTo?: string | undefined;
373
373
  attachments?: string[] | undefined;
374
374
  spatialAnchor?: {
375
+ y: number;
375
376
  kind: "pixel";
376
377
  x: number;
377
- y: number;
378
378
  } | {
379
379
  kind: "dom-selector";
380
380
  selector: string;
@@ -398,9 +398,9 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
398
398
  replyTo?: string | undefined;
399
399
  attachments?: string[] | undefined;
400
400
  spatialAnchor?: {
401
+ y: number;
401
402
  kind: "pixel";
402
403
  x: number;
403
- y: number;
404
404
  } | {
405
405
  kind: "dom-selector";
406
406
  selector: string;
@@ -622,9 +622,9 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
622
622
  replyTo?: string | undefined;
623
623
  attachments?: string[] | undefined;
624
624
  spatialAnchor?: {
625
+ y: number;
625
626
  kind: "pixel";
626
627
  x: number;
627
- y: number;
628
628
  } | {
629
629
  kind: "dom-selector";
630
630
  selector: string;
@@ -712,9 +712,9 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
712
712
  replyTo?: string | undefined;
713
713
  attachments?: string[] | undefined;
714
714
  spatialAnchor?: {
715
+ y: number;
715
716
  kind: "pixel";
716
717
  x: number;
717
- y: number;
718
718
  } | {
719
719
  kind: "dom-selector";
720
720
  selector: string;
@@ -805,9 +805,9 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
805
805
  replyTo?: string | undefined;
806
806
  attachments?: string[] | undefined;
807
807
  spatialAnchor?: {
808
+ y: number;
808
809
  kind: "pixel";
809
810
  x: number;
810
- y: number;
811
811
  } | {
812
812
  kind: "dom-selector";
813
813
  selector: string;
@@ -900,9 +900,9 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
900
900
  replyTo?: string | undefined;
901
901
  attachments?: string[] | undefined;
902
902
  spatialAnchor?: {
903
+ y: number;
903
904
  kind: "pixel";
904
905
  x: number;
905
- y: number;
906
906
  } | {
907
907
  kind: "dom-selector";
908
908
  selector: string;
@@ -985,15 +985,15 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
985
985
  target: z.ZodString;
986
986
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
987
987
  }, "strip", z.ZodTypeAny, {
988
- at: string;
989
988
  source: string;
989
+ at: string;
990
990
  kind: "lane-migration";
991
991
  migration: string;
992
992
  target: string;
993
993
  details?: Record<string, unknown> | undefined;
994
994
  }, {
995
- at: string;
996
995
  source: string;
996
+ at: string;
997
997
  kind: "lane-migration";
998
998
  migration: string;
999
999
  target: string;
@@ -1005,32 +1005,46 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
1005
1005
  details: z.ZodObject<{
1006
1006
  name: z.ZodString;
1007
1007
  pipelineTemplate: z.ZodString;
1008
- contentDir: z.ZodString;
1009
- }, "strip", z.ZodTypeAny, {
1010
- contentDir: string;
1011
- name: string;
1012
- pipelineTemplate: string;
1013
- }, {
1014
- contentDir: string;
1015
- name: string;
1016
- pipelineTemplate: string;
1017
- }>;
1008
+ scaffoldDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1009
+ host: z.ZodOptional<z.ZodString>;
1010
+ contentDir: z.ZodOptional<z.ZodString>;
1011
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1012
+ name: z.ZodString;
1013
+ pipelineTemplate: z.ZodString;
1014
+ scaffoldDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1015
+ host: z.ZodOptional<z.ZodString>;
1016
+ contentDir: z.ZodOptional<z.ZodString>;
1017
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1018
+ name: z.ZodString;
1019
+ pipelineTemplate: z.ZodString;
1020
+ scaffoldDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1021
+ host: z.ZodOptional<z.ZodString>;
1022
+ contentDir: z.ZodOptional<z.ZodString>;
1023
+ }, z.ZodTypeAny, "passthrough">>;
1018
1024
  }, "strip", z.ZodTypeAny, {
1019
1025
  at: string;
1020
1026
  kind: "lane-create";
1021
1027
  details: {
1022
- contentDir: string;
1023
1028
  name: string;
1024
1029
  pipelineTemplate: string;
1030
+ contentDir?: string | undefined;
1031
+ host?: string | undefined;
1032
+ scaffoldDefaults?: Record<string, string> | undefined;
1033
+ } & {
1034
+ [k: string]: unknown;
1025
1035
  };
1026
1036
  laneId: string;
1027
1037
  }, {
1028
1038
  at: string;
1029
1039
  kind: "lane-create";
1030
1040
  details: {
1031
- contentDir: string;
1032
1041
  name: string;
1033
1042
  pipelineTemplate: string;
1043
+ contentDir?: string | undefined;
1044
+ host?: string | undefined;
1045
+ scaffoldDefaults?: Record<string, string> | undefined;
1046
+ } & {
1047
+ [k: string]: unknown;
1034
1048
  };
1035
1049
  laneId: string;
1036
1050
  }>, z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"journal-events.d.ts","sourceRoot":"","sources":["../../src/schema/journal-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwcxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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