@webstudio-is/sdk 0.179.0 → 0.182.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/index.js +6 -1
- package/lib/types/schema/deployment.d.ts +12 -3
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -436,7 +436,12 @@ var Deployment = z11.union([
|
|
|
436
436
|
z11.object({
|
|
437
437
|
destination: z11.literal("saas").optional(),
|
|
438
438
|
domains: z11.array(z11.string()),
|
|
439
|
-
|
|
439
|
+
assetsDomain: z11.string().optional(),
|
|
440
|
+
/**
|
|
441
|
+
* @deprecated This field is deprecated, use `domains` instead.
|
|
442
|
+
*/
|
|
443
|
+
projectDomain: z11.string().optional(),
|
|
444
|
+
excludeWstdDomainFromSearch: z11.boolean().optional()
|
|
440
445
|
})
|
|
441
446
|
]);
|
|
442
447
|
|
|
@@ -19,14 +19,23 @@ export declare const Deployment: z.ZodUnion<[z.ZodObject<{
|
|
|
19
19
|
}>, z.ZodObject<{
|
|
20
20
|
destination: z.ZodOptional<z.ZodLiteral<"saas">>;
|
|
21
21
|
domains: z.ZodArray<z.ZodString, "many">;
|
|
22
|
-
|
|
22
|
+
assetsDomain: z.ZodOptional<z.ZodString>;
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated This field is deprecated, use `domains` instead.
|
|
25
|
+
*/
|
|
26
|
+
projectDomain: z.ZodOptional<z.ZodString>;
|
|
27
|
+
excludeWstdDomainFromSearch: z.ZodOptional<z.ZodBoolean>;
|
|
23
28
|
}, "strip", z.ZodTypeAny, {
|
|
24
29
|
domains: string[];
|
|
25
|
-
projectDomain: string;
|
|
26
30
|
destination?: "saas" | undefined;
|
|
31
|
+
assetsDomain?: string | undefined;
|
|
32
|
+
projectDomain?: string | undefined;
|
|
33
|
+
excludeWstdDomainFromSearch?: boolean | undefined;
|
|
27
34
|
}, {
|
|
28
35
|
domains: string[];
|
|
29
|
-
projectDomain: string;
|
|
30
36
|
destination?: "saas" | undefined;
|
|
37
|
+
assetsDomain?: string | undefined;
|
|
38
|
+
projectDomain?: string | undefined;
|
|
39
|
+
excludeWstdDomainFromSearch?: boolean | undefined;
|
|
31
40
|
}>]>;
|
|
32
41
|
export type Deployment = z.infer<typeof Deployment>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.182.0",
|
|
4
4
|
"description": "Webstudio project data schema",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
"acorn-walk": "^8.3.2",
|
|
32
32
|
"type-fest": "^4.24.0",
|
|
33
33
|
"zod": "^3.22.4",
|
|
34
|
-
"@webstudio-is/css-engine": "0.
|
|
35
|
-
"@webstudio-is/fonts": "0.
|
|
34
|
+
"@webstudio-is/css-engine": "0.182.0",
|
|
35
|
+
"@webstudio-is/fonts": "0.182.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@jest/globals": "^29.7.0",
|
|
39
39
|
"html-tags": "^4.0.0",
|
|
40
40
|
"strip-indent": "^4.0.0",
|
|
41
|
-
"@webstudio-is/css-data": "0.0.0",
|
|
42
41
|
"@webstudio-is/tsconfig": "1.0.7",
|
|
42
|
+
"@webstudio-is/css-data": "0.0.0",
|
|
43
43
|
"@webstudio-is/jest-config": "1.0.7"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|