@treeseed/sdk 0.13.0-rc.121 → 0.13.0-rc.122
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/.treeseed-build-complete.json +1 -1
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +1594 -922
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +22 -1
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +40 -40
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +1 -59
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +1 -1
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +1 -1
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +18 -20
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +1 -1
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +0 -67
- package/dist/agent-capacity/contracts/configuration/configuration.d.ts +1 -1
- package/dist/agent-capacity/contracts/configuration/configuration.js +0 -2
- package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +8 -8
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +0 -23
- package/dist/agent-capacity/contracts/runtime/runtime-observability.d.ts +2 -154
- package/dist/agent-capacity/contracts/support/agent-atlas.d.ts +0 -13
- package/dist/agent-capacity/contracts/support/execution-graph.d.ts +176 -176
- package/dist/agent-capacity/contracts/support/execution-graph.js +1 -1
- package/dist/agent-capacity/contracts/support/financial-records.d.ts +1 -6
- package/dist/agent-capacity/contracts/support/planning-records.d.ts +1 -87
- package/dist/agent-capacity/grant.d.ts +34 -0
- package/dist/agent-capacity/grant.js +4 -0
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +1042 -1042
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +11 -11
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.js +0 -1
- package/dist/agent-capacity/validation/assignment-records.d.ts +1 -6
- package/dist/agent-capacity/validation/assignment-records.js +4 -35
- package/dist/agent-capacity/validation/configuration.d.ts +1 -1
- package/dist/agent-capacity/validation/configuration.js +2 -6
- package/dist/agent-capacity/validation/grant.d.ts +11 -0
- package/dist/agent-capacity/validation/grant.js +31 -0
- package/dist/capacity/agents/agent-capacity.d.ts +2 -4
- package/dist/capacity/agents/agent-capacity.js +1 -3
- package/dist/capacity-provider/capability-ontology.d.ts +138 -138
- package/dist/capacity-provider/client.d.ts +1 -2
- package/dist/capacity-provider/client.js +0 -6
- package/dist/capacity-provider/contracts/environment-profiles.d.ts +8 -8
- package/dist/capacity-provider/core-capability-catalog.d.ts +4 -4
- package/dist/capacity-provider/environment-catalog.d.ts +166 -166
- package/dist/capacity-provider/install-configuration.d.ts +2 -2
- package/dist/capacity-provider/sandbox-contracts.d.ts +52 -52
- package/dist/capacity-provider/source-workspace.d.ts +102 -4
- package/dist/capacity-provider/source-workspace.js +5 -1
- package/dist/content/validation/agent-operational-content-schemas.d.ts +108 -108
- package/dist/content/validation/auxiliary-content-schemas.d.ts +108 -108
- package/dist/content/validation/content-model-schemas.d.ts +9473 -6284
- package/dist/content/validation/content-model-schemas.js +116 -48
- package/dist/content/validation/portable-content-data.d.ts +351 -181
- package/dist/content/validation/portable-content-data.js +6 -1
- package/dist/deployment/ai/storage.d.ts +14 -14
- package/dist/deployment/ai-hosting.d.ts +10 -10
- package/dist/deployment/ai-instance.d.ts +14 -14
- package/dist/deployment/ai-mode.d.ts +82 -82
- package/dist/deployment/hosted-topology-template.d.ts +24 -24
- package/dist/deployment/hosted-topology.d.ts +219 -219
- package/dist/deployment/postgres/contracts.d.ts +52 -52
- package/dist/deployment/postgres/transfer.d.ts +4 -4
- package/dist/deployment/schemas.d.ts +780 -780
- package/dist/development/schemas.d.ts +439 -439
- package/dist/knowledge/contracts.d.ts +9 -2
- package/dist/knowledge/contracts.js +2 -2
- package/dist/model-registry/discussion-models.js +0 -1
- package/dist/operator-contracts/canonical-command-tree.js +3 -1
- package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +2 -2
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +17 -17
- package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +4 -4
- package/dist/operator-contracts/catalog/communication-operations.d.ts +100 -100
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +40 -40
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +54 -54
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +5 -5
- package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +10 -10
- package/dist/operator-contracts/catalog/services/secret-operations.d.ts +8 -8
- package/dist/operator-contracts/communication/contracts.d.ts +273 -273
- package/dist/operator-contracts/control-plane-operations.d.ts +236 -242
- package/dist/operator-contracts/control-plane-operations.js +0 -2
- package/dist/operator-contracts/inbox/contracts.d.ts +204 -204
- package/dist/operator-contracts/knowledge/contracts.d.ts +16 -16
- package/dist/platform/agent-schema-verification.d.ts +3 -0
- package/dist/platform/agent-schema-verification.js +94 -0
- package/dist/platform/verification.js +6 -0
- package/dist/sdk-types/support/planning-policy.d.ts +1 -1
- package/dist/secrets-capability/shared-access.d.ts +2 -2
- package/dist/secrets-capability/shared-resources.d.ts +46 -46
- package/dist/secrets-capability/vault-contracts.d.ts +2 -2
- package/dist/security/encrypted-envelope.d.ts +8 -8
- package/package.json +3 -2
- package/dist/agent-capacity/allocation.d.ts +0 -183
- package/dist/agent-capacity/allocation.js +0 -5
- package/dist/agent-capacity/artifact-mutation-receipt.d.ts +0 -49
- package/dist/agent-capacity/artifact-mutation-receipt.js +0 -36
- package/dist/agent-capacity/artifacts.d.ts +0 -123
- package/dist/agent-capacity/artifacts.js +0 -39
- package/dist/agent-capacity/contracts/support/decision-work.d.ts +0 -227
- package/dist/agent-capacity/contracts/support/decision-work.js +0 -0
- package/dist/agent-capacity/validation/allocation.d.ts +0 -12
- package/dist/agent-capacity/validation/allocation.js +0 -115
|
@@ -9,14 +9,14 @@ export declare const inboxProvenanceSchema: z.ZodObject<{
|
|
|
9
9
|
digest: z.ZodNullable<z.ZodString>;
|
|
10
10
|
}, "strict", z.ZodTypeAny, {
|
|
11
11
|
digest: string | null;
|
|
12
|
+
commitSha: string | null;
|
|
12
13
|
repositoryId: string | null;
|
|
13
14
|
contentPath: string | null;
|
|
14
|
-
commitSha: string | null;
|
|
15
15
|
}, {
|
|
16
16
|
digest: string | null;
|
|
17
|
+
commitSha: string | null;
|
|
17
18
|
repositoryId: string | null;
|
|
18
19
|
contentPath: string | null;
|
|
19
|
-
commitSha: string | null;
|
|
20
20
|
}>;
|
|
21
21
|
export declare const inboxActionDescriptorSchema: z.ZodObject<{
|
|
22
22
|
action: z.ZodEnum<["publish_revision", "approve", "reject", "comment", "answer", "reply", "reopen"]>;
|
|
@@ -27,16 +27,16 @@ export declare const inboxActionDescriptorSchema: z.ZodObject<{
|
|
|
27
27
|
confirmation: z.ZodEnum<["never", "input_required"]>;
|
|
28
28
|
}, "strict", z.ZodTypeAny, {
|
|
29
29
|
enabled: boolean;
|
|
30
|
-
action: "
|
|
31
|
-
reason: string | null;
|
|
30
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
32
31
|
label: string;
|
|
32
|
+
reason: string | null;
|
|
33
33
|
confirmation: "never" | "input_required";
|
|
34
34
|
requiresFeedback: boolean;
|
|
35
35
|
}, {
|
|
36
36
|
enabled: boolean;
|
|
37
|
-
action: "
|
|
38
|
-
reason: string | null;
|
|
37
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
39
38
|
label: string;
|
|
39
|
+
reason: string | null;
|
|
40
40
|
confirmation: "never" | "input_required";
|
|
41
41
|
requiresFeedback: boolean;
|
|
42
42
|
}>;
|
|
@@ -55,42 +55,42 @@ export declare const inboxCommentSchema: z.ZodObject<{
|
|
|
55
55
|
digest: z.ZodNullable<z.ZodString>;
|
|
56
56
|
}, "strict", z.ZodTypeAny, {
|
|
57
57
|
digest: string | null;
|
|
58
|
+
commitSha: string | null;
|
|
58
59
|
repositoryId: string | null;
|
|
59
60
|
contentPath: string | null;
|
|
60
|
-
commitSha: string | null;
|
|
61
61
|
}, {
|
|
62
62
|
digest: string | null;
|
|
63
|
+
commitSha: string | null;
|
|
63
64
|
repositoryId: string | null;
|
|
64
65
|
contentPath: string | null;
|
|
65
|
-
commitSha: string | null;
|
|
66
66
|
}>;
|
|
67
67
|
}, "strict", z.ZodTypeAny, {
|
|
68
|
-
kind: "
|
|
68
|
+
kind: "answer" | "comment" | "reply";
|
|
69
69
|
id: string;
|
|
70
70
|
createdAt: string;
|
|
71
|
+
parentId: string | null;
|
|
72
|
+
authorId: string;
|
|
71
73
|
provenance: {
|
|
72
74
|
digest: string | null;
|
|
75
|
+
commitSha: string | null;
|
|
73
76
|
repositoryId: string | null;
|
|
74
77
|
contentPath: string | null;
|
|
75
|
-
commitSha: string | null;
|
|
76
78
|
};
|
|
77
79
|
markdown: string;
|
|
78
|
-
parentId: string | null;
|
|
79
|
-
authorId: string;
|
|
80
80
|
authorLabel: string;
|
|
81
81
|
}, {
|
|
82
|
-
kind: "
|
|
82
|
+
kind: "answer" | "comment" | "reply";
|
|
83
83
|
id: string;
|
|
84
84
|
createdAt: string;
|
|
85
|
+
parentId: string | null;
|
|
86
|
+
authorId: string;
|
|
85
87
|
provenance: {
|
|
86
88
|
digest: string | null;
|
|
89
|
+
commitSha: string | null;
|
|
87
90
|
repositoryId: string | null;
|
|
88
91
|
contentPath: string | null;
|
|
89
|
-
commitSha: string | null;
|
|
90
92
|
};
|
|
91
93
|
markdown: string;
|
|
92
|
-
parentId: string | null;
|
|
93
|
-
authorId: string;
|
|
94
94
|
authorLabel: string;
|
|
95
95
|
}>;
|
|
96
96
|
export declare const inboxItemSchema: z.ZodObject<{
|
|
@@ -116,14 +116,14 @@ export declare const inboxItemSchema: z.ZodObject<{
|
|
|
116
116
|
digest: z.ZodNullable<z.ZodString>;
|
|
117
117
|
}, "strict", z.ZodTypeAny, {
|
|
118
118
|
digest: string | null;
|
|
119
|
+
commitSha: string | null;
|
|
119
120
|
repositoryId: string | null;
|
|
120
121
|
contentPath: string | null;
|
|
121
|
-
commitSha: string | null;
|
|
122
122
|
}, {
|
|
123
123
|
digest: string | null;
|
|
124
|
+
commitSha: string | null;
|
|
124
125
|
repositoryId: string | null;
|
|
125
126
|
contentPath: string | null;
|
|
126
|
-
commitSha: string | null;
|
|
127
127
|
}>;
|
|
128
128
|
availableActions: z.ZodArray<z.ZodObject<{
|
|
129
129
|
action: z.ZodEnum<["publish_revision", "approve", "reject", "comment", "answer", "reply", "reopen"]>;
|
|
@@ -134,16 +134,16 @@ export declare const inboxItemSchema: z.ZodObject<{
|
|
|
134
134
|
confirmation: z.ZodEnum<["never", "input_required"]>;
|
|
135
135
|
}, "strict", z.ZodTypeAny, {
|
|
136
136
|
enabled: boolean;
|
|
137
|
-
action: "
|
|
138
|
-
reason: string | null;
|
|
137
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
139
138
|
label: string;
|
|
139
|
+
reason: string | null;
|
|
140
140
|
confirmation: "never" | "input_required";
|
|
141
141
|
requiresFeedback: boolean;
|
|
142
142
|
}, {
|
|
143
143
|
enabled: boolean;
|
|
144
|
-
action: "
|
|
145
|
-
reason: string | null;
|
|
144
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
146
145
|
label: string;
|
|
146
|
+
reason: string | null;
|
|
147
147
|
confirmation: "never" | "input_required";
|
|
148
148
|
requiresFeedback: boolean;
|
|
149
149
|
}>, "many">;
|
|
@@ -162,134 +162,134 @@ export declare const inboxItemSchema: z.ZodObject<{
|
|
|
162
162
|
digest: z.ZodNullable<z.ZodString>;
|
|
163
163
|
}, "strict", z.ZodTypeAny, {
|
|
164
164
|
digest: string | null;
|
|
165
|
+
commitSha: string | null;
|
|
165
166
|
repositoryId: string | null;
|
|
166
167
|
contentPath: string | null;
|
|
167
|
-
commitSha: string | null;
|
|
168
168
|
}, {
|
|
169
169
|
digest: string | null;
|
|
170
|
+
commitSha: string | null;
|
|
170
171
|
repositoryId: string | null;
|
|
171
172
|
contentPath: string | null;
|
|
172
|
-
commitSha: string | null;
|
|
173
173
|
}>;
|
|
174
174
|
}, "strict", z.ZodTypeAny, {
|
|
175
|
-
kind: "
|
|
175
|
+
kind: "answer" | "comment" | "reply";
|
|
176
176
|
id: string;
|
|
177
177
|
createdAt: string;
|
|
178
|
+
parentId: string | null;
|
|
179
|
+
authorId: string;
|
|
178
180
|
provenance: {
|
|
179
181
|
digest: string | null;
|
|
182
|
+
commitSha: string | null;
|
|
180
183
|
repositoryId: string | null;
|
|
181
184
|
contentPath: string | null;
|
|
182
|
-
commitSha: string | null;
|
|
183
185
|
};
|
|
184
186
|
markdown: string;
|
|
185
|
-
parentId: string | null;
|
|
186
|
-
authorId: string;
|
|
187
187
|
authorLabel: string;
|
|
188
188
|
}, {
|
|
189
|
-
kind: "
|
|
189
|
+
kind: "answer" | "comment" | "reply";
|
|
190
190
|
id: string;
|
|
191
191
|
createdAt: string;
|
|
192
|
+
parentId: string | null;
|
|
193
|
+
authorId: string;
|
|
192
194
|
provenance: {
|
|
193
195
|
digest: string | null;
|
|
196
|
+
commitSha: string | null;
|
|
194
197
|
repositoryId: string | null;
|
|
195
198
|
contentPath: string | null;
|
|
196
|
-
commitSha: string | null;
|
|
197
199
|
};
|
|
198
200
|
markdown: string;
|
|
199
|
-
parentId: string | null;
|
|
200
|
-
authorId: string;
|
|
201
201
|
authorLabel: string;
|
|
202
202
|
}>, "many">;
|
|
203
203
|
etag: z.ZodString;
|
|
204
204
|
}, "strict", z.ZodTypeAny, {
|
|
205
|
-
status: "approved" | "rejected" | "
|
|
206
|
-
kind: "
|
|
205
|
+
status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
|
|
206
|
+
kind: "question" | "proposal";
|
|
207
207
|
id: string;
|
|
208
208
|
version: number;
|
|
209
209
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
210
210
|
projectId: string;
|
|
211
211
|
teamId: string;
|
|
212
212
|
createdAt: string;
|
|
213
|
+
updatedAt: string;
|
|
214
|
+
title: string;
|
|
215
|
+
discussionId: string | null;
|
|
216
|
+
authorId: string;
|
|
213
217
|
provenance: {
|
|
214
218
|
digest: string | null;
|
|
219
|
+
commitSha: string | null;
|
|
215
220
|
repositoryId: string | null;
|
|
216
221
|
contentPath: string | null;
|
|
217
|
-
commitSha: string | null;
|
|
218
222
|
};
|
|
219
223
|
projectSlug: string;
|
|
220
|
-
updatedAt: string;
|
|
221
224
|
markdown: string;
|
|
222
|
-
discussionId: string | null;
|
|
223
|
-
authorId: string;
|
|
224
225
|
authorLabel: string;
|
|
225
|
-
title: string;
|
|
226
226
|
availableActions: {
|
|
227
227
|
enabled: boolean;
|
|
228
|
-
action: "
|
|
229
|
-
reason: string | null;
|
|
228
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
230
229
|
label: string;
|
|
230
|
+
reason: string | null;
|
|
231
231
|
confirmation: "never" | "input_required";
|
|
232
232
|
requiresFeedback: boolean;
|
|
233
233
|
}[];
|
|
234
234
|
comments: {
|
|
235
|
-
kind: "
|
|
235
|
+
kind: "answer" | "comment" | "reply";
|
|
236
236
|
id: string;
|
|
237
237
|
createdAt: string;
|
|
238
|
+
parentId: string | null;
|
|
239
|
+
authorId: string;
|
|
238
240
|
provenance: {
|
|
239
241
|
digest: string | null;
|
|
242
|
+
commitSha: string | null;
|
|
240
243
|
repositoryId: string | null;
|
|
241
244
|
contentPath: string | null;
|
|
242
|
-
commitSha: string | null;
|
|
243
245
|
};
|
|
244
246
|
markdown: string;
|
|
245
|
-
parentId: string | null;
|
|
246
|
-
authorId: string;
|
|
247
247
|
authorLabel: string;
|
|
248
248
|
}[];
|
|
249
249
|
etag: string;
|
|
250
250
|
}, {
|
|
251
|
-
status: "approved" | "rejected" | "
|
|
252
|
-
kind: "
|
|
251
|
+
status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
|
|
252
|
+
kind: "question" | "proposal";
|
|
253
253
|
id: string;
|
|
254
254
|
version: number;
|
|
255
255
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
256
256
|
projectId: string;
|
|
257
257
|
teamId: string;
|
|
258
258
|
createdAt: string;
|
|
259
|
+
updatedAt: string;
|
|
260
|
+
title: string;
|
|
261
|
+
discussionId: string | null;
|
|
262
|
+
authorId: string;
|
|
259
263
|
provenance: {
|
|
260
264
|
digest: string | null;
|
|
265
|
+
commitSha: string | null;
|
|
261
266
|
repositoryId: string | null;
|
|
262
267
|
contentPath: string | null;
|
|
263
|
-
commitSha: string | null;
|
|
264
268
|
};
|
|
265
269
|
projectSlug: string;
|
|
266
|
-
updatedAt: string;
|
|
267
270
|
markdown: string;
|
|
268
|
-
discussionId: string | null;
|
|
269
|
-
authorId: string;
|
|
270
271
|
authorLabel: string;
|
|
271
|
-
title: string;
|
|
272
272
|
availableActions: {
|
|
273
273
|
enabled: boolean;
|
|
274
|
-
action: "
|
|
275
|
-
reason: string | null;
|
|
274
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
276
275
|
label: string;
|
|
276
|
+
reason: string | null;
|
|
277
277
|
confirmation: "never" | "input_required";
|
|
278
278
|
requiresFeedback: boolean;
|
|
279
279
|
}[];
|
|
280
280
|
comments: {
|
|
281
|
-
kind: "
|
|
281
|
+
kind: "answer" | "comment" | "reply";
|
|
282
282
|
id: string;
|
|
283
283
|
createdAt: string;
|
|
284
|
+
parentId: string | null;
|
|
285
|
+
authorId: string;
|
|
284
286
|
provenance: {
|
|
285
287
|
digest: string | null;
|
|
288
|
+
commitSha: string | null;
|
|
286
289
|
repositoryId: string | null;
|
|
287
290
|
contentPath: string | null;
|
|
288
|
-
commitSha: string | null;
|
|
289
291
|
};
|
|
290
292
|
markdown: string;
|
|
291
|
-
parentId: string | null;
|
|
292
|
-
authorId: string;
|
|
293
293
|
authorLabel: string;
|
|
294
294
|
}[];
|
|
295
295
|
etag: string;
|
|
@@ -317,14 +317,14 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
|
|
|
317
317
|
digest: z.ZodNullable<z.ZodString>;
|
|
318
318
|
}, "strict", z.ZodTypeAny, {
|
|
319
319
|
digest: string | null;
|
|
320
|
+
commitSha: string | null;
|
|
320
321
|
repositoryId: string | null;
|
|
321
322
|
contentPath: string | null;
|
|
322
|
-
commitSha: string | null;
|
|
323
323
|
}, {
|
|
324
324
|
digest: string | null;
|
|
325
|
+
commitSha: string | null;
|
|
325
326
|
repositoryId: string | null;
|
|
326
327
|
contentPath: string | null;
|
|
327
|
-
commitSha: string | null;
|
|
328
328
|
}>;
|
|
329
329
|
availableActions: z.ZodArray<z.ZodObject<{
|
|
330
330
|
action: z.ZodEnum<["publish_revision", "approve", "reject", "comment", "answer", "reply", "reopen"]>;
|
|
@@ -335,16 +335,16 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
|
|
|
335
335
|
confirmation: z.ZodEnum<["never", "input_required"]>;
|
|
336
336
|
}, "strict", z.ZodTypeAny, {
|
|
337
337
|
enabled: boolean;
|
|
338
|
-
action: "
|
|
339
|
-
reason: string | null;
|
|
338
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
340
339
|
label: string;
|
|
340
|
+
reason: string | null;
|
|
341
341
|
confirmation: "never" | "input_required";
|
|
342
342
|
requiresFeedback: boolean;
|
|
343
343
|
}, {
|
|
344
344
|
enabled: boolean;
|
|
345
|
-
action: "
|
|
346
|
-
reason: string | null;
|
|
345
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
347
346
|
label: string;
|
|
347
|
+
reason: string | null;
|
|
348
348
|
confirmation: "never" | "input_required";
|
|
349
349
|
requiresFeedback: boolean;
|
|
350
350
|
}>, "many">;
|
|
@@ -363,72 +363,72 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
|
|
|
363
363
|
digest: z.ZodNullable<z.ZodString>;
|
|
364
364
|
}, "strict", z.ZodTypeAny, {
|
|
365
365
|
digest: string | null;
|
|
366
|
+
commitSha: string | null;
|
|
366
367
|
repositoryId: string | null;
|
|
367
368
|
contentPath: string | null;
|
|
368
|
-
commitSha: string | null;
|
|
369
369
|
}, {
|
|
370
370
|
digest: string | null;
|
|
371
|
+
commitSha: string | null;
|
|
371
372
|
repositoryId: string | null;
|
|
372
373
|
contentPath: string | null;
|
|
373
|
-
commitSha: string | null;
|
|
374
374
|
}>;
|
|
375
375
|
}, "strict", z.ZodTypeAny, {
|
|
376
|
-
kind: "
|
|
376
|
+
kind: "answer" | "comment" | "reply";
|
|
377
377
|
id: string;
|
|
378
378
|
createdAt: string;
|
|
379
|
+
parentId: string | null;
|
|
380
|
+
authorId: string;
|
|
379
381
|
provenance: {
|
|
380
382
|
digest: string | null;
|
|
383
|
+
commitSha: string | null;
|
|
381
384
|
repositoryId: string | null;
|
|
382
385
|
contentPath: string | null;
|
|
383
|
-
commitSha: string | null;
|
|
384
386
|
};
|
|
385
387
|
markdown: string;
|
|
386
|
-
parentId: string | null;
|
|
387
|
-
authorId: string;
|
|
388
388
|
authorLabel: string;
|
|
389
389
|
}, {
|
|
390
|
-
kind: "
|
|
390
|
+
kind: "answer" | "comment" | "reply";
|
|
391
391
|
id: string;
|
|
392
392
|
createdAt: string;
|
|
393
|
+
parentId: string | null;
|
|
394
|
+
authorId: string;
|
|
393
395
|
provenance: {
|
|
394
396
|
digest: string | null;
|
|
397
|
+
commitSha: string | null;
|
|
395
398
|
repositoryId: string | null;
|
|
396
399
|
contentPath: string | null;
|
|
397
|
-
commitSha: string | null;
|
|
398
400
|
};
|
|
399
401
|
markdown: string;
|
|
400
|
-
parentId: string | null;
|
|
401
|
-
authorId: string;
|
|
402
402
|
authorLabel: string;
|
|
403
403
|
}>, "many">;
|
|
404
404
|
etag: z.ZodString;
|
|
405
|
-
}, "status" | "kind" | "id" | "version" | "projectId" | "teamId" | "createdAt" | "
|
|
406
|
-
status: "approved" | "rejected" | "
|
|
407
|
-
kind: "
|
|
405
|
+
}, "status" | "kind" | "id" | "version" | "projectId" | "teamId" | "createdAt" | "updatedAt" | "title" | "authorId" | "projectSlug" | "authorLabel" | "etag">, "strict", z.ZodTypeAny, {
|
|
406
|
+
status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
|
|
407
|
+
kind: "question" | "proposal";
|
|
408
408
|
id: string;
|
|
409
409
|
version: number;
|
|
410
410
|
projectId: string;
|
|
411
411
|
teamId: string;
|
|
412
412
|
createdAt: string;
|
|
413
|
-
projectSlug: string;
|
|
414
413
|
updatedAt: string;
|
|
414
|
+
title: string;
|
|
415
415
|
authorId: string;
|
|
416
|
+
projectSlug: string;
|
|
416
417
|
authorLabel: string;
|
|
417
|
-
title: string;
|
|
418
418
|
etag: string;
|
|
419
419
|
}, {
|
|
420
|
-
status: "approved" | "rejected" | "
|
|
421
|
-
kind: "
|
|
420
|
+
status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
|
|
421
|
+
kind: "question" | "proposal";
|
|
422
422
|
id: string;
|
|
423
423
|
version: number;
|
|
424
424
|
projectId: string;
|
|
425
425
|
teamId: string;
|
|
426
426
|
createdAt: string;
|
|
427
|
-
projectSlug: string;
|
|
428
427
|
updatedAt: string;
|
|
428
|
+
title: string;
|
|
429
429
|
authorId: string;
|
|
430
|
+
projectSlug: string;
|
|
430
431
|
authorLabel: string;
|
|
431
|
-
title: string;
|
|
432
432
|
etag: string;
|
|
433
433
|
}>;
|
|
434
434
|
export declare const inboxItemPageSchema: z.ZodObject<{
|
|
@@ -456,14 +456,14 @@ export declare const inboxItemPageSchema: z.ZodObject<{
|
|
|
456
456
|
digest: z.ZodNullable<z.ZodString>;
|
|
457
457
|
}, "strict", z.ZodTypeAny, {
|
|
458
458
|
digest: string | null;
|
|
459
|
+
commitSha: string | null;
|
|
459
460
|
repositoryId: string | null;
|
|
460
461
|
contentPath: string | null;
|
|
461
|
-
commitSha: string | null;
|
|
462
462
|
}, {
|
|
463
463
|
digest: string | null;
|
|
464
|
+
commitSha: string | null;
|
|
464
465
|
repositoryId: string | null;
|
|
465
466
|
contentPath: string | null;
|
|
466
|
-
commitSha: string | null;
|
|
467
467
|
}>;
|
|
468
468
|
availableActions: z.ZodArray<z.ZodObject<{
|
|
469
469
|
action: z.ZodEnum<["publish_revision", "approve", "reject", "comment", "answer", "reply", "reopen"]>;
|
|
@@ -474,16 +474,16 @@ export declare const inboxItemPageSchema: z.ZodObject<{
|
|
|
474
474
|
confirmation: z.ZodEnum<["never", "input_required"]>;
|
|
475
475
|
}, "strict", z.ZodTypeAny, {
|
|
476
476
|
enabled: boolean;
|
|
477
|
-
action: "
|
|
478
|
-
reason: string | null;
|
|
477
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
479
478
|
label: string;
|
|
479
|
+
reason: string | null;
|
|
480
480
|
confirmation: "never" | "input_required";
|
|
481
481
|
requiresFeedback: boolean;
|
|
482
482
|
}, {
|
|
483
483
|
enabled: boolean;
|
|
484
|
-
action: "
|
|
485
|
-
reason: string | null;
|
|
484
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
486
485
|
label: string;
|
|
486
|
+
reason: string | null;
|
|
487
487
|
confirmation: "never" | "input_required";
|
|
488
488
|
requiresFeedback: boolean;
|
|
489
489
|
}>, "many">;
|
|
@@ -502,108 +502,108 @@ export declare const inboxItemPageSchema: z.ZodObject<{
|
|
|
502
502
|
digest: z.ZodNullable<z.ZodString>;
|
|
503
503
|
}, "strict", z.ZodTypeAny, {
|
|
504
504
|
digest: string | null;
|
|
505
|
+
commitSha: string | null;
|
|
505
506
|
repositoryId: string | null;
|
|
506
507
|
contentPath: string | null;
|
|
507
|
-
commitSha: string | null;
|
|
508
508
|
}, {
|
|
509
509
|
digest: string | null;
|
|
510
|
+
commitSha: string | null;
|
|
510
511
|
repositoryId: string | null;
|
|
511
512
|
contentPath: string | null;
|
|
512
|
-
commitSha: string | null;
|
|
513
513
|
}>;
|
|
514
514
|
}, "strict", z.ZodTypeAny, {
|
|
515
|
-
kind: "
|
|
515
|
+
kind: "answer" | "comment" | "reply";
|
|
516
516
|
id: string;
|
|
517
517
|
createdAt: string;
|
|
518
|
+
parentId: string | null;
|
|
519
|
+
authorId: string;
|
|
518
520
|
provenance: {
|
|
519
521
|
digest: string | null;
|
|
522
|
+
commitSha: string | null;
|
|
520
523
|
repositoryId: string | null;
|
|
521
524
|
contentPath: string | null;
|
|
522
|
-
commitSha: string | null;
|
|
523
525
|
};
|
|
524
526
|
markdown: string;
|
|
525
|
-
parentId: string | null;
|
|
526
|
-
authorId: string;
|
|
527
527
|
authorLabel: string;
|
|
528
528
|
}, {
|
|
529
|
-
kind: "
|
|
529
|
+
kind: "answer" | "comment" | "reply";
|
|
530
530
|
id: string;
|
|
531
531
|
createdAt: string;
|
|
532
|
+
parentId: string | null;
|
|
533
|
+
authorId: string;
|
|
532
534
|
provenance: {
|
|
533
535
|
digest: string | null;
|
|
536
|
+
commitSha: string | null;
|
|
534
537
|
repositoryId: string | null;
|
|
535
538
|
contentPath: string | null;
|
|
536
|
-
commitSha: string | null;
|
|
537
539
|
};
|
|
538
540
|
markdown: string;
|
|
539
|
-
parentId: string | null;
|
|
540
|
-
authorId: string;
|
|
541
541
|
authorLabel: string;
|
|
542
542
|
}>, "many">;
|
|
543
543
|
etag: z.ZodString;
|
|
544
|
-
}, "status" | "kind" | "id" | "version" | "projectId" | "teamId" | "createdAt" | "
|
|
545
|
-
status: "approved" | "rejected" | "
|
|
546
|
-
kind: "
|
|
544
|
+
}, "status" | "kind" | "id" | "version" | "projectId" | "teamId" | "createdAt" | "updatedAt" | "title" | "authorId" | "projectSlug" | "authorLabel" | "etag">, "strict", z.ZodTypeAny, {
|
|
545
|
+
status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
|
|
546
|
+
kind: "question" | "proposal";
|
|
547
547
|
id: string;
|
|
548
548
|
version: number;
|
|
549
549
|
projectId: string;
|
|
550
550
|
teamId: string;
|
|
551
551
|
createdAt: string;
|
|
552
|
-
projectSlug: string;
|
|
553
552
|
updatedAt: string;
|
|
553
|
+
title: string;
|
|
554
554
|
authorId: string;
|
|
555
|
+
projectSlug: string;
|
|
555
556
|
authorLabel: string;
|
|
556
|
-
title: string;
|
|
557
557
|
etag: string;
|
|
558
558
|
}, {
|
|
559
|
-
status: "approved" | "rejected" | "
|
|
560
|
-
kind: "
|
|
559
|
+
status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
|
|
560
|
+
kind: "question" | "proposal";
|
|
561
561
|
id: string;
|
|
562
562
|
version: number;
|
|
563
563
|
projectId: string;
|
|
564
564
|
teamId: string;
|
|
565
565
|
createdAt: string;
|
|
566
|
-
projectSlug: string;
|
|
567
566
|
updatedAt: string;
|
|
567
|
+
title: string;
|
|
568
568
|
authorId: string;
|
|
569
|
+
projectSlug: string;
|
|
569
570
|
authorLabel: string;
|
|
570
|
-
title: string;
|
|
571
571
|
etag: string;
|
|
572
572
|
}>, "many">;
|
|
573
573
|
cursor: z.ZodNullable<z.ZodString>;
|
|
574
574
|
}, "strict", z.ZodTypeAny, {
|
|
575
575
|
schemaVersion: "treeseed.inbox-page/v1";
|
|
576
576
|
items: {
|
|
577
|
-
status: "approved" | "rejected" | "
|
|
578
|
-
kind: "
|
|
577
|
+
status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
|
|
578
|
+
kind: "question" | "proposal";
|
|
579
579
|
id: string;
|
|
580
580
|
version: number;
|
|
581
581
|
projectId: string;
|
|
582
582
|
teamId: string;
|
|
583
583
|
createdAt: string;
|
|
584
|
-
projectSlug: string;
|
|
585
584
|
updatedAt: string;
|
|
585
|
+
title: string;
|
|
586
586
|
authorId: string;
|
|
587
|
+
projectSlug: string;
|
|
587
588
|
authorLabel: string;
|
|
588
|
-
title: string;
|
|
589
589
|
etag: string;
|
|
590
590
|
}[];
|
|
591
591
|
cursor: string | null;
|
|
592
592
|
}, {
|
|
593
593
|
schemaVersion: "treeseed.inbox-page/v1";
|
|
594
594
|
items: {
|
|
595
|
-
status: "approved" | "rejected" | "
|
|
596
|
-
kind: "
|
|
595
|
+
status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
|
|
596
|
+
kind: "question" | "proposal";
|
|
597
597
|
id: string;
|
|
598
598
|
version: number;
|
|
599
599
|
projectId: string;
|
|
600
600
|
teamId: string;
|
|
601
601
|
createdAt: string;
|
|
602
|
-
projectSlug: string;
|
|
603
602
|
updatedAt: string;
|
|
603
|
+
title: string;
|
|
604
604
|
authorId: string;
|
|
605
|
+
projectSlug: string;
|
|
605
606
|
authorLabel: string;
|
|
606
|
-
title: string;
|
|
607
607
|
etag: string;
|
|
608
608
|
}[];
|
|
609
609
|
cursor: string | null;
|
|
@@ -624,9 +624,9 @@ export declare const inboxEventSchema: z.ZodObject<{
|
|
|
624
624
|
id: string;
|
|
625
625
|
schemaVersion: "treeseed.inbox-event/v1";
|
|
626
626
|
teamId: string;
|
|
627
|
+
summary: string;
|
|
627
628
|
sequence: string;
|
|
628
629
|
payload: Record<string, unknown>;
|
|
629
|
-
summary: string;
|
|
630
630
|
occurredAt: string;
|
|
631
631
|
itemId: string | null;
|
|
632
632
|
actorId: string;
|
|
@@ -635,9 +635,9 @@ export declare const inboxEventSchema: z.ZodObject<{
|
|
|
635
635
|
id: string;
|
|
636
636
|
schemaVersion: "treeseed.inbox-event/v1";
|
|
637
637
|
teamId: string;
|
|
638
|
+
summary: string;
|
|
638
639
|
sequence: string;
|
|
639
640
|
payload: Record<string, unknown>;
|
|
640
|
-
summary: string;
|
|
641
641
|
occurredAt: string;
|
|
642
642
|
itemId: string | null;
|
|
643
643
|
actorId: string;
|
|
@@ -659,9 +659,9 @@ export declare const inboxTimelineSchema: z.ZodObject<{
|
|
|
659
659
|
id: string;
|
|
660
660
|
schemaVersion: "treeseed.inbox-event/v1";
|
|
661
661
|
teamId: string;
|
|
662
|
+
summary: string;
|
|
662
663
|
sequence: string;
|
|
663
664
|
payload: Record<string, unknown>;
|
|
664
|
-
summary: string;
|
|
665
665
|
occurredAt: string;
|
|
666
666
|
itemId: string | null;
|
|
667
667
|
actorId: string;
|
|
@@ -670,42 +670,42 @@ export declare const inboxTimelineSchema: z.ZodObject<{
|
|
|
670
670
|
id: string;
|
|
671
671
|
schemaVersion: "treeseed.inbox-event/v1";
|
|
672
672
|
teamId: string;
|
|
673
|
+
summary: string;
|
|
673
674
|
sequence: string;
|
|
674
675
|
payload: Record<string, unknown>;
|
|
675
|
-
summary: string;
|
|
676
676
|
occurredAt: string;
|
|
677
677
|
itemId: string | null;
|
|
678
678
|
actorId: string;
|
|
679
679
|
}>, "many">;
|
|
680
680
|
cursor: z.ZodString;
|
|
681
681
|
}, "strict", z.ZodTypeAny, {
|
|
682
|
-
cursor: string;
|
|
683
682
|
events: {
|
|
684
683
|
type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
|
|
685
684
|
id: string;
|
|
686
685
|
schemaVersion: "treeseed.inbox-event/v1";
|
|
687
686
|
teamId: string;
|
|
687
|
+
summary: string;
|
|
688
688
|
sequence: string;
|
|
689
689
|
payload: Record<string, unknown>;
|
|
690
|
-
summary: string;
|
|
691
690
|
occurredAt: string;
|
|
692
691
|
itemId: string | null;
|
|
693
692
|
actorId: string;
|
|
694
693
|
}[];
|
|
695
|
-
}, {
|
|
696
694
|
cursor: string;
|
|
695
|
+
}, {
|
|
697
696
|
events: {
|
|
698
697
|
type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
|
|
699
698
|
id: string;
|
|
700
699
|
schemaVersion: "treeseed.inbox-event/v1";
|
|
701
700
|
teamId: string;
|
|
701
|
+
summary: string;
|
|
702
702
|
sequence: string;
|
|
703
703
|
payload: Record<string, unknown>;
|
|
704
|
-
summary: string;
|
|
705
704
|
occurredAt: string;
|
|
706
705
|
itemId: string | null;
|
|
707
706
|
actorId: string;
|
|
708
707
|
}[];
|
|
708
|
+
cursor: string;
|
|
709
709
|
}>;
|
|
710
710
|
export declare const inboxDraftPurposeSchema: z.ZodEnum<["feedback", "proposal_revision"]>;
|
|
711
711
|
export declare const inboxDraftSchema: z.ZodObject<{
|
|
@@ -719,8 +719,8 @@ export declare const inboxDraftSchema: z.ZodObject<{
|
|
|
719
719
|
etag: z.ZodString;
|
|
720
720
|
}, "strict", z.ZodTypeAny, {
|
|
721
721
|
schemaVersion: "treeseed.inbox-draft/v1";
|
|
722
|
-
purpose: "feedback" | "proposal_revision";
|
|
723
722
|
revision: number;
|
|
723
|
+
purpose: "feedback" | "proposal_revision";
|
|
724
724
|
updatedAt: string;
|
|
725
725
|
markdown: string;
|
|
726
726
|
etag: string;
|
|
@@ -728,8 +728,8 @@ export declare const inboxDraftSchema: z.ZodObject<{
|
|
|
728
728
|
baseVersion: number;
|
|
729
729
|
}, {
|
|
730
730
|
schemaVersion: "treeseed.inbox-draft/v1";
|
|
731
|
-
purpose: "feedback" | "proposal_revision";
|
|
732
731
|
revision: number;
|
|
732
|
+
purpose: "feedback" | "proposal_revision";
|
|
733
733
|
updatedAt: string;
|
|
734
734
|
markdown: string;
|
|
735
735
|
etag: string;
|
|
@@ -758,21 +758,21 @@ export declare const inboxQuestionCreateSchema: z.ZodObject<{
|
|
|
758
758
|
relatedWorkItems: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
759
759
|
}, "strict", z.ZodTypeAny, {
|
|
760
760
|
projectId: string;
|
|
761
|
-
recipients: string[];
|
|
762
|
-
markdown: string;
|
|
763
761
|
title: string;
|
|
764
762
|
severity: "blocking" | "advisory";
|
|
765
763
|
relatedObjectives: string[];
|
|
764
|
+
recipients: string[];
|
|
765
|
+
markdown: string;
|
|
766
766
|
relatedProposals: string[];
|
|
767
767
|
relatedDecisions: string[];
|
|
768
768
|
relatedWorkItems: string[];
|
|
769
769
|
}, {
|
|
770
770
|
projectId: string;
|
|
771
|
-
markdown: string;
|
|
772
771
|
title: string;
|
|
773
|
-
|
|
772
|
+
markdown: string;
|
|
774
773
|
severity?: "blocking" | "advisory" | undefined;
|
|
775
774
|
relatedObjectives?: string[] | undefined;
|
|
775
|
+
recipients?: string[] | undefined;
|
|
776
776
|
relatedProposals?: string[] | undefined;
|
|
777
777
|
relatedDecisions?: string[] | undefined;
|
|
778
778
|
relatedWorkItems?: string[] | undefined;
|
|
@@ -784,15 +784,15 @@ export declare const inboxActionRequestSchema: z.ZodObject<{
|
|
|
784
784
|
changeReason: z.ZodOptional<z.ZodString>;
|
|
785
785
|
draftRevision: z.ZodOptional<z.ZodNumber>;
|
|
786
786
|
}, "strict", z.ZodTypeAny, {
|
|
787
|
-
action: "
|
|
788
|
-
markdown?: string | undefined;
|
|
787
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
789
788
|
parentId?: string | undefined;
|
|
789
|
+
markdown?: string | undefined;
|
|
790
790
|
changeReason?: string | undefined;
|
|
791
791
|
draftRevision?: number | undefined;
|
|
792
792
|
}, {
|
|
793
|
-
action: "
|
|
794
|
-
markdown?: string | undefined;
|
|
793
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
795
794
|
parentId?: string | undefined;
|
|
795
|
+
markdown?: string | undefined;
|
|
796
796
|
changeReason?: string | undefined;
|
|
797
797
|
draftRevision?: number | undefined;
|
|
798
798
|
}>;
|
|
@@ -821,14 +821,14 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
|
|
|
821
821
|
digest: z.ZodNullable<z.ZodString>;
|
|
822
822
|
}, "strict", z.ZodTypeAny, {
|
|
823
823
|
digest: string | null;
|
|
824
|
+
commitSha: string | null;
|
|
824
825
|
repositoryId: string | null;
|
|
825
826
|
contentPath: string | null;
|
|
826
|
-
commitSha: string | null;
|
|
827
827
|
}, {
|
|
828
828
|
digest: string | null;
|
|
829
|
+
commitSha: string | null;
|
|
829
830
|
repositoryId: string | null;
|
|
830
831
|
contentPath: string | null;
|
|
831
|
-
commitSha: string | null;
|
|
832
832
|
}>;
|
|
833
833
|
availableActions: z.ZodArray<z.ZodObject<{
|
|
834
834
|
action: z.ZodEnum<["publish_revision", "approve", "reject", "comment", "answer", "reply", "reopen"]>;
|
|
@@ -839,16 +839,16 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
|
|
|
839
839
|
confirmation: z.ZodEnum<["never", "input_required"]>;
|
|
840
840
|
}, "strict", z.ZodTypeAny, {
|
|
841
841
|
enabled: boolean;
|
|
842
|
-
action: "
|
|
843
|
-
reason: string | null;
|
|
842
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
844
843
|
label: string;
|
|
844
|
+
reason: string | null;
|
|
845
845
|
confirmation: "never" | "input_required";
|
|
846
846
|
requiresFeedback: boolean;
|
|
847
847
|
}, {
|
|
848
848
|
enabled: boolean;
|
|
849
|
-
action: "
|
|
850
|
-
reason: string | null;
|
|
849
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
851
850
|
label: string;
|
|
851
|
+
reason: string | null;
|
|
852
852
|
confirmation: "never" | "input_required";
|
|
853
853
|
requiresFeedback: boolean;
|
|
854
854
|
}>, "many">;
|
|
@@ -867,134 +867,134 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
|
|
|
867
867
|
digest: z.ZodNullable<z.ZodString>;
|
|
868
868
|
}, "strict", z.ZodTypeAny, {
|
|
869
869
|
digest: string | null;
|
|
870
|
+
commitSha: string | null;
|
|
870
871
|
repositoryId: string | null;
|
|
871
872
|
contentPath: string | null;
|
|
872
|
-
commitSha: string | null;
|
|
873
873
|
}, {
|
|
874
874
|
digest: string | null;
|
|
875
|
+
commitSha: string | null;
|
|
875
876
|
repositoryId: string | null;
|
|
876
877
|
contentPath: string | null;
|
|
877
|
-
commitSha: string | null;
|
|
878
878
|
}>;
|
|
879
879
|
}, "strict", z.ZodTypeAny, {
|
|
880
|
-
kind: "
|
|
880
|
+
kind: "answer" | "comment" | "reply";
|
|
881
881
|
id: string;
|
|
882
882
|
createdAt: string;
|
|
883
|
+
parentId: string | null;
|
|
884
|
+
authorId: string;
|
|
883
885
|
provenance: {
|
|
884
886
|
digest: string | null;
|
|
887
|
+
commitSha: string | null;
|
|
885
888
|
repositoryId: string | null;
|
|
886
889
|
contentPath: string | null;
|
|
887
|
-
commitSha: string | null;
|
|
888
890
|
};
|
|
889
891
|
markdown: string;
|
|
890
|
-
parentId: string | null;
|
|
891
|
-
authorId: string;
|
|
892
892
|
authorLabel: string;
|
|
893
893
|
}, {
|
|
894
|
-
kind: "
|
|
894
|
+
kind: "answer" | "comment" | "reply";
|
|
895
895
|
id: string;
|
|
896
896
|
createdAt: string;
|
|
897
|
+
parentId: string | null;
|
|
898
|
+
authorId: string;
|
|
897
899
|
provenance: {
|
|
898
900
|
digest: string | null;
|
|
901
|
+
commitSha: string | null;
|
|
899
902
|
repositoryId: string | null;
|
|
900
903
|
contentPath: string | null;
|
|
901
|
-
commitSha: string | null;
|
|
902
904
|
};
|
|
903
905
|
markdown: string;
|
|
904
|
-
parentId: string | null;
|
|
905
|
-
authorId: string;
|
|
906
906
|
authorLabel: string;
|
|
907
907
|
}>, "many">;
|
|
908
908
|
etag: z.ZodString;
|
|
909
909
|
}, "strict", z.ZodTypeAny, {
|
|
910
|
-
status: "approved" | "rejected" | "
|
|
911
|
-
kind: "
|
|
910
|
+
status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
|
|
911
|
+
kind: "question" | "proposal";
|
|
912
912
|
id: string;
|
|
913
913
|
version: number;
|
|
914
914
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
915
915
|
projectId: string;
|
|
916
916
|
teamId: string;
|
|
917
917
|
createdAt: string;
|
|
918
|
+
updatedAt: string;
|
|
919
|
+
title: string;
|
|
920
|
+
discussionId: string | null;
|
|
921
|
+
authorId: string;
|
|
918
922
|
provenance: {
|
|
919
923
|
digest: string | null;
|
|
924
|
+
commitSha: string | null;
|
|
920
925
|
repositoryId: string | null;
|
|
921
926
|
contentPath: string | null;
|
|
922
|
-
commitSha: string | null;
|
|
923
927
|
};
|
|
924
928
|
projectSlug: string;
|
|
925
|
-
updatedAt: string;
|
|
926
929
|
markdown: string;
|
|
927
|
-
discussionId: string | null;
|
|
928
|
-
authorId: string;
|
|
929
930
|
authorLabel: string;
|
|
930
|
-
title: string;
|
|
931
931
|
availableActions: {
|
|
932
932
|
enabled: boolean;
|
|
933
|
-
action: "
|
|
934
|
-
reason: string | null;
|
|
933
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
935
934
|
label: string;
|
|
935
|
+
reason: string | null;
|
|
936
936
|
confirmation: "never" | "input_required";
|
|
937
937
|
requiresFeedback: boolean;
|
|
938
938
|
}[];
|
|
939
939
|
comments: {
|
|
940
|
-
kind: "
|
|
940
|
+
kind: "answer" | "comment" | "reply";
|
|
941
941
|
id: string;
|
|
942
942
|
createdAt: string;
|
|
943
|
+
parentId: string | null;
|
|
944
|
+
authorId: string;
|
|
943
945
|
provenance: {
|
|
944
946
|
digest: string | null;
|
|
947
|
+
commitSha: string | null;
|
|
945
948
|
repositoryId: string | null;
|
|
946
949
|
contentPath: string | null;
|
|
947
|
-
commitSha: string | null;
|
|
948
950
|
};
|
|
949
951
|
markdown: string;
|
|
950
|
-
parentId: string | null;
|
|
951
|
-
authorId: string;
|
|
952
952
|
authorLabel: string;
|
|
953
953
|
}[];
|
|
954
954
|
etag: string;
|
|
955
955
|
}, {
|
|
956
|
-
status: "approved" | "rejected" | "
|
|
957
|
-
kind: "
|
|
956
|
+
status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
|
|
957
|
+
kind: "question" | "proposal";
|
|
958
958
|
id: string;
|
|
959
959
|
version: number;
|
|
960
960
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
961
961
|
projectId: string;
|
|
962
962
|
teamId: string;
|
|
963
963
|
createdAt: string;
|
|
964
|
+
updatedAt: string;
|
|
965
|
+
title: string;
|
|
966
|
+
discussionId: string | null;
|
|
967
|
+
authorId: string;
|
|
964
968
|
provenance: {
|
|
965
969
|
digest: string | null;
|
|
970
|
+
commitSha: string | null;
|
|
966
971
|
repositoryId: string | null;
|
|
967
972
|
contentPath: string | null;
|
|
968
|
-
commitSha: string | null;
|
|
969
973
|
};
|
|
970
974
|
projectSlug: string;
|
|
971
|
-
updatedAt: string;
|
|
972
975
|
markdown: string;
|
|
973
|
-
discussionId: string | null;
|
|
974
|
-
authorId: string;
|
|
975
976
|
authorLabel: string;
|
|
976
|
-
title: string;
|
|
977
977
|
availableActions: {
|
|
978
978
|
enabled: boolean;
|
|
979
|
-
action: "
|
|
980
|
-
reason: string | null;
|
|
979
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
981
980
|
label: string;
|
|
981
|
+
reason: string | null;
|
|
982
982
|
confirmation: "never" | "input_required";
|
|
983
983
|
requiresFeedback: boolean;
|
|
984
984
|
}[];
|
|
985
985
|
comments: {
|
|
986
|
-
kind: "
|
|
986
|
+
kind: "answer" | "comment" | "reply";
|
|
987
987
|
id: string;
|
|
988
988
|
createdAt: string;
|
|
989
|
+
parentId: string | null;
|
|
990
|
+
authorId: string;
|
|
989
991
|
provenance: {
|
|
990
992
|
digest: string | null;
|
|
993
|
+
commitSha: string | null;
|
|
991
994
|
repositoryId: string | null;
|
|
992
995
|
contentPath: string | null;
|
|
993
|
-
commitSha: string | null;
|
|
994
996
|
};
|
|
995
997
|
markdown: string;
|
|
996
|
-
parentId: string | null;
|
|
997
|
-
authorId: string;
|
|
998
998
|
authorLabel: string;
|
|
999
999
|
}[];
|
|
1000
1000
|
etag: string;
|
|
@@ -1005,106 +1005,106 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
|
|
|
1005
1005
|
}, "strict", z.ZodTypeAny, {
|
|
1006
1006
|
schemaVersion: "treeseed.inbox-mutation-receipt/v1";
|
|
1007
1007
|
item: {
|
|
1008
|
-
status: "approved" | "rejected" | "
|
|
1009
|
-
kind: "
|
|
1008
|
+
status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
|
|
1009
|
+
kind: "question" | "proposal";
|
|
1010
1010
|
id: string;
|
|
1011
1011
|
version: number;
|
|
1012
1012
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
1013
1013
|
projectId: string;
|
|
1014
1014
|
teamId: string;
|
|
1015
1015
|
createdAt: string;
|
|
1016
|
+
updatedAt: string;
|
|
1017
|
+
title: string;
|
|
1018
|
+
discussionId: string | null;
|
|
1019
|
+
authorId: string;
|
|
1016
1020
|
provenance: {
|
|
1017
1021
|
digest: string | null;
|
|
1022
|
+
commitSha: string | null;
|
|
1018
1023
|
repositoryId: string | null;
|
|
1019
1024
|
contentPath: string | null;
|
|
1020
|
-
commitSha: string | null;
|
|
1021
1025
|
};
|
|
1022
1026
|
projectSlug: string;
|
|
1023
|
-
updatedAt: string;
|
|
1024
1027
|
markdown: string;
|
|
1025
|
-
discussionId: string | null;
|
|
1026
|
-
authorId: string;
|
|
1027
1028
|
authorLabel: string;
|
|
1028
|
-
title: string;
|
|
1029
1029
|
availableActions: {
|
|
1030
1030
|
enabled: boolean;
|
|
1031
|
-
action: "
|
|
1032
|
-
reason: string | null;
|
|
1031
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
1033
1032
|
label: string;
|
|
1033
|
+
reason: string | null;
|
|
1034
1034
|
confirmation: "never" | "input_required";
|
|
1035
1035
|
requiresFeedback: boolean;
|
|
1036
1036
|
}[];
|
|
1037
1037
|
comments: {
|
|
1038
|
-
kind: "
|
|
1038
|
+
kind: "answer" | "comment" | "reply";
|
|
1039
1039
|
id: string;
|
|
1040
1040
|
createdAt: string;
|
|
1041
|
+
parentId: string | null;
|
|
1042
|
+
authorId: string;
|
|
1041
1043
|
provenance: {
|
|
1042
1044
|
digest: string | null;
|
|
1045
|
+
commitSha: string | null;
|
|
1043
1046
|
repositoryId: string | null;
|
|
1044
1047
|
contentPath: string | null;
|
|
1045
|
-
commitSha: string | null;
|
|
1046
1048
|
};
|
|
1047
1049
|
markdown: string;
|
|
1048
|
-
parentId: string | null;
|
|
1049
|
-
authorId: string;
|
|
1050
1050
|
authorLabel: string;
|
|
1051
1051
|
}[];
|
|
1052
1052
|
etag: string;
|
|
1053
1053
|
};
|
|
1054
1054
|
receipts: Record<string, unknown>[];
|
|
1055
1055
|
replayed: boolean;
|
|
1056
|
-
action?: "
|
|
1056
|
+
action?: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen" | undefined;
|
|
1057
1057
|
}, {
|
|
1058
1058
|
schemaVersion: "treeseed.inbox-mutation-receipt/v1";
|
|
1059
1059
|
item: {
|
|
1060
|
-
status: "approved" | "rejected" | "
|
|
1061
|
-
kind: "
|
|
1060
|
+
status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
|
|
1061
|
+
kind: "question" | "proposal";
|
|
1062
1062
|
id: string;
|
|
1063
1063
|
version: number;
|
|
1064
1064
|
schemaVersion: "treeseed.inbox-item/v1";
|
|
1065
1065
|
projectId: string;
|
|
1066
1066
|
teamId: string;
|
|
1067
1067
|
createdAt: string;
|
|
1068
|
+
updatedAt: string;
|
|
1069
|
+
title: string;
|
|
1070
|
+
discussionId: string | null;
|
|
1071
|
+
authorId: string;
|
|
1068
1072
|
provenance: {
|
|
1069
1073
|
digest: string | null;
|
|
1074
|
+
commitSha: string | null;
|
|
1070
1075
|
repositoryId: string | null;
|
|
1071
1076
|
contentPath: string | null;
|
|
1072
|
-
commitSha: string | null;
|
|
1073
1077
|
};
|
|
1074
1078
|
projectSlug: string;
|
|
1075
|
-
updatedAt: string;
|
|
1076
1079
|
markdown: string;
|
|
1077
|
-
discussionId: string | null;
|
|
1078
|
-
authorId: string;
|
|
1079
1080
|
authorLabel: string;
|
|
1080
|
-
title: string;
|
|
1081
1081
|
availableActions: {
|
|
1082
1082
|
enabled: boolean;
|
|
1083
|
-
action: "
|
|
1084
|
-
reason: string | null;
|
|
1083
|
+
action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
|
|
1085
1084
|
label: string;
|
|
1085
|
+
reason: string | null;
|
|
1086
1086
|
confirmation: "never" | "input_required";
|
|
1087
1087
|
requiresFeedback: boolean;
|
|
1088
1088
|
}[];
|
|
1089
1089
|
comments: {
|
|
1090
|
-
kind: "
|
|
1090
|
+
kind: "answer" | "comment" | "reply";
|
|
1091
1091
|
id: string;
|
|
1092
1092
|
createdAt: string;
|
|
1093
|
+
parentId: string | null;
|
|
1094
|
+
authorId: string;
|
|
1093
1095
|
provenance: {
|
|
1094
1096
|
digest: string | null;
|
|
1097
|
+
commitSha: string | null;
|
|
1095
1098
|
repositoryId: string | null;
|
|
1096
1099
|
contentPath: string | null;
|
|
1097
|
-
commitSha: string | null;
|
|
1098
1100
|
};
|
|
1099
1101
|
markdown: string;
|
|
1100
|
-
parentId: string | null;
|
|
1101
|
-
authorId: string;
|
|
1102
1102
|
authorLabel: string;
|
|
1103
1103
|
}[];
|
|
1104
1104
|
etag: string;
|
|
1105
1105
|
};
|
|
1106
1106
|
replayed: boolean;
|
|
1107
|
-
action?: "
|
|
1107
|
+
action?: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen" | undefined;
|
|
1108
1108
|
receipts?: Record<string, unknown>[] | undefined;
|
|
1109
1109
|
}>;
|
|
1110
1110
|
export type InboxItem = z.infer<typeof inboxItemSchema>;
|