@treeseed/sdk 0.13.0-rc.89 → 0.13.0-rc.91

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.
@@ -8,8 +8,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
8
8
  declaration: {
9
9
  schemaVersion: "treeseed.hosted-topology/v1";
10
10
  resources: {
11
- id: string;
12
11
  kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
12
+ id: string;
13
13
  provider: "cloudflare" | "railway";
14
14
  adoption: {
15
15
  mode: "adopt-or-create";
@@ -39,18 +39,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
39
39
  mutation: "agent-authorized";
40
40
  environment: "production" | "staging";
41
41
  artifacts: Record<string, {
42
+ kind: "archive";
42
43
  digest: string;
43
44
  source: string;
44
- kind: "archive";
45
45
  format: "tar+gzip";
46
46
  } | {
47
+ kind: "file";
47
48
  digest: string;
48
49
  source: string;
49
- kind: "file";
50
50
  mediaType: string;
51
51
  } | {
52
- digest: string;
53
52
  kind: "oci-image";
53
+ digest: string;
54
54
  identity: string;
55
55
  }>;
56
56
  deploymentId: string;
@@ -75,14 +75,14 @@ export declare const CONTROL_PLANE_OPERATIONS: {
75
75
  }[];
76
76
  planDigest: string;
77
77
  actions: {
78
+ kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
78
79
  action: "noop" | "create" | "adopt" | "update";
79
80
  resourceId: string;
80
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
81
81
  provider: "cloudflare" | "railway";
82
82
  providerResourceId: string | null;
83
83
  desiredResource: {
84
- id: string;
85
84
  kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
85
+ id: string;
86
86
  provider: "cloudflare" | "railway";
87
87
  adoption: {
88
88
  mode: "adopt-or-create";
@@ -110,18 +110,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
110
110
  environment: "production" | "staging";
111
111
  executable: false;
112
112
  artifacts: Record<string, {
113
+ kind: "archive";
113
114
  digest: string;
114
115
  source: string;
115
- kind: "archive";
116
116
  format: "tar+gzip";
117
117
  } | {
118
+ kind: "file";
118
119
  digest: string;
119
120
  source: string;
120
- kind: "file";
121
121
  mediaType: string;
122
122
  } | {
123
- digest: string;
124
123
  kind: "oci-image";
124
+ digest: string;
125
125
  identity: string;
126
126
  }>;
127
127
  planId: string;
@@ -160,9 +160,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
160
160
  receipt: {
161
161
  schemaVersion: "treeseed.hosted-topology-receipt/v1";
162
162
  resources: {
163
+ kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
163
164
  state: "missing" | "degraded" | "healthy";
164
165
  resourceId: string;
165
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
166
166
  provider: "cloudflare" | "railway";
167
167
  providerResourceId: string | null;
168
168
  managedBy: "external" | "treeseed" | null;
@@ -182,9 +182,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
182
182
  platformCommit: string;
183
183
  backendBindingDigest: string;
184
184
  previousResources: {
185
+ kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
185
186
  state: "missing" | "degraded" | "healthy";
186
187
  resourceId: string;
187
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
188
188
  provider: "cloudflare" | "railway";
189
189
  providerResourceId: string | null;
190
190
  managedBy: "external" | "treeseed" | null;
@@ -235,14 +235,14 @@ export declare const CONTROL_PLANE_OPERATIONS: {
235
235
  }[];
236
236
  planDigest: string;
237
237
  actions: {
238
+ kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
238
239
  action: "noop" | "create" | "adopt" | "update";
239
240
  resourceId: string;
240
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
241
241
  provider: "cloudflare" | "railway";
242
242
  providerResourceId: string | null;
243
243
  desiredResource: {
244
- id: string;
245
244
  kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
245
+ id: string;
246
246
  provider: "cloudflare" | "railway";
247
247
  adoption: {
248
248
  mode: "adopt-or-create";
@@ -270,18 +270,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
270
270
  environment: "production" | "staging";
271
271
  executable: false;
272
272
  artifacts: Record<string, {
273
+ kind: "archive";
273
274
  digest: string;
274
275
  source: string;
275
- kind: "archive";
276
276
  format: "tar+gzip";
277
277
  } | {
278
+ kind: "file";
278
279
  digest: string;
279
280
  source: string;
280
- kind: "file";
281
281
  mediaType: string;
282
282
  } | {
283
- digest: string;
284
283
  kind: "oci-image";
284
+ digest: string;
285
285
  identity: string;
286
286
  }>;
287
287
  planId: string;
@@ -321,14 +321,14 @@ export declare const CONTROL_PLANE_OPERATIONS: {
321
321
  }[];
322
322
  planDigest: string;
323
323
  actions: {
324
+ kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
324
325
  action: "noop" | "create" | "adopt" | "update";
325
326
  resourceId: string;
326
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
327
327
  provider: "cloudflare" | "railway";
328
328
  providerResourceId: string | null;
329
329
  desiredResource: {
330
- id: string;
331
330
  kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
331
+ id: string;
332
332
  provider: "cloudflare" | "railway";
333
333
  adoption: {
334
334
  mode: "adopt-or-create";
@@ -356,18 +356,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
356
356
  environment: "production" | "staging";
357
357
  executable: false;
358
358
  artifacts: Record<string, {
359
+ kind: "archive";
359
360
  digest: string;
360
361
  source: string;
361
- kind: "archive";
362
362
  format: "tar+gzip";
363
363
  } | {
364
+ kind: "file";
364
365
  digest: string;
365
366
  source: string;
366
- kind: "file";
367
367
  mediaType: string;
368
368
  } | {
369
- digest: string;
370
369
  kind: "oci-image";
370
+ digest: string;
371
371
  identity: string;
372
372
  }>;
373
373
  planId: string;
@@ -568,21 +568,21 @@ export declare const CONTROL_PLANE_OPERATIONS: {
568
568
  list: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
569
569
  teamId: string;
570
570
  }, {
571
+ kind?: "all" | "proposal" | "question" | undefined;
571
572
  projectId?: string | undefined;
572
573
  state?: "all" | "outstanding" | undefined;
573
- kind?: "all" | "proposal" | "question" | undefined;
574
574
  cursor?: string | undefined;
575
575
  limit?: number | undefined;
576
576
  }, undefined, {
577
577
  schemaVersion: "treeseed.inbox-page/v1";
578
578
  items: {
579
579
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
580
+ kind: "proposal" | "question";
580
581
  id: string;
581
582
  version: number;
582
583
  projectId: string;
583
584
  teamId: string;
584
585
  createdAt: string;
585
- kind: "proposal" | "question";
586
586
  projectSlug: string;
587
587
  updatedAt: string;
588
588
  authorId: string;
@@ -597,13 +597,13 @@ export declare const CONTROL_PLANE_OPERATIONS: {
597
597
  itemId: string;
598
598
  }, {}, undefined, {
599
599
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
600
+ kind: "proposal" | "question";
600
601
  schemaVersion: "treeseed.inbox-item/v1";
601
602
  id: string;
602
603
  version: number;
603
604
  projectId: string;
604
605
  teamId: string;
605
606
  createdAt: string;
606
- kind: "proposal" | "question";
607
607
  provenance: {
608
608
  digest: string | null;
609
609
  repositoryId: string | null;
@@ -626,9 +626,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
626
626
  requiresFeedback: boolean;
627
627
  }[];
628
628
  comments: {
629
+ kind: "comment" | "answer" | "reply";
629
630
  id: string;
630
631
  createdAt: string;
631
- kind: "comment" | "answer" | "reply";
632
632
  provenance: {
633
633
  digest: string | null;
634
634
  repositoryId: string | null;
@@ -675,13 +675,13 @@ export declare const CONTROL_PLANE_OPERATIONS: {
675
675
  schemaVersion: "treeseed.inbox-mutation-receipt/v1";
676
676
  item: {
677
677
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
678
+ kind: "proposal" | "question";
678
679
  schemaVersion: "treeseed.inbox-item/v1";
679
680
  id: string;
680
681
  version: number;
681
682
  projectId: string;
682
683
  teamId: string;
683
684
  createdAt: string;
684
- kind: "proposal" | "question";
685
685
  provenance: {
686
686
  digest: string | null;
687
687
  repositoryId: string | null;
@@ -704,9 +704,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
704
704
  requiresFeedback: boolean;
705
705
  }[];
706
706
  comments: {
707
+ kind: "comment" | "answer" | "reply";
707
708
  id: string;
708
709
  createdAt: string;
709
- kind: "comment" | "answer" | "reply";
710
710
  provenance: {
711
711
  digest: string | null;
712
712
  repositoryId: string | null;
@@ -775,13 +775,13 @@ export declare const CONTROL_PLANE_OPERATIONS: {
775
775
  schemaVersion: "treeseed.inbox-mutation-receipt/v1";
776
776
  item: {
777
777
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
778
+ kind: "proposal" | "question";
778
779
  schemaVersion: "treeseed.inbox-item/v1";
779
780
  id: string;
780
781
  version: number;
781
782
  projectId: string;
782
783
  teamId: string;
783
784
  createdAt: string;
784
- kind: "proposal" | "question";
785
785
  provenance: {
786
786
  digest: string | null;
787
787
  repositoryId: string | null;
@@ -804,9 +804,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
804
804
  requiresFeedback: boolean;
805
805
  }[];
806
806
  comments: {
807
+ kind: "comment" | "answer" | "reply";
807
808
  id: string;
808
809
  createdAt: string;
809
- kind: "comment" | "answer" | "reply";
810
810
  provenance: {
811
811
  digest: string | null;
812
812
  repositoryId: string | null;
@@ -1600,8 +1600,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1600
1600
  sequence: number;
1601
1601
  payload: Record<string, unknown>;
1602
1602
  actor: {
1603
- id: string;
1604
1603
  kind: "control-plane" | "provider" | "agent" | "user";
1604
+ id: string;
1605
1605
  handle: string | null;
1606
1606
  };
1607
1607
  summary: string;
@@ -1717,8 +1717,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1717
1717
  sequence: number;
1718
1718
  payload: Record<string, unknown>;
1719
1719
  actor: {
1720
- id: string;
1721
1720
  kind: "control-plane" | "provider" | "agent" | "user";
1721
+ id: string;
1722
1722
  handle: string | null;
1723
1723
  };
1724
1724
  summary: string;
@@ -1840,8 +1840,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1840
1840
  sequence: number;
1841
1841
  payload: Record<string, unknown>;
1842
1842
  actor: {
1843
- id: string;
1844
1843
  kind: "control-plane" | "provider" | "agent" | "user";
1844
+ id: string;
1845
1845
  handle: string | null;
1846
1846
  };
1847
1847
  summary: string;
@@ -65,9 +65,9 @@ export declare const inboxCommentSchema: z.ZodObject<{
65
65
  commitSha: string | null;
66
66
  }>;
67
67
  }, "strict", z.ZodTypeAny, {
68
+ kind: "comment" | "answer" | "reply";
68
69
  id: string;
69
70
  createdAt: string;
70
- kind: "comment" | "answer" | "reply";
71
71
  provenance: {
72
72
  digest: string | null;
73
73
  repositoryId: string | null;
@@ -79,9 +79,9 @@ export declare const inboxCommentSchema: z.ZodObject<{
79
79
  authorId: string;
80
80
  authorLabel: string;
81
81
  }, {
82
+ kind: "comment" | "answer" | "reply";
82
83
  id: string;
83
84
  createdAt: string;
84
- kind: "comment" | "answer" | "reply";
85
85
  provenance: {
86
86
  digest: string | null;
87
87
  repositoryId: string | null;
@@ -172,9 +172,9 @@ export declare const inboxItemSchema: z.ZodObject<{
172
172
  commitSha: string | null;
173
173
  }>;
174
174
  }, "strict", z.ZodTypeAny, {
175
+ kind: "comment" | "answer" | "reply";
175
176
  id: string;
176
177
  createdAt: string;
177
- kind: "comment" | "answer" | "reply";
178
178
  provenance: {
179
179
  digest: string | null;
180
180
  repositoryId: string | null;
@@ -186,9 +186,9 @@ export declare const inboxItemSchema: z.ZodObject<{
186
186
  authorId: string;
187
187
  authorLabel: string;
188
188
  }, {
189
+ kind: "comment" | "answer" | "reply";
189
190
  id: string;
190
191
  createdAt: string;
191
- kind: "comment" | "answer" | "reply";
192
192
  provenance: {
193
193
  digest: string | null;
194
194
  repositoryId: string | null;
@@ -203,13 +203,13 @@ export declare const inboxItemSchema: z.ZodObject<{
203
203
  etag: z.ZodString;
204
204
  }, "strict", z.ZodTypeAny, {
205
205
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
206
+ kind: "proposal" | "question";
206
207
  schemaVersion: "treeseed.inbox-item/v1";
207
208
  id: string;
208
209
  version: number;
209
210
  projectId: string;
210
211
  teamId: string;
211
212
  createdAt: string;
212
- kind: "proposal" | "question";
213
213
  provenance: {
214
214
  digest: string | null;
215
215
  repositoryId: string | null;
@@ -232,9 +232,9 @@ export declare const inboxItemSchema: z.ZodObject<{
232
232
  requiresFeedback: boolean;
233
233
  }[];
234
234
  comments: {
235
+ kind: "comment" | "answer" | "reply";
235
236
  id: string;
236
237
  createdAt: string;
237
- kind: "comment" | "answer" | "reply";
238
238
  provenance: {
239
239
  digest: string | null;
240
240
  repositoryId: string | null;
@@ -249,13 +249,13 @@ export declare const inboxItemSchema: z.ZodObject<{
249
249
  etag: string;
250
250
  }, {
251
251
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
252
+ kind: "proposal" | "question";
252
253
  schemaVersion: "treeseed.inbox-item/v1";
253
254
  id: string;
254
255
  version: number;
255
256
  projectId: string;
256
257
  teamId: string;
257
258
  createdAt: string;
258
- kind: "proposal" | "question";
259
259
  provenance: {
260
260
  digest: string | null;
261
261
  repositoryId: string | null;
@@ -278,9 +278,9 @@ export declare const inboxItemSchema: z.ZodObject<{
278
278
  requiresFeedback: boolean;
279
279
  }[];
280
280
  comments: {
281
+ kind: "comment" | "answer" | "reply";
281
282
  id: string;
282
283
  createdAt: string;
283
- kind: "comment" | "answer" | "reply";
284
284
  provenance: {
285
285
  digest: string | null;
286
286
  repositoryId: string | null;
@@ -373,9 +373,9 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
373
373
  commitSha: string | null;
374
374
  }>;
375
375
  }, "strict", z.ZodTypeAny, {
376
+ kind: "comment" | "answer" | "reply";
376
377
  id: string;
377
378
  createdAt: string;
378
- kind: "comment" | "answer" | "reply";
379
379
  provenance: {
380
380
  digest: string | null;
381
381
  repositoryId: string | null;
@@ -387,9 +387,9 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
387
387
  authorId: string;
388
388
  authorLabel: string;
389
389
  }, {
390
+ kind: "comment" | "answer" | "reply";
390
391
  id: string;
391
392
  createdAt: string;
392
- kind: "comment" | "answer" | "reply";
393
393
  provenance: {
394
394
  digest: string | null;
395
395
  repositoryId: string | null;
@@ -402,14 +402,14 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
402
402
  authorLabel: string;
403
403
  }>, "many">;
404
404
  etag: z.ZodString;
405
- }, "status" | "id" | "version" | "projectId" | "teamId" | "createdAt" | "kind" | "projectSlug" | "updatedAt" | "authorId" | "authorLabel" | "title" | "etag">, "strict", z.ZodTypeAny, {
405
+ }, "status" | "kind" | "id" | "version" | "projectId" | "teamId" | "createdAt" | "projectSlug" | "updatedAt" | "authorId" | "authorLabel" | "title" | "etag">, "strict", z.ZodTypeAny, {
406
406
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
407
+ kind: "proposal" | "question";
407
408
  id: string;
408
409
  version: number;
409
410
  projectId: string;
410
411
  teamId: string;
411
412
  createdAt: string;
412
- kind: "proposal" | "question";
413
413
  projectSlug: string;
414
414
  updatedAt: string;
415
415
  authorId: string;
@@ -418,12 +418,12 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
418
418
  etag: string;
419
419
  }, {
420
420
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
421
+ kind: "proposal" | "question";
421
422
  id: string;
422
423
  version: number;
423
424
  projectId: string;
424
425
  teamId: string;
425
426
  createdAt: string;
426
- kind: "proposal" | "question";
427
427
  projectSlug: string;
428
428
  updatedAt: string;
429
429
  authorId: string;
@@ -512,9 +512,9 @@ export declare const inboxItemPageSchema: z.ZodObject<{
512
512
  commitSha: string | null;
513
513
  }>;
514
514
  }, "strict", z.ZodTypeAny, {
515
+ kind: "comment" | "answer" | "reply";
515
516
  id: string;
516
517
  createdAt: string;
517
- kind: "comment" | "answer" | "reply";
518
518
  provenance: {
519
519
  digest: string | null;
520
520
  repositoryId: string | null;
@@ -526,9 +526,9 @@ export declare const inboxItemPageSchema: z.ZodObject<{
526
526
  authorId: string;
527
527
  authorLabel: string;
528
528
  }, {
529
+ kind: "comment" | "answer" | "reply";
529
530
  id: string;
530
531
  createdAt: string;
531
- kind: "comment" | "answer" | "reply";
532
532
  provenance: {
533
533
  digest: string | null;
534
534
  repositoryId: string | null;
@@ -541,14 +541,14 @@ export declare const inboxItemPageSchema: z.ZodObject<{
541
541
  authorLabel: string;
542
542
  }>, "many">;
543
543
  etag: z.ZodString;
544
- }, "status" | "id" | "version" | "projectId" | "teamId" | "createdAt" | "kind" | "projectSlug" | "updatedAt" | "authorId" | "authorLabel" | "title" | "etag">, "strict", z.ZodTypeAny, {
544
+ }, "status" | "kind" | "id" | "version" | "projectId" | "teamId" | "createdAt" | "projectSlug" | "updatedAt" | "authorId" | "authorLabel" | "title" | "etag">, "strict", z.ZodTypeAny, {
545
545
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
546
+ kind: "proposal" | "question";
546
547
  id: string;
547
548
  version: number;
548
549
  projectId: string;
549
550
  teamId: string;
550
551
  createdAt: string;
551
- kind: "proposal" | "question";
552
552
  projectSlug: string;
553
553
  updatedAt: string;
554
554
  authorId: string;
@@ -557,12 +557,12 @@ export declare const inboxItemPageSchema: z.ZodObject<{
557
557
  etag: string;
558
558
  }, {
559
559
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
560
+ kind: "proposal" | "question";
560
561
  id: string;
561
562
  version: number;
562
563
  projectId: string;
563
564
  teamId: string;
564
565
  createdAt: string;
565
- kind: "proposal" | "question";
566
566
  projectSlug: string;
567
567
  updatedAt: string;
568
568
  authorId: string;
@@ -575,12 +575,12 @@ export declare const inboxItemPageSchema: z.ZodObject<{
575
575
  schemaVersion: "treeseed.inbox-page/v1";
576
576
  items: {
577
577
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
578
+ kind: "proposal" | "question";
578
579
  id: string;
579
580
  version: number;
580
581
  projectId: string;
581
582
  teamId: string;
582
583
  createdAt: string;
583
- kind: "proposal" | "question";
584
584
  projectSlug: string;
585
585
  updatedAt: string;
586
586
  authorId: string;
@@ -593,12 +593,12 @@ export declare const inboxItemPageSchema: z.ZodObject<{
593
593
  schemaVersion: "treeseed.inbox-page/v1";
594
594
  items: {
595
595
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
596
+ kind: "proposal" | "question";
596
597
  id: string;
597
598
  version: number;
598
599
  projectId: string;
599
600
  teamId: string;
600
601
  createdAt: string;
601
- kind: "proposal" | "question";
602
602
  projectSlug: string;
603
603
  updatedAt: string;
604
604
  authorId: string;
@@ -865,9 +865,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
865
865
  commitSha: string | null;
866
866
  }>;
867
867
  }, "strict", z.ZodTypeAny, {
868
+ kind: "comment" | "answer" | "reply";
868
869
  id: string;
869
870
  createdAt: string;
870
- kind: "comment" | "answer" | "reply";
871
871
  provenance: {
872
872
  digest: string | null;
873
873
  repositoryId: string | null;
@@ -879,9 +879,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
879
879
  authorId: string;
880
880
  authorLabel: string;
881
881
  }, {
882
+ kind: "comment" | "answer" | "reply";
882
883
  id: string;
883
884
  createdAt: string;
884
- kind: "comment" | "answer" | "reply";
885
885
  provenance: {
886
886
  digest: string | null;
887
887
  repositoryId: string | null;
@@ -896,13 +896,13 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
896
896
  etag: z.ZodString;
897
897
  }, "strict", z.ZodTypeAny, {
898
898
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
899
+ kind: "proposal" | "question";
899
900
  schemaVersion: "treeseed.inbox-item/v1";
900
901
  id: string;
901
902
  version: number;
902
903
  projectId: string;
903
904
  teamId: string;
904
905
  createdAt: string;
905
- kind: "proposal" | "question";
906
906
  provenance: {
907
907
  digest: string | null;
908
908
  repositoryId: string | null;
@@ -925,9 +925,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
925
925
  requiresFeedback: boolean;
926
926
  }[];
927
927
  comments: {
928
+ kind: "comment" | "answer" | "reply";
928
929
  id: string;
929
930
  createdAt: string;
930
- kind: "comment" | "answer" | "reply";
931
931
  provenance: {
932
932
  digest: string | null;
933
933
  repositoryId: string | null;
@@ -942,13 +942,13 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
942
942
  etag: string;
943
943
  }, {
944
944
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
945
+ kind: "proposal" | "question";
945
946
  schemaVersion: "treeseed.inbox-item/v1";
946
947
  id: string;
947
948
  version: number;
948
949
  projectId: string;
949
950
  teamId: string;
950
951
  createdAt: string;
951
- kind: "proposal" | "question";
952
952
  provenance: {
953
953
  digest: string | null;
954
954
  repositoryId: string | null;
@@ -971,9 +971,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
971
971
  requiresFeedback: boolean;
972
972
  }[];
973
973
  comments: {
974
+ kind: "comment" | "answer" | "reply";
974
975
  id: string;
975
976
  createdAt: string;
976
- kind: "comment" | "answer" | "reply";
977
977
  provenance: {
978
978
  digest: string | null;
979
979
  repositoryId: string | null;
@@ -994,13 +994,13 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
994
994
  schemaVersion: "treeseed.inbox-mutation-receipt/v1";
995
995
  item: {
996
996
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
997
+ kind: "proposal" | "question";
997
998
  schemaVersion: "treeseed.inbox-item/v1";
998
999
  id: string;
999
1000
  version: number;
1000
1001
  projectId: string;
1001
1002
  teamId: string;
1002
1003
  createdAt: string;
1003
- kind: "proposal" | "question";
1004
1004
  provenance: {
1005
1005
  digest: string | null;
1006
1006
  repositoryId: string | null;
@@ -1023,9 +1023,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
1023
1023
  requiresFeedback: boolean;
1024
1024
  }[];
1025
1025
  comments: {
1026
+ kind: "comment" | "answer" | "reply";
1026
1027
  id: string;
1027
1028
  createdAt: string;
1028
- kind: "comment" | "answer" | "reply";
1029
1029
  provenance: {
1030
1030
  digest: string | null;
1031
1031
  repositoryId: string | null;
@@ -1046,13 +1046,13 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
1046
1046
  schemaVersion: "treeseed.inbox-mutation-receipt/v1";
1047
1047
  item: {
1048
1048
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
1049
+ kind: "proposal" | "question";
1049
1050
  schemaVersion: "treeseed.inbox-item/v1";
1050
1051
  id: string;
1051
1052
  version: number;
1052
1053
  projectId: string;
1053
1054
  teamId: string;
1054
1055
  createdAt: string;
1055
- kind: "proposal" | "question";
1056
1056
  provenance: {
1057
1057
  digest: string | null;
1058
1058
  repositoryId: string | null;
@@ -1075,9 +1075,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
1075
1075
  requiresFeedback: boolean;
1076
1076
  }[];
1077
1077
  comments: {
1078
+ kind: "comment" | "answer" | "reply";
1078
1079
  id: string;
1079
1080
  createdAt: string;
1080
- kind: "comment" | "answer" | "reply";
1081
1081
  provenance: {
1082
1082
  digest: string | null;
1083
1083
  repositoryId: string | null;