@husar.ai/cli 0.1.5 → 0.1.6
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/index.js +26 -20
- package/dist/index.js.map +1 -1
- package/dist/zeus/const.d.ts +1 -0
- package/dist/zeus/const.js +217 -183
- package/dist/zeus/const.js.map +1 -1
- package/dist/zeus/index.d.ts +925 -769
- package/dist/zeus/index.js +18 -6
- package/dist/zeus/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +28 -20
- package/src/zeus/const.ts +217 -183
- package/src/zeus/index.ts +926 -774
package/dist/index.js
CHANGED
|
@@ -14,6 +14,9 @@ program
|
|
|
14
14
|
.description('Generate cms structure in the given path')
|
|
15
15
|
.action(async (folderPath = '.') => {
|
|
16
16
|
const host = await config.getValueOrThrow('host', { saveOnInput: true });
|
|
17
|
+
const conf = await config.get();
|
|
18
|
+
const hostEnv = conf.hostEnvironmentVariable;
|
|
19
|
+
const authenticationEnv = conf.authenticationEnvironmentVariable;
|
|
17
20
|
const cmsPath = path.join(folderPath, 'cms');
|
|
18
21
|
try {
|
|
19
22
|
await fs.access(cmsPath, constants.F_OK);
|
|
@@ -27,33 +30,36 @@ program
|
|
|
27
30
|
const zeusCode = await generateZeus(host, { esModule: false, env: 'browser' });
|
|
28
31
|
await fs.writeFile(path.join(zeusPath, 'index.ts'), zeusCode.index);
|
|
29
32
|
await fs.writeFile(path.join(zeusPath, 'const.ts'), zeusCode.const);
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
+
let hostFile = `import * as zeus from './zeus';\n`;
|
|
34
|
+
if (hostEnv) {
|
|
35
|
+
hostFile += `export const HUSAR_HOST = process.env.${hostEnv};\n`;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
hostFile += `export const HUSAR_HOST =
|
|
39
|
+
process.env.HUSAR_HOST ||
|
|
40
|
+
process.env.NEXT_PUBLIC_HUSAR_HOST ||
|
|
41
|
+
process.env.VITE_HUSAR_HOST || '${host}';\n`;
|
|
42
|
+
}
|
|
43
|
+
hostFile += `
|
|
33
44
|
export const getCmsHost = () => {
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
new URL('content/graphql', envHOST).toString(),
|
|
38
|
-
{
|
|
39
|
-
...(process.env.HUSAR_API_KEY
|
|
40
|
-
? {
|
|
41
|
-
headers: {
|
|
42
|
-
husar_token: process.env.HUSAR_API_KEY,
|
|
43
|
-
},
|
|
44
|
-
}
|
|
45
|
-
: {}),
|
|
46
|
-
},
|
|
47
|
-
] as const;
|
|
48
|
-
return [zeus.HOST, {}] as const;
|
|
45
|
+
const husar_token = process.env.${authenticationEnv || 'HUSAR_API_KEY'};
|
|
46
|
+
const host = HUSAR_HOST ? new URL('content/graphql', HUSAR_HOST).toString() : zeus.HOST;
|
|
47
|
+
return [host, { ...(husar_token ? { headers: { husar_token } } : {}) }] as const;
|
|
49
48
|
};
|
|
49
|
+
`;
|
|
50
|
+
await fs.writeFile(path.join(cmsPath, 'host.ts'), hostFile);
|
|
51
|
+
await fs.writeFile(path.join(cmsPath, 'ssr.ts'), `import * as zeus from './zeus';
|
|
52
|
+
import { husarClient } from '@husar.ai/ssr';
|
|
53
|
+
import { getCmsHost } from './host';
|
|
50
54
|
|
|
51
55
|
export const husar = husarClient<typeof zeus, zeus.ModelTypes>(zeus, ...getCmsHost());
|
|
52
56
|
`);
|
|
53
57
|
await fs.writeFile(path.join(cmsPath, 'react.ts'), `import * as zeus from './zeus';
|
|
54
58
|
import { HusarComponents } from '@husar.ai/render';
|
|
55
|
-
|
|
56
|
-
|
|
59
|
+
import { getCmsHost } from './host';
|
|
60
|
+
|
|
61
|
+
const { Shape, View, Model, Form } = HusarComponents<typeof zeus, zeus.ModelTypes>(getCmsHost());
|
|
62
|
+
export { Shape, View, Model, Form };
|
|
57
63
|
`);
|
|
58
64
|
});
|
|
59
65
|
program.parse(process.argv);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,MAAM,MAAM,GAAG,IAAI,WAAW,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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"}
|
package/dist/zeus/const.d.ts
CHANGED
package/dist/zeus/const.js
CHANGED
|
@@ -9,6 +9,7 @@ export const AllTypesProps = {
|
|
|
9
9
|
ConditionSetOperator: "enum",
|
|
10
10
|
ConditionOperator: "enum",
|
|
11
11
|
ConditionType: "enum",
|
|
12
|
+
ActionType: "enum",
|
|
12
13
|
PageInput: {},
|
|
13
14
|
FilterInputString: {},
|
|
14
15
|
RootParamsAdminType: `scalar.RootParamsAdminType`,
|
|
@@ -25,16 +26,19 @@ export const AllTypesProps = {
|
|
|
25
26
|
rootParams: "RootParamsInput"
|
|
26
27
|
},
|
|
27
28
|
variantsdocsBySlug: {},
|
|
28
|
-
|
|
29
|
+
oneViewaccount: {
|
|
29
30
|
rootParams: "RootParamsInput"
|
|
30
31
|
},
|
|
31
|
-
|
|
32
|
+
oneViewfeatures: {
|
|
32
33
|
rootParams: "RootParamsInput"
|
|
33
34
|
},
|
|
34
|
-
|
|
35
|
+
oneViewhomepage: {
|
|
35
36
|
rootParams: "RootParamsInput"
|
|
36
37
|
},
|
|
37
|
-
|
|
38
|
+
oneViewhowitworks: {
|
|
39
|
+
rootParams: "RootParamsInput"
|
|
40
|
+
},
|
|
41
|
+
oneViewpricing: {
|
|
38
42
|
rootParams: "RootParamsInput"
|
|
39
43
|
}
|
|
40
44
|
},
|
|
@@ -125,6 +129,15 @@ export const ReturnTypes = {
|
|
|
125
129
|
value: "String",
|
|
126
130
|
children: "Condition"
|
|
127
131
|
},
|
|
132
|
+
Action: {
|
|
133
|
+
path: "String",
|
|
134
|
+
type: "ActionType",
|
|
135
|
+
value: "String"
|
|
136
|
+
},
|
|
137
|
+
Rule: {
|
|
138
|
+
conditions: "Condition",
|
|
139
|
+
actions: "Action"
|
|
140
|
+
},
|
|
128
141
|
Visual: {
|
|
129
142
|
className: "String",
|
|
130
143
|
component: "String"
|
|
@@ -133,6 +146,9 @@ export const ReturnTypes = {
|
|
|
133
146
|
total: "Int",
|
|
134
147
|
hasNext: "Boolean"
|
|
135
148
|
},
|
|
149
|
+
Mutation: {
|
|
150
|
+
heartbeat: "String"
|
|
151
|
+
},
|
|
136
152
|
RootParamsAdminType: `scalar.RootParamsAdminType`,
|
|
137
153
|
Shape: {
|
|
138
154
|
name: "String",
|
|
@@ -140,6 +156,7 @@ export const ReturnTypes = {
|
|
|
140
156
|
display: "String",
|
|
141
157
|
previewFields: "BakedIpsumData",
|
|
142
158
|
prompt: "String",
|
|
159
|
+
promptResponse: "AiComponent",
|
|
143
160
|
fields: "CMSField"
|
|
144
161
|
},
|
|
145
162
|
View: {
|
|
@@ -148,14 +165,25 @@ export const ReturnTypes = {
|
|
|
148
165
|
slug: "String",
|
|
149
166
|
display: "String"
|
|
150
167
|
},
|
|
168
|
+
AiComponent: {
|
|
169
|
+
name: "String",
|
|
170
|
+
htmlComponent: "String",
|
|
171
|
+
className: "String",
|
|
172
|
+
textContent: "String",
|
|
173
|
+
children: "AiComponent"
|
|
174
|
+
},
|
|
175
|
+
FormFieldVisual: {
|
|
176
|
+
className: "String",
|
|
177
|
+
component: "String",
|
|
178
|
+
rules: "Rule"
|
|
179
|
+
},
|
|
151
180
|
FormField: {
|
|
152
181
|
name: "String",
|
|
153
182
|
display: "String",
|
|
154
183
|
type: "FormFieldType",
|
|
155
184
|
list: "Boolean",
|
|
156
185
|
fields: "FormField",
|
|
157
|
-
visual: "
|
|
158
|
-
conditions: "Condition",
|
|
186
|
+
visual: "FormFieldVisual",
|
|
159
187
|
placeholder: "String",
|
|
160
188
|
root: "Boolean",
|
|
161
189
|
options: "String",
|
|
@@ -211,10 +239,25 @@ export const ReturnTypes = {
|
|
|
211
239
|
label: "String",
|
|
212
240
|
options: "String"
|
|
213
241
|
},
|
|
242
|
+
FormCheckboxField: {
|
|
243
|
+
label: "String"
|
|
244
|
+
},
|
|
245
|
+
FormButtonField: {
|
|
246
|
+
label: "String"
|
|
247
|
+
},
|
|
214
248
|
FormProductField: {
|
|
215
249
|
label: "String",
|
|
216
250
|
name: "String"
|
|
217
251
|
},
|
|
252
|
+
FormVariableField: {
|
|
253
|
+
label: "String",
|
|
254
|
+
name: "String",
|
|
255
|
+
defaultValue: "String"
|
|
256
|
+
},
|
|
257
|
+
FormDisplayField: {
|
|
258
|
+
label: "String",
|
|
259
|
+
path: "String"
|
|
260
|
+
},
|
|
218
261
|
Query: {
|
|
219
262
|
navigation: "ModelNavigation",
|
|
220
263
|
rootParams: "RootCMSParam",
|
|
@@ -230,10 +273,6 @@ export const ReturnTypes = {
|
|
|
230
273
|
fieldSetdocs: "String",
|
|
231
274
|
modeldocs: "ModelNavigationCompiled",
|
|
232
275
|
previewFieldsdocs: "ModelNavigationCompiled",
|
|
233
|
-
fieldSetShapecta: "String",
|
|
234
|
-
modelShapecta: "ModelNavigationCompiled",
|
|
235
|
-
previewFieldsShapecta: "ModelNavigationCompiled",
|
|
236
|
-
oneShapecta: "Shapecta",
|
|
237
276
|
fieldSetShapedocs_content: "String",
|
|
238
277
|
modelShapedocs_content: "ModelNavigationCompiled",
|
|
239
278
|
previewFieldsShapedocs_content: "ModelNavigationCompiled",
|
|
@@ -242,6 +281,10 @@ export const ReturnTypes = {
|
|
|
242
281
|
modelShapedocs_nav: "ModelNavigationCompiled",
|
|
243
282
|
previewFieldsShapedocs_nav: "ModelNavigationCompiled",
|
|
244
283
|
oneShapedocs_nav: "Shapedocs_nav",
|
|
284
|
+
fieldSetShapefeaturepresentation: "String",
|
|
285
|
+
modelShapefeaturepresentation: "ModelNavigationCompiled",
|
|
286
|
+
previewFieldsShapefeaturepresentation: "ModelNavigationCompiled",
|
|
287
|
+
oneShapefeaturepresentation: "Shapefeaturepresentation",
|
|
245
288
|
fieldSetShapefoot: "String",
|
|
246
289
|
modelShapefoot: "ModelNavigationCompiled",
|
|
247
290
|
previewFieldsShapefoot: "ModelNavigationCompiled",
|
|
@@ -254,10 +297,10 @@ export const ReturnTypes = {
|
|
|
254
297
|
modelShapeherox: "ModelNavigationCompiled",
|
|
255
298
|
previewFieldsShapeherox: "ModelNavigationCompiled",
|
|
256
299
|
oneShapeherox: "Shapeherox",
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
300
|
+
fieldSetShapelista_projektow: "String",
|
|
301
|
+
modelShapelista_projektow: "ModelNavigationCompiled",
|
|
302
|
+
previewFieldsShapelista_projektow: "ModelNavigationCompiled",
|
|
303
|
+
oneShapelista_projektow: "Shapelista_projektow",
|
|
261
304
|
fieldSetShapenav: "String",
|
|
262
305
|
modelShapenav: "ModelNavigationCompiled",
|
|
263
306
|
previewFieldsShapenav: "ModelNavigationCompiled",
|
|
@@ -266,26 +309,32 @@ export const ReturnTypes = {
|
|
|
266
309
|
modelShapenewshape: "ModelNavigationCompiled",
|
|
267
310
|
previewFieldsShapenewshape: "ModelNavigationCompiled",
|
|
268
311
|
oneShapenewshape: "Shapenewshape",
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
fieldSetShapenewsletter: "String",
|
|
274
|
-
modelShapenewsletter: "ModelNavigationCompiled",
|
|
275
|
-
previewFieldsShapenewsletter: "ModelNavigationCompiled",
|
|
276
|
-
oneShapenewsletter: "Shapenewsletter",
|
|
277
|
-
fieldSetShapepricing: "String",
|
|
278
|
-
modelShapepricing: "ModelNavigationCompiled",
|
|
279
|
-
previewFieldsShapepricing: "ModelNavigationCompiled",
|
|
280
|
-
oneShapepricing: "Shapepricing",
|
|
312
|
+
fieldSetShapepricing_table: "String",
|
|
313
|
+
modelShapepricing_table: "ModelNavigationCompiled",
|
|
314
|
+
previewFieldsShapepricing_table: "ModelNavigationCompiled",
|
|
315
|
+
oneShapepricing_table: "Shapepricing_table",
|
|
281
316
|
fieldSetShapepricingv1: "String",
|
|
282
317
|
modelShapepricingv1: "ModelNavigationCompiled",
|
|
283
318
|
previewFieldsShapepricingv1: "ModelNavigationCompiled",
|
|
284
319
|
oneShapepricingv1: "Shapepricingv1",
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
320
|
+
fieldSetShapeprofile_info: "String",
|
|
321
|
+
modelShapeprofile_info: "ModelNavigationCompiled",
|
|
322
|
+
previewFieldsShapeprofile_info: "ModelNavigationCompiled",
|
|
323
|
+
oneShapeprofile_info: "Shapeprofile_info",
|
|
324
|
+
fieldSetShapeusage: "String",
|
|
325
|
+
modelShapeusage: "ModelNavigationCompiled",
|
|
326
|
+
previewFieldsShapeusage: "ModelNavigationCompiled",
|
|
327
|
+
oneShapeusage: "Shapeusage",
|
|
328
|
+
variantsViewaccount: "Viewaccount",
|
|
329
|
+
fieldSetViewaccount: "String",
|
|
330
|
+
modelViewaccount: "ModelNavigationCompiled",
|
|
331
|
+
previewFieldsViewaccount: "ModelNavigationCompiled",
|
|
332
|
+
oneViewaccount: "Viewaccount",
|
|
333
|
+
variantsViewfeatures: "Viewfeatures",
|
|
334
|
+
fieldSetViewfeatures: "String",
|
|
335
|
+
modelViewfeatures: "ModelNavigationCompiled",
|
|
336
|
+
previewFieldsViewfeatures: "ModelNavigationCompiled",
|
|
337
|
+
oneViewfeatures: "Viewfeatures",
|
|
289
338
|
variantsViewhomepage: "Viewhomepage",
|
|
290
339
|
fieldSetViewhomepage: "String",
|
|
291
340
|
modelViewhomepage: "ModelNavigationCompiled",
|
|
@@ -296,16 +345,11 @@ export const ReturnTypes = {
|
|
|
296
345
|
modelViewhowitworks: "ModelNavigationCompiled",
|
|
297
346
|
previewFieldsViewhowitworks: "ModelNavigationCompiled",
|
|
298
347
|
oneViewhowitworks: "Viewhowitworks",
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
variantsFormtest: "Formtest",
|
|
305
|
-
fieldSetFormtest: "String",
|
|
306
|
-
modelFormtest: "ModelNavigationCompiled",
|
|
307
|
-
previewFieldsFormtest: "ModelNavigationCompiled",
|
|
308
|
-
oneFormtest: "Formtest"
|
|
348
|
+
variantsViewpricing: "Viewpricing",
|
|
349
|
+
fieldSetViewpricing: "String",
|
|
350
|
+
modelViewpricing: "ModelNavigationCompiled",
|
|
351
|
+
previewFieldsViewpricing: "ModelNavigationCompiled",
|
|
352
|
+
oneViewpricing: "Viewpricing"
|
|
309
353
|
},
|
|
310
354
|
RootParamsType: {
|
|
311
355
|
_version: "String",
|
|
@@ -332,12 +376,41 @@ export const ReturnTypes = {
|
|
|
332
376
|
draft_version: "Boolean",
|
|
333
377
|
json_ld: "String"
|
|
334
378
|
},
|
|
379
|
+
ViewaccountMain: {
|
|
380
|
+
profile: "Shapeprofile_info",
|
|
381
|
+
projects: "Shapelista_projektow"
|
|
382
|
+
},
|
|
383
|
+
Viewaccount: {
|
|
384
|
+
_version: "VersionField",
|
|
385
|
+
main: "ViewaccountMain",
|
|
386
|
+
locale: "String",
|
|
387
|
+
slug: "String",
|
|
388
|
+
_id: "String",
|
|
389
|
+
createdAt: "Float",
|
|
390
|
+
updatedAt: "Float",
|
|
391
|
+
draft_version: "Boolean",
|
|
392
|
+
json_ld: "String"
|
|
393
|
+
},
|
|
394
|
+
ViewfeaturesMain: {
|
|
395
|
+
auto_translation: "Shapefeaturepresentation",
|
|
396
|
+
ai_component: "Shapefeaturepresentation"
|
|
397
|
+
},
|
|
398
|
+
Viewfeatures: {
|
|
399
|
+
_version: "VersionField",
|
|
400
|
+
main: "ViewfeaturesMain",
|
|
401
|
+
locale: "String",
|
|
402
|
+
slug: "String",
|
|
403
|
+
_id: "String",
|
|
404
|
+
createdAt: "Float",
|
|
405
|
+
updatedAt: "Float",
|
|
406
|
+
draft_version: "Boolean",
|
|
407
|
+
json_ld: "String"
|
|
408
|
+
},
|
|
335
409
|
Viewhomepage: {
|
|
336
410
|
_version: "VersionField",
|
|
337
411
|
nav: "Shapenav",
|
|
338
412
|
main: "Shapehero",
|
|
339
413
|
hero: "Shapeherox",
|
|
340
|
-
learn: "Shapelearn",
|
|
341
414
|
pricing: "Shapepricingv1",
|
|
342
415
|
footer: "Shapefoot",
|
|
343
416
|
locale: "String",
|
|
@@ -365,19 +438,18 @@ export const ReturnTypes = {
|
|
|
365
438
|
draft_version: "Boolean",
|
|
366
439
|
json_ld: "String"
|
|
367
440
|
},
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
},
|
|
376
|
-
Shapecta: {
|
|
377
|
-
cta_section: "ShapectaCta_section",
|
|
441
|
+
Viewpricing: {
|
|
442
|
+
_version: "VersionField",
|
|
443
|
+
pricing: "Shapepricingv1",
|
|
444
|
+
table: "Shapepricing_table",
|
|
445
|
+
cta: "Shapenewshape",
|
|
446
|
+
locale: "String",
|
|
447
|
+
slug: "String",
|
|
378
448
|
_id: "String",
|
|
379
449
|
createdAt: "Float",
|
|
380
|
-
updatedAt: "Float"
|
|
450
|
+
updatedAt: "Float",
|
|
451
|
+
draft_version: "Boolean",
|
|
452
|
+
json_ld: "String"
|
|
381
453
|
},
|
|
382
454
|
Shapedocs_contentDocumentation_pageContent_containerDoc_content: {
|
|
383
455
|
content: "String"
|
|
@@ -422,6 +494,17 @@ export const ReturnTypes = {
|
|
|
422
494
|
createdAt: "Float",
|
|
423
495
|
updatedAt: "Float"
|
|
424
496
|
},
|
|
497
|
+
ShapefeaturepresentationMain: {
|
|
498
|
+
title: "String",
|
|
499
|
+
subtitle: "String",
|
|
500
|
+
content: "String"
|
|
501
|
+
},
|
|
502
|
+
Shapefeaturepresentation: {
|
|
503
|
+
main: "ShapefeaturepresentationMain",
|
|
504
|
+
_id: "String",
|
|
505
|
+
createdAt: "Float",
|
|
506
|
+
updatedAt: "Float"
|
|
507
|
+
},
|
|
425
508
|
ShapefootFooterFooter_containerFooter_links: {
|
|
426
509
|
privacy_policy: "String",
|
|
427
510
|
terms_of_service: "String",
|
|
@@ -441,10 +524,13 @@ export const ReturnTypes = {
|
|
|
441
524
|
createdAt: "Float",
|
|
442
525
|
updatedAt: "Float"
|
|
443
526
|
},
|
|
527
|
+
ShapeheroHero_componentSlogan_parent: {
|
|
528
|
+
slogan: "String"
|
|
529
|
+
},
|
|
444
530
|
ShapeheroHero_component: {
|
|
445
531
|
logoplace: "String",
|
|
446
532
|
logo: "String",
|
|
447
|
-
|
|
533
|
+
slogan_parent: "ShapeheroHero_componentSlogan_parent",
|
|
448
534
|
subslogan: "String"
|
|
449
535
|
},
|
|
450
536
|
Shapehero: {
|
|
@@ -459,15 +545,18 @@ export const ReturnTypes = {
|
|
|
459
545
|
ShapeheroxHero_sectionHero_containerText_wrapper: {
|
|
460
546
|
title: "String",
|
|
461
547
|
description: "String",
|
|
462
|
-
features: "ShapeheroxHero_sectionHero_containerText_wrapperFeatures"
|
|
463
|
-
call_to_action: "String"
|
|
548
|
+
features: "ShapeheroxHero_sectionHero_containerText_wrapperFeatures"
|
|
464
549
|
},
|
|
465
550
|
ShapeheroxHero_sectionHero_containerImage_wrapper: {
|
|
466
551
|
hero_image: "ImageField"
|
|
467
552
|
},
|
|
553
|
+
ShapeheroxHero_sectionHero_containerPresentation: {
|
|
554
|
+
video: "VideoField"
|
|
555
|
+
},
|
|
468
556
|
ShapeheroxHero_sectionHero_container: {
|
|
469
557
|
text_wrapper: "ShapeheroxHero_sectionHero_containerText_wrapper",
|
|
470
|
-
image_wrapper: "ShapeheroxHero_sectionHero_containerImage_wrapper"
|
|
558
|
+
image_wrapper: "ShapeheroxHero_sectionHero_containerImage_wrapper",
|
|
559
|
+
presentation: "ShapeheroxHero_sectionHero_containerPresentation"
|
|
471
560
|
},
|
|
472
561
|
ShapeheroxHero_section: {
|
|
473
562
|
hero_container: "ShapeheroxHero_sectionHero_container"
|
|
@@ -478,17 +567,21 @@ export const ReturnTypes = {
|
|
|
478
567
|
createdAt: "Float",
|
|
479
568
|
updatedAt: "Float"
|
|
480
569
|
},
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
cta_button: "String"
|
|
570
|
+
Shapelista_projektowListProjectsInstance: {
|
|
571
|
+
title: "String",
|
|
572
|
+
link: "String",
|
|
573
|
+
remove_button: "String"
|
|
486
574
|
},
|
|
487
|
-
|
|
488
|
-
|
|
575
|
+
Shapelista_projektowListProjects: {
|
|
576
|
+
instance: "Shapelista_projektowListProjectsInstance"
|
|
489
577
|
},
|
|
490
|
-
|
|
491
|
-
|
|
578
|
+
Shapelista_projektowList: {
|
|
579
|
+
title: "String",
|
|
580
|
+
subtitle: "String",
|
|
581
|
+
projects: "Shapelista_projektowListProjects"
|
|
582
|
+
},
|
|
583
|
+
Shapelista_projektow: {
|
|
584
|
+
list: "Shapelista_projektowList",
|
|
492
585
|
_id: "String",
|
|
493
586
|
createdAt: "Float",
|
|
494
587
|
updatedAt: "Float"
|
|
@@ -528,51 +621,30 @@ export const ReturnTypes = {
|
|
|
528
621
|
createdAt: "Float",
|
|
529
622
|
updatedAt: "Float"
|
|
530
623
|
},
|
|
531
|
-
|
|
532
|
-
_id: "String",
|
|
533
|
-
createdAt: "Float",
|
|
534
|
-
updatedAt: "Float"
|
|
535
|
-
},
|
|
536
|
-
ShapenewsletterNewsletter_sectionNewsletter_containerNewsletter_form: {
|
|
537
|
-
email_input: "String",
|
|
538
|
-
subscribe_button: "String"
|
|
539
|
-
},
|
|
540
|
-
ShapenewsletterNewsletter_sectionNewsletter_container: {
|
|
541
|
-
newsletter_heading: "String",
|
|
542
|
-
newsletter_description: "String",
|
|
543
|
-
newsletter_form: "ShapenewsletterNewsletter_sectionNewsletter_containerNewsletter_form"
|
|
544
|
-
},
|
|
545
|
-
ShapenewsletterNewsletter_section: {
|
|
546
|
-
newsletter_container: "ShapenewsletterNewsletter_sectionNewsletter_container"
|
|
547
|
-
},
|
|
548
|
-
Shapenewsletter: {
|
|
549
|
-
newsletter_section: "ShapenewsletterNewsletter_section",
|
|
550
|
-
_id: "String",
|
|
551
|
-
createdAt: "Float",
|
|
552
|
-
updatedAt: "Float"
|
|
553
|
-
},
|
|
554
|
-
ShapepricingPricing_sectionPricing_header: {
|
|
624
|
+
Shapepricing_tablePricing_sectionHeader_wrapper: {
|
|
555
625
|
title: "String",
|
|
556
|
-
|
|
626
|
+
description: "String"
|
|
557
627
|
},
|
|
558
|
-
|
|
559
|
-
|
|
628
|
+
Shapepricing_tablePricing_sectionPricing_tableTable_head: {
|
|
629
|
+
feature: "String",
|
|
630
|
+
unit: "String",
|
|
631
|
+
price: "String"
|
|
560
632
|
},
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
plan_cta: "String"
|
|
633
|
+
Shapepricing_tablePricing_sectionPricing_tableRows: {
|
|
634
|
+
feature: "String",
|
|
635
|
+
unit: "String",
|
|
636
|
+
price: "String"
|
|
566
637
|
},
|
|
567
|
-
|
|
568
|
-
|
|
638
|
+
Shapepricing_tablePricing_sectionPricing_table: {
|
|
639
|
+
table_head: "Shapepricing_tablePricing_sectionPricing_tableTable_head",
|
|
640
|
+
rows: "Shapepricing_tablePricing_sectionPricing_tableRows"
|
|
569
641
|
},
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
642
|
+
Shapepricing_tablePricing_section: {
|
|
643
|
+
header_wrapper: "Shapepricing_tablePricing_sectionHeader_wrapper",
|
|
644
|
+
pricing_table: "Shapepricing_tablePricing_sectionPricing_table"
|
|
573
645
|
},
|
|
574
|
-
|
|
575
|
-
pricing_section: "
|
|
646
|
+
Shapepricing_table: {
|
|
647
|
+
pricing_section: "Shapepricing_tablePricing_section",
|
|
576
648
|
_id: "String",
|
|
577
649
|
createdAt: "Float",
|
|
578
650
|
updatedAt: "Float"
|
|
@@ -615,100 +687,62 @@ export const ReturnTypes = {
|
|
|
615
687
|
createdAt: "Float",
|
|
616
688
|
updatedAt: "Float"
|
|
617
689
|
},
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
ShapetestaRootHeader: {
|
|
623
|
-
nav: "ShapetestaRootHeaderNav"
|
|
690
|
+
Shapeprofile_infoProfile_sectionAccount_headerInfo: {
|
|
691
|
+
full_name: "String",
|
|
692
|
+
company: "String",
|
|
693
|
+
email: "String"
|
|
624
694
|
},
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
hero_button: "String"
|
|
695
|
+
Shapeprofile_infoProfile_sectionAccount_header: {
|
|
696
|
+
avatar: "ImageField",
|
|
697
|
+
info: "Shapeprofile_infoProfile_sectionAccount_headerInfo"
|
|
629
698
|
},
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
features_text: "String"
|
|
699
|
+
Shapeprofile_infoProfile_sectionPlan_status: {
|
|
700
|
+
plan: "String"
|
|
633
701
|
},
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
},
|
|
638
|
-
ShapetestaRoot: {
|
|
639
|
-
header: "ShapetestaRootHeader",
|
|
640
|
-
main: "ShapetestaRootMain"
|
|
702
|
+
Shapeprofile_infoProfile_sectionUsage_sectionAi_tokens: {
|
|
703
|
+
label: "String",
|
|
704
|
+
value: "String"
|
|
641
705
|
},
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
createdAt: "Float",
|
|
646
|
-
updatedAt: "Float"
|
|
706
|
+
Shapeprofile_infoProfile_sectionUsage_sectionTranslate_tokens: {
|
|
707
|
+
label: "String",
|
|
708
|
+
value: "String"
|
|
647
709
|
},
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
source: "FormRadioTextField"
|
|
710
|
+
Shapeprofile_infoProfile_sectionUsage_sectionMonthly_api_requests: {
|
|
711
|
+
label: "String",
|
|
712
|
+
value: "String"
|
|
652
713
|
},
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
714
|
+
Shapeprofile_infoProfile_sectionUsage_section: {
|
|
715
|
+
ai_tokens: "Shapeprofile_infoProfile_sectionUsage_sectionAi_tokens",
|
|
716
|
+
translate_tokens: "Shapeprofile_infoProfile_sectionUsage_sectionTranslate_tokens",
|
|
717
|
+
monthly_api_requests: "Shapeprofile_infoProfile_sectionUsage_sectionMonthly_api_requests"
|
|
656
718
|
},
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
719
|
+
Shapeprofile_infoProfile_section: {
|
|
720
|
+
account_header: "Shapeprofile_infoProfile_sectionAccount_header",
|
|
721
|
+
plan_status: "Shapeprofile_infoProfile_sectionPlan_status",
|
|
722
|
+
usage_section: "Shapeprofile_infoProfile_sectionUsage_section"
|
|
661
723
|
},
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
_version: "VersionField",
|
|
665
|
-
step1: "FormstepsStep1",
|
|
666
|
-
step2: "FormstepsStep2",
|
|
667
|
-
step3: "FormstepsStep3",
|
|
668
|
-
locale: "String",
|
|
669
|
-
slug: "String",
|
|
724
|
+
Shapeprofile_info: {
|
|
725
|
+
profile_section: "Shapeprofile_infoProfile_section",
|
|
670
726
|
_id: "String",
|
|
671
|
-
createdAt: "
|
|
672
|
-
updatedAt: "
|
|
673
|
-
draft_version: "String",
|
|
674
|
-
json_ld: "String"
|
|
675
|
-
},
|
|
676
|
-
FormtestWindowBasics: {
|
|
677
|
-
_mocks: "String",
|
|
678
|
-
type: "FormRadioTextField"
|
|
679
|
-
},
|
|
680
|
-
FormtestWindowTechincals: {
|
|
681
|
-
_mocks: "String",
|
|
682
|
-
width: "FormNumberField",
|
|
683
|
-
height: "FormNumberField",
|
|
684
|
-
confirm: "FormRouteField"
|
|
685
|
-
},
|
|
686
|
-
FormtestWindow: {
|
|
687
|
-
_mocks: "String",
|
|
688
|
-
basics: "FormtestWindowBasics",
|
|
689
|
-
techincals: "FormtestWindowTechincals"
|
|
727
|
+
createdAt: "Float",
|
|
728
|
+
updatedAt: "Float"
|
|
690
729
|
},
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
730
|
+
ShapeusageMain: {
|
|
731
|
+
title: "String",
|
|
732
|
+
subtitle: "String",
|
|
733
|
+
period: "String",
|
|
734
|
+
tokens_consumed: "Float"
|
|
695
735
|
},
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
_version: "VersionField",
|
|
699
|
-
window: "FormtestWindow",
|
|
700
|
-
home: "FormtestHome",
|
|
701
|
-
locale: "String",
|
|
702
|
-
slug: "String",
|
|
736
|
+
Shapeusage: {
|
|
737
|
+
main: "ShapeusageMain",
|
|
703
738
|
_id: "String",
|
|
704
|
-
createdAt: "
|
|
705
|
-
updatedAt: "
|
|
706
|
-
draft_version: "String",
|
|
707
|
-
json_ld: "String"
|
|
739
|
+
createdAt: "Float",
|
|
740
|
+
updatedAt: "Float"
|
|
708
741
|
},
|
|
709
742
|
ID: `scalar.ID`
|
|
710
743
|
};
|
|
711
744
|
export const Ops = {
|
|
712
|
-
query: "Query"
|
|
745
|
+
query: "Query",
|
|
746
|
+
mutation: "Mutation"
|
|
713
747
|
};
|
|
714
748
|
//# sourceMappingURL=const.js.map
|