@webstudio-is/sdk 0.234.0 → 0.236.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/__generated__/normalize.css.js +8 -249
- package/lib/core-templates.js +8 -249
- package/lib/index.js +8 -249
- package/lib/types/schema/animation-schema.d.ts +16001 -5201
- package/lib/types/schema/assets.d.ts +38 -38
- package/lib/types/schema/breakpoints.d.ts +8 -8
- package/lib/types/schema/component-meta.d.ts +3441 -1041
- package/lib/types/schema/instances.d.ts +8 -8
- package/lib/types/schema/pages.d.ts +88 -88
- package/lib/types/schema/prop-meta.d.ts +46 -46
- package/lib/types/schema/props.d.ts +10233 -3033
- package/lib/types/schema/resources.d.ts +10 -10
- package/lib/types/schema/styles.d.ts +1739 -419
- package/lib/types/schema/webstudio.d.ts +7928 -3368
- package/package.json +6 -6
- package/lib/types/core-templates.d.ts +0 -9
- package/lib/types/css.test.d.ts +0 -1
- package/lib/types/expression.test.d.ts +0 -1
- package/lib/types/instances-utils.test.d.ts +0 -1
- package/lib/types/page-meta-generator.test.d.ts +0 -1
- package/lib/types/page-utils.test.d.ts +0 -1
- package/lib/types/resource-loader.test.d.ts +0 -1
- package/lib/types/resources-generator.test.d.ts +0 -1
- package/lib/types/scope.test.d.ts +0 -1
- package/lib/types/url-pattern.test.d.ts +0 -1
|
@@ -28,34 +28,34 @@ export declare const Resource: z.ZodObject<{
|
|
|
28
28
|
body: z.ZodOptional<z.ZodString>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
30
|
name: string;
|
|
31
|
-
url: string;
|
|
32
31
|
id: string;
|
|
33
32
|
method: "get" | "post" | "put" | "delete";
|
|
33
|
+
url: string;
|
|
34
34
|
headers: {
|
|
35
35
|
value: string;
|
|
36
36
|
name: string;
|
|
37
37
|
}[];
|
|
38
|
-
body?: string | undefined;
|
|
39
38
|
control?: "system" | "graphql" | undefined;
|
|
40
39
|
searchParams?: {
|
|
41
40
|
value: string;
|
|
42
41
|
name: string;
|
|
43
42
|
}[] | undefined;
|
|
43
|
+
body?: string | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
name: string;
|
|
46
|
-
url: string;
|
|
47
46
|
id: string;
|
|
48
47
|
method: "get" | "post" | "put" | "delete";
|
|
48
|
+
url: string;
|
|
49
49
|
headers: {
|
|
50
50
|
value: string;
|
|
51
51
|
name: string;
|
|
52
52
|
}[];
|
|
53
|
-
body?: string | undefined;
|
|
54
53
|
control?: "system" | "graphql" | undefined;
|
|
55
54
|
searchParams?: {
|
|
56
55
|
value: string;
|
|
57
56
|
name: string;
|
|
58
57
|
}[] | undefined;
|
|
58
|
+
body?: string | undefined;
|
|
59
59
|
}>;
|
|
60
60
|
export type Resource = z.infer<typeof Resource>;
|
|
61
61
|
export declare const ResourceRequest: z.ZodObject<{
|
|
@@ -85,8 +85,8 @@ export declare const ResourceRequest: z.ZodObject<{
|
|
|
85
85
|
body: z.ZodOptional<z.ZodUnknown>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
87
|
name: string;
|
|
88
|
-
url: string;
|
|
89
88
|
method: "get" | "post" | "put" | "delete";
|
|
89
|
+
url: string;
|
|
90
90
|
searchParams: {
|
|
91
91
|
name: string;
|
|
92
92
|
value?: unknown;
|
|
@@ -98,8 +98,8 @@ export declare const ResourceRequest: z.ZodObject<{
|
|
|
98
98
|
body?: unknown;
|
|
99
99
|
}, {
|
|
100
100
|
name: string;
|
|
101
|
-
url: string;
|
|
102
101
|
method: "get" | "post" | "put" | "delete";
|
|
102
|
+
url: string;
|
|
103
103
|
searchParams: {
|
|
104
104
|
name: string;
|
|
105
105
|
value?: unknown;
|
|
@@ -140,33 +140,33 @@ export declare const Resources: z.ZodMap<z.ZodString, z.ZodObject<{
|
|
|
140
140
|
body: z.ZodOptional<z.ZodString>;
|
|
141
141
|
}, "strip", z.ZodTypeAny, {
|
|
142
142
|
name: string;
|
|
143
|
-
url: string;
|
|
144
143
|
id: string;
|
|
145
144
|
method: "get" | "post" | "put" | "delete";
|
|
145
|
+
url: string;
|
|
146
146
|
headers: {
|
|
147
147
|
value: string;
|
|
148
148
|
name: string;
|
|
149
149
|
}[];
|
|
150
|
-
body?: string | undefined;
|
|
151
150
|
control?: "system" | "graphql" | undefined;
|
|
152
151
|
searchParams?: {
|
|
153
152
|
value: string;
|
|
154
153
|
name: string;
|
|
155
154
|
}[] | undefined;
|
|
155
|
+
body?: string | undefined;
|
|
156
156
|
}, {
|
|
157
157
|
name: string;
|
|
158
|
-
url: string;
|
|
159
158
|
id: string;
|
|
160
159
|
method: "get" | "post" | "put" | "delete";
|
|
160
|
+
url: string;
|
|
161
161
|
headers: {
|
|
162
162
|
value: string;
|
|
163
163
|
name: string;
|
|
164
164
|
}[];
|
|
165
|
-
body?: string | undefined;
|
|
166
165
|
control?: "system" | "graphql" | undefined;
|
|
167
166
|
searchParams?: {
|
|
168
167
|
value: string;
|
|
169
168
|
name: string;
|
|
170
169
|
}[] | undefined;
|
|
170
|
+
body?: string | undefined;
|
|
171
171
|
}>>;
|
|
172
172
|
export type Resources = z.infer<typeof Resources>;
|