@webstudio-is/sdk 0.200.0 → 0.201.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/lib/core-templates.js +4 -5
- package/lib/index.js +10 -9
- package/lib/types/expression.d.ts +2 -0
- package/lib/types/schema/component-meta.d.ts +0 -3
- package/lib/types/schema/data-sources.d.ts +18 -18
- package/lib/types/schema/deployment.d.ts +4 -4
- package/lib/types/schema/webstudio.d.ts +15 -15
- package/package.json +6 -6
package/lib/core-templates.js
CHANGED
|
@@ -52,8 +52,7 @@ var collectionComponent = "ws:collection";
|
|
|
52
52
|
var collectionMeta = {
|
|
53
53
|
type: "container",
|
|
54
54
|
label: "Collection",
|
|
55
|
-
icon: ListViewIcon
|
|
56
|
-
stylable: false
|
|
55
|
+
icon: ListViewIcon
|
|
57
56
|
};
|
|
58
57
|
var collectionPropsMeta = {
|
|
59
58
|
props: {
|
|
@@ -70,6 +69,8 @@ var descendantMeta = {
|
|
|
70
69
|
type: "control",
|
|
71
70
|
label: "Descendant",
|
|
72
71
|
icon: PaintBrushIcon,
|
|
72
|
+
// @todo infer possible presets
|
|
73
|
+
presetStyle: {},
|
|
73
74
|
constraints: {
|
|
74
75
|
relation: "parent",
|
|
75
76
|
component: { $in: ["HtmlEmbed", "MarkdownEmbed"] }
|
|
@@ -108,7 +109,6 @@ var blockTemplateComponent = "ws:block-template";
|
|
|
108
109
|
var blockTemplateMeta = {
|
|
109
110
|
type: "container",
|
|
110
111
|
icon: AddTemplateInstanceIcon,
|
|
111
|
-
stylable: false,
|
|
112
112
|
constraints: {
|
|
113
113
|
relation: "parent",
|
|
114
114
|
component: { $eq: blockComponent }
|
|
@@ -130,8 +130,7 @@ var blockMeta = {
|
|
|
130
130
|
relation: "child",
|
|
131
131
|
component: { $eq: blockTemplateComponent }
|
|
132
132
|
}
|
|
133
|
-
]
|
|
134
|
-
stylable: false
|
|
133
|
+
]
|
|
135
134
|
};
|
|
136
135
|
var blockPropsMeta = {
|
|
137
136
|
props: {}
|
package/lib/index.js
CHANGED
|
@@ -218,20 +218,20 @@ var DataSource = z4.union([
|
|
|
218
218
|
z4.object({
|
|
219
219
|
type: z4.literal("variable"),
|
|
220
220
|
id: DataSourceId,
|
|
221
|
-
scopeInstanceId: z4.
|
|
221
|
+
scopeInstanceId: z4.string(),
|
|
222
222
|
name: z4.string(),
|
|
223
223
|
value: DataSourceVariableValue
|
|
224
224
|
}),
|
|
225
225
|
z4.object({
|
|
226
226
|
type: z4.literal("parameter"),
|
|
227
227
|
id: DataSourceId,
|
|
228
|
-
scopeInstanceId: z4.
|
|
228
|
+
scopeInstanceId: z4.string(),
|
|
229
229
|
name: z4.string()
|
|
230
230
|
}),
|
|
231
231
|
z4.object({
|
|
232
232
|
type: z4.literal("resource"),
|
|
233
233
|
id: DataSourceId,
|
|
234
|
-
scopeInstanceId: z4.
|
|
234
|
+
scopeInstanceId: z4.string(),
|
|
235
235
|
name: z4.string(),
|
|
236
236
|
resourceId: z4.string()
|
|
237
237
|
})
|
|
@@ -428,6 +428,7 @@ var Styles = z10.map(z10.string(), StyleDecl);
|
|
|
428
428
|
import { z as z11 } from "zod";
|
|
429
429
|
var Templates = z11.enum([
|
|
430
430
|
"vanilla",
|
|
431
|
+
"docker",
|
|
431
432
|
"vercel",
|
|
432
433
|
"netlify-functions",
|
|
433
434
|
"netlify-edge-functions",
|
|
@@ -763,7 +764,6 @@ var WsComponentMeta = z15.object({
|
|
|
763
764
|
// important to automatically enumerate collections without
|
|
764
765
|
// naming every item manually
|
|
765
766
|
indexWithinAncestor: z15.optional(z15.string()),
|
|
766
|
-
stylable: z15.optional(z15.boolean()),
|
|
767
767
|
label: z15.optional(z15.string()),
|
|
768
768
|
description: z15.string().optional(),
|
|
769
769
|
icon: z15.string(),
|
|
@@ -821,8 +821,7 @@ var collectionComponent = "ws:collection";
|
|
|
821
821
|
var collectionMeta = {
|
|
822
822
|
type: "container",
|
|
823
823
|
label: "Collection",
|
|
824
|
-
icon: ListViewIcon
|
|
825
|
-
stylable: false
|
|
824
|
+
icon: ListViewIcon
|
|
826
825
|
};
|
|
827
826
|
var collectionPropsMeta = {
|
|
828
827
|
props: {
|
|
@@ -839,6 +838,8 @@ var descendantMeta = {
|
|
|
839
838
|
type: "control",
|
|
840
839
|
label: "Descendant",
|
|
841
840
|
icon: PaintBrushIcon,
|
|
841
|
+
// @todo infer possible presets
|
|
842
|
+
presetStyle: {},
|
|
842
843
|
constraints: {
|
|
843
844
|
relation: "parent",
|
|
844
845
|
component: { $in: ["HtmlEmbed", "MarkdownEmbed"] }
|
|
@@ -877,7 +878,6 @@ var blockTemplateComponent = "ws:block-template";
|
|
|
877
878
|
var blockTemplateMeta = {
|
|
878
879
|
type: "container",
|
|
879
880
|
icon: AddTemplateInstanceIcon,
|
|
880
|
-
stylable: false,
|
|
881
881
|
constraints: {
|
|
882
882
|
relation: "parent",
|
|
883
883
|
component: { $eq: blockComponent }
|
|
@@ -899,8 +899,7 @@ var blockMeta = {
|
|
|
899
899
|
relation: "child",
|
|
900
900
|
component: { $eq: blockTemplateComponent }
|
|
901
901
|
}
|
|
902
|
-
]
|
|
903
|
-
stylable: false
|
|
902
|
+
]
|
|
904
903
|
};
|
|
905
904
|
var blockPropsMeta = {
|
|
906
905
|
props: {}
|
|
@@ -1738,10 +1737,12 @@ export {
|
|
|
1738
1737
|
corePropsMetas,
|
|
1739
1738
|
createScope,
|
|
1740
1739
|
decodeDataSourceVariable,
|
|
1740
|
+
decodeDataSourceVariable as decodeDataVariableId,
|
|
1741
1741
|
defaultStates,
|
|
1742
1742
|
descendantComponent,
|
|
1743
1743
|
documentTypes,
|
|
1744
1744
|
encodeDataSourceVariable,
|
|
1745
|
+
encodeDataSourceVariable as encodeDataVariableId,
|
|
1745
1746
|
executeExpression,
|
|
1746
1747
|
findPageByIdOrPath,
|
|
1747
1748
|
findParentFolderByChildId,
|
|
@@ -43,7 +43,9 @@ export declare const parseObjectExpression: (expression: string) => Map<string,
|
|
|
43
43
|
*/
|
|
44
44
|
export declare const generateObjectExpression: (map: Map<string, string>) => string;
|
|
45
45
|
export declare const encodeDataSourceVariable: (id: string) => string;
|
|
46
|
+
export { encodeDataSourceVariable as encodeDataVariableId };
|
|
46
47
|
export declare const decodeDataSourceVariable: (name: string) => string | undefined;
|
|
48
|
+
export { decodeDataSourceVariable as decodeDataVariableId };
|
|
47
49
|
export declare const generateExpression: ({ expression, dataSources, usedDataSources, scope, }: {
|
|
48
50
|
expression: string;
|
|
49
51
|
dataSources: DataSources;
|
|
@@ -869,7 +869,6 @@ export declare const WsComponentMeta: z.ZodObject<{
|
|
|
869
869
|
} | undefined;
|
|
870
870
|
}>, "many">]>>;
|
|
871
871
|
indexWithinAncestor: z.ZodOptional<z.ZodString>;
|
|
872
|
-
stylable: z.ZodOptional<z.ZodBoolean>;
|
|
873
872
|
label: z.ZodOptional<z.ZodString>;
|
|
874
873
|
description: z.ZodOptional<z.ZodString>;
|
|
875
874
|
icon: z.ZodString;
|
|
@@ -1494,7 +1493,6 @@ export declare const WsComponentMeta: z.ZodObject<{
|
|
|
1494
1493
|
} | undefined;
|
|
1495
1494
|
}[] | undefined;
|
|
1496
1495
|
indexWithinAncestor?: string | undefined;
|
|
1497
|
-
stylable?: boolean | undefined;
|
|
1498
1496
|
label?: string | undefined;
|
|
1499
1497
|
description?: string | undefined;
|
|
1500
1498
|
presetStyle?: Record<string, {
|
|
@@ -1821,7 +1819,6 @@ export declare const WsComponentMeta: z.ZodObject<{
|
|
|
1821
1819
|
} | undefined;
|
|
1822
1820
|
}[] | undefined;
|
|
1823
1821
|
indexWithinAncestor?: string | undefined;
|
|
1824
|
-
stylable?: boolean | undefined;
|
|
1825
1822
|
label?: string | undefined;
|
|
1826
1823
|
description?: string | undefined;
|
|
1827
1824
|
presetStyle?: Record<string, {
|
|
@@ -48,7 +48,7 @@ export declare const DataSourceVariableValue: z.ZodUnion<[z.ZodObject<{
|
|
|
48
48
|
export declare const DataSource: z.ZodUnion<[z.ZodObject<{
|
|
49
49
|
type: z.ZodLiteral<"variable">;
|
|
50
50
|
id: z.ZodString;
|
|
51
|
-
scopeInstanceId: z.
|
|
51
|
+
scopeInstanceId: z.ZodString;
|
|
52
52
|
name: z.ZodString;
|
|
53
53
|
value: z.ZodUnion<[z.ZodObject<{
|
|
54
54
|
type: z.ZodLiteral<"number">;
|
|
@@ -116,7 +116,7 @@ export declare const DataSource: z.ZodUnion<[z.ZodObject<{
|
|
|
116
116
|
type: "variable";
|
|
117
117
|
name: string;
|
|
118
118
|
id: string;
|
|
119
|
-
scopeInstanceId
|
|
119
|
+
scopeInstanceId: string;
|
|
120
120
|
}, {
|
|
121
121
|
value: {
|
|
122
122
|
value: number;
|
|
@@ -137,46 +137,46 @@ export declare const DataSource: z.ZodUnion<[z.ZodObject<{
|
|
|
137
137
|
type: "variable";
|
|
138
138
|
name: string;
|
|
139
139
|
id: string;
|
|
140
|
-
scopeInstanceId
|
|
140
|
+
scopeInstanceId: string;
|
|
141
141
|
}>, z.ZodObject<{
|
|
142
142
|
type: z.ZodLiteral<"parameter">;
|
|
143
143
|
id: z.ZodString;
|
|
144
|
-
scopeInstanceId: z.
|
|
144
|
+
scopeInstanceId: z.ZodString;
|
|
145
145
|
name: z.ZodString;
|
|
146
146
|
}, "strip", z.ZodTypeAny, {
|
|
147
147
|
type: "parameter";
|
|
148
148
|
name: string;
|
|
149
149
|
id: string;
|
|
150
|
-
scopeInstanceId
|
|
150
|
+
scopeInstanceId: string;
|
|
151
151
|
}, {
|
|
152
152
|
type: "parameter";
|
|
153
153
|
name: string;
|
|
154
154
|
id: string;
|
|
155
|
-
scopeInstanceId
|
|
155
|
+
scopeInstanceId: string;
|
|
156
156
|
}>, z.ZodObject<{
|
|
157
157
|
type: z.ZodLiteral<"resource">;
|
|
158
158
|
id: z.ZodString;
|
|
159
|
-
scopeInstanceId: z.
|
|
159
|
+
scopeInstanceId: z.ZodString;
|
|
160
160
|
name: z.ZodString;
|
|
161
161
|
resourceId: z.ZodString;
|
|
162
162
|
}, "strip", z.ZodTypeAny, {
|
|
163
163
|
type: "resource";
|
|
164
164
|
name: string;
|
|
165
165
|
id: string;
|
|
166
|
+
scopeInstanceId: string;
|
|
166
167
|
resourceId: string;
|
|
167
|
-
scopeInstanceId?: string | undefined;
|
|
168
168
|
}, {
|
|
169
169
|
type: "resource";
|
|
170
170
|
name: string;
|
|
171
171
|
id: string;
|
|
172
|
+
scopeInstanceId: string;
|
|
172
173
|
resourceId: string;
|
|
173
|
-
scopeInstanceId?: string | undefined;
|
|
174
174
|
}>]>;
|
|
175
175
|
export type DataSource = z.infer<typeof DataSource>;
|
|
176
176
|
export declare const DataSources: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
177
177
|
type: z.ZodLiteral<"variable">;
|
|
178
178
|
id: z.ZodString;
|
|
179
|
-
scopeInstanceId: z.
|
|
179
|
+
scopeInstanceId: z.ZodString;
|
|
180
180
|
name: z.ZodString;
|
|
181
181
|
value: z.ZodUnion<[z.ZodObject<{
|
|
182
182
|
type: z.ZodLiteral<"number">;
|
|
@@ -244,7 +244,7 @@ export declare const DataSources: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<
|
|
|
244
244
|
type: "variable";
|
|
245
245
|
name: string;
|
|
246
246
|
id: string;
|
|
247
|
-
scopeInstanceId
|
|
247
|
+
scopeInstanceId: string;
|
|
248
248
|
}, {
|
|
249
249
|
value: {
|
|
250
250
|
value: number;
|
|
@@ -265,39 +265,39 @@ export declare const DataSources: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<
|
|
|
265
265
|
type: "variable";
|
|
266
266
|
name: string;
|
|
267
267
|
id: string;
|
|
268
|
-
scopeInstanceId
|
|
268
|
+
scopeInstanceId: string;
|
|
269
269
|
}>, z.ZodObject<{
|
|
270
270
|
type: z.ZodLiteral<"parameter">;
|
|
271
271
|
id: z.ZodString;
|
|
272
|
-
scopeInstanceId: z.
|
|
272
|
+
scopeInstanceId: z.ZodString;
|
|
273
273
|
name: z.ZodString;
|
|
274
274
|
}, "strip", z.ZodTypeAny, {
|
|
275
275
|
type: "parameter";
|
|
276
276
|
name: string;
|
|
277
277
|
id: string;
|
|
278
|
-
scopeInstanceId
|
|
278
|
+
scopeInstanceId: string;
|
|
279
279
|
}, {
|
|
280
280
|
type: "parameter";
|
|
281
281
|
name: string;
|
|
282
282
|
id: string;
|
|
283
|
-
scopeInstanceId
|
|
283
|
+
scopeInstanceId: string;
|
|
284
284
|
}>, z.ZodObject<{
|
|
285
285
|
type: z.ZodLiteral<"resource">;
|
|
286
286
|
id: z.ZodString;
|
|
287
|
-
scopeInstanceId: z.
|
|
287
|
+
scopeInstanceId: z.ZodString;
|
|
288
288
|
name: z.ZodString;
|
|
289
289
|
resourceId: z.ZodString;
|
|
290
290
|
}, "strip", z.ZodTypeAny, {
|
|
291
291
|
type: "resource";
|
|
292
292
|
name: string;
|
|
293
293
|
id: string;
|
|
294
|
+
scopeInstanceId: string;
|
|
294
295
|
resourceId: string;
|
|
295
|
-
scopeInstanceId?: string | undefined;
|
|
296
296
|
}, {
|
|
297
297
|
type: "resource";
|
|
298
298
|
name: string;
|
|
299
299
|
id: string;
|
|
300
|
+
scopeInstanceId: string;
|
|
300
301
|
resourceId: string;
|
|
301
|
-
scopeInstanceId?: string | undefined;
|
|
302
302
|
}>]>>;
|
|
303
303
|
export type DataSources = z.infer<typeof DataSources>;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const Templates: z.ZodEnum<["vanilla", "vercel", "netlify-functions", "netlify-edge-functions", "ssg", "ssg-netlify", "ssg-vercel"]>;
|
|
2
|
+
export declare const Templates: z.ZodEnum<["vanilla", "docker", "vercel", "netlify-functions", "netlify-edge-functions", "ssg", "ssg-netlify", "ssg-vercel"]>;
|
|
3
3
|
export type Templates = z.infer<typeof Templates>;
|
|
4
4
|
export declare const Deployment: z.ZodUnion<[z.ZodObject<{
|
|
5
5
|
destination: z.ZodLiteral<"static">;
|
|
6
6
|
name: z.ZodString;
|
|
7
7
|
assetsDomain: z.ZodString;
|
|
8
|
-
templates: z.ZodArray<z.ZodEnum<["vanilla", "vercel", "netlify-functions", "netlify-edge-functions", "ssg", "ssg-netlify", "ssg-vercel"]>, "many">;
|
|
8
|
+
templates: z.ZodArray<z.ZodEnum<["vanilla", "docker", "vercel", "netlify-functions", "netlify-edge-functions", "ssg", "ssg-netlify", "ssg-vercel"]>, "many">;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
name: string;
|
|
11
11
|
destination: "static";
|
|
12
12
|
assetsDomain: string;
|
|
13
|
-
templates: ("vanilla" | "vercel" | "netlify-functions" | "netlify-edge-functions" | "ssg" | "ssg-netlify" | "ssg-vercel")[];
|
|
13
|
+
templates: ("vanilla" | "docker" | "vercel" | "netlify-functions" | "netlify-edge-functions" | "ssg" | "ssg-netlify" | "ssg-vercel")[];
|
|
14
14
|
}, {
|
|
15
15
|
name: string;
|
|
16
16
|
destination: "static";
|
|
17
17
|
assetsDomain: string;
|
|
18
|
-
templates: ("vanilla" | "vercel" | "netlify-functions" | "netlify-edge-functions" | "ssg" | "ssg-netlify" | "ssg-vercel")[];
|
|
18
|
+
templates: ("vanilla" | "docker" | "vercel" | "netlify-functions" | "netlify-edge-functions" | "ssg" | "ssg-netlify" | "ssg-vercel")[];
|
|
19
19
|
}>, z.ZodObject<{
|
|
20
20
|
destination: z.ZodOptional<z.ZodLiteral<"saas">>;
|
|
21
21
|
domains: z.ZodArray<z.ZodString, "many">;
|
|
@@ -287,7 +287,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
287
287
|
dataSources: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
288
288
|
type: z.ZodLiteral<"variable">;
|
|
289
289
|
id: z.ZodString;
|
|
290
|
-
scopeInstanceId: z.
|
|
290
|
+
scopeInstanceId: z.ZodString;
|
|
291
291
|
name: z.ZodString;
|
|
292
292
|
value: z.ZodUnion<[z.ZodObject<{
|
|
293
293
|
type: z.ZodLiteral<"number">;
|
|
@@ -355,7 +355,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
355
355
|
type: "variable";
|
|
356
356
|
name: string;
|
|
357
357
|
id: string;
|
|
358
|
-
scopeInstanceId
|
|
358
|
+
scopeInstanceId: string;
|
|
359
359
|
}, {
|
|
360
360
|
value: {
|
|
361
361
|
value: number;
|
|
@@ -376,40 +376,40 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
376
376
|
type: "variable";
|
|
377
377
|
name: string;
|
|
378
378
|
id: string;
|
|
379
|
-
scopeInstanceId
|
|
379
|
+
scopeInstanceId: string;
|
|
380
380
|
}>, z.ZodObject<{
|
|
381
381
|
type: z.ZodLiteral<"parameter">;
|
|
382
382
|
id: z.ZodString;
|
|
383
|
-
scopeInstanceId: z.
|
|
383
|
+
scopeInstanceId: z.ZodString;
|
|
384
384
|
name: z.ZodString;
|
|
385
385
|
}, "strip", z.ZodTypeAny, {
|
|
386
386
|
type: "parameter";
|
|
387
387
|
name: string;
|
|
388
388
|
id: string;
|
|
389
|
-
scopeInstanceId
|
|
389
|
+
scopeInstanceId: string;
|
|
390
390
|
}, {
|
|
391
391
|
type: "parameter";
|
|
392
392
|
name: string;
|
|
393
393
|
id: string;
|
|
394
|
-
scopeInstanceId
|
|
394
|
+
scopeInstanceId: string;
|
|
395
395
|
}>, z.ZodObject<{
|
|
396
396
|
type: z.ZodLiteral<"resource">;
|
|
397
397
|
id: z.ZodString;
|
|
398
|
-
scopeInstanceId: z.
|
|
398
|
+
scopeInstanceId: z.ZodString;
|
|
399
399
|
name: z.ZodString;
|
|
400
400
|
resourceId: z.ZodString;
|
|
401
401
|
}, "strip", z.ZodTypeAny, {
|
|
402
402
|
type: "resource";
|
|
403
403
|
name: string;
|
|
404
404
|
id: string;
|
|
405
|
+
scopeInstanceId: string;
|
|
405
406
|
resourceId: string;
|
|
406
|
-
scopeInstanceId?: string | undefined;
|
|
407
407
|
}, {
|
|
408
408
|
type: "resource";
|
|
409
409
|
name: string;
|
|
410
410
|
id: string;
|
|
411
|
+
scopeInstanceId: string;
|
|
411
412
|
resourceId: string;
|
|
412
|
-
scopeInstanceId?: string | undefined;
|
|
413
413
|
}>]>, "many">;
|
|
414
414
|
resources: z.ZodArray<z.ZodObject<{
|
|
415
415
|
id: z.ZodString;
|
|
@@ -1803,18 +1803,18 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
1803
1803
|
type: "variable";
|
|
1804
1804
|
name: string;
|
|
1805
1805
|
id: string;
|
|
1806
|
-
scopeInstanceId
|
|
1806
|
+
scopeInstanceId: string;
|
|
1807
1807
|
} | {
|
|
1808
1808
|
type: "parameter";
|
|
1809
1809
|
name: string;
|
|
1810
1810
|
id: string;
|
|
1811
|
-
scopeInstanceId
|
|
1811
|
+
scopeInstanceId: string;
|
|
1812
1812
|
} | {
|
|
1813
1813
|
type: "resource";
|
|
1814
1814
|
name: string;
|
|
1815
1815
|
id: string;
|
|
1816
|
+
scopeInstanceId: string;
|
|
1816
1817
|
resourceId: string;
|
|
1817
|
-
scopeInstanceId?: string | undefined;
|
|
1818
1818
|
})[];
|
|
1819
1819
|
resources: {
|
|
1820
1820
|
name: string;
|
|
@@ -2310,18 +2310,18 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
2310
2310
|
type: "variable";
|
|
2311
2311
|
name: string;
|
|
2312
2312
|
id: string;
|
|
2313
|
-
scopeInstanceId
|
|
2313
|
+
scopeInstanceId: string;
|
|
2314
2314
|
} | {
|
|
2315
2315
|
type: "parameter";
|
|
2316
2316
|
name: string;
|
|
2317
2317
|
id: string;
|
|
2318
|
-
scopeInstanceId
|
|
2318
|
+
scopeInstanceId: string;
|
|
2319
2319
|
} | {
|
|
2320
2320
|
type: "resource";
|
|
2321
2321
|
name: string;
|
|
2322
2322
|
id: string;
|
|
2323
|
+
scopeInstanceId: string;
|
|
2323
2324
|
resourceId: string;
|
|
2324
|
-
scopeInstanceId?: string | undefined;
|
|
2325
2325
|
})[];
|
|
2326
2326
|
resources: {
|
|
2327
2327
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.201.0",
|
|
4
4
|
"description": "Webstudio project data schema",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"reserved-identifiers": "^1.0.0",
|
|
40
40
|
"type-fest": "^4.32.0",
|
|
41
41
|
"zod": "^3.22.4",
|
|
42
|
-
"@webstudio-is/
|
|
43
|
-
"@webstudio-is/
|
|
44
|
-
"@webstudio-is/
|
|
42
|
+
"@webstudio-is/fonts": "0.201.0",
|
|
43
|
+
"@webstudio-is/css-engine": "0.201.0",
|
|
44
|
+
"@webstudio-is/icons": "0.201.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"html-tags": "^4.0.0",
|
|
48
48
|
"vitest": "^3.0.2",
|
|
49
|
-
"@webstudio-is/template": "0.200.0",
|
|
50
49
|
"@webstudio-is/css-data": "0.0.0",
|
|
51
|
-
"@webstudio-is/tsconfig": "1.0.7"
|
|
50
|
+
"@webstudio-is/tsconfig": "1.0.7",
|
|
51
|
+
"@webstudio-is/template": "0.201.0"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"typecheck": "tsc",
|