@orunelle/theme-contract 0.0.0-stage → 2.0.0-alpha.13

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.
@@ -0,0 +1,559 @@
1
+ import { z } from "zod";
2
+ import type { MerchantManifest, ThemeConfiguration } from "./merchant-types.js";
3
+ import type { PublicProduct, StorefrontContext } from "./index.js";
4
+ export declare const PREVIEW_PROTOCOL: 1;
5
+ export declare const MAX_PREVIEW_MESSAGE_BYTES = 262144;
6
+ export declare const previewIdentitySchema: z.ZodObject<{
7
+ protocol: z.ZodLiteral<1>;
8
+ sessionId: z.ZodString;
9
+ nonce: z.ZodString;
10
+ storeId: z.ZodString;
11
+ installationId: z.ZodString;
12
+ releaseId: z.ZodString;
13
+ artifactDigest: z.ZodString;
14
+ expiresAt: z.ZodNumber;
15
+ editorOrigin: z.ZodString;
16
+ }, "strict", z.ZodTypeAny, {
17
+ protocol: 1;
18
+ sessionId: string;
19
+ nonce: string;
20
+ storeId: string;
21
+ installationId: string;
22
+ releaseId: string;
23
+ artifactDigest: string;
24
+ expiresAt: number;
25
+ editorOrigin: string;
26
+ }, {
27
+ protocol: 1;
28
+ sessionId: string;
29
+ nonce: string;
30
+ storeId: string;
31
+ installationId: string;
32
+ releaseId: string;
33
+ artifactDigest: string;
34
+ expiresAt: number;
35
+ editorOrigin: string;
36
+ }>;
37
+ export type PreviewIdentity = z.infer<typeof previewIdentitySchema>;
38
+ export interface PreviewSession {
39
+ identity: PreviewIdentity;
40
+ url: string;
41
+ canWrite: boolean;
42
+ }
43
+ export interface PreviewResource {
44
+ id: string;
45
+ kind: "product" | "collection" | "page";
46
+ name: {
47
+ en: string;
48
+ ar: string;
49
+ };
50
+ handle: string;
51
+ }
52
+ export interface PreviewMedia {
53
+ id: string;
54
+ url: string;
55
+ alt: string;
56
+ }
57
+ export interface PreviewBootstrap {
58
+ identity: PreviewIdentity;
59
+ manifest: MerchantManifest;
60
+ configuration: ThemeConfiguration;
61
+ storefront: StorefrontContext;
62
+ products: PublicProduct[];
63
+ resources: PreviewResource[];
64
+ media: PreviewMedia[];
65
+ assetBase: string;
66
+ }
67
+ declare const viewSchema: z.ZodObject<{
68
+ template: z.ZodString;
69
+ locale: z.ZodEnum<["en", "ar"]>;
70
+ resourceId: z.ZodOptional<z.ZodString>;
71
+ path: z.ZodString;
72
+ }, "strict", z.ZodTypeAny, {
73
+ template: string;
74
+ path: string;
75
+ locale: "en" | "ar";
76
+ resourceId?: string | undefined;
77
+ }, {
78
+ template: string;
79
+ path: string;
80
+ locale: "en" | "ar";
81
+ resourceId?: string | undefined;
82
+ }>;
83
+ export type PreviewView = z.infer<typeof viewSchema>;
84
+ export declare const previewConnectSchema: z.ZodObject<{
85
+ type: z.ZodLiteral<"orunelle.preview.connect">;
86
+ identity: z.ZodObject<{
87
+ protocol: z.ZodLiteral<1>;
88
+ sessionId: z.ZodString;
89
+ nonce: z.ZodString;
90
+ storeId: z.ZodString;
91
+ installationId: z.ZodString;
92
+ releaseId: z.ZodString;
93
+ artifactDigest: z.ZodString;
94
+ expiresAt: z.ZodNumber;
95
+ editorOrigin: z.ZodString;
96
+ }, "strict", z.ZodTypeAny, {
97
+ protocol: 1;
98
+ sessionId: string;
99
+ nonce: string;
100
+ storeId: string;
101
+ installationId: string;
102
+ releaseId: string;
103
+ artifactDigest: string;
104
+ expiresAt: number;
105
+ editorOrigin: string;
106
+ }, {
107
+ protocol: 1;
108
+ sessionId: string;
109
+ nonce: string;
110
+ storeId: string;
111
+ installationId: string;
112
+ releaseId: string;
113
+ artifactDigest: string;
114
+ expiresAt: number;
115
+ editorOrigin: string;
116
+ }>;
117
+ documentId: z.ZodString;
118
+ generation: z.ZodNumber;
119
+ }, "strict", z.ZodTypeAny, {
120
+ type: "orunelle.preview.connect";
121
+ identity: {
122
+ protocol: 1;
123
+ sessionId: string;
124
+ nonce: string;
125
+ storeId: string;
126
+ installationId: string;
127
+ releaseId: string;
128
+ artifactDigest: string;
129
+ expiresAt: number;
130
+ editorOrigin: string;
131
+ };
132
+ documentId: string;
133
+ generation: number;
134
+ }, {
135
+ type: "orunelle.preview.connect";
136
+ identity: {
137
+ protocol: 1;
138
+ sessionId: string;
139
+ nonce: string;
140
+ storeId: string;
141
+ installationId: string;
142
+ releaseId: string;
143
+ artifactDigest: string;
144
+ expiresAt: number;
145
+ editorOrigin: string;
146
+ };
147
+ documentId: string;
148
+ generation: number;
149
+ }>;
150
+ export declare const previewBootSchema: z.ZodObject<{
151
+ type: z.ZodLiteral<"orunelle.preview.boot">;
152
+ identity: z.ZodObject<{
153
+ protocol: z.ZodLiteral<1>;
154
+ sessionId: z.ZodString;
155
+ nonce: z.ZodString;
156
+ storeId: z.ZodString;
157
+ installationId: z.ZodString;
158
+ releaseId: z.ZodString;
159
+ artifactDigest: z.ZodString;
160
+ expiresAt: z.ZodNumber;
161
+ editorOrigin: z.ZodString;
162
+ }, "strict", z.ZodTypeAny, {
163
+ protocol: 1;
164
+ sessionId: string;
165
+ nonce: string;
166
+ storeId: string;
167
+ installationId: string;
168
+ releaseId: string;
169
+ artifactDigest: string;
170
+ expiresAt: number;
171
+ editorOrigin: string;
172
+ }, {
173
+ protocol: 1;
174
+ sessionId: string;
175
+ nonce: string;
176
+ storeId: string;
177
+ installationId: string;
178
+ releaseId: string;
179
+ artifactDigest: string;
180
+ expiresAt: number;
181
+ editorOrigin: string;
182
+ }>;
183
+ }, "strict", z.ZodTypeAny, {
184
+ type: "orunelle.preview.boot";
185
+ identity: {
186
+ protocol: 1;
187
+ sessionId: string;
188
+ nonce: string;
189
+ storeId: string;
190
+ installationId: string;
191
+ releaseId: string;
192
+ artifactDigest: string;
193
+ expiresAt: number;
194
+ editorOrigin: string;
195
+ };
196
+ }, {
197
+ type: "orunelle.preview.boot";
198
+ identity: {
199
+ protocol: 1;
200
+ sessionId: string;
201
+ nonce: string;
202
+ storeId: string;
203
+ installationId: string;
204
+ releaseId: string;
205
+ artifactDigest: string;
206
+ expiresAt: number;
207
+ editorOrigin: string;
208
+ };
209
+ }>;
210
+ declare const rect: z.ZodObject<{
211
+ x: z.ZodNumber;
212
+ y: z.ZodNumber;
213
+ width: z.ZodNumber;
214
+ height: z.ZodNumber;
215
+ }, "strict", z.ZodTypeAny, {
216
+ x: number;
217
+ y: number;
218
+ width: number;
219
+ height: number;
220
+ }, {
221
+ x: number;
222
+ y: number;
223
+ width: number;
224
+ height: number;
225
+ }>;
226
+ export type PreviewRect = z.infer<typeof rect>;
227
+ export declare const previewFrameMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
228
+ type: z.ZodLiteral<"ready">;
229
+ capabilities: z.ZodArray<z.ZodEnum<["inspect", "geometry", "snapshots", "drag", "navigate"]>, "many">;
230
+ sessionId: z.ZodString;
231
+ documentId: z.ZodString;
232
+ generation: z.ZodNumber;
233
+ sequence: z.ZodNumber;
234
+ }, "strict", z.ZodTypeAny, {
235
+ type: "ready";
236
+ sessionId: string;
237
+ documentId: string;
238
+ generation: number;
239
+ capabilities: ("inspect" | "geometry" | "snapshots" | "drag" | "navigate")[];
240
+ sequence: number;
241
+ }, {
242
+ type: "ready";
243
+ sessionId: string;
244
+ documentId: string;
245
+ generation: number;
246
+ capabilities: ("inspect" | "geometry" | "snapshots" | "drag" | "navigate")[];
247
+ sequence: number;
248
+ }>, z.ZodObject<{
249
+ type: z.ZodLiteral<"ack">;
250
+ sessionId: z.ZodString;
251
+ documentId: z.ZodString;
252
+ generation: z.ZodNumber;
253
+ sequence: z.ZodNumber;
254
+ }, "strict", z.ZodTypeAny, {
255
+ type: "ack";
256
+ sessionId: string;
257
+ documentId: string;
258
+ generation: number;
259
+ sequence: number;
260
+ }, {
261
+ type: "ack";
262
+ sessionId: string;
263
+ documentId: string;
264
+ generation: number;
265
+ sequence: number;
266
+ }>, z.ZodObject<{
267
+ type: z.ZodLiteral<"hover">;
268
+ nodeId: z.ZodNullable<z.ZodString>;
269
+ rect: z.ZodNullable<z.ZodObject<{
270
+ x: z.ZodNumber;
271
+ y: z.ZodNumber;
272
+ width: z.ZodNumber;
273
+ height: z.ZodNumber;
274
+ }, "strict", z.ZodTypeAny, {
275
+ x: number;
276
+ y: number;
277
+ width: number;
278
+ height: number;
279
+ }, {
280
+ x: number;
281
+ y: number;
282
+ width: number;
283
+ height: number;
284
+ }>>;
285
+ sessionId: z.ZodString;
286
+ documentId: z.ZodString;
287
+ generation: z.ZodNumber;
288
+ sequence: z.ZodNumber;
289
+ }, "strict", z.ZodTypeAny, {
290
+ type: "hover";
291
+ sessionId: string;
292
+ documentId: string;
293
+ generation: number;
294
+ sequence: number;
295
+ nodeId: string | null;
296
+ rect: {
297
+ x: number;
298
+ y: number;
299
+ width: number;
300
+ height: number;
301
+ } | null;
302
+ }, {
303
+ type: "hover";
304
+ sessionId: string;
305
+ documentId: string;
306
+ generation: number;
307
+ sequence: number;
308
+ nodeId: string | null;
309
+ rect: {
310
+ x: number;
311
+ y: number;
312
+ width: number;
313
+ height: number;
314
+ } | null;
315
+ }>, z.ZodObject<{
316
+ type: z.ZodLiteral<"select">;
317
+ nodeId: z.ZodNullable<z.ZodString>;
318
+ sessionId: z.ZodString;
319
+ documentId: z.ZodString;
320
+ generation: z.ZodNumber;
321
+ sequence: z.ZodNumber;
322
+ }, "strict", z.ZodTypeAny, {
323
+ type: "select";
324
+ sessionId: string;
325
+ documentId: string;
326
+ generation: number;
327
+ sequence: number;
328
+ nodeId: string | null;
329
+ }, {
330
+ type: "select";
331
+ sessionId: string;
332
+ documentId: string;
333
+ generation: number;
334
+ sequence: number;
335
+ nodeId: string | null;
336
+ }>, z.ZodObject<{
337
+ type: z.ZodLiteral<"geometry">;
338
+ nodes: z.ZodArray<z.ZodObject<{
339
+ nodeId: z.ZodString;
340
+ rect: z.ZodObject<{
341
+ x: z.ZodNumber;
342
+ y: z.ZodNumber;
343
+ width: z.ZodNumber;
344
+ height: z.ZodNumber;
345
+ }, "strict", z.ZodTypeAny, {
346
+ x: number;
347
+ y: number;
348
+ width: number;
349
+ height: number;
350
+ }, {
351
+ x: number;
352
+ y: number;
353
+ width: number;
354
+ height: number;
355
+ }>;
356
+ }, "strict", z.ZodTypeAny, {
357
+ nodeId: string;
358
+ rect: {
359
+ x: number;
360
+ y: number;
361
+ width: number;
362
+ height: number;
363
+ };
364
+ }, {
365
+ nodeId: string;
366
+ rect: {
367
+ x: number;
368
+ y: number;
369
+ width: number;
370
+ height: number;
371
+ };
372
+ }>, "many">;
373
+ sessionId: z.ZodString;
374
+ documentId: z.ZodString;
375
+ generation: z.ZodNumber;
376
+ sequence: z.ZodNumber;
377
+ }, "strict", z.ZodTypeAny, {
378
+ type: "geometry";
379
+ nodes: {
380
+ nodeId: string;
381
+ rect: {
382
+ x: number;
383
+ y: number;
384
+ width: number;
385
+ height: number;
386
+ };
387
+ }[];
388
+ sessionId: string;
389
+ documentId: string;
390
+ generation: number;
391
+ sequence: number;
392
+ }, {
393
+ type: "geometry";
394
+ nodes: {
395
+ nodeId: string;
396
+ rect: {
397
+ x: number;
398
+ y: number;
399
+ width: number;
400
+ height: number;
401
+ };
402
+ }[];
403
+ sessionId: string;
404
+ documentId: string;
405
+ generation: number;
406
+ sequence: number;
407
+ }>, z.ZodObject<{
408
+ type: z.ZodLiteral<"navigate">;
409
+ path: z.ZodString;
410
+ sessionId: z.ZodString;
411
+ documentId: z.ZodString;
412
+ generation: z.ZodNumber;
413
+ sequence: z.ZodNumber;
414
+ }, "strict", z.ZodTypeAny, {
415
+ type: "navigate";
416
+ path: string;
417
+ sessionId: string;
418
+ documentId: string;
419
+ generation: number;
420
+ sequence: number;
421
+ }, {
422
+ type: "navigate";
423
+ path: string;
424
+ sessionId: string;
425
+ documentId: string;
426
+ generation: number;
427
+ sequence: number;
428
+ }>, z.ZodObject<{
429
+ type: z.ZodLiteral<"error">;
430
+ code: z.ZodEnum<["invalid-snapshot", "render-error", "expired", "unsupported-navigation", "unsupported-template"]>;
431
+ sessionId: z.ZodString;
432
+ documentId: z.ZodString;
433
+ generation: z.ZodNumber;
434
+ sequence: z.ZodNumber;
435
+ }, "strict", z.ZodTypeAny, {
436
+ type: "error";
437
+ code: "invalid-snapshot" | "render-error" | "expired" | "unsupported-navigation" | "unsupported-template";
438
+ sessionId: string;
439
+ documentId: string;
440
+ generation: number;
441
+ sequence: number;
442
+ }, {
443
+ type: "error";
444
+ code: "invalid-snapshot" | "render-error" | "expired" | "unsupported-navigation" | "unsupported-template";
445
+ sessionId: string;
446
+ documentId: string;
447
+ generation: number;
448
+ sequence: number;
449
+ }>]>;
450
+ export type PreviewFrameMessage = z.infer<typeof previewFrameMessageSchema>;
451
+ export declare const previewHostMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
452
+ type: z.ZodLiteral<"snapshot">;
453
+ configuration: z.ZodType<ThemeConfiguration, z.ZodTypeDef, ThemeConfiguration>;
454
+ view: z.ZodObject<{
455
+ template: z.ZodString;
456
+ locale: z.ZodEnum<["en", "ar"]>;
457
+ resourceId: z.ZodOptional<z.ZodString>;
458
+ path: z.ZodString;
459
+ }, "strict", z.ZodTypeAny, {
460
+ template: string;
461
+ path: string;
462
+ locale: "en" | "ar";
463
+ resourceId?: string | undefined;
464
+ }, {
465
+ template: string;
466
+ path: string;
467
+ locale: "en" | "ar";
468
+ resourceId?: string | undefined;
469
+ }>;
470
+ inspect: z.ZodBoolean;
471
+ sessionId: z.ZodString;
472
+ documentId: z.ZodString;
473
+ generation: z.ZodNumber;
474
+ sequence: z.ZodNumber;
475
+ }, "strict", z.ZodTypeAny, {
476
+ type: "snapshot";
477
+ sessionId: string;
478
+ documentId: string;
479
+ generation: number;
480
+ inspect: boolean;
481
+ sequence: number;
482
+ configuration: ThemeConfiguration;
483
+ view: {
484
+ template: string;
485
+ path: string;
486
+ locale: "en" | "ar";
487
+ resourceId?: string | undefined;
488
+ };
489
+ }, {
490
+ type: "snapshot";
491
+ sessionId: string;
492
+ documentId: string;
493
+ generation: number;
494
+ inspect: boolean;
495
+ sequence: number;
496
+ configuration: ThemeConfiguration;
497
+ view: {
498
+ template: string;
499
+ path: string;
500
+ locale: "en" | "ar";
501
+ resourceId?: string | undefined;
502
+ };
503
+ }>, z.ZodObject<{
504
+ type: z.ZodLiteral<"selection">;
505
+ nodeId: z.ZodNullable<z.ZodString>;
506
+ scroll: z.ZodBoolean;
507
+ sessionId: z.ZodString;
508
+ documentId: z.ZodString;
509
+ generation: z.ZodNumber;
510
+ sequence: z.ZodNumber;
511
+ }, "strict", z.ZodTypeAny, {
512
+ type: "selection";
513
+ sessionId: string;
514
+ documentId: string;
515
+ generation: number;
516
+ sequence: number;
517
+ nodeId: string | null;
518
+ scroll: boolean;
519
+ }, {
520
+ type: "selection";
521
+ sessionId: string;
522
+ documentId: string;
523
+ generation: number;
524
+ sequence: number;
525
+ nodeId: string | null;
526
+ scroll: boolean;
527
+ }>, z.ZodObject<{
528
+ type: z.ZodLiteral<"drop-target">;
529
+ nodeId: z.ZodNullable<z.ZodString>;
530
+ valid: z.ZodBoolean;
531
+ sessionId: z.ZodString;
532
+ documentId: z.ZodString;
533
+ generation: z.ZodNumber;
534
+ sequence: z.ZodNumber;
535
+ }, "strict", z.ZodTypeAny, {
536
+ type: "drop-target";
537
+ valid: boolean;
538
+ sessionId: string;
539
+ documentId: string;
540
+ generation: number;
541
+ sequence: number;
542
+ nodeId: string | null;
543
+ }, {
544
+ type: "drop-target";
545
+ valid: boolean;
546
+ sessionId: string;
547
+ documentId: string;
548
+ generation: number;
549
+ sequence: number;
550
+ nodeId: string | null;
551
+ }>]>;
552
+ export type PreviewHostMessage = z.infer<typeof previewHostMessageSchema>;
553
+ export declare function samePreviewIdentity(a: PreviewIdentity, b: PreviewIdentity): boolean;
554
+ export declare function boundedPreviewMessage(value: unknown): boolean;
555
+ export declare function validPreviewSnapshot(manifest: MerchantManifest, value: unknown, installationId: string): value is ThemeConfiguration;
556
+ /** Matches Go's canonical JSON encoder for the finite JSON values in manifests. */
557
+ export declare function canonicalPreviewJson(value: unknown): string;
558
+ export {};
559
+ //# source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