@webstudio-is/sdk 0.0.0-4f7bf18 → 0.0.0-50b8685

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.
@@ -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.ZodString;
51
+ scopeInstanceId: z.ZodOptional<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: string;
119
+ scopeInstanceId?: string | undefined;
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: string;
140
+ scopeInstanceId?: string | undefined;
141
141
  }>, z.ZodObject<{
142
142
  type: z.ZodLiteral<"parameter">;
143
143
  id: z.ZodString;
144
- scopeInstanceId: z.ZodString;
144
+ scopeInstanceId: z.ZodOptional<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: string;
150
+ scopeInstanceId?: string | undefined;
151
151
  }, {
152
152
  type: "parameter";
153
153
  name: string;
154
154
  id: string;
155
- scopeInstanceId: string;
155
+ scopeInstanceId?: string | undefined;
156
156
  }>, z.ZodObject<{
157
157
  type: z.ZodLiteral<"resource">;
158
158
  id: z.ZodString;
159
- scopeInstanceId: z.ZodString;
159
+ scopeInstanceId: z.ZodOptional<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;
167
166
  resourceId: string;
167
+ scopeInstanceId?: string | undefined;
168
168
  }, {
169
169
  type: "resource";
170
170
  name: string;
171
171
  id: string;
172
- scopeInstanceId: string;
173
172
  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.ZodString;
179
+ scopeInstanceId: z.ZodOptional<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: string;
247
+ scopeInstanceId?: string | undefined;
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: string;
268
+ scopeInstanceId?: string | undefined;
269
269
  }>, z.ZodObject<{
270
270
  type: z.ZodLiteral<"parameter">;
271
271
  id: z.ZodString;
272
- scopeInstanceId: z.ZodString;
272
+ scopeInstanceId: z.ZodOptional<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: string;
278
+ scopeInstanceId?: string | undefined;
279
279
  }, {
280
280
  type: "parameter";
281
281
  name: string;
282
282
  id: string;
283
- scopeInstanceId: string;
283
+ scopeInstanceId?: string | undefined;
284
284
  }>, z.ZodObject<{
285
285
  type: z.ZodLiteral<"resource">;
286
286
  id: z.ZodString;
287
- scopeInstanceId: z.ZodString;
287
+ scopeInstanceId: z.ZodOptional<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;
295
294
  resourceId: string;
295
+ scopeInstanceId?: string | undefined;
296
296
  }, {
297
297
  type: "resource";
298
298
  name: string;
299
299
  id: string;
300
- scopeInstanceId: string;
301
300
  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<["docker", "vercel", "netlify", "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<["docker", "vercel", "netlify", "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: ("docker" | "vercel" | "netlify" | "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: ("docker" | "vercel" | "netlify" | "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">;