rivet-design 0.23.0 → 0.23.1
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/agent-variants/contracts.d.ts +330 -330
- package/dist/agent-variants/workItemInput.d.ts +192 -192
- package/dist/config/proxy.d.ts +0 -2
- package/dist/config/proxy.d.ts.map +1 -1
- package/dist/config/proxy.js +1 -10
- package/dist/config/proxy.js.map +1 -1
- package/dist/routes/git.d.ts +0 -1
- package/dist/routes/git.d.ts.map +1 -1
- package/dist/routes/git.js +2 -7
- package/dist/routes/git.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +1 -5
- package/dist/server.js.map +1 -1
- package/dist/services/AuthService.d.ts +2 -2
- package/dist/services/CommitMessageGenerator.d.ts +1 -5
- package/dist/services/CommitMessageGenerator.d.ts.map +1 -1
- package/dist/services/CommitMessageGenerator.js +9 -38
- package/dist/services/CommitMessageGenerator.js.map +1 -1
- package/dist/services/IntegrationsClient.d.ts +3 -3
- package/dist/services/LocalGitService.d.ts +0 -3
- package/dist/services/LocalGitService.d.ts.map +1 -1
- package/dist/services/LocalGitService.js +0 -41
- package/dist/services/LocalGitService.js.map +1 -1
- package/dist/services/PRTitleGenerator.d.ts +2 -8
- package/dist/services/PRTitleGenerator.d.ts.map +1 -1
- package/dist/services/PRTitleGenerator.js +12 -74
- package/dist/services/PRTitleGenerator.js.map +1 -1
- package/dist/services/SessionService.d.ts +1 -4
- package/dist/services/SessionService.d.ts.map +1 -1
- package/dist/services/SessionService.js +5 -16
- package/dist/services/SessionService.js.map +1 -1
- package/dist/services/profiles/DesignProfiles.d.ts +30 -30
- package/dist/services/profiles/ProfileImports.d.ts +1 -1
- package/dist/services/profiles/ProfilePlanning.d.ts +4 -4
- package/dist/services/profiles/ReferenceReader.d.ts +3 -3
- package/dist/services/profiles/profileContext.d.ts +1 -1
- package/dist/storage/profiles/ProfilePlans.d.ts +15 -15
- package/dist/storage/profiles/ProfileRecords.d.ts +11 -11
- package/dist/storage/profiles/planSchema.d.ts +4 -4
- package/dist/storage/profiles/schema.d.ts +7 -7
- package/dist/types/cosmos-profile.d.ts +6 -6
- package/dist/types/cosmos.d.ts +10 -10
- package/dist/types/design-profile.d.ts +17 -17
- package/dist/types/guidance-references.d.ts +6 -6
- package/dist/types/guidance.d.ts +80 -80
- package/dist/types/reference-connectors.d.ts +10 -10
- package/dist/types/reference-onboarding.d.ts +63 -63
- package/dist/types/reference-pages.d.ts +10 -10
- package/dist/types/variant-reference.d.ts +4 -4
- package/package.json +2 -1
- package/src/ui/dist/assets/{LibraryEntry-B9ZkJUtN.js → LibraryEntry-BUwOgHmJ.js} +1 -1
- package/src/ui/dist/assets/main-DQKavyjz.js +435 -0
- package/src/ui/dist/index.html +1 -1
- package/dist/prompts/gitPrompts.d.ts +0 -4
- package/dist/prompts/gitPrompts.d.ts.map +0 -1
- package/dist/prompts/gitPrompts.js +0 -61
- package/dist/prompts/gitPrompts.js.map +0 -1
- package/dist/services/GatewayClient.d.ts +0 -44
- package/dist/services/GatewayClient.d.ts.map +0 -1
- package/dist/services/GatewayClient.js +0 -204
- package/dist/services/GatewayClient.js.map +0 -1
- package/src/ui/dist/assets/main-Dls3YqrM.js +0 -435
|
@@ -41,17 +41,17 @@ export declare const ReferenceDiscoveryInputSchema: z.ZodObject<{
|
|
|
41
41
|
parentId: z.ZodNullable<z.ZodString>;
|
|
42
42
|
children: z.ZodArray<z.ZodString, "many">;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
description: string | null;
|
|
45
44
|
url: string | null;
|
|
46
45
|
title: string;
|
|
46
|
+
description: string | null;
|
|
47
47
|
id: string;
|
|
48
48
|
children: string[];
|
|
49
49
|
total: number | null;
|
|
50
50
|
parentId: string | null;
|
|
51
51
|
}, {
|
|
52
|
-
description: string | null;
|
|
53
52
|
url: string | null;
|
|
54
53
|
title: string;
|
|
54
|
+
description: string | null;
|
|
55
55
|
id: string;
|
|
56
56
|
children: string[];
|
|
57
57
|
total: number | null;
|
|
@@ -61,9 +61,9 @@ export declare const ReferenceDiscoveryInputSchema: z.ZodObject<{
|
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
total: number;
|
|
63
63
|
collections: {
|
|
64
|
-
description: string | null;
|
|
65
64
|
url: string | null;
|
|
66
65
|
title: string;
|
|
66
|
+
description: string | null;
|
|
67
67
|
id: string;
|
|
68
68
|
children: string[];
|
|
69
69
|
total: number | null;
|
|
@@ -78,9 +78,9 @@ export declare const ReferenceDiscoveryInputSchema: z.ZodObject<{
|
|
|
78
78
|
}, {
|
|
79
79
|
total: number;
|
|
80
80
|
collections: {
|
|
81
|
-
description: string | null;
|
|
82
81
|
url: string | null;
|
|
83
82
|
title: string;
|
|
83
|
+
description: string | null;
|
|
84
84
|
id: string;
|
|
85
85
|
children: string[];
|
|
86
86
|
total: number | null;
|
|
@@ -129,17 +129,17 @@ export declare const ReferenceDiscoverySchema: z.ZodObject<{
|
|
|
129
129
|
parentId: z.ZodNullable<z.ZodString>;
|
|
130
130
|
children: z.ZodArray<z.ZodString, "many">;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
description: string | null;
|
|
133
132
|
url: string | null;
|
|
134
133
|
title: string;
|
|
134
|
+
description: string | null;
|
|
135
135
|
id: string;
|
|
136
136
|
children: string[];
|
|
137
137
|
total: number | null;
|
|
138
138
|
parentId: string | null;
|
|
139
139
|
}, {
|
|
140
|
-
description: string | null;
|
|
141
140
|
url: string | null;
|
|
142
141
|
title: string;
|
|
142
|
+
description: string | null;
|
|
143
143
|
id: string;
|
|
144
144
|
children: string[];
|
|
145
145
|
total: number | null;
|
|
@@ -153,9 +153,9 @@ export declare const ReferenceDiscoverySchema: z.ZodObject<{
|
|
|
153
153
|
id: string;
|
|
154
154
|
total: number;
|
|
155
155
|
collections: {
|
|
156
|
-
description: string | null;
|
|
157
156
|
url: string | null;
|
|
158
157
|
title: string;
|
|
158
|
+
description: string | null;
|
|
159
159
|
id: string;
|
|
160
160
|
children: string[];
|
|
161
161
|
total: number | null;
|
|
@@ -172,9 +172,9 @@ export declare const ReferenceDiscoverySchema: z.ZodObject<{
|
|
|
172
172
|
id: string;
|
|
173
173
|
total: number;
|
|
174
174
|
collections: {
|
|
175
|
-
description: string | null;
|
|
176
175
|
url: string | null;
|
|
177
176
|
title: string;
|
|
177
|
+
description: string | null;
|
|
178
178
|
id: string;
|
|
179
179
|
children: string[];
|
|
180
180
|
total: number | null;
|
|
@@ -198,17 +198,17 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
|
|
|
198
198
|
parentId: z.ZodNullable<z.ZodString>;
|
|
199
199
|
children: z.ZodArray<z.ZodString, "many">;
|
|
200
200
|
}, "strip", z.ZodTypeAny, {
|
|
201
|
-
description: string | null;
|
|
202
201
|
url: string | null;
|
|
203
202
|
title: string;
|
|
203
|
+
description: string | null;
|
|
204
204
|
id: string;
|
|
205
205
|
children: string[];
|
|
206
206
|
total: number | null;
|
|
207
207
|
parentId: string | null;
|
|
208
208
|
}, {
|
|
209
|
-
description: string | null;
|
|
210
209
|
url: string | null;
|
|
211
210
|
title: string;
|
|
211
|
+
description: string | null;
|
|
212
212
|
id: string;
|
|
213
213
|
children: string[];
|
|
214
214
|
total: number | null;
|
|
@@ -230,14 +230,14 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
|
|
|
230
230
|
hash: string;
|
|
231
231
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
232
232
|
bytes: number;
|
|
233
|
-
representation: "
|
|
233
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
234
234
|
page?: number | undefined;
|
|
235
235
|
}, {
|
|
236
236
|
hash: string;
|
|
237
237
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
238
238
|
bytes: number;
|
|
239
239
|
page?: number | undefined;
|
|
240
|
-
representation?: "
|
|
240
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
241
241
|
}>, "many">;
|
|
242
242
|
remoteImages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
243
243
|
remoteImageRepresentations: z.ZodOptional<z.ZodArray<z.ZodEnum<["image", "video-cover"]>, "many">>;
|
|
@@ -263,15 +263,15 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
|
|
|
263
263
|
} & {
|
|
264
264
|
provider: z.ZodEnum<["cosmos", "pinterest", "arena", "x"]>;
|
|
265
265
|
}, "strip", z.ZodTypeAny, {
|
|
266
|
+
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
266
267
|
title: string;
|
|
267
268
|
text: string;
|
|
268
|
-
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
269
269
|
remoteId: string;
|
|
270
270
|
media: {
|
|
271
271
|
hash: string;
|
|
272
272
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
273
273
|
bytes: number;
|
|
274
|
-
representation: "
|
|
274
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
275
275
|
page?: number | undefined;
|
|
276
276
|
}[];
|
|
277
277
|
url?: string | undefined;
|
|
@@ -286,16 +286,16 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
|
|
|
286
286
|
remoteImageRepresentations?: ("image" | "video-cover")[] | undefined;
|
|
287
287
|
unsupportedReason?: string | undefined;
|
|
288
288
|
}, {
|
|
289
|
+
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
289
290
|
title: string;
|
|
290
291
|
text: string;
|
|
291
|
-
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
292
292
|
remoteId: string;
|
|
293
293
|
media: {
|
|
294
294
|
hash: string;
|
|
295
295
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
296
296
|
bytes: number;
|
|
297
297
|
page?: number | undefined;
|
|
298
|
-
representation?: "
|
|
298
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
299
299
|
}[];
|
|
300
300
|
url?: string | undefined;
|
|
301
301
|
variant?: {
|
|
@@ -311,15 +311,15 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
|
|
|
311
311
|
}>, "many">;
|
|
312
312
|
}, "strip", z.ZodTypeAny, {
|
|
313
313
|
references: {
|
|
314
|
+
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
314
315
|
title: string;
|
|
315
316
|
text: string;
|
|
316
|
-
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
317
317
|
remoteId: string;
|
|
318
318
|
media: {
|
|
319
319
|
hash: string;
|
|
320
320
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
321
321
|
bytes: number;
|
|
322
|
-
representation: "
|
|
322
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
323
323
|
page?: number | undefined;
|
|
324
324
|
}[];
|
|
325
325
|
url?: string | undefined;
|
|
@@ -335,9 +335,9 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
|
|
|
335
335
|
unsupportedReason?: string | undefined;
|
|
336
336
|
}[];
|
|
337
337
|
collection: {
|
|
338
|
-
description: string | null;
|
|
339
338
|
url: string | null;
|
|
340
339
|
title: string;
|
|
340
|
+
description: string | null;
|
|
341
341
|
id: string;
|
|
342
342
|
children: string[];
|
|
343
343
|
total: number | null;
|
|
@@ -346,16 +346,16 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
|
|
|
346
346
|
collectionIds: string[];
|
|
347
347
|
}, {
|
|
348
348
|
references: {
|
|
349
|
+
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
349
350
|
title: string;
|
|
350
351
|
text: string;
|
|
351
|
-
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
352
352
|
remoteId: string;
|
|
353
353
|
media: {
|
|
354
354
|
hash: string;
|
|
355
355
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
356
356
|
bytes: number;
|
|
357
357
|
page?: number | undefined;
|
|
358
|
-
representation?: "
|
|
358
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
359
359
|
}[];
|
|
360
360
|
url?: string | undefined;
|
|
361
361
|
variant?: {
|
|
@@ -370,9 +370,9 @@ export declare const ReferencePlanSourceSchema: z.ZodObject<{
|
|
|
370
370
|
unsupportedReason?: string | undefined;
|
|
371
371
|
}[];
|
|
372
372
|
collection: {
|
|
373
|
-
description: string | null;
|
|
374
373
|
url: string | null;
|
|
375
374
|
title: string;
|
|
375
|
+
description: string | null;
|
|
376
376
|
id: string;
|
|
377
377
|
children: string[];
|
|
378
378
|
total: number | null;
|
|
@@ -393,17 +393,17 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
|
|
|
393
393
|
parentId: z.ZodNullable<z.ZodString>;
|
|
394
394
|
children: z.ZodArray<z.ZodString, "many">;
|
|
395
395
|
}, "strip", z.ZodTypeAny, {
|
|
396
|
-
description: string | null;
|
|
397
396
|
url: string | null;
|
|
398
397
|
title: string;
|
|
398
|
+
description: string | null;
|
|
399
399
|
id: string;
|
|
400
400
|
children: string[];
|
|
401
401
|
total: number | null;
|
|
402
402
|
parentId: string | null;
|
|
403
403
|
}, {
|
|
404
|
-
description: string | null;
|
|
405
404
|
url: string | null;
|
|
406
405
|
title: string;
|
|
406
|
+
description: string | null;
|
|
407
407
|
id: string;
|
|
408
408
|
children: string[];
|
|
409
409
|
total: number | null;
|
|
@@ -425,14 +425,14 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
|
|
|
425
425
|
hash: string;
|
|
426
426
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
427
427
|
bytes: number;
|
|
428
|
-
representation: "
|
|
428
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
429
429
|
page?: number | undefined;
|
|
430
430
|
}, {
|
|
431
431
|
hash: string;
|
|
432
432
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
433
433
|
bytes: number;
|
|
434
434
|
page?: number | undefined;
|
|
435
|
-
representation?: "
|
|
435
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
436
436
|
}>, "many">;
|
|
437
437
|
remoteImages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
438
438
|
remoteImageRepresentations: z.ZodOptional<z.ZodArray<z.ZodEnum<["image", "video-cover"]>, "many">>;
|
|
@@ -458,15 +458,15 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
|
|
|
458
458
|
} & {
|
|
459
459
|
provider: z.ZodEnum<["cosmos", "pinterest", "arena", "x"]>;
|
|
460
460
|
}, "strip", z.ZodTypeAny, {
|
|
461
|
+
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
461
462
|
title: string;
|
|
462
463
|
text: string;
|
|
463
|
-
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
464
464
|
remoteId: string;
|
|
465
465
|
media: {
|
|
466
466
|
hash: string;
|
|
467
467
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
468
468
|
bytes: number;
|
|
469
|
-
representation: "
|
|
469
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
470
470
|
page?: number | undefined;
|
|
471
471
|
}[];
|
|
472
472
|
url?: string | undefined;
|
|
@@ -481,16 +481,16 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
|
|
|
481
481
|
remoteImageRepresentations?: ("image" | "video-cover")[] | undefined;
|
|
482
482
|
unsupportedReason?: string | undefined;
|
|
483
483
|
}, {
|
|
484
|
+
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
484
485
|
title: string;
|
|
485
486
|
text: string;
|
|
486
|
-
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
487
487
|
remoteId: string;
|
|
488
488
|
media: {
|
|
489
489
|
hash: string;
|
|
490
490
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
491
491
|
bytes: number;
|
|
492
492
|
page?: number | undefined;
|
|
493
|
-
representation?: "
|
|
493
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
494
494
|
}[];
|
|
495
495
|
url?: string | undefined;
|
|
496
496
|
variant?: {
|
|
@@ -506,15 +506,15 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
|
|
|
506
506
|
}>, "many">;
|
|
507
507
|
}, "strip", z.ZodTypeAny, {
|
|
508
508
|
references: {
|
|
509
|
+
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
509
510
|
title: string;
|
|
510
511
|
text: string;
|
|
511
|
-
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
512
512
|
remoteId: string;
|
|
513
513
|
media: {
|
|
514
514
|
hash: string;
|
|
515
515
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
516
516
|
bytes: number;
|
|
517
|
-
representation: "
|
|
517
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
518
518
|
page?: number | undefined;
|
|
519
519
|
}[];
|
|
520
520
|
url?: string | undefined;
|
|
@@ -530,9 +530,9 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
|
|
|
530
530
|
unsupportedReason?: string | undefined;
|
|
531
531
|
}[];
|
|
532
532
|
collection: {
|
|
533
|
-
description: string | null;
|
|
534
533
|
url: string | null;
|
|
535
534
|
title: string;
|
|
535
|
+
description: string | null;
|
|
536
536
|
id: string;
|
|
537
537
|
children: string[];
|
|
538
538
|
total: number | null;
|
|
@@ -541,16 +541,16 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
|
|
|
541
541
|
collectionIds: string[];
|
|
542
542
|
}, {
|
|
543
543
|
references: {
|
|
544
|
+
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
544
545
|
title: string;
|
|
545
546
|
text: string;
|
|
546
|
-
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
547
547
|
remoteId: string;
|
|
548
548
|
media: {
|
|
549
549
|
hash: string;
|
|
550
550
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
551
551
|
bytes: number;
|
|
552
552
|
page?: number | undefined;
|
|
553
|
-
representation?: "
|
|
553
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
554
554
|
}[];
|
|
555
555
|
url?: string | undefined;
|
|
556
556
|
variant?: {
|
|
@@ -565,9 +565,9 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
|
|
|
565
565
|
unsupportedReason?: string | undefined;
|
|
566
566
|
}[];
|
|
567
567
|
collection: {
|
|
568
|
-
description: string | null;
|
|
569
568
|
url: string | null;
|
|
570
569
|
title: string;
|
|
570
|
+
description: string | null;
|
|
571
571
|
id: string;
|
|
572
572
|
children: string[];
|
|
573
573
|
total: number | null;
|
|
@@ -581,15 +581,15 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
|
|
|
581
581
|
discoveryId: string;
|
|
582
582
|
sources: {
|
|
583
583
|
references: {
|
|
584
|
+
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
584
585
|
title: string;
|
|
585
586
|
text: string;
|
|
586
|
-
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
587
587
|
remoteId: string;
|
|
588
588
|
media: {
|
|
589
589
|
hash: string;
|
|
590
590
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
591
591
|
bytes: number;
|
|
592
|
-
representation: "
|
|
592
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
593
593
|
page?: number | undefined;
|
|
594
594
|
}[];
|
|
595
595
|
url?: string | undefined;
|
|
@@ -605,9 +605,9 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
|
|
|
605
605
|
unsupportedReason?: string | undefined;
|
|
606
606
|
}[];
|
|
607
607
|
collection: {
|
|
608
|
-
description: string | null;
|
|
609
608
|
url: string | null;
|
|
610
609
|
title: string;
|
|
610
|
+
description: string | null;
|
|
611
611
|
id: string;
|
|
612
612
|
children: string[];
|
|
613
613
|
total: number | null;
|
|
@@ -621,16 +621,16 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
|
|
|
621
621
|
discoveryId: string;
|
|
622
622
|
sources: {
|
|
623
623
|
references: {
|
|
624
|
+
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
624
625
|
title: string;
|
|
625
626
|
text: string;
|
|
626
|
-
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
627
627
|
remoteId: string;
|
|
628
628
|
media: {
|
|
629
629
|
hash: string;
|
|
630
630
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
631
631
|
bytes: number;
|
|
632
632
|
page?: number | undefined;
|
|
633
|
-
representation?: "
|
|
633
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
634
634
|
}[];
|
|
635
635
|
url?: string | undefined;
|
|
636
636
|
variant?: {
|
|
@@ -645,9 +645,9 @@ export declare const ReferencePlanInputSchema: z.ZodObject<{
|
|
|
645
645
|
unsupportedReason?: string | undefined;
|
|
646
646
|
}[];
|
|
647
647
|
collection: {
|
|
648
|
-
description: string | null;
|
|
649
648
|
url: string | null;
|
|
650
649
|
title: string;
|
|
650
|
+
description: string | null;
|
|
651
651
|
id: string;
|
|
652
652
|
children: string[];
|
|
653
653
|
total: number | null;
|
|
@@ -670,17 +670,17 @@ export declare const ReferencePlanSchema: z.ZodObject<{
|
|
|
670
670
|
parentId: z.ZodNullable<z.ZodString>;
|
|
671
671
|
children: z.ZodArray<z.ZodString, "many">;
|
|
672
672
|
}, "strip", z.ZodTypeAny, {
|
|
673
|
-
description: string | null;
|
|
674
673
|
url: string | null;
|
|
675
674
|
title: string;
|
|
675
|
+
description: string | null;
|
|
676
676
|
id: string;
|
|
677
677
|
children: string[];
|
|
678
678
|
total: number | null;
|
|
679
679
|
parentId: string | null;
|
|
680
680
|
}, {
|
|
681
|
-
description: string | null;
|
|
682
681
|
url: string | null;
|
|
683
682
|
title: string;
|
|
683
|
+
description: string | null;
|
|
684
684
|
id: string;
|
|
685
685
|
children: string[];
|
|
686
686
|
total: number | null;
|
|
@@ -702,14 +702,14 @@ export declare const ReferencePlanSchema: z.ZodObject<{
|
|
|
702
702
|
hash: string;
|
|
703
703
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
704
704
|
bytes: number;
|
|
705
|
-
representation: "
|
|
705
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
706
706
|
page?: number | undefined;
|
|
707
707
|
}, {
|
|
708
708
|
hash: string;
|
|
709
709
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
710
710
|
bytes: number;
|
|
711
711
|
page?: number | undefined;
|
|
712
|
-
representation?: "
|
|
712
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
713
713
|
}>, "many">;
|
|
714
714
|
remoteImages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
715
715
|
remoteImageRepresentations: z.ZodOptional<z.ZodArray<z.ZodEnum<["image", "video-cover"]>, "many">>;
|
|
@@ -735,15 +735,15 @@ export declare const ReferencePlanSchema: z.ZodObject<{
|
|
|
735
735
|
} & {
|
|
736
736
|
provider: z.ZodEnum<["cosmos", "pinterest", "arena", "x"]>;
|
|
737
737
|
}, "strip", z.ZodTypeAny, {
|
|
738
|
+
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
738
739
|
title: string;
|
|
739
740
|
text: string;
|
|
740
|
-
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
741
741
|
remoteId: string;
|
|
742
742
|
media: {
|
|
743
743
|
hash: string;
|
|
744
744
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
745
745
|
bytes: number;
|
|
746
|
-
representation: "
|
|
746
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
747
747
|
page?: number | undefined;
|
|
748
748
|
}[];
|
|
749
749
|
url?: string | undefined;
|
|
@@ -758,16 +758,16 @@ export declare const ReferencePlanSchema: z.ZodObject<{
|
|
|
758
758
|
remoteImageRepresentations?: ("image" | "video-cover")[] | undefined;
|
|
759
759
|
unsupportedReason?: string | undefined;
|
|
760
760
|
}, {
|
|
761
|
+
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
761
762
|
title: string;
|
|
762
763
|
text: string;
|
|
763
|
-
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
764
764
|
remoteId: string;
|
|
765
765
|
media: {
|
|
766
766
|
hash: string;
|
|
767
767
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
768
768
|
bytes: number;
|
|
769
769
|
page?: number | undefined;
|
|
770
|
-
representation?: "
|
|
770
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
771
771
|
}[];
|
|
772
772
|
url?: string | undefined;
|
|
773
773
|
variant?: {
|
|
@@ -783,15 +783,15 @@ export declare const ReferencePlanSchema: z.ZodObject<{
|
|
|
783
783
|
}>, "many">;
|
|
784
784
|
}, "strip", z.ZodTypeAny, {
|
|
785
785
|
references: {
|
|
786
|
+
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
786
787
|
title: string;
|
|
787
788
|
text: string;
|
|
788
|
-
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
789
789
|
remoteId: string;
|
|
790
790
|
media: {
|
|
791
791
|
hash: string;
|
|
792
792
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
793
793
|
bytes: number;
|
|
794
|
-
representation: "
|
|
794
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
795
795
|
page?: number | undefined;
|
|
796
796
|
}[];
|
|
797
797
|
url?: string | undefined;
|
|
@@ -807,9 +807,9 @@ export declare const ReferencePlanSchema: z.ZodObject<{
|
|
|
807
807
|
unsupportedReason?: string | undefined;
|
|
808
808
|
}[];
|
|
809
809
|
collection: {
|
|
810
|
-
description: string | null;
|
|
811
810
|
url: string | null;
|
|
812
811
|
title: string;
|
|
812
|
+
description: string | null;
|
|
813
813
|
id: string;
|
|
814
814
|
children: string[];
|
|
815
815
|
total: number | null;
|
|
@@ -818,16 +818,16 @@ export declare const ReferencePlanSchema: z.ZodObject<{
|
|
|
818
818
|
collectionIds: string[];
|
|
819
819
|
}, {
|
|
820
820
|
references: {
|
|
821
|
+
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
821
822
|
title: string;
|
|
822
823
|
text: string;
|
|
823
|
-
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
824
824
|
remoteId: string;
|
|
825
825
|
media: {
|
|
826
826
|
hash: string;
|
|
827
827
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
828
828
|
bytes: number;
|
|
829
829
|
page?: number | undefined;
|
|
830
|
-
representation?: "
|
|
830
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
831
831
|
}[];
|
|
832
832
|
url?: string | undefined;
|
|
833
833
|
variant?: {
|
|
@@ -842,9 +842,9 @@ export declare const ReferencePlanSchema: z.ZodObject<{
|
|
|
842
842
|
unsupportedReason?: string | undefined;
|
|
843
843
|
}[];
|
|
844
844
|
collection: {
|
|
845
|
-
description: string | null;
|
|
846
845
|
url: string | null;
|
|
847
846
|
title: string;
|
|
847
|
+
description: string | null;
|
|
848
848
|
id: string;
|
|
849
849
|
children: string[];
|
|
850
850
|
total: number | null;
|
|
@@ -901,15 +901,15 @@ export declare const ReferencePlanSchema: z.ZodObject<{
|
|
|
901
901
|
discoveryId: string;
|
|
902
902
|
sources: {
|
|
903
903
|
references: {
|
|
904
|
+
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
904
905
|
title: string;
|
|
905
906
|
text: string;
|
|
906
|
-
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
907
907
|
remoteId: string;
|
|
908
908
|
media: {
|
|
909
909
|
hash: string;
|
|
910
910
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
911
911
|
bytes: number;
|
|
912
|
-
representation: "
|
|
912
|
+
representation: "variant" | "image" | "video-cover" | "page";
|
|
913
913
|
page?: number | undefined;
|
|
914
914
|
}[];
|
|
915
915
|
url?: string | undefined;
|
|
@@ -925,9 +925,9 @@ export declare const ReferencePlanSchema: z.ZodObject<{
|
|
|
925
925
|
unsupportedReason?: string | undefined;
|
|
926
926
|
}[];
|
|
927
927
|
collection: {
|
|
928
|
-
description: string | null;
|
|
929
928
|
url: string | null;
|
|
930
929
|
title: string;
|
|
930
|
+
description: string | null;
|
|
931
931
|
id: string;
|
|
932
932
|
children: string[];
|
|
933
933
|
total: number | null;
|
|
@@ -953,16 +953,16 @@ export declare const ReferencePlanSchema: z.ZodObject<{
|
|
|
953
953
|
discoveryId: string;
|
|
954
954
|
sources: {
|
|
955
955
|
references: {
|
|
956
|
+
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
956
957
|
title: string;
|
|
957
958
|
text: string;
|
|
958
|
-
provider: "arena" | "pinterest" | "x" | "cosmos";
|
|
959
959
|
remoteId: string;
|
|
960
960
|
media: {
|
|
961
961
|
hash: string;
|
|
962
962
|
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
963
963
|
bytes: number;
|
|
964
964
|
page?: number | undefined;
|
|
965
|
-
representation?: "
|
|
965
|
+
representation?: "variant" | "image" | "video-cover" | "page" | undefined;
|
|
966
966
|
}[];
|
|
967
967
|
url?: string | undefined;
|
|
968
968
|
variant?: {
|
|
@@ -977,9 +977,9 @@ export declare const ReferencePlanSchema: z.ZodObject<{
|
|
|
977
977
|
unsupportedReason?: string | undefined;
|
|
978
978
|
}[];
|
|
979
979
|
collection: {
|
|
980
|
-
description: string | null;
|
|
981
980
|
url: string | null;
|
|
982
981
|
title: string;
|
|
982
|
+
description: string | null;
|
|
983
983
|
id: string;
|
|
984
984
|
children: string[];
|
|
985
985
|
total: number | null;
|
|
@@ -1042,9 +1042,9 @@ export declare const referencePlanSummary: (plan: ReferenceImportPlan) => {
|
|
|
1042
1042
|
collections: {
|
|
1043
1043
|
includedCollectionIds: string[];
|
|
1044
1044
|
referenceCount: number;
|
|
1045
|
-
description: string | null;
|
|
1046
1045
|
url: string | null;
|
|
1047
1046
|
title: string;
|
|
1047
|
+
description: string | null;
|
|
1048
1048
|
id: string;
|
|
1049
1049
|
children: string[];
|
|
1050
1050
|
total: number | null;
|