@oh-just-another/serialization 0.58.0 → 0.60.0

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/schema.d.ts CHANGED
@@ -1519,6 +1519,134 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
1519
1519
  fontFamily: z.ZodString;
1520
1520
  fontSize: z.ZodNumber;
1521
1521
  maxWidth: z.ZodOptional<z.ZodNumber>;
1522
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1523
+ text: z.ZodString;
1524
+ style: z.ZodOptional<z.ZodObject<{
1525
+ fill: z.ZodOptional<z.ZodString>;
1526
+ stroke: z.ZodOptional<z.ZodString>;
1527
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
1528
+ opacity: z.ZodOptional<z.ZodNumber>;
1529
+ dashArray: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber, "many">>>;
1530
+ lineCap: z.ZodOptional<z.ZodEnum<["butt", "round", "square"]>>;
1531
+ lineJoin: z.ZodOptional<z.ZodEnum<["miter", "round", "bevel"]>>;
1532
+ strokeAlign: z.ZodOptional<z.ZodEnum<["center", "inside", "outside"]>>;
1533
+ roundness: z.ZodOptional<z.ZodObject<{
1534
+ type: z.ZodEnum<["sharp", "round"]>;
1535
+ value: z.ZodOptional<z.ZodNumber>;
1536
+ }, "strict", z.ZodTypeAny, {
1537
+ type: "sharp" | "round";
1538
+ value?: number | undefined;
1539
+ }, {
1540
+ type: "sharp" | "round";
1541
+ value?: number | undefined;
1542
+ }>>;
1543
+ } & {
1544
+ textAlign: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
1545
+ textBaseline: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
1546
+ fontWeight: z.ZodOptional<z.ZodEnum<["normal", "bold"]>>;
1547
+ fontStyle: z.ZodOptional<z.ZodEnum<["normal", "italic"]>>;
1548
+ textDecoration: z.ZodOptional<z.ZodObject<{
1549
+ underline: z.ZodOptional<z.ZodBoolean>;
1550
+ strikethrough: z.ZodOptional<z.ZodBoolean>;
1551
+ }, "strict", z.ZodTypeAny, {
1552
+ underline?: boolean | undefined;
1553
+ strikethrough?: boolean | undefined;
1554
+ }, {
1555
+ underline?: boolean | undefined;
1556
+ strikethrough?: boolean | undefined;
1557
+ }>>;
1558
+ }, "strict", z.ZodTypeAny, {
1559
+ fill?: string | undefined;
1560
+ stroke?: string | undefined;
1561
+ strokeWidth?: number | undefined;
1562
+ opacity?: number | undefined;
1563
+ dashArray?: readonly number[] | undefined;
1564
+ lineCap?: "round" | "butt" | "square" | undefined;
1565
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
1566
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
1567
+ roundness?: {
1568
+ type: "sharp" | "round";
1569
+ value?: number | undefined;
1570
+ } | undefined;
1571
+ textAlign?: "center" | "left" | "right" | undefined;
1572
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
1573
+ fontWeight?: "normal" | "bold" | undefined;
1574
+ fontStyle?: "normal" | "italic" | undefined;
1575
+ textDecoration?: {
1576
+ underline?: boolean | undefined;
1577
+ strikethrough?: boolean | undefined;
1578
+ } | undefined;
1579
+ }, {
1580
+ fill?: string | undefined;
1581
+ stroke?: string | undefined;
1582
+ strokeWidth?: number | undefined;
1583
+ opacity?: number | undefined;
1584
+ dashArray?: readonly number[] | undefined;
1585
+ lineCap?: "round" | "butt" | "square" | undefined;
1586
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
1587
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
1588
+ roundness?: {
1589
+ type: "sharp" | "round";
1590
+ value?: number | undefined;
1591
+ } | undefined;
1592
+ textAlign?: "center" | "left" | "right" | undefined;
1593
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
1594
+ fontWeight?: "normal" | "bold" | undefined;
1595
+ fontStyle?: "normal" | "italic" | undefined;
1596
+ textDecoration?: {
1597
+ underline?: boolean | undefined;
1598
+ strikethrough?: boolean | undefined;
1599
+ } | undefined;
1600
+ }>>;
1601
+ }, "strict", z.ZodTypeAny, {
1602
+ text: string;
1603
+ style?: {
1604
+ fill?: string | undefined;
1605
+ stroke?: string | undefined;
1606
+ strokeWidth?: number | undefined;
1607
+ opacity?: number | undefined;
1608
+ dashArray?: readonly number[] | undefined;
1609
+ lineCap?: "round" | "butt" | "square" | undefined;
1610
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
1611
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
1612
+ roundness?: {
1613
+ type: "sharp" | "round";
1614
+ value?: number | undefined;
1615
+ } | undefined;
1616
+ textAlign?: "center" | "left" | "right" | undefined;
1617
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
1618
+ fontWeight?: "normal" | "bold" | undefined;
1619
+ fontStyle?: "normal" | "italic" | undefined;
1620
+ textDecoration?: {
1621
+ underline?: boolean | undefined;
1622
+ strikethrough?: boolean | undefined;
1623
+ } | undefined;
1624
+ } | undefined;
1625
+ }, {
1626
+ text: string;
1627
+ style?: {
1628
+ fill?: string | undefined;
1629
+ stroke?: string | undefined;
1630
+ strokeWidth?: number | undefined;
1631
+ opacity?: number | undefined;
1632
+ dashArray?: readonly number[] | undefined;
1633
+ lineCap?: "round" | "butt" | "square" | undefined;
1634
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
1635
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
1636
+ roundness?: {
1637
+ type: "sharp" | "round";
1638
+ value?: number | undefined;
1639
+ } | undefined;
1640
+ textAlign?: "center" | "left" | "right" | undefined;
1641
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
1642
+ fontWeight?: "normal" | "bold" | undefined;
1643
+ fontStyle?: "normal" | "italic" | undefined;
1644
+ textDecoration?: {
1645
+ underline?: boolean | undefined;
1646
+ strikethrough?: boolean | undefined;
1647
+ } | undefined;
1648
+ } | undefined;
1649
+ }>, "many">>;
1522
1650
  }, "strict", z.ZodTypeAny, {
1523
1651
  type: "text";
1524
1652
  position: {
@@ -1587,6 +1715,31 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
1587
1715
  parentId?: string | undefined;
1588
1716
  frameId?: string | undefined;
1589
1717
  href?: string | undefined;
1718
+ runs?: {
1719
+ text: string;
1720
+ style?: {
1721
+ fill?: string | undefined;
1722
+ stroke?: string | undefined;
1723
+ strokeWidth?: number | undefined;
1724
+ opacity?: number | undefined;
1725
+ dashArray?: readonly number[] | undefined;
1726
+ lineCap?: "round" | "butt" | "square" | undefined;
1727
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
1728
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
1729
+ roundness?: {
1730
+ type: "sharp" | "round";
1731
+ value?: number | undefined;
1732
+ } | undefined;
1733
+ textAlign?: "center" | "left" | "right" | undefined;
1734
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
1735
+ fontWeight?: "normal" | "bold" | undefined;
1736
+ fontStyle?: "normal" | "italic" | undefined;
1737
+ textDecoration?: {
1738
+ underline?: boolean | undefined;
1739
+ strikethrough?: boolean | undefined;
1740
+ } | undefined;
1741
+ } | undefined;
1742
+ }[] | undefined;
1590
1743
  }, {
1591
1744
  type: "text";
1592
1745
  position: {
@@ -1655,6 +1808,31 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
1655
1808
  parentId?: string | undefined;
1656
1809
  frameId?: string | undefined;
1657
1810
  href?: string | undefined;
1811
+ runs?: {
1812
+ text: string;
1813
+ style?: {
1814
+ fill?: string | undefined;
1815
+ stroke?: string | undefined;
1816
+ strokeWidth?: number | undefined;
1817
+ opacity?: number | undefined;
1818
+ dashArray?: readonly number[] | undefined;
1819
+ lineCap?: "round" | "butt" | "square" | undefined;
1820
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
1821
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
1822
+ roundness?: {
1823
+ type: "sharp" | "round";
1824
+ value?: number | undefined;
1825
+ } | undefined;
1826
+ textAlign?: "center" | "left" | "right" | undefined;
1827
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
1828
+ fontWeight?: "normal" | "bold" | undefined;
1829
+ fontStyle?: "normal" | "italic" | undefined;
1830
+ textDecoration?: {
1831
+ underline?: boolean | undefined;
1832
+ strikethrough?: boolean | undefined;
1833
+ } | undefined;
1834
+ } | undefined;
1835
+ }[] | undefined;
1658
1836
  }>, z.ZodObject<{
1659
1837
  id: z.ZodString;
1660
1838
  layerId: z.ZodString;
@@ -1811,6 +1989,22 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
1811
1989
  width: z.ZodNumber;
1812
1990
  height: z.ZodNumber;
1813
1991
  fileId: z.ZodOptional<z.ZodString>;
1992
+ crop: z.ZodOptional<z.ZodObject<{
1993
+ x: z.ZodNumber;
1994
+ y: z.ZodNumber;
1995
+ width: z.ZodNumber;
1996
+ height: z.ZodNumber;
1997
+ }, "strip", z.ZodTypeAny, {
1998
+ x: number;
1999
+ y: number;
2000
+ width: number;
2001
+ height: number;
2002
+ }, {
2003
+ x: number;
2004
+ y: number;
2005
+ width: number;
2006
+ height: number;
2007
+ }>>;
1814
2008
  animationKind: z.ZodOptional<z.ZodString>;
1815
2009
  animationData: z.ZodOptional<z.ZodUnknown>;
1816
2010
  }, "strict", z.ZodTypeAny, {
@@ -1874,6 +2068,12 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
1874
2068
  frameId?: string | undefined;
1875
2069
  href?: string | undefined;
1876
2070
  fileId?: string | undefined;
2071
+ crop?: {
2072
+ x: number;
2073
+ y: number;
2074
+ width: number;
2075
+ height: number;
2076
+ } | undefined;
1877
2077
  animationKind?: string | undefined;
1878
2078
  animationData?: unknown;
1879
2079
  }, {
@@ -1937,6 +2137,12 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
1937
2137
  frameId?: string | undefined;
1938
2138
  href?: string | undefined;
1939
2139
  fileId?: string | undefined;
2140
+ crop?: {
2141
+ x: number;
2142
+ y: number;
2143
+ width: number;
2144
+ height: number;
2145
+ } | undefined;
1940
2146
  animationKind?: string | undefined;
1941
2147
  animationData?: unknown;
1942
2148
  }>, z.ZodObject<{
@@ -2648,6 +2854,10 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
2648
2854
  y: number;
2649
2855
  width: number;
2650
2856
  }>, "many">;
2857
+ closed: z.ZodOptional<z.ZodBoolean>;
2858
+ pressures: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2859
+ simulatePressure: z.ZodOptional<z.ZodBoolean>;
2860
+ baseWidth: z.ZodOptional<z.ZodNumber>;
2651
2861
  }, "strict", z.ZodTypeAny, {
2652
2862
  type: "brush";
2653
2863
  position: {
@@ -2710,6 +2920,10 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
2710
2920
  parentId?: string | undefined;
2711
2921
  frameId?: string | undefined;
2712
2922
  href?: string | undefined;
2923
+ closed?: boolean | undefined;
2924
+ pressures?: number[] | undefined;
2925
+ simulatePressure?: boolean | undefined;
2926
+ baseWidth?: number | undefined;
2713
2927
  }, {
2714
2928
  type: "brush";
2715
2929
  position: {
@@ -2772,6 +2986,10 @@ declare const ElementZ: z.ZodUnion<[z.ZodObject<{
2772
2986
  parentId?: string | undefined;
2773
2987
  frameId?: string | undefined;
2774
2988
  href?: string | undefined;
2989
+ closed?: boolean | undefined;
2990
+ pressures?: number[] | undefined;
2991
+ simulatePressure?: boolean | undefined;
2992
+ baseWidth?: number | undefined;
2775
2993
  }>, z.ZodEffects<z.ZodObject<{
2776
2994
  id: z.ZodString;
2777
2995
  layerId: z.ZodString;
@@ -5815,6 +6033,134 @@ export declare const SceneDocumentZ: z.ZodObject<{
5815
6033
  fontFamily: z.ZodString;
5816
6034
  fontSize: z.ZodNumber;
5817
6035
  maxWidth: z.ZodOptional<z.ZodNumber>;
6036
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
6037
+ text: z.ZodString;
6038
+ style: z.ZodOptional<z.ZodObject<{
6039
+ fill: z.ZodOptional<z.ZodString>;
6040
+ stroke: z.ZodOptional<z.ZodString>;
6041
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
6042
+ opacity: z.ZodOptional<z.ZodNumber>;
6043
+ dashArray: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber, "many">>>;
6044
+ lineCap: z.ZodOptional<z.ZodEnum<["butt", "round", "square"]>>;
6045
+ lineJoin: z.ZodOptional<z.ZodEnum<["miter", "round", "bevel"]>>;
6046
+ strokeAlign: z.ZodOptional<z.ZodEnum<["center", "inside", "outside"]>>;
6047
+ roundness: z.ZodOptional<z.ZodObject<{
6048
+ type: z.ZodEnum<["sharp", "round"]>;
6049
+ value: z.ZodOptional<z.ZodNumber>;
6050
+ }, "strict", z.ZodTypeAny, {
6051
+ type: "sharp" | "round";
6052
+ value?: number | undefined;
6053
+ }, {
6054
+ type: "sharp" | "round";
6055
+ value?: number | undefined;
6056
+ }>>;
6057
+ } & {
6058
+ textAlign: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
6059
+ textBaseline: z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>;
6060
+ fontWeight: z.ZodOptional<z.ZodEnum<["normal", "bold"]>>;
6061
+ fontStyle: z.ZodOptional<z.ZodEnum<["normal", "italic"]>>;
6062
+ textDecoration: z.ZodOptional<z.ZodObject<{
6063
+ underline: z.ZodOptional<z.ZodBoolean>;
6064
+ strikethrough: z.ZodOptional<z.ZodBoolean>;
6065
+ }, "strict", z.ZodTypeAny, {
6066
+ underline?: boolean | undefined;
6067
+ strikethrough?: boolean | undefined;
6068
+ }, {
6069
+ underline?: boolean | undefined;
6070
+ strikethrough?: boolean | undefined;
6071
+ }>>;
6072
+ }, "strict", z.ZodTypeAny, {
6073
+ fill?: string | undefined;
6074
+ stroke?: string | undefined;
6075
+ strokeWidth?: number | undefined;
6076
+ opacity?: number | undefined;
6077
+ dashArray?: readonly number[] | undefined;
6078
+ lineCap?: "round" | "butt" | "square" | undefined;
6079
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
6080
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
6081
+ roundness?: {
6082
+ type: "sharp" | "round";
6083
+ value?: number | undefined;
6084
+ } | undefined;
6085
+ textAlign?: "center" | "left" | "right" | undefined;
6086
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
6087
+ fontWeight?: "normal" | "bold" | undefined;
6088
+ fontStyle?: "normal" | "italic" | undefined;
6089
+ textDecoration?: {
6090
+ underline?: boolean | undefined;
6091
+ strikethrough?: boolean | undefined;
6092
+ } | undefined;
6093
+ }, {
6094
+ fill?: string | undefined;
6095
+ stroke?: string | undefined;
6096
+ strokeWidth?: number | undefined;
6097
+ opacity?: number | undefined;
6098
+ dashArray?: readonly number[] | undefined;
6099
+ lineCap?: "round" | "butt" | "square" | undefined;
6100
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
6101
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
6102
+ roundness?: {
6103
+ type: "sharp" | "round";
6104
+ value?: number | undefined;
6105
+ } | undefined;
6106
+ textAlign?: "center" | "left" | "right" | undefined;
6107
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
6108
+ fontWeight?: "normal" | "bold" | undefined;
6109
+ fontStyle?: "normal" | "italic" | undefined;
6110
+ textDecoration?: {
6111
+ underline?: boolean | undefined;
6112
+ strikethrough?: boolean | undefined;
6113
+ } | undefined;
6114
+ }>>;
6115
+ }, "strict", z.ZodTypeAny, {
6116
+ text: string;
6117
+ style?: {
6118
+ fill?: string | undefined;
6119
+ stroke?: string | undefined;
6120
+ strokeWidth?: number | undefined;
6121
+ opacity?: number | undefined;
6122
+ dashArray?: readonly number[] | undefined;
6123
+ lineCap?: "round" | "butt" | "square" | undefined;
6124
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
6125
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
6126
+ roundness?: {
6127
+ type: "sharp" | "round";
6128
+ value?: number | undefined;
6129
+ } | undefined;
6130
+ textAlign?: "center" | "left" | "right" | undefined;
6131
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
6132
+ fontWeight?: "normal" | "bold" | undefined;
6133
+ fontStyle?: "normal" | "italic" | undefined;
6134
+ textDecoration?: {
6135
+ underline?: boolean | undefined;
6136
+ strikethrough?: boolean | undefined;
6137
+ } | undefined;
6138
+ } | undefined;
6139
+ }, {
6140
+ text: string;
6141
+ style?: {
6142
+ fill?: string | undefined;
6143
+ stroke?: string | undefined;
6144
+ strokeWidth?: number | undefined;
6145
+ opacity?: number | undefined;
6146
+ dashArray?: readonly number[] | undefined;
6147
+ lineCap?: "round" | "butt" | "square" | undefined;
6148
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
6149
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
6150
+ roundness?: {
6151
+ type: "sharp" | "round";
6152
+ value?: number | undefined;
6153
+ } | undefined;
6154
+ textAlign?: "center" | "left" | "right" | undefined;
6155
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
6156
+ fontWeight?: "normal" | "bold" | undefined;
6157
+ fontStyle?: "normal" | "italic" | undefined;
6158
+ textDecoration?: {
6159
+ underline?: boolean | undefined;
6160
+ strikethrough?: boolean | undefined;
6161
+ } | undefined;
6162
+ } | undefined;
6163
+ }>, "many">>;
5818
6164
  }, "strict", z.ZodTypeAny, {
5819
6165
  type: "text";
5820
6166
  position: {
@@ -5883,6 +6229,31 @@ export declare const SceneDocumentZ: z.ZodObject<{
5883
6229
  parentId?: string | undefined;
5884
6230
  frameId?: string | undefined;
5885
6231
  href?: string | undefined;
6232
+ runs?: {
6233
+ text: string;
6234
+ style?: {
6235
+ fill?: string | undefined;
6236
+ stroke?: string | undefined;
6237
+ strokeWidth?: number | undefined;
6238
+ opacity?: number | undefined;
6239
+ dashArray?: readonly number[] | undefined;
6240
+ lineCap?: "round" | "butt" | "square" | undefined;
6241
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
6242
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
6243
+ roundness?: {
6244
+ type: "sharp" | "round";
6245
+ value?: number | undefined;
6246
+ } | undefined;
6247
+ textAlign?: "center" | "left" | "right" | undefined;
6248
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
6249
+ fontWeight?: "normal" | "bold" | undefined;
6250
+ fontStyle?: "normal" | "italic" | undefined;
6251
+ textDecoration?: {
6252
+ underline?: boolean | undefined;
6253
+ strikethrough?: boolean | undefined;
6254
+ } | undefined;
6255
+ } | undefined;
6256
+ }[] | undefined;
5886
6257
  }, {
5887
6258
  type: "text";
5888
6259
  position: {
@@ -5951,6 +6322,31 @@ export declare const SceneDocumentZ: z.ZodObject<{
5951
6322
  parentId?: string | undefined;
5952
6323
  frameId?: string | undefined;
5953
6324
  href?: string | undefined;
6325
+ runs?: {
6326
+ text: string;
6327
+ style?: {
6328
+ fill?: string | undefined;
6329
+ stroke?: string | undefined;
6330
+ strokeWidth?: number | undefined;
6331
+ opacity?: number | undefined;
6332
+ dashArray?: readonly number[] | undefined;
6333
+ lineCap?: "round" | "butt" | "square" | undefined;
6334
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
6335
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
6336
+ roundness?: {
6337
+ type: "sharp" | "round";
6338
+ value?: number | undefined;
6339
+ } | undefined;
6340
+ textAlign?: "center" | "left" | "right" | undefined;
6341
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
6342
+ fontWeight?: "normal" | "bold" | undefined;
6343
+ fontStyle?: "normal" | "italic" | undefined;
6344
+ textDecoration?: {
6345
+ underline?: boolean | undefined;
6346
+ strikethrough?: boolean | undefined;
6347
+ } | undefined;
6348
+ } | undefined;
6349
+ }[] | undefined;
5954
6350
  }>, z.ZodObject<{
5955
6351
  id: z.ZodString;
5956
6352
  layerId: z.ZodString;
@@ -6107,6 +6503,22 @@ export declare const SceneDocumentZ: z.ZodObject<{
6107
6503
  width: z.ZodNumber;
6108
6504
  height: z.ZodNumber;
6109
6505
  fileId: z.ZodOptional<z.ZodString>;
6506
+ crop: z.ZodOptional<z.ZodObject<{
6507
+ x: z.ZodNumber;
6508
+ y: z.ZodNumber;
6509
+ width: z.ZodNumber;
6510
+ height: z.ZodNumber;
6511
+ }, "strip", z.ZodTypeAny, {
6512
+ x: number;
6513
+ y: number;
6514
+ width: number;
6515
+ height: number;
6516
+ }, {
6517
+ x: number;
6518
+ y: number;
6519
+ width: number;
6520
+ height: number;
6521
+ }>>;
6110
6522
  animationKind: z.ZodOptional<z.ZodString>;
6111
6523
  animationData: z.ZodOptional<z.ZodUnknown>;
6112
6524
  }, "strict", z.ZodTypeAny, {
@@ -6170,6 +6582,12 @@ export declare const SceneDocumentZ: z.ZodObject<{
6170
6582
  frameId?: string | undefined;
6171
6583
  href?: string | undefined;
6172
6584
  fileId?: string | undefined;
6585
+ crop?: {
6586
+ x: number;
6587
+ y: number;
6588
+ width: number;
6589
+ height: number;
6590
+ } | undefined;
6173
6591
  animationKind?: string | undefined;
6174
6592
  animationData?: unknown;
6175
6593
  }, {
@@ -6233,6 +6651,12 @@ export declare const SceneDocumentZ: z.ZodObject<{
6233
6651
  frameId?: string | undefined;
6234
6652
  href?: string | undefined;
6235
6653
  fileId?: string | undefined;
6654
+ crop?: {
6655
+ x: number;
6656
+ y: number;
6657
+ width: number;
6658
+ height: number;
6659
+ } | undefined;
6236
6660
  animationKind?: string | undefined;
6237
6661
  animationData?: unknown;
6238
6662
  }>, z.ZodObject<{
@@ -6944,6 +7368,10 @@ export declare const SceneDocumentZ: z.ZodObject<{
6944
7368
  y: number;
6945
7369
  width: number;
6946
7370
  }>, "many">;
7371
+ closed: z.ZodOptional<z.ZodBoolean>;
7372
+ pressures: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
7373
+ simulatePressure: z.ZodOptional<z.ZodBoolean>;
7374
+ baseWidth: z.ZodOptional<z.ZodNumber>;
6947
7375
  }, "strict", z.ZodTypeAny, {
6948
7376
  type: "brush";
6949
7377
  position: {
@@ -7006,6 +7434,10 @@ export declare const SceneDocumentZ: z.ZodObject<{
7006
7434
  parentId?: string | undefined;
7007
7435
  frameId?: string | undefined;
7008
7436
  href?: string | undefined;
7437
+ closed?: boolean | undefined;
7438
+ pressures?: number[] | undefined;
7439
+ simulatePressure?: boolean | undefined;
7440
+ baseWidth?: number | undefined;
7009
7441
  }, {
7010
7442
  type: "brush";
7011
7443
  position: {
@@ -7068,6 +7500,10 @@ export declare const SceneDocumentZ: z.ZodObject<{
7068
7500
  parentId?: string | undefined;
7069
7501
  frameId?: string | undefined;
7070
7502
  href?: string | undefined;
7503
+ closed?: boolean | undefined;
7504
+ pressures?: number[] | undefined;
7505
+ simulatePressure?: boolean | undefined;
7506
+ baseWidth?: number | undefined;
7071
7507
  }>, z.ZodEffects<z.ZodObject<{
7072
7508
  id: z.ZodString;
7073
7509
  layerId: z.ZodString;
@@ -9009,6 +9445,31 @@ export declare const SceneDocumentZ: z.ZodObject<{
9009
9445
  parentId?: string | undefined;
9010
9446
  frameId?: string | undefined;
9011
9447
  href?: string | undefined;
9448
+ runs?: {
9449
+ text: string;
9450
+ style?: {
9451
+ fill?: string | undefined;
9452
+ stroke?: string | undefined;
9453
+ strokeWidth?: number | undefined;
9454
+ opacity?: number | undefined;
9455
+ dashArray?: readonly number[] | undefined;
9456
+ lineCap?: "round" | "butt" | "square" | undefined;
9457
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
9458
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
9459
+ roundness?: {
9460
+ type: "sharp" | "round";
9461
+ value?: number | undefined;
9462
+ } | undefined;
9463
+ textAlign?: "center" | "left" | "right" | undefined;
9464
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
9465
+ fontWeight?: "normal" | "bold" | undefined;
9466
+ fontStyle?: "normal" | "italic" | undefined;
9467
+ textDecoration?: {
9468
+ underline?: boolean | undefined;
9469
+ strikethrough?: boolean | undefined;
9470
+ } | undefined;
9471
+ } | undefined;
9472
+ }[] | undefined;
9012
9473
  } | {
9013
9474
  type: "image";
9014
9475
  width: number;
@@ -9070,6 +9531,12 @@ export declare const SceneDocumentZ: z.ZodObject<{
9070
9531
  frameId?: string | undefined;
9071
9532
  href?: string | undefined;
9072
9533
  fileId?: string | undefined;
9534
+ crop?: {
9535
+ x: number;
9536
+ y: number;
9537
+ width: number;
9538
+ height: number;
9539
+ } | undefined;
9073
9540
  animationKind?: string | undefined;
9074
9541
  animationData?: unknown;
9075
9542
  } | {
@@ -9252,6 +9719,10 @@ export declare const SceneDocumentZ: z.ZodObject<{
9252
9719
  parentId?: string | undefined;
9253
9720
  frameId?: string | undefined;
9254
9721
  href?: string | undefined;
9722
+ closed?: boolean | undefined;
9723
+ pressures?: number[] | undefined;
9724
+ simulatePressure?: boolean | undefined;
9725
+ baseWidth?: number | undefined;
9255
9726
  } | z.objectOutputType<{
9256
9727
  id: z.ZodString;
9257
9728
  layerId: z.ZodString;
@@ -9911,6 +10382,31 @@ export declare const SceneDocumentZ: z.ZodObject<{
9911
10382
  parentId?: string | undefined;
9912
10383
  frameId?: string | undefined;
9913
10384
  href?: string | undefined;
10385
+ runs?: {
10386
+ text: string;
10387
+ style?: {
10388
+ fill?: string | undefined;
10389
+ stroke?: string | undefined;
10390
+ strokeWidth?: number | undefined;
10391
+ opacity?: number | undefined;
10392
+ dashArray?: readonly number[] | undefined;
10393
+ lineCap?: "round" | "butt" | "square" | undefined;
10394
+ lineJoin?: "round" | "miter" | "bevel" | undefined;
10395
+ strokeAlign?: "center" | "inside" | "outside" | undefined;
10396
+ roundness?: {
10397
+ type: "sharp" | "round";
10398
+ value?: number | undefined;
10399
+ } | undefined;
10400
+ textAlign?: "center" | "left" | "right" | undefined;
10401
+ textBaseline?: "top" | "middle" | "bottom" | undefined;
10402
+ fontWeight?: "normal" | "bold" | undefined;
10403
+ fontStyle?: "normal" | "italic" | undefined;
10404
+ textDecoration?: {
10405
+ underline?: boolean | undefined;
10406
+ strikethrough?: boolean | undefined;
10407
+ } | undefined;
10408
+ } | undefined;
10409
+ }[] | undefined;
9914
10410
  } | {
9915
10411
  type: "image";
9916
10412
  width: number;
@@ -9972,6 +10468,12 @@ export declare const SceneDocumentZ: z.ZodObject<{
9972
10468
  frameId?: string | undefined;
9973
10469
  href?: string | undefined;
9974
10470
  fileId?: string | undefined;
10471
+ crop?: {
10472
+ x: number;
10473
+ y: number;
10474
+ width: number;
10475
+ height: number;
10476
+ } | undefined;
9975
10477
  animationKind?: string | undefined;
9976
10478
  animationData?: unknown;
9977
10479
  } | {
@@ -10154,6 +10656,10 @@ export declare const SceneDocumentZ: z.ZodObject<{
10154
10656
  parentId?: string | undefined;
10155
10657
  frameId?: string | undefined;
10156
10658
  href?: string | undefined;
10659
+ closed?: boolean | undefined;
10660
+ pressures?: number[] | undefined;
10661
+ simulatePressure?: boolean | undefined;
10662
+ baseWidth?: number | undefined;
10157
10663
  } | z.objectInputType<{
10158
10664
  id: z.ZodString;
10159
10665
  layerId: z.ZodString;