@rxdrag/rxcms-models 0.3.33 → 0.3.34
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/classes/ComponentCategoryQueryOptions.d.ts +19 -0
- package/dist/classes/FrontComponentQueryOptions.d.ts +22 -0
- package/dist/classes/ThemeQueryOptions.d.ts +12 -0
- package/dist/classes/UserQueryOptions.d.ts +1 -1
- package/dist/classes/index.d.ts +2 -0
- package/dist/entries/componentCategoryEntry.d.ts +2 -0
- package/dist/entries/frontComponentEntry.d.ts +2 -0
- package/dist/entries/index.d.ts +2 -0
- package/dist/fields/ComponentCategoryFields.d.ts +12 -0
- package/dist/fields/FrontComponentFields.d.ts +16 -0
- package/dist/fields/ThemeFields.d.ts +6 -0
- package/dist/fields/UserFields.d.ts +1 -1
- package/dist/fields/index.d.ts +2 -0
- package/dist/index.mjs +286 -9
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/ComponentCategory.d.ts +15 -0
- package/dist/interfaces/ComponentCategoryBoolExp.d.ts +18 -0
- package/dist/interfaces/ComponentCategoryDistinctExp.d.ts +8 -0
- package/dist/interfaces/ComponentCategoryInput.d.ts +16 -0
- package/dist/interfaces/ComponentCategoryOrderBy.d.ts +8 -0
- package/dist/interfaces/ComponentType.d.ts +32 -8
- package/dist/interfaces/ExtendField.d.ts +1 -0
- package/dist/interfaces/FrontComponent.d.ts +19 -0
- package/dist/interfaces/FrontComponentBoolExp.d.ts +24 -0
- package/dist/interfaces/FrontComponentDistinctExp.d.ts +13 -0
- package/dist/interfaces/FrontComponentInput.d.ts +21 -0
- package/dist/interfaces/FrontComponentOrderBy.d.ts +13 -0
- package/dist/interfaces/PropsFields.d.ts +8 -0
- package/dist/interfaces/Theme.d.ts +8 -0
- package/dist/interfaces/ThemeBoolExp.d.ts +6 -0
- package/dist/interfaces/ThemeDistinctExp.d.ts +2 -0
- package/dist/interfaces/ThemeInput.d.ts +6 -0
- package/dist/interfaces/ThemeOrderBy.d.ts +2 -0
- package/dist/interfaces/UserDistinctExp.d.ts +1 -1
- package/dist/interfaces/WebsiteUser.d.ts +1 -1
- package/dist/interfaces/WebsiteUserBoolExp.d.ts +1 -1
- package/dist/interfaces/WebsiteUserDistinctExp.d.ts +1 -1
- package/dist/interfaces/WebsiteUserOrderBy.d.ts +1 -1
- package/dist/interfaces/index.d.ts +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IAggregate, IQueryArgs } from "@rxdrag/entify-hooks";
|
|
2
|
+
import { QueryOptions } from "./QueryOptions";
|
|
3
|
+
import { ComponentCategory, ComponentCategoryBoolExp, ComponentCategoryDistinctExp, ComponentCategoryOrderBy } from "../interfaces";
|
|
4
|
+
import { FrontComponentQueryOptions } from './FrontComponentQueryOptions';
|
|
5
|
+
import { FrontComponent } from '../interfaces';
|
|
6
|
+
import { FrontComponentBoolExp } from '../interfaces';
|
|
7
|
+
import { ThemeQueryOptions } from './ThemeQueryOptions';
|
|
8
|
+
import { Theme } from '../interfaces';
|
|
9
|
+
export declare class ComponentCategoryQueryOptions extends QueryOptions<ComponentCategory, ComponentCategoryBoolExp, ComponentCategoryOrderBy, ComponentCategoryDistinctExp> {
|
|
10
|
+
constructor(fields?: (keyof ComponentCategory)[], queryArgs?: IQueryArgs<ComponentCategoryBoolExp, ComponentCategoryOrderBy, ComponentCategoryDistinctExp>);
|
|
11
|
+
id(): this;
|
|
12
|
+
name(): this;
|
|
13
|
+
seqValue(): this;
|
|
14
|
+
updatedAt(): this;
|
|
15
|
+
createdAt(): this;
|
|
16
|
+
components(options?: FrontComponentQueryOptions | (keyof FrontComponent)[]): this;
|
|
17
|
+
componentsAggregate(aggregate: IAggregate<FrontComponentBoolExp>): this;
|
|
18
|
+
theme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
|
|
19
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IQueryArgs } from "@rxdrag/entify-hooks";
|
|
2
|
+
import { QueryOptions } from "./QueryOptions";
|
|
3
|
+
import { FrontComponent, FrontComponentBoolExp, FrontComponentDistinctExp, FrontComponentOrderBy } from "../interfaces";
|
|
4
|
+
import { ComponentCategoryQueryOptions } from './ComponentCategoryQueryOptions';
|
|
5
|
+
import { ComponentCategory } from '../interfaces';
|
|
6
|
+
import { ThemeQueryOptions } from './ThemeQueryOptions';
|
|
7
|
+
import { Theme } from '../interfaces';
|
|
8
|
+
export declare class FrontComponentQueryOptions extends QueryOptions<FrontComponent, FrontComponentBoolExp, FrontComponentOrderBy, FrontComponentDistinctExp> {
|
|
9
|
+
constructor(fields?: (keyof FrontComponent)[], queryArgs?: IQueryArgs<FrontComponentBoolExp, FrontComponentOrderBy, FrontComponentDistinctExp>);
|
|
10
|
+
id(): this;
|
|
11
|
+
name(): this;
|
|
12
|
+
title(): this;
|
|
13
|
+
seqValue(): this;
|
|
14
|
+
content(): this;
|
|
15
|
+
props(): this;
|
|
16
|
+
testConfig(): this;
|
|
17
|
+
updatedAt(): this;
|
|
18
|
+
createdAt(): this;
|
|
19
|
+
droppable(): this;
|
|
20
|
+
category(options?: ComponentCategoryQueryOptions | (keyof ComponentCategory)[]): this;
|
|
21
|
+
theme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
|
|
22
|
+
}
|
|
@@ -11,6 +11,12 @@ import { LangQueryOptions } from './LangQueryOptions';
|
|
|
11
11
|
import { Lang } from '../interfaces';
|
|
12
12
|
import { MediaQueryOptions } from './MediaQueryOptions';
|
|
13
13
|
import { Media } from '../interfaces';
|
|
14
|
+
import { FrontComponentQueryOptions } from './FrontComponentQueryOptions';
|
|
15
|
+
import { FrontComponent } from '../interfaces';
|
|
16
|
+
import { FrontComponentBoolExp } from '../interfaces';
|
|
17
|
+
import { ComponentCategoryQueryOptions } from './ComponentCategoryQueryOptions';
|
|
18
|
+
import { ComponentCategory } from '../interfaces';
|
|
19
|
+
import { ComponentCategoryBoolExp } from '../interfaces';
|
|
14
20
|
import { WebsiteQueryOptions } from './WebsiteQueryOptions';
|
|
15
21
|
import { Website } from '../interfaces';
|
|
16
22
|
export declare class ThemeQueryOptions extends QueryOptions<Theme, ThemeBoolExp, ThemeOrderBy, ThemeDistinctExp> {
|
|
@@ -20,6 +26,8 @@ export declare class ThemeQueryOptions extends QueryOptions<Theme, ThemeBoolExp,
|
|
|
20
26
|
styles(): this;
|
|
21
27
|
settings(): this;
|
|
22
28
|
description(): this;
|
|
29
|
+
tailwindConfig(): this;
|
|
30
|
+
css(): this;
|
|
23
31
|
createdAt(): this;
|
|
24
32
|
updatedAt(): this;
|
|
25
33
|
templates(options?: TemplateQueryOptions | (keyof Template)[]): this;
|
|
@@ -28,6 +36,10 @@ export declare class ThemeQueryOptions extends QueryOptions<Theme, ThemeBoolExp,
|
|
|
28
36
|
themlateCategoriesAggregate(aggregate: IAggregate<TemplateCategoryBoolExp>): this;
|
|
29
37
|
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
30
38
|
cover(options?: MediaQueryOptions | (keyof Media)[]): this;
|
|
39
|
+
components(options?: FrontComponentQueryOptions | (keyof FrontComponent)[]): this;
|
|
40
|
+
componentsAggregate(aggregate: IAggregate<FrontComponentBoolExp>): this;
|
|
41
|
+
componentCategories(options?: ComponentCategoryQueryOptions | (keyof ComponentCategory)[]): this;
|
|
42
|
+
componentCategoriesAggregate(aggregate: IAggregate<ComponentCategoryBoolExp>): this;
|
|
31
43
|
selectedBy(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
32
44
|
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
33
45
|
}
|
package/dist/classes/index.d.ts
CHANGED
|
@@ -23,5 +23,7 @@ export * from './SpamFilterRuleQueryOptions';
|
|
|
23
23
|
export * from './MediaOnProductQueryOptions';
|
|
24
24
|
export * from './AttachmentOnProductQueryOptions';
|
|
25
25
|
export * from './ProductRelatedPivotQueryOptions';
|
|
26
|
+
export * from './FrontComponentQueryOptions';
|
|
27
|
+
export * from './ComponentCategoryQueryOptions';
|
|
26
28
|
export * from './QueryOptions';
|
|
27
29
|
export * from './metainfo';
|
package/dist/entries/index.d.ts
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum ComponentCategoryFields {
|
|
2
|
+
id = "id",
|
|
3
|
+
name = "name",
|
|
4
|
+
seqValue = "seqValue",
|
|
5
|
+
updatedAt = "updatedAt",
|
|
6
|
+
createdAt = "createdAt"
|
|
7
|
+
}
|
|
8
|
+
export declare enum ComponentCategoryAssciations {
|
|
9
|
+
components = "components",
|
|
10
|
+
componentsAggregate = "componentsAggregate",
|
|
11
|
+
theme = "theme"
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum FrontComponentFields {
|
|
2
|
+
id = "id",
|
|
3
|
+
name = "name",
|
|
4
|
+
title = "title",
|
|
5
|
+
seqValue = "seqValue",
|
|
6
|
+
content = "content",
|
|
7
|
+
props = "props",
|
|
8
|
+
testConfig = "testConfig",
|
|
9
|
+
updatedAt = "updatedAt",
|
|
10
|
+
createdAt = "createdAt",
|
|
11
|
+
droppable = "droppable"
|
|
12
|
+
}
|
|
13
|
+
export declare enum FrontComponentAssciations {
|
|
14
|
+
category = "category",
|
|
15
|
+
theme = "theme"
|
|
16
|
+
}
|
|
@@ -4,6 +4,8 @@ export declare enum ThemeFields {
|
|
|
4
4
|
styles = "styles",
|
|
5
5
|
settings = "settings",
|
|
6
6
|
description = "description",
|
|
7
|
+
tailwindConfig = "tailwindConfig",
|
|
8
|
+
css = "css",
|
|
7
9
|
createdAt = "createdAt",
|
|
8
10
|
updatedAt = "updatedAt"
|
|
9
11
|
}
|
|
@@ -14,6 +16,10 @@ export declare enum ThemeAssciations {
|
|
|
14
16
|
themlateCategoriesAggregate = "themlateCategoriesAggregate",
|
|
15
17
|
lang = "lang",
|
|
16
18
|
cover = "cover",
|
|
19
|
+
components = "components",
|
|
20
|
+
componentsAggregate = "componentsAggregate",
|
|
21
|
+
componentCategories = "componentCategories",
|
|
22
|
+
componentCategoriesAggregate = "componentCategoriesAggregate",
|
|
17
23
|
selectedBy = "selectedBy",
|
|
18
24
|
website = "website"
|
|
19
25
|
}
|
package/dist/fields/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -80,7 +80,9 @@ const aggregateEntities = {
|
|
|
80
80
|
},
|
|
81
81
|
Theme: {
|
|
82
82
|
templatesAggregate: "Template",
|
|
83
|
-
themlateCategoriesAggregate: "TemplateCategory"
|
|
83
|
+
themlateCategoriesAggregate: "TemplateCategory",
|
|
84
|
+
componentsAggregate: "FrontComponent",
|
|
85
|
+
componentCategoriesAggregate: "ComponentCategory"
|
|
84
86
|
},
|
|
85
87
|
MediaFolder: {
|
|
86
88
|
childrenAggregate: "MediaFolder",
|
|
@@ -100,6 +102,9 @@ const aggregateEntities = {
|
|
|
100
102
|
ProductCategory: {
|
|
101
103
|
childrenAggregate: "ProductCategory",
|
|
102
104
|
productsAggregate: "Product"
|
|
105
|
+
},
|
|
106
|
+
ComponentCategory: {
|
|
107
|
+
componentsAggregate: "FrontComponent"
|
|
103
108
|
}
|
|
104
109
|
};
|
|
105
110
|
class QueryOptions {
|
|
@@ -330,27 +335,62 @@ const templateToInput = (entity) => {
|
|
|
330
335
|
website: convertHasOneToInput(entity.website)
|
|
331
336
|
};
|
|
332
337
|
};
|
|
338
|
+
const componentCategoryToInputCascade = (entity) => {
|
|
339
|
+
var _a;
|
|
340
|
+
const { componentsAggregate, ...rest } = entity;
|
|
341
|
+
return {
|
|
342
|
+
...rest,
|
|
343
|
+
components: entity.components ? processHasManyClear({ sync: (_a = entity.components) == null ? void 0 : _a.map((ent) => frontComponentToInput(ent)) }) : void 0,
|
|
344
|
+
theme: entity.theme ? processHasOneClear({ sync: themeToInput(entity.theme) }) : void 0
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
const componentCategoryToInput = (entity) => {
|
|
348
|
+
const { componentsAggregate, ...rest } = entity;
|
|
349
|
+
return {
|
|
350
|
+
...rest,
|
|
351
|
+
components: convertHasManyToInput(entity.components),
|
|
352
|
+
theme: convertHasOneToInput(entity.theme)
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
const frontComponentToInputCascade = (entity) => {
|
|
356
|
+
return {
|
|
357
|
+
...entity,
|
|
358
|
+
category: entity.category ? processHasOneClear({ sync: componentCategoryToInput(entity.category) }) : void 0,
|
|
359
|
+
theme: entity.theme ? processHasOneClear({ sync: themeToInput(entity.theme) }) : void 0
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
const frontComponentToInput = (entity) => {
|
|
363
|
+
return {
|
|
364
|
+
...entity,
|
|
365
|
+
category: convertHasOneToInput(entity.category),
|
|
366
|
+
theme: convertHasOneToInput(entity.theme)
|
|
367
|
+
};
|
|
368
|
+
};
|
|
333
369
|
const themeToInputCascade = (entity) => {
|
|
334
|
-
var _a, _b;
|
|
335
|
-
const { templatesAggregate, themlateCategoriesAggregate, ...rest } = entity;
|
|
370
|
+
var _a, _b, _c, _d;
|
|
371
|
+
const { templatesAggregate, themlateCategoriesAggregate, componentsAggregate, componentCategoriesAggregate, ...rest } = entity;
|
|
336
372
|
return {
|
|
337
373
|
...rest,
|
|
338
374
|
templates: entity.templates ? processHasManyClear({ sync: (_a = entity.templates) == null ? void 0 : _a.map((ent) => templateToInput(ent)) }) : void 0,
|
|
339
375
|
themlateCategories: entity.themlateCategories ? processHasManyClear({ sync: (_b = entity.themlateCategories) == null ? void 0 : _b.map((ent) => templateCategoryToInput(ent)) }) : void 0,
|
|
340
376
|
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
341
377
|
cover: entity.cover ? processHasOneClear({ sync: mediaToInput(entity.cover) }) : void 0,
|
|
378
|
+
components: entity.components ? processHasManyClear({ sync: (_c = entity.components) == null ? void 0 : _c.map((ent) => frontComponentToInput(ent)) }) : void 0,
|
|
379
|
+
componentCategories: entity.componentCategories ? processHasManyClear({ sync: (_d = entity.componentCategories) == null ? void 0 : _d.map((ent) => componentCategoryToInput(ent)) }) : void 0,
|
|
342
380
|
selectedBy: entity.selectedBy ? processHasOneClear({ sync: websiteToInput(entity.selectedBy) }) : void 0,
|
|
343
381
|
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
344
382
|
};
|
|
345
383
|
};
|
|
346
384
|
const themeToInput = (entity) => {
|
|
347
|
-
const { templatesAggregate, themlateCategoriesAggregate, ...rest } = entity;
|
|
385
|
+
const { templatesAggregate, themlateCategoriesAggregate, componentsAggregate, componentCategoriesAggregate, ...rest } = entity;
|
|
348
386
|
return {
|
|
349
387
|
...rest,
|
|
350
388
|
templates: convertHasManyToInput(entity.templates),
|
|
351
389
|
themlateCategories: convertHasManyToInput(entity.themlateCategories),
|
|
352
390
|
lang: convertHasOneToInput(entity.lang),
|
|
353
391
|
cover: convertHasOneToInput(entity.cover),
|
|
392
|
+
components: convertHasManyToInput(entity.components),
|
|
393
|
+
componentCategories: convertHasManyToInput(entity.componentCategories),
|
|
354
394
|
selectedBy: convertHasOneToInput(entity.selectedBy),
|
|
355
395
|
website: convertHasOneToInput(entity.website)
|
|
356
396
|
};
|
|
@@ -809,7 +849,7 @@ var UserDistinctEnum = /* @__PURE__ */ ((UserDistinctEnum2) => {
|
|
|
809
849
|
UserDistinctEnum2["password"] = "password";
|
|
810
850
|
UserDistinctEnum2["createdAt"] = "createdAt";
|
|
811
851
|
UserDistinctEnum2["updatedAt"] = "updatedAt";
|
|
812
|
-
UserDistinctEnum2["
|
|
852
|
+
UserDistinctEnum2["position"] = "position";
|
|
813
853
|
UserDistinctEnum2["profile"] = "profile";
|
|
814
854
|
UserDistinctEnum2["userType"] = "userType";
|
|
815
855
|
UserDistinctEnum2["email"] = "email";
|
|
@@ -1131,6 +1171,8 @@ var ThemeDistinctEnum = /* @__PURE__ */ ((ThemeDistinctEnum2) => {
|
|
|
1131
1171
|
ThemeDistinctEnum2["styles"] = "styles";
|
|
1132
1172
|
ThemeDistinctEnum2["settings"] = "settings";
|
|
1133
1173
|
ThemeDistinctEnum2["description"] = "description";
|
|
1174
|
+
ThemeDistinctEnum2["tailwindConfig"] = "tailwindConfig";
|
|
1175
|
+
ThemeDistinctEnum2["css"] = "css";
|
|
1134
1176
|
ThemeDistinctEnum2["createdAt"] = "createdAt";
|
|
1135
1177
|
ThemeDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1136
1178
|
return ThemeDistinctEnum2;
|
|
@@ -1292,7 +1334,7 @@ var CustomerDistinctEnum = /* @__PURE__ */ ((CustomerDistinctEnum2) => {
|
|
|
1292
1334
|
})(CustomerDistinctEnum || {});
|
|
1293
1335
|
var WebsiteUserDistinctEnum = /* @__PURE__ */ ((WebsiteUserDistinctEnum2) => {
|
|
1294
1336
|
WebsiteUserDistinctEnum2["id"] = "id";
|
|
1295
|
-
WebsiteUserDistinctEnum2["
|
|
1337
|
+
WebsiteUserDistinctEnum2["position"] = "position";
|
|
1296
1338
|
WebsiteUserDistinctEnum2["profile"] = "profile";
|
|
1297
1339
|
WebsiteUserDistinctEnum2["userType"] = "userType";
|
|
1298
1340
|
WebsiteUserDistinctEnum2["email"] = "email";
|
|
@@ -1354,6 +1396,12 @@ var ComponentType = /* @__PURE__ */ ((ComponentType2) => {
|
|
|
1354
1396
|
ComponentType2["DatePicker"] = "DatePicker";
|
|
1355
1397
|
ComponentType2["Switch"] = "Switch";
|
|
1356
1398
|
ComponentType2["RichText"] = "RichText";
|
|
1399
|
+
ComponentType2["ImageSelect"] = "ImageSelect";
|
|
1400
|
+
ComponentType2["ProductSelect"] = "ProductSelect";
|
|
1401
|
+
ComponentType2["VideoSelect"] = "VideoSelect";
|
|
1402
|
+
ComponentType2["NumberInput"] = "NumberInput";
|
|
1403
|
+
ComponentType2["ColorPicker"] = "ColorPicker";
|
|
1404
|
+
ComponentType2["LinkTarget"] = "LinkTarget";
|
|
1357
1405
|
return ComponentType2;
|
|
1358
1406
|
})(ComponentType || {});
|
|
1359
1407
|
const SpamFilterRuleEntityName = "SpamFilterRule";
|
|
@@ -1395,6 +1443,31 @@ var ProductRelatedPivotDistinctEnum = /* @__PURE__ */ ((ProductRelatedPivotDisti
|
|
|
1395
1443
|
ProductRelatedPivotDistinctEnum2["seqValue"] = "seqValue";
|
|
1396
1444
|
return ProductRelatedPivotDistinctEnum2;
|
|
1397
1445
|
})(ProductRelatedPivotDistinctEnum || {});
|
|
1446
|
+
const FrontComponentEntityName = "FrontComponent";
|
|
1447
|
+
const FrontComponentEntityLabel = "";
|
|
1448
|
+
var FrontComponentDistinctEnum = /* @__PURE__ */ ((FrontComponentDistinctEnum2) => {
|
|
1449
|
+
FrontComponentDistinctEnum2["id"] = "id";
|
|
1450
|
+
FrontComponentDistinctEnum2["name"] = "name";
|
|
1451
|
+
FrontComponentDistinctEnum2["title"] = "title";
|
|
1452
|
+
FrontComponentDistinctEnum2["seqValue"] = "seqValue";
|
|
1453
|
+
FrontComponentDistinctEnum2["content"] = "content";
|
|
1454
|
+
FrontComponentDistinctEnum2["props"] = "props";
|
|
1455
|
+
FrontComponentDistinctEnum2["testConfig"] = "testConfig";
|
|
1456
|
+
FrontComponentDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1457
|
+
FrontComponentDistinctEnum2["createdAt"] = "createdAt";
|
|
1458
|
+
FrontComponentDistinctEnum2["droppable"] = "droppable";
|
|
1459
|
+
return FrontComponentDistinctEnum2;
|
|
1460
|
+
})(FrontComponentDistinctEnum || {});
|
|
1461
|
+
const ComponentCategoryEntityName = "ComponentCategory";
|
|
1462
|
+
const ComponentCategoryEntityLabel = "";
|
|
1463
|
+
var ComponentCategoryDistinctEnum = /* @__PURE__ */ ((ComponentCategoryDistinctEnum2) => {
|
|
1464
|
+
ComponentCategoryDistinctEnum2["id"] = "id";
|
|
1465
|
+
ComponentCategoryDistinctEnum2["name"] = "name";
|
|
1466
|
+
ComponentCategoryDistinctEnum2["seqValue"] = "seqValue";
|
|
1467
|
+
ComponentCategoryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1468
|
+
ComponentCategoryDistinctEnum2["createdAt"] = "createdAt";
|
|
1469
|
+
return ComponentCategoryDistinctEnum2;
|
|
1470
|
+
})(ComponentCategoryDistinctEnum || {});
|
|
1398
1471
|
class RoleQueryOptions extends QueryOptions {
|
|
1399
1472
|
constructor(fields, queryArgs) {
|
|
1400
1473
|
super(RoleEntityName, fields, queryArgs);
|
|
@@ -1630,6 +1703,112 @@ class TemplateQueryOptions extends QueryOptions {
|
|
|
1630
1703
|
return this;
|
|
1631
1704
|
}
|
|
1632
1705
|
}
|
|
1706
|
+
class ComponentCategoryQueryOptions extends QueryOptions {
|
|
1707
|
+
constructor(fields, queryArgs) {
|
|
1708
|
+
super(ComponentCategoryEntityName, fields, queryArgs);
|
|
1709
|
+
}
|
|
1710
|
+
id() {
|
|
1711
|
+
this.addField("id");
|
|
1712
|
+
return this;
|
|
1713
|
+
}
|
|
1714
|
+
name() {
|
|
1715
|
+
this.addField("name");
|
|
1716
|
+
return this;
|
|
1717
|
+
}
|
|
1718
|
+
seqValue() {
|
|
1719
|
+
this.addField("seqValue");
|
|
1720
|
+
return this;
|
|
1721
|
+
}
|
|
1722
|
+
updatedAt() {
|
|
1723
|
+
this.addField("updatedAt");
|
|
1724
|
+
return this;
|
|
1725
|
+
}
|
|
1726
|
+
createdAt() {
|
|
1727
|
+
this.addField("createdAt");
|
|
1728
|
+
return this;
|
|
1729
|
+
}
|
|
1730
|
+
components(options) {
|
|
1731
|
+
if (Array.isArray(options)) {
|
|
1732
|
+
this._associations["components"] = new FrontComponentQueryOptions(options);
|
|
1733
|
+
} else {
|
|
1734
|
+
this._associations["components"] = options || new FrontComponentQueryOptions(["id"]);
|
|
1735
|
+
}
|
|
1736
|
+
return this;
|
|
1737
|
+
}
|
|
1738
|
+
componentsAggregate(aggregate) {
|
|
1739
|
+
this._aggregates["componentsAggregate"] = aggregate;
|
|
1740
|
+
return this;
|
|
1741
|
+
}
|
|
1742
|
+
theme(options) {
|
|
1743
|
+
if (Array.isArray(options)) {
|
|
1744
|
+
this._associations["theme"] = new ThemeQueryOptions(options);
|
|
1745
|
+
} else {
|
|
1746
|
+
this._associations["theme"] = options || new ThemeQueryOptions(["id"]);
|
|
1747
|
+
}
|
|
1748
|
+
return this;
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
class FrontComponentQueryOptions extends QueryOptions {
|
|
1752
|
+
constructor(fields, queryArgs) {
|
|
1753
|
+
super(FrontComponentEntityName, fields, queryArgs);
|
|
1754
|
+
}
|
|
1755
|
+
id() {
|
|
1756
|
+
this.addField("id");
|
|
1757
|
+
return this;
|
|
1758
|
+
}
|
|
1759
|
+
name() {
|
|
1760
|
+
this.addField("name");
|
|
1761
|
+
return this;
|
|
1762
|
+
}
|
|
1763
|
+
title() {
|
|
1764
|
+
this.addField("title");
|
|
1765
|
+
return this;
|
|
1766
|
+
}
|
|
1767
|
+
seqValue() {
|
|
1768
|
+
this.addField("seqValue");
|
|
1769
|
+
return this;
|
|
1770
|
+
}
|
|
1771
|
+
content() {
|
|
1772
|
+
this.addField("content");
|
|
1773
|
+
return this;
|
|
1774
|
+
}
|
|
1775
|
+
props() {
|
|
1776
|
+
this.addField("props");
|
|
1777
|
+
return this;
|
|
1778
|
+
}
|
|
1779
|
+
testConfig() {
|
|
1780
|
+
this.addField("testConfig");
|
|
1781
|
+
return this;
|
|
1782
|
+
}
|
|
1783
|
+
updatedAt() {
|
|
1784
|
+
this.addField("updatedAt");
|
|
1785
|
+
return this;
|
|
1786
|
+
}
|
|
1787
|
+
createdAt() {
|
|
1788
|
+
this.addField("createdAt");
|
|
1789
|
+
return this;
|
|
1790
|
+
}
|
|
1791
|
+
droppable() {
|
|
1792
|
+
this.addField("droppable");
|
|
1793
|
+
return this;
|
|
1794
|
+
}
|
|
1795
|
+
category(options) {
|
|
1796
|
+
if (Array.isArray(options)) {
|
|
1797
|
+
this._associations["category"] = new ComponentCategoryQueryOptions(options);
|
|
1798
|
+
} else {
|
|
1799
|
+
this._associations["category"] = options || new ComponentCategoryQueryOptions(["id"]);
|
|
1800
|
+
}
|
|
1801
|
+
return this;
|
|
1802
|
+
}
|
|
1803
|
+
theme(options) {
|
|
1804
|
+
if (Array.isArray(options)) {
|
|
1805
|
+
this._associations["theme"] = new ThemeQueryOptions(options);
|
|
1806
|
+
} else {
|
|
1807
|
+
this._associations["theme"] = options || new ThemeQueryOptions(["id"]);
|
|
1808
|
+
}
|
|
1809
|
+
return this;
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1633
1812
|
class ThemeQueryOptions extends QueryOptions {
|
|
1634
1813
|
constructor(fields, queryArgs) {
|
|
1635
1814
|
super(ThemeEntityName, fields, queryArgs);
|
|
@@ -1654,6 +1833,14 @@ class ThemeQueryOptions extends QueryOptions {
|
|
|
1654
1833
|
this.addField("description");
|
|
1655
1834
|
return this;
|
|
1656
1835
|
}
|
|
1836
|
+
tailwindConfig() {
|
|
1837
|
+
this.addField("tailwindConfig");
|
|
1838
|
+
return this;
|
|
1839
|
+
}
|
|
1840
|
+
css() {
|
|
1841
|
+
this.addField("css");
|
|
1842
|
+
return this;
|
|
1843
|
+
}
|
|
1657
1844
|
createdAt() {
|
|
1658
1845
|
this.addField("createdAt");
|
|
1659
1846
|
return this;
|
|
@@ -1702,6 +1889,30 @@ class ThemeQueryOptions extends QueryOptions {
|
|
|
1702
1889
|
}
|
|
1703
1890
|
return this;
|
|
1704
1891
|
}
|
|
1892
|
+
components(options) {
|
|
1893
|
+
if (Array.isArray(options)) {
|
|
1894
|
+
this._associations["components"] = new FrontComponentQueryOptions(options);
|
|
1895
|
+
} else {
|
|
1896
|
+
this._associations["components"] = options || new FrontComponentQueryOptions(["id"]);
|
|
1897
|
+
}
|
|
1898
|
+
return this;
|
|
1899
|
+
}
|
|
1900
|
+
componentsAggregate(aggregate) {
|
|
1901
|
+
this._aggregates["componentsAggregate"] = aggregate;
|
|
1902
|
+
return this;
|
|
1903
|
+
}
|
|
1904
|
+
componentCategories(options) {
|
|
1905
|
+
if (Array.isArray(options)) {
|
|
1906
|
+
this._associations["componentCategories"] = new ComponentCategoryQueryOptions(options);
|
|
1907
|
+
} else {
|
|
1908
|
+
this._associations["componentCategories"] = options || new ComponentCategoryQueryOptions(["id"]);
|
|
1909
|
+
}
|
|
1910
|
+
return this;
|
|
1911
|
+
}
|
|
1912
|
+
componentCategoriesAggregate(aggregate) {
|
|
1913
|
+
this._aggregates["componentCategoriesAggregate"] = aggregate;
|
|
1914
|
+
return this;
|
|
1915
|
+
}
|
|
1705
1916
|
selectedBy(options) {
|
|
1706
1917
|
if (Array.isArray(options)) {
|
|
1707
1918
|
this._associations["selectedBy"] = new WebsiteQueryOptions(options);
|
|
@@ -3805,8 +4016,8 @@ class UserQueryOptions extends QueryOptions {
|
|
|
3805
4016
|
/**
|
|
3806
4017
|
* 职位
|
|
3807
4018
|
*/
|
|
3808
|
-
|
|
3809
|
-
this.addField("
|
|
4019
|
+
position() {
|
|
4020
|
+
this.addField("position");
|
|
3810
4021
|
return this;
|
|
3811
4022
|
}
|
|
3812
4023
|
/**
|
|
@@ -4156,6 +4367,16 @@ const productRelatedPivotEntry = {
|
|
|
4156
4367
|
entityLabel: ProductRelatedPivotEntityLabel,
|
|
4157
4368
|
toInput: productRelatedPivotToInput
|
|
4158
4369
|
};
|
|
4370
|
+
const frontComponentEntry = {
|
|
4371
|
+
entityName: FrontComponentEntityName,
|
|
4372
|
+
entityLabel: FrontComponentEntityLabel,
|
|
4373
|
+
toInput: frontComponentToInput
|
|
4374
|
+
};
|
|
4375
|
+
const componentCategoryEntry = {
|
|
4376
|
+
entityName: ComponentCategoryEntityName,
|
|
4377
|
+
entityLabel: ComponentCategoryEntityLabel,
|
|
4378
|
+
toInput: componentCategoryToInput
|
|
4379
|
+
};
|
|
4159
4380
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
4160
4381
|
UserFields2["id"] = "id";
|
|
4161
4382
|
UserFields2["loginName"] = "loginName";
|
|
@@ -4165,7 +4386,7 @@ var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
|
4165
4386
|
UserFields2["password"] = "password";
|
|
4166
4387
|
UserFields2["createdAt"] = "createdAt";
|
|
4167
4388
|
UserFields2["updatedAt"] = "updatedAt";
|
|
4168
|
-
UserFields2["
|
|
4389
|
+
UserFields2["position"] = "position";
|
|
4169
4390
|
UserFields2["profile"] = "profile";
|
|
4170
4391
|
UserFields2["userType"] = "userType";
|
|
4171
4392
|
UserFields2["email"] = "email";
|
|
@@ -4608,6 +4829,8 @@ var ThemeFields = /* @__PURE__ */ ((ThemeFields2) => {
|
|
|
4608
4829
|
ThemeFields2["styles"] = "styles";
|
|
4609
4830
|
ThemeFields2["settings"] = "settings";
|
|
4610
4831
|
ThemeFields2["description"] = "description";
|
|
4832
|
+
ThemeFields2["tailwindConfig"] = "tailwindConfig";
|
|
4833
|
+
ThemeFields2["css"] = "css";
|
|
4611
4834
|
ThemeFields2["createdAt"] = "createdAt";
|
|
4612
4835
|
ThemeFields2["updatedAt"] = "updatedAt";
|
|
4613
4836
|
return ThemeFields2;
|
|
@@ -4619,6 +4842,10 @@ var ThemeAssciations = /* @__PURE__ */ ((ThemeAssciations2) => {
|
|
|
4619
4842
|
ThemeAssciations2["themlateCategoriesAggregate"] = "themlateCategoriesAggregate";
|
|
4620
4843
|
ThemeAssciations2["lang"] = "lang";
|
|
4621
4844
|
ThemeAssciations2["cover"] = "cover";
|
|
4845
|
+
ThemeAssciations2["components"] = "components";
|
|
4846
|
+
ThemeAssciations2["componentsAggregate"] = "componentsAggregate";
|
|
4847
|
+
ThemeAssciations2["componentCategories"] = "componentCategories";
|
|
4848
|
+
ThemeAssciations2["componentCategoriesAggregate"] = "componentCategoriesAggregate";
|
|
4622
4849
|
ThemeAssciations2["selectedBy"] = "selectedBy";
|
|
4623
4850
|
ThemeAssciations2["website"] = "website";
|
|
4624
4851
|
return ThemeAssciations2;
|
|
@@ -4769,6 +4996,38 @@ var ProductRelatedPivotAssciations = /* @__PURE__ */ ((ProductRelatedPivotAsscia
|
|
|
4769
4996
|
ProductRelatedPivotAssciations2["source"] = "source";
|
|
4770
4997
|
return ProductRelatedPivotAssciations2;
|
|
4771
4998
|
})(ProductRelatedPivotAssciations || {});
|
|
4999
|
+
var FrontComponentFields = /* @__PURE__ */ ((FrontComponentFields2) => {
|
|
5000
|
+
FrontComponentFields2["id"] = "id";
|
|
5001
|
+
FrontComponentFields2["name"] = "name";
|
|
5002
|
+
FrontComponentFields2["title"] = "title";
|
|
5003
|
+
FrontComponentFields2["seqValue"] = "seqValue";
|
|
5004
|
+
FrontComponentFields2["content"] = "content";
|
|
5005
|
+
FrontComponentFields2["props"] = "props";
|
|
5006
|
+
FrontComponentFields2["testConfig"] = "testConfig";
|
|
5007
|
+
FrontComponentFields2["updatedAt"] = "updatedAt";
|
|
5008
|
+
FrontComponentFields2["createdAt"] = "createdAt";
|
|
5009
|
+
FrontComponentFields2["droppable"] = "droppable";
|
|
5010
|
+
return FrontComponentFields2;
|
|
5011
|
+
})(FrontComponentFields || {});
|
|
5012
|
+
var FrontComponentAssciations = /* @__PURE__ */ ((FrontComponentAssciations2) => {
|
|
5013
|
+
FrontComponentAssciations2["category"] = "category";
|
|
5014
|
+
FrontComponentAssciations2["theme"] = "theme";
|
|
5015
|
+
return FrontComponentAssciations2;
|
|
5016
|
+
})(FrontComponentAssciations || {});
|
|
5017
|
+
var ComponentCategoryFields = /* @__PURE__ */ ((ComponentCategoryFields2) => {
|
|
5018
|
+
ComponentCategoryFields2["id"] = "id";
|
|
5019
|
+
ComponentCategoryFields2["name"] = "name";
|
|
5020
|
+
ComponentCategoryFields2["seqValue"] = "seqValue";
|
|
5021
|
+
ComponentCategoryFields2["updatedAt"] = "updatedAt";
|
|
5022
|
+
ComponentCategoryFields2["createdAt"] = "createdAt";
|
|
5023
|
+
return ComponentCategoryFields2;
|
|
5024
|
+
})(ComponentCategoryFields || {});
|
|
5025
|
+
var ComponentCategoryAssciations = /* @__PURE__ */ ((ComponentCategoryAssciations2) => {
|
|
5026
|
+
ComponentCategoryAssciations2["components"] = "components";
|
|
5027
|
+
ComponentCategoryAssciations2["componentsAggregate"] = "componentsAggregate";
|
|
5028
|
+
ComponentCategoryAssciations2["theme"] = "theme";
|
|
5029
|
+
return ComponentCategoryAssciations2;
|
|
5030
|
+
})(ComponentCategoryAssciations || {});
|
|
4772
5031
|
export {
|
|
4773
5032
|
AbilityAssciations,
|
|
4774
5033
|
AbilityDistinctEnum,
|
|
@@ -4783,6 +5042,12 @@ export {
|
|
|
4783
5042
|
AttachmentOnProductEntityName,
|
|
4784
5043
|
AttachmentOnProductFields,
|
|
4785
5044
|
AttachmentOnProductQueryOptions,
|
|
5045
|
+
ComponentCategoryAssciations,
|
|
5046
|
+
ComponentCategoryDistinctEnum,
|
|
5047
|
+
ComponentCategoryEntityLabel,
|
|
5048
|
+
ComponentCategoryEntityName,
|
|
5049
|
+
ComponentCategoryFields,
|
|
5050
|
+
ComponentCategoryQueryOptions,
|
|
4786
5051
|
ComponentType,
|
|
4787
5052
|
CustomerAssciations,
|
|
4788
5053
|
CustomerDistinctEnum,
|
|
@@ -4797,6 +5062,12 @@ export {
|
|
|
4797
5062
|
EnquiryFields,
|
|
4798
5063
|
EnquiryQueryOptions,
|
|
4799
5064
|
ExtendFieldType,
|
|
5065
|
+
FrontComponentAssciations,
|
|
5066
|
+
FrontComponentDistinctEnum,
|
|
5067
|
+
FrontComponentEntityLabel,
|
|
5068
|
+
FrontComponentEntityName,
|
|
5069
|
+
FrontComponentFields,
|
|
5070
|
+
FrontComponentQueryOptions,
|
|
4800
5071
|
LangAssciations,
|
|
4801
5072
|
LangDistinctEnum,
|
|
4802
5073
|
LangEntityLabel,
|
|
@@ -4946,12 +5217,18 @@ export {
|
|
|
4946
5217
|
attachmentOnProductEntry,
|
|
4947
5218
|
attachmentOnProductToInput,
|
|
4948
5219
|
attachmentOnProductToInputCascade,
|
|
5220
|
+
componentCategoryEntry,
|
|
5221
|
+
componentCategoryToInput,
|
|
5222
|
+
componentCategoryToInputCascade,
|
|
4949
5223
|
customerEntry,
|
|
4950
5224
|
customerToInput,
|
|
4951
5225
|
customerToInputCascade,
|
|
4952
5226
|
enquiryEntry,
|
|
4953
5227
|
enquiryToInput,
|
|
4954
5228
|
enquiryToInputCascade,
|
|
5229
|
+
frontComponentEntry,
|
|
5230
|
+
frontComponentToInput,
|
|
5231
|
+
frontComponentToInputCascade,
|
|
4955
5232
|
langEntry,
|
|
4956
5233
|
langToInput,
|
|
4957
5234
|
langToInputCascade,
|