@deskwork/core 0.12.1 → 0.13.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../src/review/pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAKH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAMnD,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EAClB,MAAM,YAAY,CAAC;AAMpB,8DAA8D;AAC9D,wBAAgB,iBAAiB,CAC/B,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,cAAc,GACrB,MAAM,CAER;AAED,4DAA4D;AAC5D,wBAAgB,YAAY,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,GAAG,MAAM,CAEhF;AAED,wDAAwD;AACxD,wBAAgB,WAAW,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,GAAG,MAAM,CAE/E;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAC3B,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,cAAc,GACrB,iBAAiB,EAAE,CAIrB;AAED,+CAA+C;AAC/C,wBAAgB,WAAW,CACzB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,cAAc,GACrB,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../src/review/pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAKH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,c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projectRoot, config) {
|
|
|
43
43
|
/** Read the full history log, oldest first. */
|
|
44
44
|
export function readHistory(projectRoot, config) {
|
|
45
45
|
const envelopes = readJournal(historyPath(projectRoot, config));
|
|
46
|
-
|
|
46
|
+
// Phase 30 introduced new event kinds (e.g. `entry-created`) written with
|
|
47
|
+
// a flat shape that bypasses the legacy envelope (no `id` / `timestamp`
|
|
48
|
+
// at top level; the top-level object IS the event). The legacy `unwrap()`
|
|
49
|
+
// returns `env.entry`, which for those flat records points at the entry
|
|
50
|
+
// sidecar (not a DraftHistoryEntry), causing `entry.kind` to be undefined
|
|
51
|
+
// downstream. Filter out anything that doesn't look like a legacy envelope
|
|
52
|
+
// before unwrapping so legacy callers (review surface, etc.) only see the
|
|
53
|
+
// workflow / version / annotation / state events they expect.
|
|
54
|
+
return envelopes
|
|
55
|
+
.filter((env) => env != null && typeof env === 'object' && 'entry' in env && env.entry != null && typeof env.entry === 'object' && 'kind' in env.entry)
|
|
56
|
+
.map(unwrap);
|
|
47
57
|
}
|
|
48
58
|
export function readWorkflow(projectRoot, config, id) {
|
|
49
59
|
return readWorkflows(projectRoot, config).find((w) => w.id === id) ?? null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../../src/review/pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG3D,OAAO,EACL,WAAW,EACX,MAAM,GAEP,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,GAQlB,MAAM,YAAY,CAAC;AAEpB,MAAM,mBAAmB,GAAG,0BAA0B,CAAC;AACvD,MAAM,eAAe,GAAG,UAAU,CAAC;AACnC,MAAM,cAAc,GAAG,SAAS,CAAC;AAEj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YAAE,SAAS;QAC1C,MAAM,CAAC,GAAG,KAAK,CAAC,UAAU,CAAC;QAC3B,IAAI,CAAC,CAAC,UAAU,KAAK,UAAU;YAAE,SAAS;QAC1C,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC1B,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACb,SAAS;QACX,CAAC;QACD,MAAM,cAAc,GAClB,CAAC,CAAC,CAAC,IAAI,KAAK,SAAS,IAAI,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC;YAC/C,CAAC,CAAC,CAAC,IAAI,KAAK,SAAS,IAAI,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC;YAC/C,CAAC,CAAC,CAAC,IAAI,KAAK,QAAQ,IAAI,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC;YAC9C,CAAC,CAAC,CAAC,IAAI,KAAK,MAAM,IAAI,CAAC,CAAC,aAAa,KAAK,OAAO,CAAC,CAAC;QACrD,IAAI,cAAc;YAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACnC,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,kEAAkE;AAClE,MAAM,UAAU,cAAc,CAE5B,OAAU;IACV,OAAO;QACL,GAAG,OAAO;QACV,EAAE,EAAE,UAAU,EAAE;QAChB,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;KACpC,CAAC;AACJ,CAAC"}
|
package/dist/schema/entry.d.ts
CHANGED
|
@@ -22,37 +22,37 @@ export declare const EntrySchema: z.ZodObject<{
|
|
|
22
22
|
createdAt: z.ZodString;
|
|
23
23
|
updatedAt: z.ZodString;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
|
|
25
|
+
source: string;
|
|
26
26
|
slug: string;
|
|
27
27
|
title: string;
|
|
28
|
+
uuid: string;
|
|
28
29
|
keywords: string[];
|
|
29
|
-
source: string;
|
|
30
|
-
currentStage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled";
|
|
31
|
-
iterationByStage: Partial<Record<"Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled", number>>;
|
|
32
30
|
createdAt: string;
|
|
31
|
+
currentStage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
32
|
+
iterationByStage: Partial<Record<"Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled", number>>;
|
|
33
33
|
updatedAt: string;
|
|
34
34
|
description?: string | undefined;
|
|
35
|
-
|
|
35
|
+
datePublished?: string | undefined;
|
|
36
|
+
priorStage?: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled" | undefined;
|
|
36
37
|
reviewState?: "in-review" | "iterating" | "approved" | undefined;
|
|
37
38
|
targetVersion?: string | undefined;
|
|
38
|
-
datePublished?: string | undefined;
|
|
39
39
|
artifactPath?: string | undefined;
|
|
40
40
|
shortformWorkflows?: Record<string, string> | undefined;
|
|
41
41
|
}, {
|
|
42
|
-
|
|
42
|
+
source: string;
|
|
43
43
|
slug: string;
|
|
44
44
|
title: string;
|
|
45
|
+
uuid: string;
|
|
45
46
|
keywords: string[];
|
|
46
|
-
source: string;
|
|
47
|
-
currentStage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled";
|
|
48
|
-
iterationByStage: Partial<Record<"Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled", number>>;
|
|
49
47
|
createdAt: string;
|
|
48
|
+
currentStage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
49
|
+
iterationByStage: Partial<Record<"Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled", number>>;
|
|
50
50
|
updatedAt: string;
|
|
51
51
|
description?: string | undefined;
|
|
52
|
-
|
|
52
|
+
datePublished?: string | undefined;
|
|
53
|
+
priorStage?: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled" | undefined;
|
|
53
54
|
reviewState?: "in-review" | "iterating" | "approved" | undefined;
|
|
54
55
|
targetVersion?: string | undefined;
|
|
55
|
-
datePublished?: string | undefined;
|
|
56
56
|
artifactPath?: string | undefined;
|
|
57
57
|
shortformWorkflows?: Record<string, string> | undefined;
|
|
58
58
|
}>;
|
|
@@ -21,84 +21,84 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
|
|
|
21
21
|
createdAt: z.ZodString;
|
|
22
22
|
updatedAt: z.ZodString;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
|
|
24
|
+
source: string;
|
|
25
25
|
slug: string;
|
|
26
26
|
title: string;
|
|
27
|
+
uuid: string;
|
|
27
28
|
keywords: string[];
|
|
28
|
-
source: string;
|
|
29
|
-
currentStage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled";
|
|
30
|
-
iterationByStage: Partial<Record<"Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled", number>>;
|
|
31
29
|
createdAt: string;
|
|
30
|
+
currentStage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
31
|
+
iterationByStage: Partial<Record<"Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled", number>>;
|
|
32
32
|
updatedAt: string;
|
|
33
33
|
description?: string | undefined;
|
|
34
|
-
|
|
34
|
+
datePublished?: string | undefined;
|
|
35
|
+
priorStage?: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled" | undefined;
|
|
35
36
|
reviewState?: "in-review" | "iterating" | "approved" | undefined;
|
|
36
37
|
targetVersion?: string | undefined;
|
|
37
|
-
datePublished?: string | undefined;
|
|
38
38
|
artifactPath?: string | undefined;
|
|
39
39
|
shortformWorkflows?: Record<string, string> | undefined;
|
|
40
40
|
}, {
|
|
41
|
-
|
|
41
|
+
source: string;
|
|
42
42
|
slug: string;
|
|
43
43
|
title: string;
|
|
44
|
+
uuid: string;
|
|
44
45
|
keywords: string[];
|
|
45
|
-
source: string;
|
|
46
|
-
currentStage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled";
|
|
47
|
-
iterationByStage: Partial<Record<"Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled", number>>;
|
|
48
46
|
createdAt: string;
|
|
47
|
+
currentStage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
48
|
+
iterationByStage: Partial<Record<"Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled", number>>;
|
|
49
49
|
updatedAt: string;
|
|
50
50
|
description?: string | undefined;
|
|
51
|
-
|
|
51
|
+
datePublished?: string | undefined;
|
|
52
|
+
priorStage?: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled" | undefined;
|
|
52
53
|
reviewState?: "in-review" | "iterating" | "approved" | undefined;
|
|
53
54
|
targetVersion?: string | undefined;
|
|
54
|
-
datePublished?: string | undefined;
|
|
55
55
|
artifactPath?: string | undefined;
|
|
56
56
|
shortformWorkflows?: Record<string, string> | undefined;
|
|
57
57
|
}>;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
59
|
at: string;
|
|
60
|
-
kind: "entry-created";
|
|
61
|
-
entryId: string;
|
|
62
60
|
entry: {
|
|
63
|
-
|
|
61
|
+
source: string;
|
|
64
62
|
slug: string;
|
|
65
63
|
title: string;
|
|
64
|
+
uuid: string;
|
|
66
65
|
keywords: string[];
|
|
67
|
-
source: string;
|
|
68
|
-
currentStage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled";
|
|
69
|
-
iterationByStage: Partial<Record<"Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled", number>>;
|
|
70
66
|
createdAt: string;
|
|
67
|
+
currentStage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
68
|
+
iterationByStage: Partial<Record<"Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled", number>>;
|
|
71
69
|
updatedAt: string;
|
|
72
70
|
description?: string | undefined;
|
|
73
|
-
|
|
71
|
+
datePublished?: string | undefined;
|
|
72
|
+
priorStage?: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled" | undefined;
|
|
74
73
|
reviewState?: "in-review" | "iterating" | "approved" | undefined;
|
|
75
74
|
targetVersion?: string | undefined;
|
|
76
|
-
datePublished?: string | undefined;
|
|
77
75
|
artifactPath?: string | undefined;
|
|
78
76
|
shortformWorkflows?: Record<string, string> | undefined;
|
|
79
77
|
};
|
|
80
|
-
}, {
|
|
81
|
-
at: string;
|
|
82
78
|
kind: "entry-created";
|
|
83
79
|
entryId: string;
|
|
80
|
+
}, {
|
|
81
|
+
at: string;
|
|
84
82
|
entry: {
|
|
85
|
-
|
|
83
|
+
source: string;
|
|
86
84
|
slug: string;
|
|
87
85
|
title: string;
|
|
86
|
+
uuid: string;
|
|
88
87
|
keywords: string[];
|
|
89
|
-
source: string;
|
|
90
|
-
currentStage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled";
|
|
91
|
-
iterationByStage: Partial<Record<"Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled", number>>;
|
|
92
88
|
createdAt: string;
|
|
89
|
+
currentStage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
90
|
+
iterationByStage: Partial<Record<"Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled", number>>;
|
|
93
91
|
updatedAt: string;
|
|
94
92
|
description?: string | undefined;
|
|
95
|
-
|
|
93
|
+
datePublished?: string | undefined;
|
|
94
|
+
priorStage?: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled" | undefined;
|
|
96
95
|
reviewState?: "in-review" | "iterating" | "approved" | undefined;
|
|
97
96
|
targetVersion?: string | undefined;
|
|
98
|
-
datePublished?: string | undefined;
|
|
99
97
|
artifactPath?: string | undefined;
|
|
100
98
|
shortformWorkflows?: Record<string, string> | undefined;
|
|
101
99
|
};
|
|
100
|
+
kind: "entry-created";
|
|
101
|
+
entryId: string;
|
|
102
102
|
}>, z.ZodObject<{
|
|
103
103
|
kind: z.ZodLiteral<"entry-ingested">;
|
|
104
104
|
at: z.ZodString;
|
|
@@ -110,13 +110,13 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
|
|
|
110
110
|
kind: "entry-ingested";
|
|
111
111
|
entryId: string;
|
|
112
112
|
sourcePath: string;
|
|
113
|
-
targetStage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "
|
|
113
|
+
targetStage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
114
114
|
}, {
|
|
115
115
|
at: string;
|
|
116
116
|
kind: "entry-ingested";
|
|
117
117
|
entryId: string;
|
|
118
118
|
sourcePath: string;
|
|
119
|
-
targetStage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "
|
|
119
|
+
targetStage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
120
120
|
}>, z.ZodObject<{
|
|
121
121
|
kind: z.ZodLiteral<"iteration">;
|
|
122
122
|
at: z.ZodString;
|
|
@@ -125,18 +125,18 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
|
|
|
125
125
|
version: z.ZodNumber;
|
|
126
126
|
markdown: z.ZodString;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
|
-
version: number;
|
|
129
128
|
at: string;
|
|
129
|
+
stage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
130
|
+
version: number;
|
|
130
131
|
kind: "iteration";
|
|
131
132
|
entryId: string;
|
|
132
|
-
stage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled";
|
|
133
133
|
markdown: string;
|
|
134
134
|
}, {
|
|
135
|
-
version: number;
|
|
136
135
|
at: string;
|
|
136
|
+
stage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
137
|
+
version: number;
|
|
137
138
|
kind: "iteration";
|
|
138
139
|
entryId: string;
|
|
139
|
-
stage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled";
|
|
140
140
|
markdown: string;
|
|
141
141
|
}>, z.ZodObject<{
|
|
142
142
|
kind: z.ZodLiteral<"annotation">;
|
|
@@ -164,9 +164,9 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
|
|
|
164
164
|
dispositionReason: z.ZodOptional<z.ZodString>;
|
|
165
165
|
createdAt: z.ZodString;
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
id: string;
|
|
167
168
|
type: "comment";
|
|
168
169
|
createdAt: string;
|
|
169
|
-
id: string;
|
|
170
170
|
range: {
|
|
171
171
|
start: number;
|
|
172
172
|
end: number;
|
|
@@ -177,9 +177,9 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
|
|
|
177
177
|
disposition?: "addressed" | "deferred" | "wontfix" | undefined;
|
|
178
178
|
dispositionReason?: string | undefined;
|
|
179
179
|
}, {
|
|
180
|
+
id: string;
|
|
180
181
|
type: "comment";
|
|
181
182
|
createdAt: string;
|
|
182
|
-
id: string;
|
|
183
183
|
range: {
|
|
184
184
|
start: number;
|
|
185
185
|
end: number;
|
|
@@ -191,15 +191,13 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
|
|
|
191
191
|
dispositionReason?: string | undefined;
|
|
192
192
|
}>;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
version: number;
|
|
195
194
|
at: string;
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
stage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled";
|
|
195
|
+
stage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
196
|
+
version: number;
|
|
199
197
|
annotation: {
|
|
198
|
+
id: string;
|
|
200
199
|
type: "comment";
|
|
201
200
|
createdAt: string;
|
|
202
|
-
id: string;
|
|
203
201
|
range: {
|
|
204
202
|
start: number;
|
|
205
203
|
end: number;
|
|
@@ -210,16 +208,16 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
|
|
|
210
208
|
disposition?: "addressed" | "deferred" | "wontfix" | undefined;
|
|
211
209
|
dispositionReason?: string | undefined;
|
|
212
210
|
};
|
|
213
|
-
}, {
|
|
214
|
-
version: number;
|
|
215
|
-
at: string;
|
|
216
211
|
kind: "annotation";
|
|
217
212
|
entryId: string;
|
|
218
|
-
|
|
213
|
+
}, {
|
|
214
|
+
at: string;
|
|
215
|
+
stage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
216
|
+
version: number;
|
|
219
217
|
annotation: {
|
|
218
|
+
id: string;
|
|
220
219
|
type: "comment";
|
|
221
220
|
createdAt: string;
|
|
222
|
-
id: string;
|
|
223
221
|
range: {
|
|
224
222
|
start: number;
|
|
225
223
|
end: number;
|
|
@@ -230,6 +228,8 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
|
|
|
230
228
|
disposition?: "addressed" | "deferred" | "wontfix" | undefined;
|
|
231
229
|
dispositionReason?: string | undefined;
|
|
232
230
|
};
|
|
231
|
+
kind: "annotation";
|
|
232
|
+
entryId: string;
|
|
233
233
|
}>, z.ZodObject<{
|
|
234
234
|
kind: z.ZodLiteral<"review-state-change">;
|
|
235
235
|
at: z.ZodString;
|
|
@@ -239,18 +239,18 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
|
|
|
239
239
|
to: z.ZodNullable<z.ZodEnum<["in-review", "iterating", "approved"]>>;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
241
241
|
at: string;
|
|
242
|
+
stage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
242
243
|
kind: "review-state-change";
|
|
243
|
-
entryId: string;
|
|
244
|
-
stage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled";
|
|
245
244
|
from: "in-review" | "iterating" | "approved" | null;
|
|
246
245
|
to: "in-review" | "iterating" | "approved" | null;
|
|
246
|
+
entryId: string;
|
|
247
247
|
}, {
|
|
248
248
|
at: string;
|
|
249
|
+
stage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
249
250
|
kind: "review-state-change";
|
|
250
|
-
entryId: string;
|
|
251
|
-
stage: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled";
|
|
252
251
|
from: "in-review" | "iterating" | "approved" | null;
|
|
253
252
|
to: "in-review" | "iterating" | "approved" | null;
|
|
253
|
+
entryId: string;
|
|
254
254
|
}>, z.ZodObject<{
|
|
255
255
|
kind: z.ZodLiteral<"stage-transition">;
|
|
256
256
|
at: z.ZodString;
|
|
@@ -262,17 +262,17 @@ export declare const JournalEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
|
|
|
262
262
|
}, "strip", z.ZodTypeAny, {
|
|
263
263
|
at: string;
|
|
264
264
|
kind: "stage-transition";
|
|
265
|
+
from: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
266
|
+
to: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
265
267
|
entryId: string;
|
|
266
|
-
from: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled";
|
|
267
|
-
to: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled";
|
|
268
268
|
reason?: string | undefined;
|
|
269
269
|
metadata?: Record<string, unknown> | undefined;
|
|
270
270
|
}, {
|
|
271
271
|
at: string;
|
|
272
272
|
kind: "stage-transition";
|
|
273
|
+
from: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
274
|
+
to: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Published" | "Final" | "Blocked" | "Cancelled";
|
|
273
275
|
entryId: string;
|
|
274
|
-
from: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled";
|
|
275
|
-
to: "Ideas" | "Planned" | "Outlining" | "Drafting" | "Final" | "Published" | "Blocked" | "Cancelled";
|
|
276
276
|
reason?: string | undefined;
|
|
277
277
|
metadata?: Record<string, unknown> | undefined;
|
|
278
278
|
}>]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deskwork/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Editorial calendar + review pipeline library — shared by @deskwork/cli and @deskwork/studio",
|
|
6
6
|
"homepage": "https://github.com/audiocontrol-org/deskwork#readme",
|