@webstudio-is/sdk 0.142.0 → 0.143.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.
@@ -164,6 +164,7 @@ export declare const WebstudioFragment: z.ZodObject<{
164
164
  createdAt: z.ZodString;
165
165
  }, "strip", z.ZodTypeAny, {
166
166
  type: "font";
167
+ id: string;
167
168
  name: string;
168
169
  format: "ttf" | "woff" | "woff2" | "otf";
169
170
  meta: ({
@@ -191,13 +192,13 @@ export declare const WebstudioFragment: z.ZodObject<{
191
192
  max: number;
192
193
  }>>;
193
194
  } | undefined);
194
- id: string;
195
195
  projectId: string;
196
196
  size: number;
197
197
  description: string | null;
198
198
  createdAt: string;
199
199
  }, {
200
200
  type: "font";
201
+ id: string;
201
202
  name: string;
202
203
  format: "ttf" | "woff" | "woff2" | "otf";
203
204
  meta: ({
@@ -225,7 +226,6 @@ export declare const WebstudioFragment: z.ZodObject<{
225
226
  max: number;
226
227
  }>>;
227
228
  } | undefined);
228
- id: string;
229
229
  projectId: string;
230
230
  size: number;
231
231
  description: string | null;
@@ -251,26 +251,26 @@ export declare const WebstudioFragment: z.ZodObject<{
251
251
  createdAt: z.ZodString;
252
252
  }, "strip", z.ZodTypeAny, {
253
253
  type: "image";
254
+ id: string;
254
255
  name: string;
255
256
  format: string;
256
257
  meta: {
257
258
  width: number;
258
259
  height: number;
259
260
  };
260
- id: string;
261
261
  projectId: string;
262
262
  size: number;
263
263
  description: string | null;
264
264
  createdAt: string;
265
265
  }, {
266
266
  type: "image";
267
+ id: string;
267
268
  name: string;
268
269
  format: string;
269
270
  meta: {
270
271
  width: number;
271
272
  height: number;
272
273
  };
273
- id: string;
274
274
  projectId: string;
275
275
  size: number;
276
276
  description: string | null;
@@ -345,8 +345,8 @@ export declare const WebstudioFragment: z.ZodObject<{
345
345
  value?: unknown;
346
346
  };
347
347
  type: "variable";
348
- name: string;
349
348
  id: string;
349
+ name: string;
350
350
  scopeInstanceId?: string | undefined;
351
351
  }, {
352
352
  value: {
@@ -366,8 +366,8 @@ export declare const WebstudioFragment: z.ZodObject<{
366
366
  value?: unknown;
367
367
  };
368
368
  type: "variable";
369
- name: string;
370
369
  id: string;
370
+ name: string;
371
371
  scopeInstanceId?: string | undefined;
372
372
  }>, z.ZodObject<{
373
373
  type: z.ZodLiteral<"parameter">;
@@ -376,13 +376,13 @@ export declare const WebstudioFragment: z.ZodObject<{
376
376
  name: z.ZodString;
377
377
  }, "strip", z.ZodTypeAny, {
378
378
  type: "parameter";
379
- name: string;
380
379
  id: string;
380
+ name: string;
381
381
  scopeInstanceId?: string | undefined;
382
382
  }, {
383
383
  type: "parameter";
384
- name: string;
385
384
  id: string;
385
+ name: string;
386
386
  scopeInstanceId?: string | undefined;
387
387
  }>, z.ZodObject<{
388
388
  type: z.ZodLiteral<"resource">;
@@ -392,14 +392,14 @@ export declare const WebstudioFragment: z.ZodObject<{
392
392
  resourceId: z.ZodString;
393
393
  }, "strip", z.ZodTypeAny, {
394
394
  type: "resource";
395
- name: string;
396
395
  id: string;
396
+ name: string;
397
397
  resourceId: string;
398
398
  scopeInstanceId?: string | undefined;
399
399
  }, {
400
400
  type: "resource";
401
- name: string;
402
401
  id: string;
402
+ name: string;
403
403
  resourceId: string;
404
404
  scopeInstanceId?: string | undefined;
405
405
  }>]>, "many">;
@@ -420,9 +420,9 @@ export declare const WebstudioFragment: z.ZodObject<{
420
420
  }>, "many">;
421
421
  body: z.ZodOptional<z.ZodString>;
422
422
  }, "strip", z.ZodTypeAny, {
423
- name: string;
424
423
  id: string;
425
- method: "get" | "post" | "put" | "delete";
424
+ name: string;
425
+ method: "post" | "get" | "put" | "delete";
426
426
  url: string;
427
427
  headers: {
428
428
  value: string;
@@ -430,9 +430,9 @@ export declare const WebstudioFragment: z.ZodObject<{
430
430
  }[];
431
431
  body?: string | undefined;
432
432
  }, {
433
- name: string;
434
433
  id: string;
435
- method: "get" | "post" | "put" | "delete";
434
+ name: string;
435
+ method: "post" | "get" | "put" | "delete";
436
436
  url: string;
437
437
  headers: {
438
438
  value: string;
@@ -450,15 +450,15 @@ export declare const WebstudioFragment: z.ZodObject<{
450
450
  }, "strip", z.ZodTypeAny, {
451
451
  value: number;
452
452
  type: "number";
453
- name: string;
454
453
  id: string;
454
+ name: string;
455
455
  instanceId: string;
456
456
  required?: boolean | undefined;
457
457
  }, {
458
458
  value: number;
459
459
  type: "number";
460
- name: string;
461
460
  id: string;
461
+ name: string;
462
462
  instanceId: string;
463
463
  required?: boolean | undefined;
464
464
  }>, z.ZodObject<{
@@ -471,15 +471,15 @@ export declare const WebstudioFragment: z.ZodObject<{
471
471
  }, "strip", z.ZodTypeAny, {
472
472
  value: string;
473
473
  type: "string";
474
- name: string;
475
474
  id: string;
475
+ name: string;
476
476
  instanceId: string;
477
477
  required?: boolean | undefined;
478
478
  }, {
479
479
  value: string;
480
480
  type: "string";
481
- name: string;
482
481
  id: string;
482
+ name: string;
483
483
  instanceId: string;
484
484
  required?: boolean | undefined;
485
485
  }>, z.ZodObject<{
@@ -492,15 +492,15 @@ export declare const WebstudioFragment: z.ZodObject<{
492
492
  }, "strip", z.ZodTypeAny, {
493
493
  value: boolean;
494
494
  type: "boolean";
495
- name: string;
496
495
  id: string;
496
+ name: string;
497
497
  instanceId: string;
498
498
  required?: boolean | undefined;
499
499
  }, {
500
500
  value: boolean;
501
501
  type: "boolean";
502
- name: string;
503
502
  id: string;
503
+ name: string;
504
504
  instanceId: string;
505
505
  required?: boolean | undefined;
506
506
  }>, z.ZodObject<{
@@ -512,15 +512,15 @@ export declare const WebstudioFragment: z.ZodObject<{
512
512
  required: z.ZodOptional<z.ZodBoolean>;
513
513
  }, "strip", z.ZodTypeAny, {
514
514
  type: "json";
515
- name: string;
516
515
  id: string;
516
+ name: string;
517
517
  instanceId: string;
518
518
  value?: unknown;
519
519
  required?: boolean | undefined;
520
520
  }, {
521
521
  type: "json";
522
- name: string;
523
522
  id: string;
523
+ name: string;
524
524
  instanceId: string;
525
525
  value?: unknown;
526
526
  required?: boolean | undefined;
@@ -534,15 +534,15 @@ export declare const WebstudioFragment: z.ZodObject<{
534
534
  }, "strip", z.ZodTypeAny, {
535
535
  value: string;
536
536
  type: "asset";
537
- name: string;
538
537
  id: string;
538
+ name: string;
539
539
  instanceId: string;
540
540
  required?: boolean | undefined;
541
541
  }, {
542
542
  value: string;
543
543
  type: "asset";
544
- name: string;
545
544
  id: string;
545
+ name: string;
546
546
  instanceId: string;
547
547
  required?: boolean | undefined;
548
548
  }>, z.ZodObject<{
@@ -570,8 +570,8 @@ export declare const WebstudioFragment: z.ZodObject<{
570
570
  pageId: string;
571
571
  } | undefined);
572
572
  type: "page";
573
- name: string;
574
573
  id: string;
574
+ name: string;
575
575
  instanceId: string;
576
576
  required?: boolean | undefined;
577
577
  }, {
@@ -583,8 +583,8 @@ export declare const WebstudioFragment: z.ZodObject<{
583
583
  pageId: string;
584
584
  } | undefined);
585
585
  type: "page";
586
- name: string;
587
586
  id: string;
587
+ name: string;
588
588
  instanceId: string;
589
589
  required?: boolean | undefined;
590
590
  }>, z.ZodObject<{
@@ -597,15 +597,15 @@ export declare const WebstudioFragment: z.ZodObject<{
597
597
  }, "strip", z.ZodTypeAny, {
598
598
  value: string[];
599
599
  type: "string[]";
600
- name: string;
601
600
  id: string;
601
+ name: string;
602
602
  instanceId: string;
603
603
  required?: boolean | undefined;
604
604
  }, {
605
605
  value: string[];
606
606
  type: "string[]";
607
- name: string;
608
607
  id: string;
608
+ name: string;
609
609
  instanceId: string;
610
610
  required?: boolean | undefined;
611
611
  }>, z.ZodObject<{
@@ -618,15 +618,15 @@ export declare const WebstudioFragment: z.ZodObject<{
618
618
  }, "strip", z.ZodTypeAny, {
619
619
  value: string;
620
620
  type: "parameter";
621
- name: string;
622
621
  id: string;
622
+ name: string;
623
623
  instanceId: string;
624
624
  required?: boolean | undefined;
625
625
  }, {
626
626
  value: string;
627
627
  type: "parameter";
628
- name: string;
629
628
  id: string;
629
+ name: string;
630
630
  instanceId: string;
631
631
  required?: boolean | undefined;
632
632
  }>, z.ZodObject<{
@@ -639,15 +639,15 @@ export declare const WebstudioFragment: z.ZodObject<{
639
639
  }, "strip", z.ZodTypeAny, {
640
640
  value: string;
641
641
  type: "expression";
642
- name: string;
643
642
  id: string;
643
+ name: string;
644
644
  instanceId: string;
645
645
  required?: boolean | undefined;
646
646
  }, {
647
647
  value: string;
648
648
  type: "expression";
649
- name: string;
650
649
  id: string;
650
+ name: string;
651
651
  instanceId: string;
652
652
  required?: boolean | undefined;
653
653
  }>, z.ZodObject<{
@@ -676,8 +676,8 @@ export declare const WebstudioFragment: z.ZodObject<{
676
676
  args: string[];
677
677
  }[];
678
678
  type: "action";
679
- name: string;
680
679
  id: string;
680
+ name: string;
681
681
  instanceId: string;
682
682
  required?: boolean | undefined;
683
683
  }, {
@@ -687,8 +687,8 @@ export declare const WebstudioFragment: z.ZodObject<{
687
687
  args: string[];
688
688
  }[];
689
689
  type: "action";
690
- name: string;
691
690
  id: string;
691
+ name: string;
692
692
  instanceId: string;
693
693
  required?: boolean | undefined;
694
694
  }>]>, "many">;
@@ -734,12 +734,12 @@ export declare const WebstudioFragment: z.ZodObject<{
734
734
  name: z.ZodString;
735
735
  }, "strip", z.ZodTypeAny, {
736
736
  type: "token";
737
- name: string;
738
737
  id: string;
738
+ name: string;
739
739
  }, {
740
740
  type: "token";
741
- name: string;
742
741
  id: string;
742
+ name: string;
743
743
  }>, z.ZodObject<{
744
744
  type: z.ZodLiteral<"local">;
745
745
  id: z.ZodString;
@@ -767,9 +767,9 @@ export declare const WebstudioFragment: z.ZodObject<{
767
767
  type: "fontFamily";
768
768
  } | {
769
769
  type: "rgb";
770
+ b: number;
770
771
  r: number;
771
772
  g: number;
772
- b: number;
773
773
  alpha: number;
774
774
  } | {
775
775
  type: "function";
@@ -790,9 +790,9 @@ export declare const WebstudioFragment: z.ZodObject<{
790
790
  type: "fontFamily";
791
791
  } | {
792
792
  type: "rgb";
793
+ b: number;
793
794
  r: number;
794
795
  g: number;
795
- b: number;
796
796
  alpha: number;
797
797
  } | any | {
798
798
  value: {
@@ -818,9 +818,9 @@ export declare const WebstudioFragment: z.ZodObject<{
818
818
  hidden?: boolean | undefined;
819
819
  } | {
820
820
  type: "rgb";
821
+ b: number;
821
822
  r: number;
822
823
  g: number;
823
- b: number;
824
824
  alpha: number;
825
825
  } | any)[];
826
826
  type: "tuple";
@@ -864,9 +864,9 @@ export declare const WebstudioFragment: z.ZodObject<{
864
864
  hidden?: boolean | undefined;
865
865
  } | {
866
866
  type: "rgb";
867
+ b: number;
867
868
  r: number;
868
869
  g: number;
869
- b: number;
870
870
  alpha: number;
871
871
  } | any)[];
872
872
  type: "tuple";
@@ -876,6 +876,8 @@ export declare const WebstudioFragment: z.ZodObject<{
876
876
  type: "invalid";
877
877
  })[];
878
878
  type: "layers";
879
+ } | {
880
+ type: "guaranteedInvalid";
879
881
  } | {
880
882
  value: "";
881
883
  type: "unset";
@@ -898,9 +900,9 @@ export declare const WebstudioFragment: z.ZodObject<{
898
900
  type: "fontFamily";
899
901
  } | {
900
902
  type: "rgb";
903
+ b: number;
901
904
  r: number;
902
905
  g: number;
903
- b: number;
904
906
  alpha: number;
905
907
  } | any | {
906
908
  value: {
@@ -926,9 +928,9 @@ export declare const WebstudioFragment: z.ZodObject<{
926
928
  hidden?: boolean | undefined;
927
929
  } | {
928
930
  type: "rgb";
931
+ b: number;
929
932
  r: number;
930
933
  g: number;
931
- b: number;
932
934
  alpha: number;
933
935
  } | any)[];
934
936
  type: "tuple";
@@ -969,9 +971,9 @@ export declare const WebstudioFragment: z.ZodObject<{
969
971
  hidden?: boolean | undefined;
970
972
  } | {
971
973
  type: "rgb";
974
+ b: number;
972
975
  r: number;
973
976
  g: number;
974
- b: number;
975
977
  alpha: number;
976
978
  } | any)[];
977
979
  type: "tuple";
@@ -981,6 +983,8 @@ export declare const WebstudioFragment: z.ZodObject<{
981
983
  type: "invalid";
982
984
  })[];
983
985
  type: "layers";
986
+ } | {
987
+ type: "guaranteedInvalid";
984
988
  })[];
985
989
  };
986
990
  } | {
@@ -1007,9 +1011,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1007
1011
  hidden?: boolean | undefined;
1008
1012
  } | {
1009
1013
  type: "rgb";
1014
+ b: number;
1010
1015
  r: number;
1011
1016
  g: number;
1012
- b: number;
1013
1017
  alpha: number;
1014
1018
  } | any)[];
1015
1019
  type: "tuple";
@@ -1053,9 +1057,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1053
1057
  hidden?: boolean | undefined;
1054
1058
  } | {
1055
1059
  type: "rgb";
1060
+ b: number;
1056
1061
  r: number;
1057
1062
  g: number;
1058
- b: number;
1059
1063
  alpha: number;
1060
1064
  } | any)[];
1061
1065
  type: "tuple";
@@ -1065,6 +1069,8 @@ export declare const WebstudioFragment: z.ZodObject<{
1065
1069
  type: "invalid";
1066
1070
  })[];
1067
1071
  type: "layers";
1072
+ } | {
1073
+ type: "guaranteedInvalid";
1068
1074
  } | {
1069
1075
  value: "";
1070
1076
  type: "unset";
@@ -1087,9 +1093,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1087
1093
  type: "fontFamily";
1088
1094
  } | {
1089
1095
  type: "rgb";
1096
+ b: number;
1090
1097
  r: number;
1091
1098
  g: number;
1092
- b: number;
1093
1099
  alpha: number;
1094
1100
  } | any | {
1095
1101
  value: {
@@ -1115,9 +1121,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1115
1121
  hidden?: boolean | undefined;
1116
1122
  } | {
1117
1123
  type: "rgb";
1124
+ b: number;
1118
1125
  r: number;
1119
1126
  g: number;
1120
- b: number;
1121
1127
  alpha: number;
1122
1128
  } | any)[];
1123
1129
  type: "tuple";
@@ -1158,9 +1164,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1158
1164
  hidden?: boolean | undefined;
1159
1165
  } | {
1160
1166
  type: "rgb";
1167
+ b: number;
1161
1168
  r: number;
1162
1169
  g: number;
1163
- b: number;
1164
1170
  alpha: number;
1165
1171
  } | any)[];
1166
1172
  type: "tuple";
@@ -1170,6 +1176,8 @@ export declare const WebstudioFragment: z.ZodObject<{
1170
1176
  type: "invalid";
1171
1177
  })[];
1172
1178
  type: "layers";
1179
+ } | {
1180
+ type: "guaranteedInvalid";
1173
1181
  })[];
1174
1182
  };
1175
1183
  styleSourceId: string;
@@ -1193,9 +1201,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1193
1201
  type: "fontFamily";
1194
1202
  } | {
1195
1203
  type: "rgb";
1204
+ b: number;
1196
1205
  r: number;
1197
1206
  g: number;
1198
- b: number;
1199
1207
  alpha: number;
1200
1208
  } | {
1201
1209
  type: "function";
@@ -1216,9 +1224,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1216
1224
  type: "fontFamily";
1217
1225
  } | {
1218
1226
  type: "rgb";
1227
+ b: number;
1219
1228
  r: number;
1220
1229
  g: number;
1221
- b: number;
1222
1230
  alpha: number;
1223
1231
  } | any | {
1224
1232
  value: {
@@ -1244,9 +1252,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1244
1252
  hidden?: boolean | undefined;
1245
1253
  } | {
1246
1254
  type: "rgb";
1255
+ b: number;
1247
1256
  r: number;
1248
1257
  g: number;
1249
- b: number;
1250
1258
  alpha: number;
1251
1259
  } | any)[];
1252
1260
  type: "tuple";
@@ -1290,9 +1298,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1290
1298
  hidden?: boolean | undefined;
1291
1299
  } | {
1292
1300
  type: "rgb";
1301
+ b: number;
1293
1302
  r: number;
1294
1303
  g: number;
1295
- b: number;
1296
1304
  alpha: number;
1297
1305
  } | any)[];
1298
1306
  type: "tuple";
@@ -1302,6 +1310,8 @@ export declare const WebstudioFragment: z.ZodObject<{
1302
1310
  type: "invalid";
1303
1311
  })[];
1304
1312
  type: "layers";
1313
+ } | {
1314
+ type: "guaranteedInvalid";
1305
1315
  } | {
1306
1316
  value: "";
1307
1317
  type: "unset";
@@ -1324,9 +1334,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1324
1334
  type: "fontFamily";
1325
1335
  } | {
1326
1336
  type: "rgb";
1337
+ b: number;
1327
1338
  r: number;
1328
1339
  g: number;
1329
- b: number;
1330
1340
  alpha: number;
1331
1341
  } | any | {
1332
1342
  value: {
@@ -1352,9 +1362,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1352
1362
  hidden?: boolean | undefined;
1353
1363
  } | {
1354
1364
  type: "rgb";
1365
+ b: number;
1355
1366
  r: number;
1356
1367
  g: number;
1357
- b: number;
1358
1368
  alpha: number;
1359
1369
  } | any)[];
1360
1370
  type: "tuple";
@@ -1395,9 +1405,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1395
1405
  hidden?: boolean | undefined;
1396
1406
  } | {
1397
1407
  type: "rgb";
1408
+ b: number;
1398
1409
  r: number;
1399
1410
  g: number;
1400
- b: number;
1401
1411
  alpha: number;
1402
1412
  } | any)[];
1403
1413
  type: "tuple";
@@ -1407,6 +1417,8 @@ export declare const WebstudioFragment: z.ZodObject<{
1407
1417
  type: "invalid";
1408
1418
  })[];
1409
1419
  type: "layers";
1420
+ } | {
1421
+ type: "guaranteedInvalid";
1410
1422
  })[];
1411
1423
  };
1412
1424
  } | {
@@ -1433,9 +1445,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1433
1445
  hidden?: boolean | undefined;
1434
1446
  } | {
1435
1447
  type: "rgb";
1448
+ b: number;
1436
1449
  r: number;
1437
1450
  g: number;
1438
- b: number;
1439
1451
  alpha: number;
1440
1452
  } | any)[];
1441
1453
  type: "tuple";
@@ -1479,9 +1491,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1479
1491
  hidden?: boolean | undefined;
1480
1492
  } | {
1481
1493
  type: "rgb";
1494
+ b: number;
1482
1495
  r: number;
1483
1496
  g: number;
1484
- b: number;
1485
1497
  alpha: number;
1486
1498
  } | any)[];
1487
1499
  type: "tuple";
@@ -1491,6 +1503,8 @@ export declare const WebstudioFragment: z.ZodObject<{
1491
1503
  type: "invalid";
1492
1504
  })[];
1493
1505
  type: "layers";
1506
+ } | {
1507
+ type: "guaranteedInvalid";
1494
1508
  } | {
1495
1509
  value: "";
1496
1510
  type: "unset";
@@ -1513,9 +1527,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1513
1527
  type: "fontFamily";
1514
1528
  } | {
1515
1529
  type: "rgb";
1530
+ b: number;
1516
1531
  r: number;
1517
1532
  g: number;
1518
- b: number;
1519
1533
  alpha: number;
1520
1534
  } | any | {
1521
1535
  value: {
@@ -1541,9 +1555,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1541
1555
  hidden?: boolean | undefined;
1542
1556
  } | {
1543
1557
  type: "rgb";
1558
+ b: number;
1544
1559
  r: number;
1545
1560
  g: number;
1546
- b: number;
1547
1561
  alpha: number;
1548
1562
  } | any)[];
1549
1563
  type: "tuple";
@@ -1584,9 +1598,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1584
1598
  hidden?: boolean | undefined;
1585
1599
  } | {
1586
1600
  type: "rgb";
1601
+ b: number;
1587
1602
  r: number;
1588
1603
  g: number;
1589
- b: number;
1590
1604
  alpha: number;
1591
1605
  } | any)[];
1592
1606
  type: "tuple";
@@ -1596,6 +1610,8 @@ export declare const WebstudioFragment: z.ZodObject<{
1596
1610
  type: "invalid";
1597
1611
  })[];
1598
1612
  type: "layers";
1613
+ } | {
1614
+ type: "guaranteedInvalid";
1599
1615
  })[];
1600
1616
  };
1601
1617
  styleSourceId: string;
@@ -1604,6 +1620,39 @@ export declare const WebstudioFragment: z.ZodObject<{
1604
1620
  property: import("@webstudio-is/css-engine").StyleProperty;
1605
1621
  }>, "many">;
1606
1622
  }, "strip", z.ZodTypeAny, {
1623
+ dataSources: ({
1624
+ value: {
1625
+ value: number;
1626
+ type: "number";
1627
+ } | {
1628
+ value: string;
1629
+ type: "string";
1630
+ } | {
1631
+ value: boolean;
1632
+ type: "boolean";
1633
+ } | {
1634
+ value: string[];
1635
+ type: "string[]";
1636
+ } | {
1637
+ type: "json";
1638
+ value?: unknown;
1639
+ };
1640
+ type: "variable";
1641
+ id: string;
1642
+ name: string;
1643
+ scopeInstanceId?: string | undefined;
1644
+ } | {
1645
+ type: "parameter";
1646
+ id: string;
1647
+ name: string;
1648
+ scopeInstanceId?: string | undefined;
1649
+ } | {
1650
+ type: "resource";
1651
+ id: string;
1652
+ name: string;
1653
+ resourceId: string;
1654
+ scopeInstanceId?: string | undefined;
1655
+ })[];
1607
1656
  children: ({
1608
1657
  value: string;
1609
1658
  type: "text";
@@ -1632,6 +1681,7 @@ export declare const WebstudioFragment: z.ZodObject<{
1632
1681
  }[];
1633
1682
  assets: ({
1634
1683
  type: "font";
1684
+ id: string;
1635
1685
  name: string;
1636
1686
  format: "ttf" | "woff" | "woff2" | "otf";
1637
1687
  meta: ({
@@ -1659,62 +1709,28 @@ export declare const WebstudioFragment: z.ZodObject<{
1659
1709
  max: number;
1660
1710
  }>>;
1661
1711
  } | undefined);
1662
- id: string;
1663
1712
  projectId: string;
1664
1713
  size: number;
1665
1714
  description: string | null;
1666
1715
  createdAt: string;
1667
1716
  } | {
1668
1717
  type: "image";
1718
+ id: string;
1669
1719
  name: string;
1670
1720
  format: string;
1671
1721
  meta: {
1672
1722
  width: number;
1673
1723
  height: number;
1674
1724
  };
1675
- id: string;
1676
1725
  projectId: string;
1677
1726
  size: number;
1678
1727
  description: string | null;
1679
1728
  createdAt: string;
1680
1729
  })[];
1681
- dataSources: ({
1682
- value: {
1683
- value: number;
1684
- type: "number";
1685
- } | {
1686
- value: string;
1687
- type: "string";
1688
- } | {
1689
- value: boolean;
1690
- type: "boolean";
1691
- } | {
1692
- value: string[];
1693
- type: "string[]";
1694
- } | {
1695
- type: "json";
1696
- value?: unknown;
1697
- };
1698
- type: "variable";
1699
- name: string;
1700
- id: string;
1701
- scopeInstanceId?: string | undefined;
1702
- } | {
1703
- type: "parameter";
1704
- name: string;
1705
- id: string;
1706
- scopeInstanceId?: string | undefined;
1707
- } | {
1708
- type: "resource";
1709
- name: string;
1710
- id: string;
1711
- resourceId: string;
1712
- scopeInstanceId?: string | undefined;
1713
- })[];
1714
1730
  resources: {
1715
- name: string;
1716
1731
  id: string;
1717
- method: "get" | "post" | "put" | "delete";
1732
+ name: string;
1733
+ method: "post" | "get" | "put" | "delete";
1718
1734
  url: string;
1719
1735
  headers: {
1720
1736
  value: string;
@@ -1725,36 +1741,36 @@ export declare const WebstudioFragment: z.ZodObject<{
1725
1741
  props: ({
1726
1742
  value: number;
1727
1743
  type: "number";
1728
- name: string;
1729
1744
  id: string;
1745
+ name: string;
1730
1746
  instanceId: string;
1731
1747
  required?: boolean | undefined;
1732
1748
  } | {
1733
1749
  value: string;
1734
1750
  type: "string";
1735
- name: string;
1736
1751
  id: string;
1752
+ name: string;
1737
1753
  instanceId: string;
1738
1754
  required?: boolean | undefined;
1739
1755
  } | {
1740
1756
  value: boolean;
1741
1757
  type: "boolean";
1742
- name: string;
1743
1758
  id: string;
1759
+ name: string;
1744
1760
  instanceId: string;
1745
1761
  required?: boolean | undefined;
1746
1762
  } | {
1747
1763
  type: "json";
1748
- name: string;
1749
1764
  id: string;
1765
+ name: string;
1750
1766
  instanceId: string;
1751
1767
  value?: unknown;
1752
1768
  required?: boolean | undefined;
1753
1769
  } | {
1754
1770
  value: string;
1755
1771
  type: "asset";
1756
- name: string;
1757
1772
  id: string;
1773
+ name: string;
1758
1774
  instanceId: string;
1759
1775
  required?: boolean | undefined;
1760
1776
  } | {
@@ -1766,29 +1782,29 @@ export declare const WebstudioFragment: z.ZodObject<{
1766
1782
  pageId: string;
1767
1783
  } | undefined);
1768
1784
  type: "page";
1769
- name: string;
1770
1785
  id: string;
1786
+ name: string;
1771
1787
  instanceId: string;
1772
1788
  required?: boolean | undefined;
1773
1789
  } | {
1774
1790
  value: string[];
1775
1791
  type: "string[]";
1776
- name: string;
1777
1792
  id: string;
1793
+ name: string;
1778
1794
  instanceId: string;
1779
1795
  required?: boolean | undefined;
1780
1796
  } | {
1781
1797
  value: string;
1782
1798
  type: "parameter";
1783
- name: string;
1784
1799
  id: string;
1800
+ name: string;
1785
1801
  instanceId: string;
1786
1802
  required?: boolean | undefined;
1787
1803
  } | {
1788
1804
  value: string;
1789
1805
  type: "expression";
1790
- name: string;
1791
1806
  id: string;
1807
+ name: string;
1792
1808
  instanceId: string;
1793
1809
  required?: boolean | undefined;
1794
1810
  } | {
@@ -1798,8 +1814,8 @@ export declare const WebstudioFragment: z.ZodObject<{
1798
1814
  args: string[];
1799
1815
  }[];
1800
1816
  type: "action";
1801
- name: string;
1802
1817
  id: string;
1818
+ name: string;
1803
1819
  instanceId: string;
1804
1820
  required?: boolean | undefined;
1805
1821
  })[];
@@ -1815,8 +1831,8 @@ export declare const WebstudioFragment: z.ZodObject<{
1815
1831
  }[];
1816
1832
  styleSources: ({
1817
1833
  type: "token";
1818
- name: string;
1819
1834
  id: string;
1835
+ name: string;
1820
1836
  } | {
1821
1837
  type: "local";
1822
1838
  id: string;
@@ -1838,9 +1854,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1838
1854
  type: "fontFamily";
1839
1855
  } | {
1840
1856
  type: "rgb";
1857
+ b: number;
1841
1858
  r: number;
1842
1859
  g: number;
1843
- b: number;
1844
1860
  alpha: number;
1845
1861
  } | {
1846
1862
  type: "function";
@@ -1861,9 +1877,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1861
1877
  type: "fontFamily";
1862
1878
  } | {
1863
1879
  type: "rgb";
1880
+ b: number;
1864
1881
  r: number;
1865
1882
  g: number;
1866
- b: number;
1867
1883
  alpha: number;
1868
1884
  } | any | {
1869
1885
  value: {
@@ -1889,9 +1905,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1889
1905
  hidden?: boolean | undefined;
1890
1906
  } | {
1891
1907
  type: "rgb";
1908
+ b: number;
1892
1909
  r: number;
1893
1910
  g: number;
1894
- b: number;
1895
1911
  alpha: number;
1896
1912
  } | any)[];
1897
1913
  type: "tuple";
@@ -1935,9 +1951,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1935
1951
  hidden?: boolean | undefined;
1936
1952
  } | {
1937
1953
  type: "rgb";
1954
+ b: number;
1938
1955
  r: number;
1939
1956
  g: number;
1940
- b: number;
1941
1957
  alpha: number;
1942
1958
  } | any)[];
1943
1959
  type: "tuple";
@@ -1947,6 +1963,8 @@ export declare const WebstudioFragment: z.ZodObject<{
1947
1963
  type: "invalid";
1948
1964
  })[];
1949
1965
  type: "layers";
1966
+ } | {
1967
+ type: "guaranteedInvalid";
1950
1968
  } | {
1951
1969
  value: "";
1952
1970
  type: "unset";
@@ -1969,9 +1987,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1969
1987
  type: "fontFamily";
1970
1988
  } | {
1971
1989
  type: "rgb";
1990
+ b: number;
1972
1991
  r: number;
1973
1992
  g: number;
1974
- b: number;
1975
1993
  alpha: number;
1976
1994
  } | any | {
1977
1995
  value: {
@@ -1997,9 +2015,9 @@ export declare const WebstudioFragment: z.ZodObject<{
1997
2015
  hidden?: boolean | undefined;
1998
2016
  } | {
1999
2017
  type: "rgb";
2018
+ b: number;
2000
2019
  r: number;
2001
2020
  g: number;
2002
- b: number;
2003
2021
  alpha: number;
2004
2022
  } | any)[];
2005
2023
  type: "tuple";
@@ -2040,9 +2058,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2040
2058
  hidden?: boolean | undefined;
2041
2059
  } | {
2042
2060
  type: "rgb";
2061
+ b: number;
2043
2062
  r: number;
2044
2063
  g: number;
2045
- b: number;
2046
2064
  alpha: number;
2047
2065
  } | any)[];
2048
2066
  type: "tuple";
@@ -2052,6 +2070,8 @@ export declare const WebstudioFragment: z.ZodObject<{
2052
2070
  type: "invalid";
2053
2071
  })[];
2054
2072
  type: "layers";
2073
+ } | {
2074
+ type: "guaranteedInvalid";
2055
2075
  })[];
2056
2076
  };
2057
2077
  } | {
@@ -2078,9 +2098,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2078
2098
  hidden?: boolean | undefined;
2079
2099
  } | {
2080
2100
  type: "rgb";
2101
+ b: number;
2081
2102
  r: number;
2082
2103
  g: number;
2083
- b: number;
2084
2104
  alpha: number;
2085
2105
  } | any)[];
2086
2106
  type: "tuple";
@@ -2124,9 +2144,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2124
2144
  hidden?: boolean | undefined;
2125
2145
  } | {
2126
2146
  type: "rgb";
2147
+ b: number;
2127
2148
  r: number;
2128
2149
  g: number;
2129
- b: number;
2130
2150
  alpha: number;
2131
2151
  } | any)[];
2132
2152
  type: "tuple";
@@ -2136,6 +2156,8 @@ export declare const WebstudioFragment: z.ZodObject<{
2136
2156
  type: "invalid";
2137
2157
  })[];
2138
2158
  type: "layers";
2159
+ } | {
2160
+ type: "guaranteedInvalid";
2139
2161
  } | {
2140
2162
  value: "";
2141
2163
  type: "unset";
@@ -2158,9 +2180,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2158
2180
  type: "fontFamily";
2159
2181
  } | {
2160
2182
  type: "rgb";
2183
+ b: number;
2161
2184
  r: number;
2162
2185
  g: number;
2163
- b: number;
2164
2186
  alpha: number;
2165
2187
  } | any | {
2166
2188
  value: {
@@ -2186,9 +2208,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2186
2208
  hidden?: boolean | undefined;
2187
2209
  } | {
2188
2210
  type: "rgb";
2211
+ b: number;
2189
2212
  r: number;
2190
2213
  g: number;
2191
- b: number;
2192
2214
  alpha: number;
2193
2215
  } | any)[];
2194
2216
  type: "tuple";
@@ -2229,9 +2251,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2229
2251
  hidden?: boolean | undefined;
2230
2252
  } | {
2231
2253
  type: "rgb";
2254
+ b: number;
2232
2255
  r: number;
2233
2256
  g: number;
2234
- b: number;
2235
2257
  alpha: number;
2236
2258
  } | any)[];
2237
2259
  type: "tuple";
@@ -2241,6 +2263,8 @@ export declare const WebstudioFragment: z.ZodObject<{
2241
2263
  type: "invalid";
2242
2264
  })[];
2243
2265
  type: "layers";
2266
+ } | {
2267
+ type: "guaranteedInvalid";
2244
2268
  })[];
2245
2269
  };
2246
2270
  styleSourceId: string;
@@ -2249,6 +2273,39 @@ export declare const WebstudioFragment: z.ZodObject<{
2249
2273
  property: import("@webstudio-is/css-engine").StyleProperty;
2250
2274
  }[];
2251
2275
  }, {
2276
+ dataSources: ({
2277
+ value: {
2278
+ value: number;
2279
+ type: "number";
2280
+ } | {
2281
+ value: string;
2282
+ type: "string";
2283
+ } | {
2284
+ value: boolean;
2285
+ type: "boolean";
2286
+ } | {
2287
+ value: string[];
2288
+ type: "string[]";
2289
+ } | {
2290
+ type: "json";
2291
+ value?: unknown;
2292
+ };
2293
+ type: "variable";
2294
+ id: string;
2295
+ name: string;
2296
+ scopeInstanceId?: string | undefined;
2297
+ } | {
2298
+ type: "parameter";
2299
+ id: string;
2300
+ name: string;
2301
+ scopeInstanceId?: string | undefined;
2302
+ } | {
2303
+ type: "resource";
2304
+ id: string;
2305
+ name: string;
2306
+ resourceId: string;
2307
+ scopeInstanceId?: string | undefined;
2308
+ })[];
2252
2309
  children: ({
2253
2310
  value: string;
2254
2311
  type: "text";
@@ -2277,6 +2334,7 @@ export declare const WebstudioFragment: z.ZodObject<{
2277
2334
  }[];
2278
2335
  assets: ({
2279
2336
  type: "font";
2337
+ id: string;
2280
2338
  name: string;
2281
2339
  format: "ttf" | "woff" | "woff2" | "otf";
2282
2340
  meta: ({
@@ -2304,62 +2362,28 @@ export declare const WebstudioFragment: z.ZodObject<{
2304
2362
  max: number;
2305
2363
  }>>;
2306
2364
  } | undefined);
2307
- id: string;
2308
2365
  projectId: string;
2309
2366
  size: number;
2310
2367
  description: string | null;
2311
2368
  createdAt: string;
2312
2369
  } | {
2313
2370
  type: "image";
2371
+ id: string;
2314
2372
  name: string;
2315
2373
  format: string;
2316
2374
  meta: {
2317
2375
  width: number;
2318
2376
  height: number;
2319
2377
  };
2320
- id: string;
2321
2378
  projectId: string;
2322
2379
  size: number;
2323
2380
  description: string | null;
2324
2381
  createdAt: string;
2325
2382
  })[];
2326
- dataSources: ({
2327
- value: {
2328
- value: number;
2329
- type: "number";
2330
- } | {
2331
- value: string;
2332
- type: "string";
2333
- } | {
2334
- value: boolean;
2335
- type: "boolean";
2336
- } | {
2337
- value: string[];
2338
- type: "string[]";
2339
- } | {
2340
- type: "json";
2341
- value?: unknown;
2342
- };
2343
- type: "variable";
2344
- name: string;
2345
- id: string;
2346
- scopeInstanceId?: string | undefined;
2347
- } | {
2348
- type: "parameter";
2349
- name: string;
2350
- id: string;
2351
- scopeInstanceId?: string | undefined;
2352
- } | {
2353
- type: "resource";
2354
- name: string;
2355
- id: string;
2356
- resourceId: string;
2357
- scopeInstanceId?: string | undefined;
2358
- })[];
2359
2383
  resources: {
2360
- name: string;
2361
2384
  id: string;
2362
- method: "get" | "post" | "put" | "delete";
2385
+ name: string;
2386
+ method: "post" | "get" | "put" | "delete";
2363
2387
  url: string;
2364
2388
  headers: {
2365
2389
  value: string;
@@ -2370,36 +2394,36 @@ export declare const WebstudioFragment: z.ZodObject<{
2370
2394
  props: ({
2371
2395
  value: number;
2372
2396
  type: "number";
2373
- name: string;
2374
2397
  id: string;
2398
+ name: string;
2375
2399
  instanceId: string;
2376
2400
  required?: boolean | undefined;
2377
2401
  } | {
2378
2402
  value: string;
2379
2403
  type: "string";
2380
- name: string;
2381
2404
  id: string;
2405
+ name: string;
2382
2406
  instanceId: string;
2383
2407
  required?: boolean | undefined;
2384
2408
  } | {
2385
2409
  value: boolean;
2386
2410
  type: "boolean";
2387
- name: string;
2388
2411
  id: string;
2412
+ name: string;
2389
2413
  instanceId: string;
2390
2414
  required?: boolean | undefined;
2391
2415
  } | {
2392
2416
  type: "json";
2393
- name: string;
2394
2417
  id: string;
2418
+ name: string;
2395
2419
  instanceId: string;
2396
2420
  value?: unknown;
2397
2421
  required?: boolean | undefined;
2398
2422
  } | {
2399
2423
  value: string;
2400
2424
  type: "asset";
2401
- name: string;
2402
2425
  id: string;
2426
+ name: string;
2403
2427
  instanceId: string;
2404
2428
  required?: boolean | undefined;
2405
2429
  } | {
@@ -2411,29 +2435,29 @@ export declare const WebstudioFragment: z.ZodObject<{
2411
2435
  pageId: string;
2412
2436
  } | undefined);
2413
2437
  type: "page";
2414
- name: string;
2415
2438
  id: string;
2439
+ name: string;
2416
2440
  instanceId: string;
2417
2441
  required?: boolean | undefined;
2418
2442
  } | {
2419
2443
  value: string[];
2420
2444
  type: "string[]";
2421
- name: string;
2422
2445
  id: string;
2446
+ name: string;
2423
2447
  instanceId: string;
2424
2448
  required?: boolean | undefined;
2425
2449
  } | {
2426
2450
  value: string;
2427
2451
  type: "parameter";
2428
- name: string;
2429
2452
  id: string;
2453
+ name: string;
2430
2454
  instanceId: string;
2431
2455
  required?: boolean | undefined;
2432
2456
  } | {
2433
2457
  value: string;
2434
2458
  type: "expression";
2435
- name: string;
2436
2459
  id: string;
2460
+ name: string;
2437
2461
  instanceId: string;
2438
2462
  required?: boolean | undefined;
2439
2463
  } | {
@@ -2443,8 +2467,8 @@ export declare const WebstudioFragment: z.ZodObject<{
2443
2467
  args: string[];
2444
2468
  }[];
2445
2469
  type: "action";
2446
- name: string;
2447
2470
  id: string;
2471
+ name: string;
2448
2472
  instanceId: string;
2449
2473
  required?: boolean | undefined;
2450
2474
  })[];
@@ -2460,8 +2484,8 @@ export declare const WebstudioFragment: z.ZodObject<{
2460
2484
  }[];
2461
2485
  styleSources: ({
2462
2486
  type: "token";
2463
- name: string;
2464
2487
  id: string;
2488
+ name: string;
2465
2489
  } | {
2466
2490
  type: "local";
2467
2491
  id: string;
@@ -2483,9 +2507,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2483
2507
  type: "fontFamily";
2484
2508
  } | {
2485
2509
  type: "rgb";
2510
+ b: number;
2486
2511
  r: number;
2487
2512
  g: number;
2488
- b: number;
2489
2513
  alpha: number;
2490
2514
  } | {
2491
2515
  type: "function";
@@ -2506,9 +2530,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2506
2530
  type: "fontFamily";
2507
2531
  } | {
2508
2532
  type: "rgb";
2533
+ b: number;
2509
2534
  r: number;
2510
2535
  g: number;
2511
- b: number;
2512
2536
  alpha: number;
2513
2537
  } | any | {
2514
2538
  value: {
@@ -2534,9 +2558,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2534
2558
  hidden?: boolean | undefined;
2535
2559
  } | {
2536
2560
  type: "rgb";
2561
+ b: number;
2537
2562
  r: number;
2538
2563
  g: number;
2539
- b: number;
2540
2564
  alpha: number;
2541
2565
  } | any)[];
2542
2566
  type: "tuple";
@@ -2580,9 +2604,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2580
2604
  hidden?: boolean | undefined;
2581
2605
  } | {
2582
2606
  type: "rgb";
2607
+ b: number;
2583
2608
  r: number;
2584
2609
  g: number;
2585
- b: number;
2586
2610
  alpha: number;
2587
2611
  } | any)[];
2588
2612
  type: "tuple";
@@ -2592,6 +2616,8 @@ export declare const WebstudioFragment: z.ZodObject<{
2592
2616
  type: "invalid";
2593
2617
  })[];
2594
2618
  type: "layers";
2619
+ } | {
2620
+ type: "guaranteedInvalid";
2595
2621
  } | {
2596
2622
  value: "";
2597
2623
  type: "unset";
@@ -2614,9 +2640,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2614
2640
  type: "fontFamily";
2615
2641
  } | {
2616
2642
  type: "rgb";
2643
+ b: number;
2617
2644
  r: number;
2618
2645
  g: number;
2619
- b: number;
2620
2646
  alpha: number;
2621
2647
  } | any | {
2622
2648
  value: {
@@ -2642,9 +2668,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2642
2668
  hidden?: boolean | undefined;
2643
2669
  } | {
2644
2670
  type: "rgb";
2671
+ b: number;
2645
2672
  r: number;
2646
2673
  g: number;
2647
- b: number;
2648
2674
  alpha: number;
2649
2675
  } | any)[];
2650
2676
  type: "tuple";
@@ -2685,9 +2711,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2685
2711
  hidden?: boolean | undefined;
2686
2712
  } | {
2687
2713
  type: "rgb";
2714
+ b: number;
2688
2715
  r: number;
2689
2716
  g: number;
2690
- b: number;
2691
2717
  alpha: number;
2692
2718
  } | any)[];
2693
2719
  type: "tuple";
@@ -2697,6 +2723,8 @@ export declare const WebstudioFragment: z.ZodObject<{
2697
2723
  type: "invalid";
2698
2724
  })[];
2699
2725
  type: "layers";
2726
+ } | {
2727
+ type: "guaranteedInvalid";
2700
2728
  })[];
2701
2729
  };
2702
2730
  } | {
@@ -2723,9 +2751,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2723
2751
  hidden?: boolean | undefined;
2724
2752
  } | {
2725
2753
  type: "rgb";
2754
+ b: number;
2726
2755
  r: number;
2727
2756
  g: number;
2728
- b: number;
2729
2757
  alpha: number;
2730
2758
  } | any)[];
2731
2759
  type: "tuple";
@@ -2769,9 +2797,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2769
2797
  hidden?: boolean | undefined;
2770
2798
  } | {
2771
2799
  type: "rgb";
2800
+ b: number;
2772
2801
  r: number;
2773
2802
  g: number;
2774
- b: number;
2775
2803
  alpha: number;
2776
2804
  } | any)[];
2777
2805
  type: "tuple";
@@ -2781,6 +2809,8 @@ export declare const WebstudioFragment: z.ZodObject<{
2781
2809
  type: "invalid";
2782
2810
  })[];
2783
2811
  type: "layers";
2812
+ } | {
2813
+ type: "guaranteedInvalid";
2784
2814
  } | {
2785
2815
  value: "";
2786
2816
  type: "unset";
@@ -2803,9 +2833,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2803
2833
  type: "fontFamily";
2804
2834
  } | {
2805
2835
  type: "rgb";
2836
+ b: number;
2806
2837
  r: number;
2807
2838
  g: number;
2808
- b: number;
2809
2839
  alpha: number;
2810
2840
  } | any | {
2811
2841
  value: {
@@ -2831,9 +2861,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2831
2861
  hidden?: boolean | undefined;
2832
2862
  } | {
2833
2863
  type: "rgb";
2864
+ b: number;
2834
2865
  r: number;
2835
2866
  g: number;
2836
- b: number;
2837
2867
  alpha: number;
2838
2868
  } | any)[];
2839
2869
  type: "tuple";
@@ -2874,9 +2904,9 @@ export declare const WebstudioFragment: z.ZodObject<{
2874
2904
  hidden?: boolean | undefined;
2875
2905
  } | {
2876
2906
  type: "rgb";
2907
+ b: number;
2877
2908
  r: number;
2878
2909
  g: number;
2879
- b: number;
2880
2910
  alpha: number;
2881
2911
  } | any)[];
2882
2912
  type: "tuple";
@@ -2886,6 +2916,8 @@ export declare const WebstudioFragment: z.ZodObject<{
2886
2916
  type: "invalid";
2887
2917
  })[];
2888
2918
  type: "layers";
2919
+ } | {
2920
+ type: "guaranteedInvalid";
2889
2921
  })[];
2890
2922
  };
2891
2923
  styleSourceId: string;