@wordrhyme/plugin 0.1.0-alpha.10
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/admin/index.d.ts +19 -0
- package/dist/admin/index.js +42 -0
- package/dist/admin/index.js.map +1 -0
- package/dist/artifact.d.ts +17 -0
- package/dist/artifact.js +97 -0
- package/dist/artifact.js.map +1 -0
- package/dist/chunk-3IM3FPTJ.js +1470 -0
- package/dist/chunk-3IM3FPTJ.js.map +1 -0
- package/dist/chunk-6GDCFR67.js +218 -0
- package/dist/chunk-6GDCFR67.js.map +1 -0
- package/dist/chunk-7EM22QYB.js +333 -0
- package/dist/chunk-7EM22QYB.js.map +1 -0
- package/dist/chunk-BI7E5CVM.js +26 -0
- package/dist/chunk-BI7E5CVM.js.map +1 -0
- package/dist/chunk-BVOTSKM2.js +254 -0
- package/dist/chunk-BVOTSKM2.js.map +1 -0
- package/dist/chunk-DY44Q4CK.js +188 -0
- package/dist/chunk-DY44Q4CK.js.map +1 -0
- package/dist/chunk-MZOLSLJ7.js +65 -0
- package/dist/chunk-MZOLSLJ7.js.map +1 -0
- package/dist/chunk-O4AYK3YP.js +156 -0
- package/dist/chunk-O4AYK3YP.js.map +1 -0
- package/dist/chunk-UGMYO6AU.js +37 -0
- package/dist/chunk-UGMYO6AU.js.map +1 -0
- package/dist/client-poND5ovI.d.ts +679 -0
- package/dist/client.d.ts +9 -0
- package/dist/client.js +68 -0
- package/dist/client.js.map +1 -0
- package/dist/dev-utils.d.ts +105 -0
- package/dist/dev-utils.js +35 -0
- package/dist/dev-utils.js.map +1 -0
- package/dist/entity-extensions-CnhKoT4k.d.ts +56 -0
- package/dist/globalization.d.ts +85 -0
- package/dist/globalization.js +53 -0
- package/dist/globalization.js.map +1 -0
- package/dist/index.d.ts +724 -0
- package/dist/index.js +931 -0
- package/dist/index.js.map +1 -0
- package/dist/locale.d.ts +15 -0
- package/dist/locale.js +13 -0
- package/dist/locale.js.map +1 -0
- package/dist/manifest-CTFX-h0w.d.ts +2053 -0
- package/dist/react.d.ts +227 -0
- package/dist/react.js +226 -0
- package/dist/react.js.map +1 -0
- package/dist/release-BDJeO54k.d.ts +230 -0
- package/dist/server.d.ts +115 -0
- package/dist/server.js +194 -0
- package/dist/server.js.map +1 -0
- package/dist/time.d.ts +34 -0
- package/dist/time.js +31 -0
- package/dist/time.js.map +1 -0
- package/dist/trpc.d.ts +44 -0
- package/dist/trpc.js +11 -0
- package/dist/trpc.js.map +1 -0
- package/dist/types-BJo3_91V.d.ts +1997 -0
- package/package.json +92 -0
|
@@ -0,0 +1,679 @@
|
|
|
1
|
+
import './manifest-CTFX-h0w.js';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { aZ as WebJsonValue, a$ as WebPluginHead, W as WebSlotRemoteExtension } from './types-BJo3_91V.js';
|
|
4
|
+
|
|
5
|
+
type ComponentType = (props: any) => any;
|
|
6
|
+
type Target = NavTarget | NavGroupTarget | RouteTarget | SettingsTarget | DashboardTarget | GenericTarget;
|
|
7
|
+
interface NavTarget {
|
|
8
|
+
slot: 'nav.sidebar';
|
|
9
|
+
path: string;
|
|
10
|
+
icon?: string;
|
|
11
|
+
order?: number;
|
|
12
|
+
requiredPermission?: string;
|
|
13
|
+
parent?: string;
|
|
14
|
+
}
|
|
15
|
+
interface NavGroupTarget {
|
|
16
|
+
slot: 'nav.sidebar.group';
|
|
17
|
+
path?: string;
|
|
18
|
+
icon?: string;
|
|
19
|
+
order?: number;
|
|
20
|
+
}
|
|
21
|
+
interface RouteTarget {
|
|
22
|
+
slot: 'plugin.route';
|
|
23
|
+
path: string;
|
|
24
|
+
order?: number;
|
|
25
|
+
params?: Record<string, string>;
|
|
26
|
+
}
|
|
27
|
+
interface SettingsTarget {
|
|
28
|
+
slot: 'settings.plugin';
|
|
29
|
+
category?: string;
|
|
30
|
+
order?: number;
|
|
31
|
+
visibility?: 'platform' | 'all';
|
|
32
|
+
}
|
|
33
|
+
interface DashboardTarget {
|
|
34
|
+
slot: 'dashboard.widgets' | 'dashboard.overview';
|
|
35
|
+
order?: number;
|
|
36
|
+
colSpan?: 1 | 2 | 3 | 4;
|
|
37
|
+
}
|
|
38
|
+
interface GenericTarget {
|
|
39
|
+
slot: string;
|
|
40
|
+
order?: number;
|
|
41
|
+
}
|
|
42
|
+
interface SlotContext {
|
|
43
|
+
[key: string]: unknown;
|
|
44
|
+
}
|
|
45
|
+
interface UIExtensionDef {
|
|
46
|
+
id: string;
|
|
47
|
+
label: string;
|
|
48
|
+
icon?: string;
|
|
49
|
+
category?: string;
|
|
50
|
+
component?: ComponentType;
|
|
51
|
+
remoteComponent?: string;
|
|
52
|
+
targets: Target[];
|
|
53
|
+
/** If true, the extension is registered for component matching but hidden from sidebar */
|
|
54
|
+
hidden?: boolean;
|
|
55
|
+
}
|
|
56
|
+
type ExtensionComponentMap = Record<string, ComponentType>;
|
|
57
|
+
type ToolbarHandlerMap = Record<string, () => void>;
|
|
58
|
+
declare function defineExtension(ext: UIExtensionDef): UIExtensionDef;
|
|
59
|
+
declare function navExtension(ext: {
|
|
60
|
+
id: string;
|
|
61
|
+
label: string;
|
|
62
|
+
icon?: string;
|
|
63
|
+
component?: ComponentType;
|
|
64
|
+
remoteComponent?: string;
|
|
65
|
+
path: string;
|
|
66
|
+
order?: number;
|
|
67
|
+
requiredPermission?: string;
|
|
68
|
+
/** If true, registers component but hides from sidebar (menu managed by host) */
|
|
69
|
+
hidden?: boolean;
|
|
70
|
+
}): UIExtensionDef;
|
|
71
|
+
declare function routeExtension(ext: {
|
|
72
|
+
id: string;
|
|
73
|
+
label: string;
|
|
74
|
+
icon?: string;
|
|
75
|
+
component?: ComponentType;
|
|
76
|
+
remoteComponent?: string;
|
|
77
|
+
path: string;
|
|
78
|
+
order?: number;
|
|
79
|
+
params?: Record<string, string>;
|
|
80
|
+
}): UIExtensionDef;
|
|
81
|
+
declare function settingsExtension(ext: {
|
|
82
|
+
id: string;
|
|
83
|
+
label: string;
|
|
84
|
+
icon?: string;
|
|
85
|
+
component?: ComponentType;
|
|
86
|
+
remoteComponent?: string;
|
|
87
|
+
order?: number;
|
|
88
|
+
category?: string;
|
|
89
|
+
visibility?: 'platform' | 'all';
|
|
90
|
+
}): UIExtensionDef;
|
|
91
|
+
declare function dashboardExtension(ext: {
|
|
92
|
+
id: string;
|
|
93
|
+
label: string;
|
|
94
|
+
icon?: string;
|
|
95
|
+
component?: ComponentType;
|
|
96
|
+
remoteComponent?: string;
|
|
97
|
+
order?: number;
|
|
98
|
+
colSpan?: 1 | 2 | 3 | 4;
|
|
99
|
+
}): UIExtensionDef;
|
|
100
|
+
declare function multiSlotExtension(ext: UIExtensionDef): UIExtensionDef;
|
|
101
|
+
|
|
102
|
+
declare const presentationIdSchema: z.ZodString;
|
|
103
|
+
declare const presentationPluginIdSchema: z.ZodString;
|
|
104
|
+
declare const presentationContractVersionSchema: z.ZodString;
|
|
105
|
+
declare const presentationContractRangeSchema: z.ZodString;
|
|
106
|
+
declare const presentationSchemaRefSchema: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>;
|
|
107
|
+
declare const presentationModelSchema: z.ZodJSONSchema;
|
|
108
|
+
declare const presentationRenderModeSchema: z.ZodEnum<{
|
|
109
|
+
island: "island";
|
|
110
|
+
react: "react";
|
|
111
|
+
ssr: "ssr";
|
|
112
|
+
}>;
|
|
113
|
+
declare const presentationRegionSchema: z.ZodObject<{
|
|
114
|
+
id: z.ZodString;
|
|
115
|
+
label: z.ZodOptional<z.ZodString>;
|
|
116
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
117
|
+
accepts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
118
|
+
contextSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>>;
|
|
119
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
120
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
121
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
}, z.core.$strip>;
|
|
123
|
+
declare const presentationActionSchema: z.ZodObject<{
|
|
124
|
+
id: z.ZodString;
|
|
125
|
+
inputSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>>;
|
|
126
|
+
outputSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>>;
|
|
127
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
128
|
+
}, z.core.$loose>;
|
|
129
|
+
declare const presentationSurfaceSchema: z.ZodObject<{
|
|
130
|
+
id: z.ZodString;
|
|
131
|
+
contractVersion: z.ZodString;
|
|
132
|
+
modelSchema: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>;
|
|
133
|
+
defaultRenderer: z.ZodString;
|
|
134
|
+
clientComponent: z.ZodOptional<z.ZodString>;
|
|
135
|
+
renderModes: z.ZodArray<z.ZodEnum<{
|
|
136
|
+
island: "island";
|
|
137
|
+
react: "react";
|
|
138
|
+
ssr: "ssr";
|
|
139
|
+
}>>;
|
|
140
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
141
|
+
id: z.ZodString;
|
|
142
|
+
inputSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>>;
|
|
143
|
+
outputSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>>;
|
|
144
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
145
|
+
}, z.core.$loose>>>;
|
|
146
|
+
regions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
147
|
+
id: z.ZodString;
|
|
148
|
+
label: z.ZodOptional<z.ZodString>;
|
|
149
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
150
|
+
accepts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
151
|
+
contextSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>>;
|
|
152
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
153
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
154
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
155
|
+
}, z.core.$strip>>>;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
declare const presentationAdapterSchema: z.ZodObject<{
|
|
158
|
+
id: z.ZodOptional<z.ZodString>;
|
|
159
|
+
label: z.ZodOptional<z.ZodString>;
|
|
160
|
+
labelKey: z.ZodOptional<z.ZodString>;
|
|
161
|
+
ownerPluginId: z.ZodString;
|
|
162
|
+
surfaceId: z.ZodString;
|
|
163
|
+
accepts: z.ZodString;
|
|
164
|
+
serverRenderer: z.ZodOptional<z.ZodString>;
|
|
165
|
+
clientComponent: z.ZodOptional<z.ZodString>;
|
|
166
|
+
expose: z.ZodOptional<z.ZodString>;
|
|
167
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
168
|
+
regions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
169
|
+
}, z.core.$strip>;
|
|
170
|
+
declare const themeAssetPathSchema: z.ZodString;
|
|
171
|
+
declare const themeAssetSchema: z.ZodObject<{
|
|
172
|
+
path: z.ZodString;
|
|
173
|
+
kind: z.ZodEnum<{
|
|
174
|
+
stylesheet: "stylesheet";
|
|
175
|
+
script: "script";
|
|
176
|
+
font: "font";
|
|
177
|
+
image: "image";
|
|
178
|
+
other: "other";
|
|
179
|
+
}>;
|
|
180
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
181
|
+
media: z.ZodOptional<z.ZodString>;
|
|
182
|
+
preload: z.ZodOptional<z.ZodBoolean>;
|
|
183
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
184
|
+
}, z.core.$loose>;
|
|
185
|
+
declare const themeHeadSchema: z.ZodObject<{
|
|
186
|
+
title: z.ZodOptional<z.ZodString>;
|
|
187
|
+
description: z.ZodOptional<z.ZodString>;
|
|
188
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
189
|
+
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
190
|
+
rel: z.ZodString;
|
|
191
|
+
href: z.ZodString;
|
|
192
|
+
as: z.ZodOptional<z.ZodString>;
|
|
193
|
+
type: z.ZodOptional<z.ZodString>;
|
|
194
|
+
}, z.core.$strip>>>;
|
|
195
|
+
}, z.core.$strip>;
|
|
196
|
+
declare const themeTokenTypeSchema: z.ZodEnum<{
|
|
197
|
+
number: "number";
|
|
198
|
+
enum: "enum";
|
|
199
|
+
image: "image";
|
|
200
|
+
color: "color";
|
|
201
|
+
length: "length";
|
|
202
|
+
"font-family": "font-family";
|
|
203
|
+
shadow: "shadow";
|
|
204
|
+
}>;
|
|
205
|
+
declare const themeTokenSchema: z.ZodObject<{
|
|
206
|
+
id: z.ZodString;
|
|
207
|
+
cssVariable: z.ZodString;
|
|
208
|
+
type: z.ZodEnum<{
|
|
209
|
+
number: "number";
|
|
210
|
+
enum: "enum";
|
|
211
|
+
image: "image";
|
|
212
|
+
color: "color";
|
|
213
|
+
length: "length";
|
|
214
|
+
"font-family": "font-family";
|
|
215
|
+
shadow: "shadow";
|
|
216
|
+
}>;
|
|
217
|
+
default: z.ZodJSONSchema;
|
|
218
|
+
enumValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
219
|
+
label: z.ZodOptional<z.ZodString>;
|
|
220
|
+
labelKey: z.ZodOptional<z.ZodString>;
|
|
221
|
+
description: z.ZodOptional<z.ZodString>;
|
|
222
|
+
descriptionKey: z.ZodOptional<z.ZodString>;
|
|
223
|
+
}, z.core.$strip>;
|
|
224
|
+
declare const themeTokenPresetSchema: z.ZodObject<{
|
|
225
|
+
id: z.ZodString;
|
|
226
|
+
label: z.ZodOptional<z.ZodString>;
|
|
227
|
+
labelKey: z.ZodOptional<z.ZodString>;
|
|
228
|
+
description: z.ZodOptional<z.ZodString>;
|
|
229
|
+
descriptionKey: z.ZodOptional<z.ZodString>;
|
|
230
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
231
|
+
values: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
232
|
+
}, z.core.$strip>;
|
|
233
|
+
declare const themeSiteShellSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
234
|
+
serverRenderer: z.ZodString;
|
|
235
|
+
clientComponent: z.ZodOptional<z.ZodString>;
|
|
236
|
+
expose: z.ZodOptional<z.ZodString>;
|
|
237
|
+
}, z.core.$strip>]>;
|
|
238
|
+
declare const themeHomeTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
239
|
+
type: z.ZodLiteral<"theme-route">;
|
|
240
|
+
routeId: z.ZodString;
|
|
241
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
242
|
+
type: z.ZodLiteral<"plugin-route">;
|
|
243
|
+
pluginId: z.ZodString;
|
|
244
|
+
routeId: z.ZodString;
|
|
245
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
246
|
+
type: z.ZodLiteral<"designer-page">;
|
|
247
|
+
pageId: z.ZodString;
|
|
248
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
249
|
+
type: z.ZodLiteral<"default">;
|
|
250
|
+
}, z.core.$strip>], "type">;
|
|
251
|
+
declare const themeIntegrationSchema: z.ZodObject<{
|
|
252
|
+
pluginId: z.ZodString;
|
|
253
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
254
|
+
surfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
255
|
+
id: z.ZodString;
|
|
256
|
+
accepts: z.ZodString;
|
|
257
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
258
|
+
}, z.core.$strip>>>;
|
|
259
|
+
storefrontApis: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
260
|
+
id: z.ZodString;
|
|
261
|
+
accepts: z.ZodString;
|
|
262
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
263
|
+
}, z.core.$strip>>>;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
declare const webPresentationSchema: z.ZodObject<{
|
|
266
|
+
contractVersion: z.ZodLiteral<1>;
|
|
267
|
+
shell: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
268
|
+
serverRenderer: z.ZodString;
|
|
269
|
+
clientComponent: z.ZodOptional<z.ZodString>;
|
|
270
|
+
expose: z.ZodOptional<z.ZodString>;
|
|
271
|
+
}, z.core.$strip>]>>;
|
|
272
|
+
defaultHomeRouteId: z.ZodOptional<z.ZodString>;
|
|
273
|
+
head: z.ZodOptional<z.ZodObject<{
|
|
274
|
+
title: z.ZodOptional<z.ZodString>;
|
|
275
|
+
description: z.ZodOptional<z.ZodString>;
|
|
276
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
277
|
+
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
278
|
+
rel: z.ZodString;
|
|
279
|
+
href: z.ZodString;
|
|
280
|
+
as: z.ZodOptional<z.ZodString>;
|
|
281
|
+
type: z.ZodOptional<z.ZodString>;
|
|
282
|
+
}, z.core.$strip>>>;
|
|
283
|
+
}, z.core.$strip>>;
|
|
284
|
+
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
285
|
+
path: z.ZodString;
|
|
286
|
+
kind: z.ZodEnum<{
|
|
287
|
+
stylesheet: "stylesheet";
|
|
288
|
+
script: "script";
|
|
289
|
+
font: "font";
|
|
290
|
+
image: "image";
|
|
291
|
+
other: "other";
|
|
292
|
+
}>;
|
|
293
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
294
|
+
media: z.ZodOptional<z.ZodString>;
|
|
295
|
+
preload: z.ZodOptional<z.ZodBoolean>;
|
|
296
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
297
|
+
}, z.core.$loose>>>;
|
|
298
|
+
tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
299
|
+
id: z.ZodString;
|
|
300
|
+
cssVariable: z.ZodString;
|
|
301
|
+
type: z.ZodEnum<{
|
|
302
|
+
number: "number";
|
|
303
|
+
enum: "enum";
|
|
304
|
+
image: "image";
|
|
305
|
+
color: "color";
|
|
306
|
+
length: "length";
|
|
307
|
+
"font-family": "font-family";
|
|
308
|
+
shadow: "shadow";
|
|
309
|
+
}>;
|
|
310
|
+
default: z.ZodJSONSchema;
|
|
311
|
+
enumValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
312
|
+
label: z.ZodOptional<z.ZodString>;
|
|
313
|
+
labelKey: z.ZodOptional<z.ZodString>;
|
|
314
|
+
description: z.ZodOptional<z.ZodString>;
|
|
315
|
+
descriptionKey: z.ZodOptional<z.ZodString>;
|
|
316
|
+
}, z.core.$strip>>>;
|
|
317
|
+
presets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
318
|
+
id: z.ZodString;
|
|
319
|
+
label: z.ZodOptional<z.ZodString>;
|
|
320
|
+
labelKey: z.ZodOptional<z.ZodString>;
|
|
321
|
+
description: z.ZodOptional<z.ZodString>;
|
|
322
|
+
descriptionKey: z.ZodOptional<z.ZodString>;
|
|
323
|
+
extends: z.ZodOptional<z.ZodString>;
|
|
324
|
+
values: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
325
|
+
}, z.core.$strip>>>;
|
|
326
|
+
settingsSchema: z.ZodOptional<z.ZodString>;
|
|
327
|
+
settingsVersion: z.ZodOptional<z.ZodNumber>;
|
|
328
|
+
adapters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
329
|
+
id: z.ZodOptional<z.ZodString>;
|
|
330
|
+
label: z.ZodOptional<z.ZodString>;
|
|
331
|
+
labelKey: z.ZodOptional<z.ZodString>;
|
|
332
|
+
ownerPluginId: z.ZodString;
|
|
333
|
+
surfaceId: z.ZodString;
|
|
334
|
+
accepts: z.ZodString;
|
|
335
|
+
serverRenderer: z.ZodOptional<z.ZodString>;
|
|
336
|
+
clientComponent: z.ZodOptional<z.ZodString>;
|
|
337
|
+
expose: z.ZodOptional<z.ZodString>;
|
|
338
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
339
|
+
regions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
340
|
+
}, z.core.$strip>>>;
|
|
341
|
+
integrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
342
|
+
pluginId: z.ZodString;
|
|
343
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
344
|
+
surfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
345
|
+
id: z.ZodString;
|
|
346
|
+
accepts: z.ZodString;
|
|
347
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
348
|
+
}, z.core.$strip>>>;
|
|
349
|
+
storefrontApis: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
350
|
+
id: z.ZodString;
|
|
351
|
+
accepts: z.ZodString;
|
|
352
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
353
|
+
}, z.core.$strip>>>;
|
|
354
|
+
}, z.core.$strip>>>;
|
|
355
|
+
}, z.core.$strip>;
|
|
356
|
+
declare const presentationDiagnosticSeveritySchema: z.ZodEnum<{
|
|
357
|
+
error: "error";
|
|
358
|
+
info: "info";
|
|
359
|
+
warning: "warning";
|
|
360
|
+
}>;
|
|
361
|
+
declare const presentationCompatibilityStatusSchema: z.ZodEnum<{
|
|
362
|
+
compatible: "compatible";
|
|
363
|
+
incompatible: "incompatible";
|
|
364
|
+
missing: "missing";
|
|
365
|
+
}>;
|
|
366
|
+
declare const presentationDiagnosticSchema: z.ZodObject<{
|
|
367
|
+
code: z.ZodString;
|
|
368
|
+
severity: z.ZodEnum<{
|
|
369
|
+
error: "error";
|
|
370
|
+
info: "info";
|
|
371
|
+
warning: "warning";
|
|
372
|
+
}>;
|
|
373
|
+
ownerPluginId: z.ZodString;
|
|
374
|
+
contractId: z.ZodString;
|
|
375
|
+
expectedRange: z.ZodOptional<z.ZodString>;
|
|
376
|
+
actualVersion: z.ZodOptional<z.ZodString>;
|
|
377
|
+
required: z.ZodBoolean;
|
|
378
|
+
remediation: z.ZodEnum<{
|
|
379
|
+
fallback: "fallback";
|
|
380
|
+
install: "install";
|
|
381
|
+
enable: "enable";
|
|
382
|
+
"upgrade-owner": "upgrade-owner";
|
|
383
|
+
"upgrade-theme": "upgrade-theme";
|
|
384
|
+
"disable-integration": "disable-integration";
|
|
385
|
+
}>;
|
|
386
|
+
message: z.ZodString;
|
|
387
|
+
}, z.core.$strip>;
|
|
388
|
+
declare const presentationCompatibilityResultSchema: z.ZodObject<{
|
|
389
|
+
status: z.ZodEnum<{
|
|
390
|
+
compatible: "compatible";
|
|
391
|
+
incompatible: "incompatible";
|
|
392
|
+
missing: "missing";
|
|
393
|
+
}>;
|
|
394
|
+
diagnostic: z.ZodOptional<z.ZodObject<{
|
|
395
|
+
code: z.ZodString;
|
|
396
|
+
severity: z.ZodEnum<{
|
|
397
|
+
error: "error";
|
|
398
|
+
info: "info";
|
|
399
|
+
warning: "warning";
|
|
400
|
+
}>;
|
|
401
|
+
ownerPluginId: z.ZodString;
|
|
402
|
+
contractId: z.ZodString;
|
|
403
|
+
expectedRange: z.ZodOptional<z.ZodString>;
|
|
404
|
+
actualVersion: z.ZodOptional<z.ZodString>;
|
|
405
|
+
required: z.ZodBoolean;
|
|
406
|
+
remediation: z.ZodEnum<{
|
|
407
|
+
fallback: "fallback";
|
|
408
|
+
install: "install";
|
|
409
|
+
enable: "enable";
|
|
410
|
+
"upgrade-owner": "upgrade-owner";
|
|
411
|
+
"upgrade-theme": "upgrade-theme";
|
|
412
|
+
"disable-integration": "disable-integration";
|
|
413
|
+
}>;
|
|
414
|
+
message: z.ZodString;
|
|
415
|
+
}, z.core.$strip>>;
|
|
416
|
+
}, z.core.$strip>;
|
|
417
|
+
declare const PRESENTATION_OBSERVABILITY: {
|
|
418
|
+
readonly spans: {
|
|
419
|
+
readonly resolve: "site.presentation.resolve";
|
|
420
|
+
readonly shell: "site.presentation.shell.render";
|
|
421
|
+
readonly adapter: "site.presentation.adapter.render";
|
|
422
|
+
readonly storefront: "site.presentation.storefront.call";
|
|
423
|
+
readonly designNode: "site.presentation.design-node.render";
|
|
424
|
+
readonly embed: "site.presentation.embed.load";
|
|
425
|
+
};
|
|
426
|
+
readonly metrics: {
|
|
427
|
+
readonly resolution: "site_presentation_resolution_total";
|
|
428
|
+
readonly fallback: "site_presentation_fallback_total";
|
|
429
|
+
readonly renderDuration: "site_presentation_render_duration_ms";
|
|
430
|
+
readonly compatibility: "site_presentation_compatibility_total";
|
|
431
|
+
};
|
|
432
|
+
readonly auditEvents: {
|
|
433
|
+
readonly previewIssued: "site.theme.preview.issued";
|
|
434
|
+
readonly published: "site.theme.published";
|
|
435
|
+
readonly rolledBack: "site.theme.rolled_back";
|
|
436
|
+
readonly safeModeEntered: "site.theme.safe_mode.entered";
|
|
437
|
+
readonly safeModeRecovered: "site.theme.safe_mode.recovered";
|
|
438
|
+
};
|
|
439
|
+
readonly fields: readonly ["organizationId", "themePluginId", "themeVersion", "revisionId", "presentationMode", "routeId", "surfaceId", "contractVersion", "fallbackReason", "pluginLoadGeneration"];
|
|
440
|
+
};
|
|
441
|
+
interface PresentationCompatibilityCheck {
|
|
442
|
+
ownerPluginId: string;
|
|
443
|
+
contractId: string;
|
|
444
|
+
expectedRange: string;
|
|
445
|
+
actualVersion?: string | undefined;
|
|
446
|
+
required: boolean;
|
|
447
|
+
kind?: "surface" | "storefront" | "theme" | "design" | undefined;
|
|
448
|
+
}
|
|
449
|
+
interface SitePresentationRenderContext {
|
|
450
|
+
organizationId: string;
|
|
451
|
+
pluginId: string;
|
|
452
|
+
pluginVersion: string;
|
|
453
|
+
revisionId: string | null;
|
|
454
|
+
mode: "published" | "preview" | "fallback" | "safe-mode";
|
|
455
|
+
publicPath: string;
|
|
456
|
+
matchedRouteId?: string | undefined;
|
|
457
|
+
locale?: string | undefined;
|
|
458
|
+
currency?: string | undefined;
|
|
459
|
+
timezone?: string | undefined;
|
|
460
|
+
basePath: string;
|
|
461
|
+
publicOrigin?: string | undefined;
|
|
462
|
+
tokens: Readonly<Record<string, string>>;
|
|
463
|
+
}
|
|
464
|
+
interface PresentationAdapterContext<TModel = unknown> extends SitePresentationRenderContext {
|
|
465
|
+
ownerPluginId: string;
|
|
466
|
+
surfaceId: string;
|
|
467
|
+
surfaceVersion: string;
|
|
468
|
+
model: TModel;
|
|
469
|
+
actions: readonly PresentationAction[];
|
|
470
|
+
regions: readonly PresentationRegion[];
|
|
471
|
+
settings: Readonly<Record<string, WebJsonValue>>;
|
|
472
|
+
}
|
|
473
|
+
interface PresentationAdapterRenderResult {
|
|
474
|
+
html: string;
|
|
475
|
+
head?: WebPluginHead | undefined;
|
|
476
|
+
initialData?: WebJsonValue | undefined;
|
|
477
|
+
clientEntries?: readonly string[] | undefined;
|
|
478
|
+
slotExtensions?: readonly WebSlotRemoteExtension[] | undefined;
|
|
479
|
+
}
|
|
480
|
+
type PresentationAdapterRenderer<TModel = unknown> = (context: PresentationAdapterContext<TModel>) => PresentationAdapterRenderResult | Promise<PresentationAdapterRenderResult>;
|
|
481
|
+
/** Owner-side default renderer for a declared presentation surface. */
|
|
482
|
+
type PresentationSurfaceRenderer<TModel = unknown> = PresentationAdapterRenderer<TModel>;
|
|
483
|
+
declare function defineWebPresentation<const T extends WebPresentation>(presentation: T): T;
|
|
484
|
+
declare function defineThemeHomeTarget<const T extends ThemeHomeTarget>(target: T): T;
|
|
485
|
+
declare function definePresentationSurface<const T extends PresentationSurface>(surface: T): T;
|
|
486
|
+
declare function definePresentationAdapter<const T extends PresentationAdapter>(adapter: T): T;
|
|
487
|
+
declare function parsePresentationModel(value: unknown): PresentationModel;
|
|
488
|
+
declare function evaluatePresentationCompatibility(check: PresentationCompatibilityCheck): PresentationCompatibilityResult;
|
|
489
|
+
declare function satisfiesPresentationRange(version: string, range: string): boolean;
|
|
490
|
+
type PresentationRegion = z.infer<typeof presentationRegionSchema>;
|
|
491
|
+
type PresentationModel = z.infer<typeof presentationModelSchema>;
|
|
492
|
+
type PresentationAction = z.infer<typeof presentationActionSchema>;
|
|
493
|
+
type PresentationSurface = z.infer<typeof presentationSurfaceSchema>;
|
|
494
|
+
type PresentationAdapter = z.infer<typeof presentationAdapterSchema>;
|
|
495
|
+
type ThemeAsset = z.infer<typeof themeAssetSchema>;
|
|
496
|
+
type ThemeHead = z.infer<typeof themeHeadSchema>;
|
|
497
|
+
type ThemeTokenType = z.infer<typeof themeTokenTypeSchema>;
|
|
498
|
+
type ThemeToken = z.infer<typeof themeTokenSchema>;
|
|
499
|
+
type ThemeTokenPreset = z.infer<typeof themeTokenPresetSchema>;
|
|
500
|
+
type ThemeSiteShell = z.infer<typeof themeSiteShellSchema>;
|
|
501
|
+
type ThemeHomeTarget = z.infer<typeof themeHomeTargetSchema>;
|
|
502
|
+
type ThemeIntegration = z.infer<typeof themeIntegrationSchema>;
|
|
503
|
+
type WebPresentation = z.infer<typeof webPresentationSchema>;
|
|
504
|
+
type PresentationDiagnostic = z.infer<typeof presentationDiagnosticSchema>;
|
|
505
|
+
type PresentationCompatibilityResult = z.infer<typeof presentationCompatibilityResultSchema>;
|
|
506
|
+
|
|
507
|
+
declare const storefrontOperationKindSchema: z.ZodEnum<{
|
|
508
|
+
query: "query";
|
|
509
|
+
command: "command";
|
|
510
|
+
}>;
|
|
511
|
+
declare const storefrontOperationSchema: z.ZodObject<{
|
|
512
|
+
id: z.ZodString;
|
|
513
|
+
kind: z.ZodEnum<{
|
|
514
|
+
query: "query";
|
|
515
|
+
command: "command";
|
|
516
|
+
}>;
|
|
517
|
+
inputSchema: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>;
|
|
518
|
+
outputSchema: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>;
|
|
519
|
+
anonymous: z.ZodOptional<z.ZodBoolean>;
|
|
520
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
521
|
+
}, z.core.$loose>;
|
|
522
|
+
declare const storefrontApiSchema: z.ZodObject<{
|
|
523
|
+
id: z.ZodString;
|
|
524
|
+
version: z.ZodString;
|
|
525
|
+
serverExport: z.ZodString;
|
|
526
|
+
browserExport: z.ZodOptional<z.ZodString>;
|
|
527
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
528
|
+
id: z.ZodString;
|
|
529
|
+
kind: z.ZodEnum<{
|
|
530
|
+
query: "query";
|
|
531
|
+
command: "command";
|
|
532
|
+
}>;
|
|
533
|
+
inputSchema: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>;
|
|
534
|
+
outputSchema: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>;
|
|
535
|
+
anonymous: z.ZodOptional<z.ZodBoolean>;
|
|
536
|
+
permission: z.ZodOptional<z.ZodString>;
|
|
537
|
+
}, z.core.$loose>>;
|
|
538
|
+
openapi: z.ZodOptional<z.ZodObject<{
|
|
539
|
+
basePath: z.ZodString;
|
|
540
|
+
cors: z.ZodOptional<z.ZodEnum<{
|
|
541
|
+
"site-origin": "site-origin";
|
|
542
|
+
allowlist: "allowlist";
|
|
543
|
+
disabled: "disabled";
|
|
544
|
+
}>>;
|
|
545
|
+
}, z.core.$strip>>;
|
|
546
|
+
}, z.core.$strip>;
|
|
547
|
+
interface StorefrontRequest<TInput = unknown> {
|
|
548
|
+
apiId: string;
|
|
549
|
+
version: string;
|
|
550
|
+
operation: string;
|
|
551
|
+
input: TInput;
|
|
552
|
+
}
|
|
553
|
+
interface StorefrontResponse<TOutput = unknown> {
|
|
554
|
+
data: TOutput;
|
|
555
|
+
version: string;
|
|
556
|
+
requestId?: string | undefined;
|
|
557
|
+
}
|
|
558
|
+
interface StorefrontServerBroker {
|
|
559
|
+
call<TInput = unknown, TOutput = unknown>(request: StorefrontRequest<TInput>): Promise<StorefrontResponse<TOutput>>;
|
|
560
|
+
}
|
|
561
|
+
interface StorefrontBrowserClient extends StorefrontServerBroker {
|
|
562
|
+
discover(): Promise<readonly StorefrontApi[]>;
|
|
563
|
+
}
|
|
564
|
+
declare function defineStorefrontApi<const T extends StorefrontApi>(api: T): T;
|
|
565
|
+
type StorefrontOperationKind = z.infer<typeof storefrontOperationKindSchema>;
|
|
566
|
+
type StorefrontOperation = z.infer<typeof storefrontOperationSchema>;
|
|
567
|
+
type StorefrontApi = z.infer<typeof storefrontApiSchema>;
|
|
568
|
+
|
|
569
|
+
declare const webDesignNodeKindSchema: z.ZodEnum<{
|
|
570
|
+
content: "content";
|
|
571
|
+
container: "container";
|
|
572
|
+
"app-block": "app-block";
|
|
573
|
+
}>;
|
|
574
|
+
declare const webDesignRegionSchema: z.ZodObject<{
|
|
575
|
+
id: z.ZodString;
|
|
576
|
+
label: z.ZodOptional<z.ZodString>;
|
|
577
|
+
accepts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
578
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
579
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
580
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
581
|
+
}, z.core.$strip>;
|
|
582
|
+
declare const webDesignBindingSchema: z.ZodObject<{
|
|
583
|
+
id: z.ZodString;
|
|
584
|
+
source: z.ZodString;
|
|
585
|
+
inputSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>>;
|
|
586
|
+
outputSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>>;
|
|
587
|
+
}, z.core.$strip>;
|
|
588
|
+
declare const webDesignMigrationSchema: z.ZodObject<{
|
|
589
|
+
from: z.ZodString;
|
|
590
|
+
to: z.ZodString;
|
|
591
|
+
handler: z.ZodString;
|
|
592
|
+
}, z.core.$strip>;
|
|
593
|
+
declare const webDesignNodeDefinitionSchema: z.ZodObject<{
|
|
594
|
+
id: z.ZodString;
|
|
595
|
+
version: z.ZodString;
|
|
596
|
+
kind: z.ZodEnum<{
|
|
597
|
+
content: "content";
|
|
598
|
+
container: "container";
|
|
599
|
+
"app-block": "app-block";
|
|
600
|
+
}>;
|
|
601
|
+
title: z.ZodString;
|
|
602
|
+
category: z.ZodOptional<z.ZodString>;
|
|
603
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
604
|
+
settingsSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>>;
|
|
605
|
+
contextSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>>;
|
|
606
|
+
editorComponent: z.ZodString;
|
|
607
|
+
serverRenderer: z.ZodString;
|
|
608
|
+
clientComponent: z.ZodOptional<z.ZodString>;
|
|
609
|
+
regions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
610
|
+
id: z.ZodString;
|
|
611
|
+
label: z.ZodOptional<z.ZodString>;
|
|
612
|
+
accepts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
613
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
614
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
615
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
616
|
+
}, z.core.$strip>>>;
|
|
617
|
+
bindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
618
|
+
id: z.ZodString;
|
|
619
|
+
source: z.ZodString;
|
|
620
|
+
inputSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>>;
|
|
621
|
+
outputSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>>;
|
|
622
|
+
}, z.core.$strip>>>;
|
|
623
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
624
|
+
migrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
625
|
+
from: z.ZodString;
|
|
626
|
+
to: z.ZodString;
|
|
627
|
+
handler: z.ZodString;
|
|
628
|
+
}, z.core.$strip>>>;
|
|
629
|
+
}, z.core.$strip>;
|
|
630
|
+
declare const webAppEmbedTargetSchema: z.ZodEnum<{
|
|
631
|
+
head: "head";
|
|
632
|
+
"body-start": "body-start";
|
|
633
|
+
"body-end": "body-end";
|
|
634
|
+
"floating-layer": "floating-layer";
|
|
635
|
+
}>;
|
|
636
|
+
declare const webAppEmbedConsentSchema: z.ZodEnum<{
|
|
637
|
+
necessary: "necessary";
|
|
638
|
+
functional: "functional";
|
|
639
|
+
analytics: "analytics";
|
|
640
|
+
marketing: "marketing";
|
|
641
|
+
}>;
|
|
642
|
+
declare const webAppEmbedSchema: z.ZodObject<{
|
|
643
|
+
id: z.ZodString;
|
|
644
|
+
version: z.ZodString;
|
|
645
|
+
title: z.ZodString;
|
|
646
|
+
target: z.ZodEnum<{
|
|
647
|
+
head: "head";
|
|
648
|
+
"body-start": "body-start";
|
|
649
|
+
"body-end": "body-end";
|
|
650
|
+
"floating-layer": "floating-layer";
|
|
651
|
+
}>;
|
|
652
|
+
clientComponent: z.ZodString;
|
|
653
|
+
settingsSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>]>>;
|
|
654
|
+
consent: z.ZodOptional<z.ZodEnum<{
|
|
655
|
+
necessary: "necessary";
|
|
656
|
+
functional: "functional";
|
|
657
|
+
analytics: "analytics";
|
|
658
|
+
marketing: "marketing";
|
|
659
|
+
}>>;
|
|
660
|
+
csp: z.ZodOptional<z.ZodObject<{
|
|
661
|
+
scriptSrc: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
662
|
+
connectSrc: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
663
|
+
frameSrc: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
664
|
+
imgSrc: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
665
|
+
}, z.core.$strip>>;
|
|
666
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
667
|
+
}, z.core.$strip>;
|
|
668
|
+
declare function defineWebDesignNode<const T extends WebDesignNodeDefinition>(node: T): T;
|
|
669
|
+
declare function defineAppEmbed<const T extends WebAppEmbed>(embed: T): T;
|
|
670
|
+
type WebDesignNodeKind = z.infer<typeof webDesignNodeKindSchema>;
|
|
671
|
+
type WebDesignRegion = z.infer<typeof webDesignRegionSchema>;
|
|
672
|
+
type WebDesignBinding = z.infer<typeof webDesignBindingSchema>;
|
|
673
|
+
type WebDesignMigration = z.infer<typeof webDesignMigrationSchema>;
|
|
674
|
+
type WebDesignNodeDefinition = z.infer<typeof webDesignNodeDefinitionSchema>;
|
|
675
|
+
type WebAppEmbedTarget = z.infer<typeof webAppEmbedTargetSchema>;
|
|
676
|
+
type WebAppEmbedConsent = z.infer<typeof webAppEmbedConsentSchema>;
|
|
677
|
+
type WebAppEmbed = z.infer<typeof webAppEmbedSchema>;
|
|
678
|
+
|
|
679
|
+
export { definePresentationSurface as $, type ThemeSiteShell as A, type ThemeToken as B, type ThemeTokenPreset as C, type DashboardTarget as D, type ExtensionComponentMap as E, type ThemeTokenType as F, type GenericTarget as G, type ToolbarHandlerMap as H, type WebAppEmbedConsent as I, type WebAppEmbedTarget as J, type WebDesignBinding as K, type WebDesignMigration as L, type WebDesignNodeDefinition as M, type NavGroupTarget as N, type WebDesignNodeKind as O, PRESENTATION_OBSERVABILITY as P, type WebDesignRegion as Q, type RouteTarget as R, type SettingsTarget as S, type Target as T, type UIExtensionDef as U, type WebPresentation as V, type WebAppEmbed as W, dashboardExtension as X, defineAppEmbed as Y, defineExtension as Z, definePresentationAdapter as _, type NavTarget as a, defineStorefrontApi as a0, defineThemeHomeTarget as a1, defineWebDesignNode as a2, defineWebPresentation as a3, evaluatePresentationCompatibility as a4, multiSlotExtension as a5, navExtension as a6, parsePresentationModel as a7, presentationActionSchema as a8, presentationAdapterSchema as a9, themeTokenSchema as aA, themeTokenTypeSchema as aB, webAppEmbedConsentSchema as aC, webAppEmbedSchema as aD, webAppEmbedTargetSchema as aE, webDesignBindingSchema as aF, webDesignMigrationSchema as aG, webDesignNodeDefinitionSchema as aH, webDesignNodeKindSchema as aI, webDesignRegionSchema as aJ, webPresentationSchema as aK, presentationCompatibilityResultSchema as aa, presentationCompatibilityStatusSchema as ab, presentationContractRangeSchema as ac, presentationContractVersionSchema as ad, presentationDiagnosticSchema as ae, presentationDiagnosticSeveritySchema as af, presentationIdSchema as ag, presentationModelSchema as ah, presentationPluginIdSchema as ai, presentationRegionSchema as aj, presentationRenderModeSchema as ak, presentationSchemaRefSchema as al, presentationSurfaceSchema as am, routeExtension as an, satisfiesPresentationRange as ao, settingsExtension as ap, storefrontApiSchema as aq, storefrontOperationKindSchema as ar, storefrontOperationSchema as as, themeAssetPathSchema as at, themeAssetSchema as au, themeHeadSchema as av, themeHomeTargetSchema as aw, themeIntegrationSchema as ax, themeSiteShellSchema as ay, themeTokenPresetSchema as az, type PresentationAction as b, type PresentationAdapter as c, type PresentationAdapterContext as d, type PresentationAdapterRenderResult as e, type PresentationAdapterRenderer as f, type PresentationCompatibilityCheck as g, type PresentationCompatibilityResult as h, type PresentationDiagnostic as i, type PresentationModel as j, type PresentationRegion as k, type PresentationSurface as l, type PresentationSurfaceRenderer as m, type SitePresentationRenderContext as n, type SlotContext as o, type StorefrontApi as p, type StorefrontBrowserClient as q, type StorefrontOperation as r, type StorefrontOperationKind as s, type StorefrontRequest as t, type StorefrontResponse as u, type StorefrontServerBroker as v, type ThemeAsset as w, type ThemeHead as x, type ThemeHomeTarget as y, type ThemeIntegration as z };
|
package/dist/client.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { D as DashboardTarget, G as GenericTarget, a as NavTarget, c as PresentationAdapter, l as PresentationSurface, S as SettingsTarget, o as SlotContext, p as StorefrontApi, q as StorefrontBrowserClient, r as StorefrontOperation, t as StorefrontRequest, u as StorefrontResponse, T as Target, w as ThemeAsset, x as ThemeHead, y as ThemeHomeTarget, B as ThemeToken, C as ThemeTokenPreset, U as UIExtensionDef, W as WebAppEmbed, M as WebDesignNodeDefinition, V as WebPresentation, X as dashboardExtension, Y as defineAppEmbed, Z as defineExtension, _ as definePresentationAdapter, $ as definePresentationSurface, a0 as defineStorefrontApi, a1 as defineThemeHomeTarget, a2 as defineWebDesignNode, a3 as defineWebPresentation, a5 as multiSlotExtension, a6 as navExtension, a9 as presentationAdapterSchema, am as presentationSurfaceSchema, ap as settingsExtension, aq as storefrontApiSchema, as as storefrontOperationSchema, au as themeAssetSchema, av as themeHeadSchema, aw as themeHomeTargetSchema, az as themeTokenPresetSchema, aA as themeTokenSchema, aD as webAppEmbedSchema, aH as webDesignNodeDefinitionSchema, aK as webPresentationSchema } from './client-poND5ovI.js';
|
|
2
|
+
export { d as AggregationStrategy, l as PluginCapabilities, P as PluginManifest, m as PluginNotificationType, n as PluginStatus, z as adminExtensionSchema, L as dashboardTargetSchema, T as navTargetSchema, V as pluginManifestSchema, Z as settingsTargetSchema, _ as targetSchema } from './manifest-CTFX-h0w.js';
|
|
3
|
+
import 'zod';
|
|
4
|
+
import './types-BJo3_91V.js';
|
|
5
|
+
import './globalization.js';
|
|
6
|
+
import 'decimal.js';
|
|
7
|
+
import './locale.js';
|
|
8
|
+
import './release-BDJeO54k.js';
|
|
9
|
+
import './time.js';
|