@ydtb/tk-scope-capture 0.23.7 → 0.23.8

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.
@@ -127,25 +127,25 @@ export declare const captureApi: import("@ydtb/tk-scope-api-client").ToolClient<
127
127
  }, import("zod/v4/core").$strip>>>>;
128
128
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
129
129
  id: string;
130
- name: string;
131
- filters: unknown;
132
- columns: unknown;
133
- updatedAt: Date;
134
130
  scopeId: string;
131
+ name: string;
135
132
  icon: string;
133
+ filters: unknown;
136
134
  sorts: unknown;
135
+ columns: unknown;
137
136
  createdAt: Date;
137
+ updatedAt: Date;
138
138
  scope: string;
139
139
  } | undefined, {
140
140
  id: string;
141
- name: string;
142
- filters: unknown;
143
- columns: unknown;
144
- updatedAt: Date;
145
141
  scopeId: string;
142
+ name: string;
146
143
  icon: string;
144
+ filters: unknown;
147
145
  sorts: unknown;
146
+ columns: unknown;
148
147
  createdAt: Date;
148
+ updatedAt: Date;
149
149
  scope: string;
150
150
  } | undefined>, Record<never, never>, Record<never, never>>;
151
151
  update: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<{
@@ -284,32 +284,32 @@ export declare const captureApi: import("@ydtb/tk-scope-api-client").ToolClient<
284
284
  name: import("zod").ZodDefault<import("zod").ZodString>;
285
285
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
286
286
  id: string;
287
- name: string;
288
- surface: string;
289
- status: string;
290
- tags: string[];
291
- updatedAt: Date;
292
- actionConfig: import("./shared/types.ts").CaptureActionConfig;
293
287
  scopeId: string;
288
+ name: string;
294
289
  createdAt: Date;
290
+ updatedAt: Date;
295
291
  scope: string;
292
+ surface: string;
296
293
  slug: string;
294
+ status: string;
295
+ tags: string[];
297
296
  fields: import("./shared/types.ts").CaptureFieldDefinition[];
298
297
  document: import("./index.ts").CaptureFormDocument | null;
298
+ actionConfig: import("./shared/types.ts").CaptureActionConfig;
299
299
  }, {
300
300
  id: string;
301
- name: string;
302
- surface: string;
303
- status: string;
304
- tags: string[];
305
- updatedAt: Date;
306
- actionConfig: import("./shared/types.ts").CaptureActionConfig;
307
301
  scopeId: string;
302
+ name: string;
308
303
  createdAt: Date;
304
+ updatedAt: Date;
309
305
  scope: string;
306
+ surface: string;
310
307
  slug: string;
308
+ status: string;
309
+ tags: string[];
311
310
  fields: import("./shared/types.ts").CaptureFieldDefinition[];
312
311
  document: import("./index.ts").CaptureFormDocument | null;
312
+ actionConfig: import("./shared/types.ts").CaptureActionConfig;
313
313
  }>, Record<never, never>, Record<never, never>>;
314
314
  get: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<{
315
315
  headers: Headers;
@@ -836,23 +836,23 @@ export declare const captureApi: import("@ydtb/tk-scope-api-client").ToolClient<
836
836
  id: import("zod").ZodString;
837
837
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
838
838
  id: string;
839
- status: string;
840
- updatedAt: Date;
841
839
  scopeId: string;
842
840
  createdAt: Date;
841
+ updatedAt: Date;
843
842
  scope: string;
844
843
  slug: string;
844
+ status: string;
845
845
  definitionId: string;
846
846
  security: import("./shared/types.ts").CapturePublicationSecurity;
847
847
  revokedAt: Date | null;
848
848
  } | undefined, {
849
849
  id: string;
850
- status: string;
851
- updatedAt: Date;
852
850
  scopeId: string;
853
851
  createdAt: Date;
852
+ updatedAt: Date;
854
853
  scope: string;
855
854
  slug: string;
855
+ status: string;
856
856
  definitionId: string;
857
857
  security: import("./shared/types.ts").CapturePublicationSecurity;
858
858
  revokedAt: Date | null;
@@ -1156,26 +1156,26 @@ export declare const captureApi: import("@ydtb/tk-scope-api-client").ToolClient<
1156
1156
  }, import("zod/v4/core").$strip>>>>;
1157
1157
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
1158
1158
  id: string;
1159
- name: string;
1160
- filters: unknown;
1161
- columns: unknown;
1162
- updatedAt: Date;
1163
1159
  scopeId: string;
1160
+ name: string;
1164
1161
  icon: string;
1162
+ filters: unknown;
1165
1163
  sorts: unknown;
1164
+ columns: unknown;
1166
1165
  createdAt: Date;
1166
+ updatedAt: Date;
1167
1167
  scope: string;
1168
1168
  definitionId: string;
1169
1169
  } | undefined, {
1170
1170
  id: string;
1171
- name: string;
1172
- filters: unknown;
1173
- columns: unknown;
1174
- updatedAt: Date;
1175
1171
  scopeId: string;
1172
+ name: string;
1176
1173
  icon: string;
1174
+ filters: unknown;
1177
1175
  sorts: unknown;
1176
+ columns: unknown;
1178
1177
  createdAt: Date;
1178
+ updatedAt: Date;
1179
1179
  scope: string;
1180
1180
  definitionId: string;
1181
1181
  } | undefined>, Record<never, never>, Record<never, never>>;
@@ -68,7 +68,7 @@ export declare function buildWorkflowSubmissionPayload(context: CaptureActionExe
68
68
  event: "capture.submission.completed";
69
69
  submission: {
70
70
  outcome?: CaptureQuizOutcomeResult | undefined;
71
- surface?: "quiz" | "form" | undefined;
71
+ surface?: "form" | "quiz" | undefined;
72
72
  id: string;
73
73
  definitionId: string;
74
74
  definitionName: string;
@@ -156,25 +156,25 @@ declare const captureRouter: {
156
156
  }, z.core.$strip>>>>;
157
157
  }, z.core.$strip>, import("@orpc/server").Schema<{
158
158
  id: string;
159
- name: string;
160
- filters: unknown;
161
- columns: unknown;
162
- updatedAt: Date;
163
159
  scopeId: string;
160
+ name: string;
164
161
  icon: string;
162
+ filters: unknown;
165
163
  sorts: unknown;
164
+ columns: unknown;
166
165
  createdAt: Date;
166
+ updatedAt: Date;
167
167
  scope: string;
168
168
  } | undefined, {
169
169
  id: string;
170
- name: string;
171
- filters: unknown;
172
- columns: unknown;
173
- updatedAt: Date;
174
170
  scopeId: string;
171
+ name: string;
175
172
  icon: string;
173
+ filters: unknown;
176
174
  sorts: unknown;
175
+ columns: unknown;
177
176
  createdAt: Date;
177
+ updatedAt: Date;
178
178
  scope: string;
179
179
  } | undefined>, Record<never, never>, Record<never, never>>;
180
180
  update: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<{
@@ -313,32 +313,32 @@ declare const captureRouter: {
313
313
  name: z.ZodDefault<z.ZodString>;
314
314
  }, z.core.$strip>, import("@orpc/server").Schema<{
315
315
  id: string;
316
- name: string;
317
- surface: string;
318
- status: string;
319
- tags: string[];
320
- updatedAt: Date;
321
- actionConfig: CaptureActionConfig;
322
316
  scopeId: string;
317
+ name: string;
323
318
  createdAt: Date;
319
+ updatedAt: Date;
324
320
  scope: string;
321
+ surface: string;
325
322
  slug: string;
323
+ status: string;
324
+ tags: string[];
326
325
  fields: import("../../shared/types.ts").CaptureFieldDefinition[];
327
326
  document: CaptureFormDocument | null;
327
+ actionConfig: CaptureActionConfig;
328
328
  }, {
329
329
  id: string;
330
- name: string;
331
- surface: string;
332
- status: string;
333
- tags: string[];
334
- updatedAt: Date;
335
- actionConfig: CaptureActionConfig;
336
330
  scopeId: string;
331
+ name: string;
337
332
  createdAt: Date;
333
+ updatedAt: Date;
338
334
  scope: string;
335
+ surface: string;
339
336
  slug: string;
337
+ status: string;
338
+ tags: string[];
340
339
  fields: import("../../shared/types.ts").CaptureFieldDefinition[];
341
340
  document: CaptureFormDocument | null;
341
+ actionConfig: CaptureActionConfig;
342
342
  }>, Record<never, never>, Record<never, never>>;
343
343
  get: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<{
344
344
  headers: Headers;
@@ -865,23 +865,23 @@ declare const captureRouter: {
865
865
  id: z.ZodString;
866
866
  }, z.core.$strip>, import("@orpc/server").Schema<{
867
867
  id: string;
868
- status: string;
869
- updatedAt: Date;
870
868
  scopeId: string;
871
869
  createdAt: Date;
870
+ updatedAt: Date;
872
871
  scope: string;
873
872
  slug: string;
873
+ status: string;
874
874
  definitionId: string;
875
875
  security: CapturePublicationSecurity;
876
876
  revokedAt: Date | null;
877
877
  } | undefined, {
878
878
  id: string;
879
- status: string;
880
- updatedAt: Date;
881
879
  scopeId: string;
882
880
  createdAt: Date;
881
+ updatedAt: Date;
883
882
  scope: string;
884
883
  slug: string;
884
+ status: string;
885
885
  definitionId: string;
886
886
  security: CapturePublicationSecurity;
887
887
  revokedAt: Date | null;
@@ -1185,26 +1185,26 @@ declare const captureRouter: {
1185
1185
  }, z.core.$strip>>>>;
1186
1186
  }, z.core.$strip>, import("@orpc/server").Schema<{
1187
1187
  id: string;
1188
- name: string;
1189
- filters: unknown;
1190
- columns: unknown;
1191
- updatedAt: Date;
1192
1188
  scopeId: string;
1189
+ name: string;
1193
1190
  icon: string;
1191
+ filters: unknown;
1194
1192
  sorts: unknown;
1193
+ columns: unknown;
1195
1194
  createdAt: Date;
1195
+ updatedAt: Date;
1196
1196
  scope: string;
1197
1197
  definitionId: string;
1198
1198
  } | undefined, {
1199
1199
  id: string;
1200
- name: string;
1201
- filters: unknown;
1202
- columns: unknown;
1203
- updatedAt: Date;
1204
1200
  scopeId: string;
1201
+ name: string;
1205
1202
  icon: string;
1203
+ filters: unknown;
1206
1204
  sorts: unknown;
1205
+ columns: unknown;
1207
1206
  createdAt: Date;
1207
+ updatedAt: Date;
1208
1208
  scope: string;
1209
1209
  definitionId: string;
1210
1210
  } | undefined>, Record<never, never>, Record<never, never>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ydtb/tk-scope-capture",
3
- "version": "0.23.7",
3
+ "version": "0.23.8",
4
4
  "private": false,
5
5
  "description": "Shared Capture builder and runtime surfaces for Forms and Quizzes.",
6
6
  "type": "module",
@@ -51,14 +51,14 @@
51
51
  "@ydtb/core-layer-postgres": "^0.13.3",
52
52
  "@ydtb/core-layer-resend": "^0.13.10",
53
53
  "@ydtb/core-server": "^0.13.3",
54
- "@ydtb/public-capture": "0.1.1",
54
+ "@ydtb/public-capture": "0.1.2",
55
+ "@ydtb/tk-scope": "0.14.1",
55
56
  "@ydtb/tk-scope-api-client": "0.13.0",
56
57
  "@ydtb/tk-scope-asset-picker": "0.23.6",
57
- "@ydtb/tk-scope-db": "0.19.3",
58
- "@ydtb/tk-scope-query-client": "0.14.0",
59
- "@ydtb/tk-scope": "0.14.1",
60
58
  "@ydtb/tk-scope-extension": "0.22.0",
61
- "@ydtb/tk-scope-data-workbench": "0.23.1"
59
+ "@ydtb/tk-scope-data-workbench": "0.23.1",
60
+ "@ydtb/tk-scope-query-client": "0.14.0",
61
+ "@ydtb/tk-scope-db": "0.19.3"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "@tanstack/react-router": ">=1.168.0 <2.0.0",