@rxdrag/rxcms-models 0.1.4 → 0.2.1
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/AbilityQueryOptions.d.ts +13 -0
- package/dist/classes/CustomerQueryOptions.d.ts +48 -0
- package/dist/classes/EnquiryQueryOptions.d.ts +36 -0
- package/dist/classes/LangQueryOptions.d.ts +36 -0
- package/dist/classes/MediaFolderQueryOptions.d.ts +30 -0
- package/dist/classes/MediaQueryOptions.d.ts +34 -0
- package/dist/classes/PageQueryOptions.d.ts +44 -0
- package/dist/classes/PostCategoryQueryOptions.d.ts +30 -0
- package/dist/classes/PostQueryOptions.d.ts +68 -0
- package/dist/classes/ProductCategoryQueryOptions.d.ts +30 -0
- package/dist/classes/ProductQueryOptions.d.ts +77 -0
- package/dist/classes/QueryOptions.d.ts +27 -0
- package/dist/classes/RoleQueryOptions.d.ts +16 -0
- package/dist/classes/SlugQueryOptions.d.ts +30 -0
- package/dist/classes/TagQueryOptions.d.ts +35 -0
- package/dist/classes/TemplateCategoryQueryOptions.d.ts +30 -0
- package/dist/classes/TemplateQueryOptions.d.ts +33 -0
- package/dist/classes/ThemeQueryOptions.d.ts +33 -0
- package/dist/classes/UserQueryOptions.d.ts +69 -0
- package/dist/classes/WebsiteMetaQueryOptions.d.ts +7 -0
- package/dist/classes/WebsiteQueryOptions.d.ts +50 -0
- package/dist/classes/WebsiteSettingsQueryOptions.d.ts +32 -0
- package/dist/classes/WebsiteTypeQueryOptions.d.ts +33 -0
- package/dist/classes/index.d.ts +24 -0
- package/dist/classes/metainfo.d.ts +2 -0
- package/dist/fields/AbilityFields.d.ts +2 -0
- package/dist/fields/CustomerFields.d.ts +3 -1
- package/dist/fields/EnquiryFields.d.ts +3 -1
- package/dist/fields/LangFields.d.ts +2 -0
- package/dist/fields/MediaFields.d.ts +6 -2
- package/dist/fields/MediaFolderFields.d.ts +3 -1
- package/dist/fields/PageFields.d.ts +10 -3
- package/dist/fields/PostCategoryFields.d.ts +3 -1
- package/dist/fields/PostFields.d.ts +9 -2
- package/dist/fields/ProductCategoryFields.d.ts +3 -1
- package/dist/fields/ProductFields.d.ts +17 -2
- package/dist/fields/RoleFields.d.ts +3 -1
- package/dist/fields/SlugFields.d.ts +3 -1
- package/dist/fields/TagFields.d.ts +3 -1
- package/dist/fields/TemplateCategoryFields.d.ts +3 -1
- package/dist/fields/TemplateFields.d.ts +3 -1
- package/dist/fields/ThemeFields.d.ts +3 -1
- package/dist/fields/UserFields.d.ts +3 -1
- package/dist/fields/WebsiteFields.d.ts +3 -1
- package/dist/fields/WebsiteMetaFields.d.ts +2 -0
- package/dist/fields/WebsiteSettingsFields.d.ts +2 -0
- package/dist/fields/WebsiteTypeFields.d.ts +3 -1
- package/dist/fields/index.d.ts +0 -10
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +2439 -242
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/BaseEntityOrderBy.d.ts +1 -1
- package/dist/interfaces/CustomizeMediaOrderBy.d.ts +1 -1
- package/dist/interfaces/Media.d.ts +2 -0
- package/dist/interfaces/MediaAddonOrderBy.d.ts +5 -0
- package/dist/interfaces/MediaBoolExp.d.ts +1 -0
- package/dist/interfaces/MediaInput.d.ts +1 -0
- package/dist/interfaces/MultiLangableOrderBy.d.ts +1 -1
- package/dist/interfaces/OgMeta.d.ts +5 -1
- package/dist/interfaces/OgMetaBoolExp.d.ts +5 -1
- package/dist/interfaces/OgMetaDistinctExp.d.ts +6 -2
- package/dist/interfaces/OgMetaOrderBy.d.ts +6 -2
- package/dist/interfaces/Page.d.ts +2 -0
- package/dist/interfaces/PageBoolExp.d.ts +2 -0
- package/dist/interfaces/PageDistinctExp.d.ts +5 -1
- package/dist/interfaces/PageInput.d.ts +2 -0
- package/dist/interfaces/PersonOrderBy.d.ts +1 -1
- package/dist/interfaces/Post.d.ts +1 -0
- package/dist/interfaces/PostBoolExp.d.ts +1 -0
- package/dist/interfaces/PostDistinctExp.d.ts +5 -1
- package/dist/interfaces/PostInput.d.ts +1 -0
- package/dist/interfaces/Product.d.ts +9 -0
- package/dist/interfaces/ProductBoolExp.d.ts +5 -0
- package/dist/interfaces/ProductDistinctExp.d.ts +11 -1
- package/dist/interfaces/ProductInput.d.ts +8 -0
- package/dist/interfaces/ProductOrderBy.d.ts +6 -0
- package/dist/interfaces/PublishableDistinctExp.d.ts +5 -1
- package/dist/interfaces/PublishableOrderBy.d.ts +1 -1
- package/dist/interfaces/SeoMetaOrderBy.d.ts +1 -1
- package/dist/interfaces/WebsiteContentDistinctExp.d.ts +5 -1
- package/dist/interfaces/WebsiteContentOrderBy.d.ts +1 -1
- package/dist/interfaces/WebsitePartOrderBy.d.ts +1 -1
- package/dist/interfaces/WebsiteUserOrderBy.d.ts +1 -1
- package/package.json +2 -2
- package/dist/fields/BaseEntityFields.d.ts +0 -15
- package/dist/fields/CustomizeMediaFields.d.ts +0 -7
- package/dist/fields/MultiLangableFields.d.ts +0 -4
- package/dist/fields/OgMetaFields.d.ts +0 -9
- package/dist/fields/PersonFields.d.ts +0 -26
- package/dist/fields/PublishableFields.d.ts +0 -35
- package/dist/fields/SeoMetaFields.d.ts +0 -6
- package/dist/fields/WebsiteContentFields.d.ts +0 -29
- package/dist/fields/WebsitePartFields.d.ts +0 -16
- package/dist/fields/WebsiteUserFields.d.ts +0 -35
package/dist/index.mjs
CHANGED
|
@@ -1,31 +1,261 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
+
var __publicField = (obj, key, value) => {
|
|
4
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
+
return value;
|
|
6
|
+
};
|
|
1
7
|
import { processHasManyClear, convertHasManyToInput, processHasOneClear, convertHasOneToInput } from "@rxdrag/entify-hooks";
|
|
8
|
+
const associationsClasses = {
|
|
9
|
+
Product: {
|
|
10
|
+
medias: "MediaAddon"
|
|
11
|
+
},
|
|
12
|
+
Media: {
|
|
13
|
+
usedByProducts: "MediaAddon"
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
const aggregateEntities = {
|
|
17
|
+
User: {
|
|
18
|
+
rolesAggregate: "Role",
|
|
19
|
+
productsAggregate: "Product",
|
|
20
|
+
postsAggregate: "Post",
|
|
21
|
+
websitesAggregate: "Website"
|
|
22
|
+
},
|
|
23
|
+
Role: {
|
|
24
|
+
usersAggregate: "User"
|
|
25
|
+
},
|
|
26
|
+
Media: {
|
|
27
|
+
usedByProductsAggregate: "Product",
|
|
28
|
+
attachmentOfAggregate: "Product"
|
|
29
|
+
},
|
|
30
|
+
Website: {
|
|
31
|
+
usersAggregate: "User"
|
|
32
|
+
},
|
|
33
|
+
WebsiteType: {
|
|
34
|
+
websitesAggregate: "Website"
|
|
35
|
+
},
|
|
36
|
+
Post: {
|
|
37
|
+
tagsAggregate: "Tag"
|
|
38
|
+
},
|
|
39
|
+
Product: {
|
|
40
|
+
mediasAggregate: "Media",
|
|
41
|
+
tagsAggregate: "Tag",
|
|
42
|
+
attachmentsAggregate: "Media"
|
|
43
|
+
},
|
|
44
|
+
TemplateCategory: {
|
|
45
|
+
templatesAggregate: "Template"
|
|
46
|
+
},
|
|
47
|
+
Theme: {
|
|
48
|
+
templatesAggregate: "Template",
|
|
49
|
+
themlateCategoriesAggregate: "TemplateCategory"
|
|
50
|
+
},
|
|
51
|
+
MediaFolder: {
|
|
52
|
+
childrenAggregate: "MediaFolder",
|
|
53
|
+
mediasAggregate: "Media"
|
|
54
|
+
},
|
|
55
|
+
PostCategory: {
|
|
56
|
+
childrenAggregate: "PostCategory",
|
|
57
|
+
postsAggregate: "Post"
|
|
58
|
+
},
|
|
59
|
+
Tag: {
|
|
60
|
+
postsAggregate: "Post",
|
|
61
|
+
productsAggregate: "Product"
|
|
62
|
+
},
|
|
63
|
+
Customer: {
|
|
64
|
+
enquiresAggregate: "Enquiry"
|
|
65
|
+
},
|
|
66
|
+
ProductCategory: {
|
|
67
|
+
childrenAggregate: "ProductCategory",
|
|
68
|
+
productsAggregate: "Product"
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
class QueryOptions {
|
|
72
|
+
constructor(entityName, fields, queryArgs) {
|
|
73
|
+
__publicField(this, "_fields");
|
|
74
|
+
__publicField(this, "_associations", {});
|
|
75
|
+
__publicField(this, "_objectFields", {});
|
|
76
|
+
__publicField(this, "_aggregates", {});
|
|
77
|
+
__publicField(this, "_queryArgs");
|
|
78
|
+
__publicField(this, "_noQuery");
|
|
79
|
+
__publicField(this, "getFields", () => {
|
|
80
|
+
return this._fields;
|
|
81
|
+
});
|
|
82
|
+
__publicField(this, "getObjectFields", () => {
|
|
83
|
+
return this._objectFields;
|
|
84
|
+
});
|
|
85
|
+
__publicField(this, "getAssociations", () => {
|
|
86
|
+
return this._associations;
|
|
87
|
+
});
|
|
88
|
+
__publicField(this, "getAggegates", () => {
|
|
89
|
+
return this._aggregates;
|
|
90
|
+
});
|
|
91
|
+
__publicField(this, "setAssociations", (association) => {
|
|
92
|
+
this._associations = association || {};
|
|
93
|
+
return this;
|
|
94
|
+
});
|
|
95
|
+
__publicField(this, "getQueryArgs", () => {
|
|
96
|
+
return this._queryArgs;
|
|
97
|
+
});
|
|
98
|
+
__publicField(this, "getNoQuery", () => {
|
|
99
|
+
return this._noQuery;
|
|
100
|
+
});
|
|
101
|
+
__publicField(this, "addField", (...fields) => {
|
|
102
|
+
for (const field of fields) {
|
|
103
|
+
if (!this._fields.includes(field)) {
|
|
104
|
+
this._fields.push(field);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return this;
|
|
108
|
+
});
|
|
109
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
110
|
+
__publicField(this, "addAssociation", (name, entityName, association) => {
|
|
111
|
+
this._associations[name] = association || new QueryOptions(entityName);
|
|
112
|
+
return this;
|
|
113
|
+
});
|
|
114
|
+
__publicField(this, "addObjectField", (name, fields) => {
|
|
115
|
+
this._objectFields[name] = { fields };
|
|
116
|
+
return this;
|
|
117
|
+
});
|
|
118
|
+
__publicField(this, "addAggregate", (name, aggregate) => {
|
|
119
|
+
this._aggregates[name] = aggregate;
|
|
120
|
+
return this;
|
|
121
|
+
});
|
|
122
|
+
__publicField(this, "setQueryArgs", (queryArgs) => {
|
|
123
|
+
this._queryArgs = queryArgs;
|
|
124
|
+
return this;
|
|
125
|
+
});
|
|
126
|
+
__publicField(this, "setNoQuery", (noQuery) => {
|
|
127
|
+
this._noQuery = noQuery;
|
|
128
|
+
return this;
|
|
129
|
+
});
|
|
130
|
+
__publicField(this, "setFields", (fields) => {
|
|
131
|
+
this._fields = fields;
|
|
132
|
+
return this;
|
|
133
|
+
});
|
|
134
|
+
__publicField(this, "toGqlOptions", () => {
|
|
135
|
+
return this.queryOptionsToGql(this);
|
|
136
|
+
});
|
|
137
|
+
__publicField(this, "queryOptionsToGql", (options, assocationName, ownerEntityName) => {
|
|
138
|
+
var _a, _b;
|
|
139
|
+
let varialbles = [];
|
|
140
|
+
const fields = [...options.getFields()];
|
|
141
|
+
const objectFields = options.getObjectFields();
|
|
142
|
+
const associations = options.getAssociations();
|
|
143
|
+
const aggregates = options.getAggegates();
|
|
144
|
+
for (const key of Object.keys(associations || {})) {
|
|
145
|
+
const association = associations[key];
|
|
146
|
+
const pathName = assocationName ? assocationName + "_" + key : key;
|
|
147
|
+
const { argsStr: subArgsStr, fieldsStr: subFieldsStr, varialbles: subVarialbles } = this.queryOptionsToGql(association, pathName, options.entityName);
|
|
148
|
+
varialbles = [...varialbles, ...subVarialbles];
|
|
149
|
+
const subGql = subArgsStr ? `${key}(${subArgsStr}){${subFieldsStr}}` : `${key}{${subFieldsStr}}`;
|
|
150
|
+
fields.push(subGql);
|
|
151
|
+
}
|
|
152
|
+
for (const key of Object.keys(aggregates || {})) {
|
|
153
|
+
const aggregate = aggregates[key];
|
|
154
|
+
const { count, where } = aggregate;
|
|
155
|
+
if (count) {
|
|
156
|
+
const whereName = assocationName ? assocationName + "_" + key + "_where" : key + "_where";
|
|
157
|
+
const args = where ? `(where:$${whereName})` : "";
|
|
158
|
+
fields.push(`${key}${args}{count}`);
|
|
159
|
+
const typeName = (_a = aggregateEntities[options.entityName]) == null ? void 0 : _a[key];
|
|
160
|
+
if (!typeName) {
|
|
161
|
+
throw new Error(`No association type found for ${options.entityName}.${key}`);
|
|
162
|
+
}
|
|
163
|
+
if (where) {
|
|
164
|
+
varialbles.push({ name: whereName, value: where, type: `${typeName}BoolExp` });
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
const querArgs = options.getQueryArgs();
|
|
169
|
+
const argStrs = [];
|
|
170
|
+
if (assocationName) {
|
|
171
|
+
if (querArgs == null ? void 0 : querArgs.where) {
|
|
172
|
+
const whereName = assocationName ? assocationName + "_where" : "where";
|
|
173
|
+
varialbles.push({ name: whereName, value: querArgs == null ? void 0 : querArgs.where, type: `${options.entityName}BoolExp` });
|
|
174
|
+
argStrs.push(`where:$${whereName}`);
|
|
175
|
+
}
|
|
176
|
+
if (querArgs == null ? void 0 : querArgs.limit) {
|
|
177
|
+
const limitName = assocationName ? assocationName + "_limit" : "limit";
|
|
178
|
+
varialbles.push({ name: limitName, value: querArgs == null ? void 0 : querArgs.limit, type: `Int` });
|
|
179
|
+
argStrs.push(`limit:$${limitName}`);
|
|
180
|
+
}
|
|
181
|
+
if (querArgs == null ? void 0 : querArgs.offset) {
|
|
182
|
+
const offsetName = assocationName ? assocationName + "_offset" : "offset";
|
|
183
|
+
varialbles.push({ name: offsetName, value: querArgs == null ? void 0 : querArgs.offset, type: `Int` });
|
|
184
|
+
argStrs.push(`offset:$${offsetName}`);
|
|
185
|
+
}
|
|
186
|
+
if (querArgs == null ? void 0 : querArgs.orderBy) {
|
|
187
|
+
const orderByName = assocationName ? assocationName + "_orderBy" : "orderBy";
|
|
188
|
+
const associationClass = assocationName && ownerEntityName ? (_b = associationsClasses[ownerEntityName]) == null ? void 0 : _b[assocationName] : void 0;
|
|
189
|
+
const orderByTypeName = associationClass ? `${options.entityName}And${associationClass}` : options.entityName;
|
|
190
|
+
varialbles.push({ name: orderByName, value: querArgs == null ? void 0 : querArgs.orderBy, type: `[${orderByTypeName}OrderBy]` });
|
|
191
|
+
argStrs.push(`orderBy:$${orderByName}`);
|
|
192
|
+
}
|
|
193
|
+
if (querArgs == null ? void 0 : querArgs.distinctOn) {
|
|
194
|
+
const distinctOnName = assocationName ? assocationName + "_distinctOn" : "distinctOn";
|
|
195
|
+
varialbles.push({ name: distinctOnName, value: querArgs == null ? void 0 : querArgs.distinctOn, type: `${options.entityName}DistinctExp` });
|
|
196
|
+
argStrs.push(`distinctOn:$${distinctOnName}`);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
const allFields = [
|
|
200
|
+
...fields,
|
|
201
|
+
...Object.keys(objectFields).map(
|
|
202
|
+
(key) => {
|
|
203
|
+
const { fields: fields2 } = objectFields[key];
|
|
204
|
+
return `${key}{${fields2.join("\n")}}`;
|
|
205
|
+
}
|
|
206
|
+
)
|
|
207
|
+
];
|
|
208
|
+
const argsStr = argStrs.join(",");
|
|
209
|
+
const fieldsStr = allFields.join("\n");
|
|
210
|
+
return {
|
|
211
|
+
fields: options.getFields(),
|
|
212
|
+
entityName: options.entityName,
|
|
213
|
+
fieldsStr,
|
|
214
|
+
argsStr,
|
|
215
|
+
varialbles,
|
|
216
|
+
noQuery: options.getNoQuery(),
|
|
217
|
+
limit: querArgs == null ? void 0 : querArgs.limit,
|
|
218
|
+
offset: querArgs == null ? void 0 : querArgs.offset,
|
|
219
|
+
where: querArgs == null ? void 0 : querArgs.where,
|
|
220
|
+
orderBy: querArgs == null ? void 0 : querArgs.orderBy
|
|
221
|
+
};
|
|
222
|
+
});
|
|
223
|
+
this.entityName = entityName;
|
|
224
|
+
this._fields = fields || ["id"];
|
|
225
|
+
this._queryArgs = queryArgs;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
2
228
|
const UserEntityName = "User";
|
|
3
229
|
const UserEntityLabel = "";
|
|
4
230
|
const roleToInputCascade = (entity) => {
|
|
5
231
|
var _a;
|
|
232
|
+
const { usersAggregate, ...rest } = entity;
|
|
6
233
|
return {
|
|
7
|
-
...
|
|
234
|
+
...rest,
|
|
8
235
|
users: entity.users ? processHasManyClear({ sync: (_a = entity.users) == null ? void 0 : _a.map((ent) => userToInput(ent)) }) : void 0
|
|
9
236
|
};
|
|
10
237
|
};
|
|
11
238
|
const roleToInput = (entity) => {
|
|
239
|
+
const { usersAggregate, ...rest } = entity;
|
|
12
240
|
return {
|
|
13
|
-
...
|
|
241
|
+
...rest,
|
|
14
242
|
users: convertHasManyToInput(entity.users)
|
|
15
243
|
};
|
|
16
244
|
};
|
|
17
245
|
const mediaFolderToInputCascade = (entity) => {
|
|
18
246
|
var _a, _b;
|
|
247
|
+
const { childrenAggregate, mediasAggregate, ...rest } = entity;
|
|
19
248
|
return {
|
|
20
|
-
...
|
|
249
|
+
...rest,
|
|
21
250
|
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) => mediaFolderToInput(ent)) }) : void 0,
|
|
22
251
|
parent: entity.parent ? processHasOneClear({ sync: mediaFolderToInput(entity.parent) }) : void 0,
|
|
23
252
|
medias: entity.medias ? processHasManyClear({ sync: (_b = entity.medias) == null ? void 0 : _b.map((ent) => mediaToInput(ent)) }) : void 0
|
|
24
253
|
};
|
|
25
254
|
};
|
|
26
255
|
const mediaFolderToInput = (entity) => {
|
|
256
|
+
const { childrenAggregate, mediasAggregate, ...rest } = entity;
|
|
27
257
|
return {
|
|
28
|
-
...
|
|
258
|
+
...rest,
|
|
29
259
|
children: convertHasManyToInput(entity.children),
|
|
30
260
|
parent: convertHasOneToInput(entity.parent),
|
|
31
261
|
medias: convertHasManyToInput(entity.medias)
|
|
@@ -33,16 +263,18 @@ const mediaFolderToInput = (entity) => {
|
|
|
33
263
|
};
|
|
34
264
|
const productCategoryToInputCascade = (entity) => {
|
|
35
265
|
var _a, _b;
|
|
266
|
+
const { childrenAggregate, productsAggregate, ...rest } = entity;
|
|
36
267
|
return {
|
|
37
|
-
...
|
|
268
|
+
...rest,
|
|
38
269
|
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) => productCategoryToInput(ent)) }) : void 0,
|
|
39
270
|
parent: entity.parent ? processHasOneClear({ sync: productCategoryToInput(entity.parent) }) : void 0,
|
|
40
271
|
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInput(ent)) }) : void 0
|
|
41
272
|
};
|
|
42
273
|
};
|
|
43
274
|
const productCategoryToInput = (entity) => {
|
|
275
|
+
const { childrenAggregate, productsAggregate, ...rest } = entity;
|
|
44
276
|
return {
|
|
45
|
-
...
|
|
277
|
+
...rest,
|
|
46
278
|
children: convertHasManyToInput(entity.children),
|
|
47
279
|
parent: convertHasOneToInput(entity.parent),
|
|
48
280
|
products: convertHasManyToInput(entity.products)
|
|
@@ -50,31 +282,35 @@ const productCategoryToInput = (entity) => {
|
|
|
50
282
|
};
|
|
51
283
|
const tagToInputCascade = (entity) => {
|
|
52
284
|
var _a, _b;
|
|
285
|
+
const { postsAggregate, productsAggregate, ...rest } = entity;
|
|
53
286
|
return {
|
|
54
|
-
...
|
|
287
|
+
...rest,
|
|
55
288
|
posts: entity.posts ? processHasManyClear({ sync: (_a = entity.posts) == null ? void 0 : _a.map((ent) => postToInput(ent)) }) : void 0,
|
|
56
289
|
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInput(ent)) }) : void 0
|
|
57
290
|
};
|
|
58
291
|
};
|
|
59
292
|
const tagToInput = (entity) => {
|
|
293
|
+
const { postsAggregate, productsAggregate, ...rest } = entity;
|
|
60
294
|
return {
|
|
61
|
-
...
|
|
295
|
+
...rest,
|
|
62
296
|
posts: convertHasManyToInput(entity.posts),
|
|
63
297
|
products: convertHasManyToInput(entity.products)
|
|
64
298
|
};
|
|
65
299
|
};
|
|
66
300
|
const postCategoryToInputCascade = (entity) => {
|
|
67
301
|
var _a, _b;
|
|
302
|
+
const { childrenAggregate, postsAggregate, ...rest } = entity;
|
|
68
303
|
return {
|
|
69
|
-
...
|
|
304
|
+
...rest,
|
|
70
305
|
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) => postCategoryToInput(ent)) }) : void 0,
|
|
71
306
|
posts: entity.posts ? processHasManyClear({ sync: (_b = entity.posts) == null ? void 0 : _b.map((ent) => postToInput(ent)) }) : void 0,
|
|
72
307
|
parent: entity.parent ? processHasOneClear({ sync: postCategoryToInput(entity.parent) }) : void 0
|
|
73
308
|
};
|
|
74
309
|
};
|
|
75
310
|
const postCategoryToInput = (entity) => {
|
|
311
|
+
const { childrenAggregate, postsAggregate, ...rest } = entity;
|
|
76
312
|
return {
|
|
77
|
-
...
|
|
313
|
+
...rest,
|
|
78
314
|
children: convertHasManyToInput(entity.children),
|
|
79
315
|
posts: convertHasManyToInput(entity.posts),
|
|
80
316
|
parent: convertHasOneToInput(entity.parent)
|
|
@@ -82,35 +318,41 @@ const postCategoryToInput = (entity) => {
|
|
|
82
318
|
};
|
|
83
319
|
const postToInputCascade = (entity) => {
|
|
84
320
|
var _a;
|
|
321
|
+
const { tagsAggregate, ...rest } = entity;
|
|
85
322
|
return {
|
|
86
|
-
...
|
|
323
|
+
...rest,
|
|
87
324
|
slug: entity.slug ? processHasOneClear({ sync: slugToInput(entity.slug) }) : void 0,
|
|
88
325
|
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) => tagToInput(ent)) }) : void 0,
|
|
89
326
|
author: entity.author ? processHasOneClear({ sync: userToInput(entity.author) }) : void 0,
|
|
90
327
|
cover: entity.cover ? processHasOneClear({ sync: mediaToInput(entity.cover) }) : void 0,
|
|
328
|
+
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0,
|
|
91
329
|
category: entity.category ? processHasOneClear({ sync: postCategoryToInput(entity.category) }) : void 0
|
|
92
330
|
};
|
|
93
331
|
};
|
|
94
332
|
const postToInput = (entity) => {
|
|
333
|
+
const { tagsAggregate, ...rest } = entity;
|
|
95
334
|
return {
|
|
96
|
-
...
|
|
335
|
+
...rest,
|
|
97
336
|
slug: convertHasOneToInput(entity.slug),
|
|
98
337
|
tags: convertHasManyToInput(entity.tags),
|
|
99
338
|
author: convertHasOneToInput(entity.author),
|
|
100
339
|
cover: convertHasOneToInput(entity.cover),
|
|
340
|
+
ogImage: convertHasOneToInput(entity.ogImage),
|
|
101
341
|
category: convertHasOneToInput(entity.category)
|
|
102
342
|
};
|
|
103
343
|
};
|
|
104
344
|
const pageToInputCascade = (entity) => {
|
|
105
345
|
return {
|
|
106
346
|
...entity,
|
|
107
|
-
slug: entity.slug ? processHasOneClear({ sync: slugToInput(entity.slug) }) : void 0
|
|
347
|
+
slug: entity.slug ? processHasOneClear({ sync: slugToInput(entity.slug) }) : void 0,
|
|
348
|
+
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0
|
|
108
349
|
};
|
|
109
350
|
};
|
|
110
351
|
const pageToInput = (entity) => {
|
|
111
352
|
return {
|
|
112
353
|
...entity,
|
|
113
|
-
slug: convertHasOneToInput(entity.slug)
|
|
354
|
+
slug: convertHasOneToInput(entity.slug),
|
|
355
|
+
ogImage: convertHasOneToInput(entity.ogImage)
|
|
114
356
|
};
|
|
115
357
|
};
|
|
116
358
|
const slugToInputCascade = (entity) => {
|
|
@@ -130,69 +372,81 @@ const slugToInput = (entity) => {
|
|
|
130
372
|
};
|
|
131
373
|
};
|
|
132
374
|
const productToInputCascade = (entity) => {
|
|
133
|
-
var _a, _b;
|
|
375
|
+
var _a, _b, _c;
|
|
376
|
+
const { mediasAggregate, tagsAggregate, attachmentsAggregate, ...rest } = entity;
|
|
134
377
|
return {
|
|
135
|
-
...
|
|
378
|
+
...rest,
|
|
136
379
|
category: entity.category ? processHasOneClear({ sync: productCategoryToInput(entity.category) }) : void 0,
|
|
137
380
|
medias: entity.medias ? processHasManyClear({ sync: (_a = entity.medias) == null ? void 0 : _a.map((ent) => mediaToInput(ent)) }) : void 0,
|
|
138
381
|
slug: entity.slug ? processHasOneClear({ sync: slugToInput(entity.slug) }) : void 0,
|
|
139
382
|
tags: entity.tags ? processHasManyClear({ sync: (_b = entity.tags) == null ? void 0 : _b.map((ent) => tagToInput(ent)) }) : void 0,
|
|
383
|
+
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0,
|
|
384
|
+
attachments: entity.attachments ? processHasManyClear({ sync: (_c = entity.attachments) == null ? void 0 : _c.map((ent) => mediaToInput(ent)) }) : void 0,
|
|
140
385
|
creator: entity.creator ? processHasOneClear({ sync: userToInput(entity.creator) }) : void 0
|
|
141
386
|
};
|
|
142
387
|
};
|
|
143
388
|
const productToInput = (entity) => {
|
|
389
|
+
const { mediasAggregate, tagsAggregate, attachmentsAggregate, ...rest } = entity;
|
|
144
390
|
return {
|
|
145
|
-
...
|
|
391
|
+
...rest,
|
|
146
392
|
category: convertHasOneToInput(entity.category),
|
|
147
393
|
medias: convertHasManyToInput(entity.medias),
|
|
148
394
|
slug: convertHasOneToInput(entity.slug),
|
|
149
395
|
tags: convertHasManyToInput(entity.tags),
|
|
396
|
+
ogImage: convertHasOneToInput(entity.ogImage),
|
|
397
|
+
attachments: convertHasManyToInput(entity.attachments),
|
|
150
398
|
creator: convertHasOneToInput(entity.creator)
|
|
151
399
|
};
|
|
152
400
|
};
|
|
153
401
|
const mediaToInputCascade = (entity) => {
|
|
154
|
-
var _a;
|
|
155
|
-
const { file, ...rest } = entity;
|
|
402
|
+
var _a, _b;
|
|
403
|
+
const { file, usedByProductsAggregate, attachmentOfAggregate, ...rest } = entity;
|
|
156
404
|
return {
|
|
157
405
|
...rest,
|
|
158
406
|
folder: entity.folder ? processHasOneClear({ sync: mediaFolderToInput(entity.folder) }) : void 0,
|
|
159
407
|
avatarOfUser: entity.avatarOfUser ? processHasOneClear({ sync: userToInput(entity.avatarOfUser) }) : void 0,
|
|
160
|
-
usedByProducts: entity.usedByProducts ? processHasManyClear({ sync: (_a = entity.usedByProducts) == null ? void 0 : _a.map((ent) => productToInput(ent)) }) : void 0
|
|
408
|
+
usedByProducts: entity.usedByProducts ? processHasManyClear({ sync: (_a = entity.usedByProducts) == null ? void 0 : _a.map((ent) => productToInput(ent)) }) : void 0,
|
|
409
|
+
attachmentOf: entity.attachmentOf ? processHasManyClear({ sync: (_b = entity.attachmentOf) == null ? void 0 : _b.map((ent) => productToInput(ent)) }) : void 0
|
|
161
410
|
};
|
|
162
411
|
};
|
|
163
412
|
const mediaToInput = (entity) => {
|
|
164
|
-
const { file, ...rest } = entity;
|
|
413
|
+
const { file, usedByProductsAggregate, attachmentOfAggregate, ...rest } = entity;
|
|
165
414
|
return {
|
|
166
415
|
...rest,
|
|
167
416
|
folder: convertHasOneToInput(entity.folder),
|
|
168
417
|
avatarOfUser: convertHasOneToInput(entity.avatarOfUser),
|
|
169
|
-
usedByProducts: convertHasManyToInput(entity.usedByProducts)
|
|
418
|
+
usedByProducts: convertHasManyToInput(entity.usedByProducts),
|
|
419
|
+
attachmentOf: convertHasManyToInput(entity.attachmentOf)
|
|
170
420
|
};
|
|
171
421
|
};
|
|
172
422
|
const websiteTypeToInputCascade = (entity) => {
|
|
173
423
|
var _a;
|
|
424
|
+
const { websitesAggregate, ...rest } = entity;
|
|
174
425
|
return {
|
|
175
|
-
...
|
|
426
|
+
...rest,
|
|
176
427
|
websites: entity.websites ? processHasManyClear({ sync: (_a = entity.websites) == null ? void 0 : _a.map((ent) => websiteToInput(ent)) }) : void 0
|
|
177
428
|
};
|
|
178
429
|
};
|
|
179
430
|
const websiteTypeToInput = (entity) => {
|
|
431
|
+
const { websitesAggregate, ...rest } = entity;
|
|
180
432
|
return {
|
|
181
|
-
...
|
|
433
|
+
...rest,
|
|
182
434
|
websites: convertHasManyToInput(entity.websites)
|
|
183
435
|
};
|
|
184
436
|
};
|
|
185
437
|
const templateCategoryToInputCascade = (entity) => {
|
|
186
438
|
var _a;
|
|
439
|
+
const { templatesAggregate, ...rest } = entity;
|
|
187
440
|
return {
|
|
188
|
-
...
|
|
441
|
+
...rest,
|
|
189
442
|
templates: entity.templates ? processHasManyClear({ sync: (_a = entity.templates) == null ? void 0 : _a.map((ent) => templateToInput(ent)) }) : void 0,
|
|
190
443
|
theme: entity.theme ? processHasOneClear({ sync: themeToInput(entity.theme) }) : void 0
|
|
191
444
|
};
|
|
192
445
|
};
|
|
193
446
|
const templateCategoryToInput = (entity) => {
|
|
447
|
+
const { templatesAggregate, ...rest } = entity;
|
|
194
448
|
return {
|
|
195
|
-
...
|
|
449
|
+
...rest,
|
|
196
450
|
templates: convertHasManyToInput(entity.templates),
|
|
197
451
|
theme: convertHasOneToInput(entity.theme)
|
|
198
452
|
};
|
|
@@ -213,23 +467,26 @@ const templateToInput = (entity) => {
|
|
|
213
467
|
};
|
|
214
468
|
const themeToInputCascade = (entity) => {
|
|
215
469
|
var _a, _b;
|
|
470
|
+
const { templatesAggregate, themlateCategoriesAggregate, ...rest } = entity;
|
|
216
471
|
return {
|
|
217
|
-
...
|
|
472
|
+
...rest,
|
|
218
473
|
templates: entity.templates ? processHasManyClear({ sync: (_a = entity.templates) == null ? void 0 : _a.map((ent) => templateToInput(ent)) }) : void 0,
|
|
219
474
|
themlateCategories: entity.themlateCategories ? processHasManyClear({ sync: (_b = entity.themlateCategories) == null ? void 0 : _b.map((ent) => templateCategoryToInput(ent)) }) : void 0
|
|
220
475
|
};
|
|
221
476
|
};
|
|
222
477
|
const themeToInput = (entity) => {
|
|
478
|
+
const { templatesAggregate, themlateCategoriesAggregate, ...rest } = entity;
|
|
223
479
|
return {
|
|
224
|
-
...
|
|
480
|
+
...rest,
|
|
225
481
|
templates: convertHasManyToInput(entity.templates),
|
|
226
482
|
themlateCategories: convertHasManyToInput(entity.themlateCategories)
|
|
227
483
|
};
|
|
228
484
|
};
|
|
229
485
|
const websiteToInputCascade = (entity) => {
|
|
230
486
|
var _a;
|
|
487
|
+
const { usersAggregate, ...rest } = entity;
|
|
231
488
|
return {
|
|
232
|
-
...
|
|
489
|
+
...rest,
|
|
233
490
|
websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInput(entity.websiteType) }) : void 0,
|
|
234
491
|
selectedTheme: entity.selectedTheme ? processHasOneClear({ sync: themeToInput(entity.selectedTheme) }) : void 0,
|
|
235
492
|
homePage: entity.homePage ? processHasOneClear({ sync: pageToInput(entity.homePage) }) : void 0,
|
|
@@ -238,8 +495,9 @@ const websiteToInputCascade = (entity) => {
|
|
|
238
495
|
};
|
|
239
496
|
};
|
|
240
497
|
const websiteToInput = (entity) => {
|
|
498
|
+
const { usersAggregate, ...rest } = entity;
|
|
241
499
|
return {
|
|
242
|
-
...
|
|
500
|
+
...rest,
|
|
243
501
|
websiteType: convertHasOneToInput(entity.websiteType),
|
|
244
502
|
selectedTheme: convertHasOneToInput(entity.selectedTheme),
|
|
245
503
|
homePage: convertHasOneToInput(entity.homePage),
|
|
@@ -249,8 +507,9 @@ const websiteToInput = (entity) => {
|
|
|
249
507
|
};
|
|
250
508
|
const userToInputCascade = (entity) => {
|
|
251
509
|
var _a, _b, _c, _d;
|
|
510
|
+
const { rolesAggregate, productsAggregate, postsAggregate, websitesAggregate, ...rest } = entity;
|
|
252
511
|
return {
|
|
253
|
-
...
|
|
512
|
+
...rest,
|
|
254
513
|
roles: entity.roles ? processHasManyClear({ sync: (_a = entity.roles) == null ? void 0 : _a.map((ent) => roleToInput(ent)) }) : void 0,
|
|
255
514
|
avatar: entity.avatar ? processHasOneClear({ sync: mediaToInput(entity.avatar) }) : void 0,
|
|
256
515
|
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInput(ent)) }) : void 0,
|
|
@@ -260,8 +519,9 @@ const userToInputCascade = (entity) => {
|
|
|
260
519
|
};
|
|
261
520
|
};
|
|
262
521
|
const userToInput = (entity) => {
|
|
522
|
+
const { rolesAggregate, productsAggregate, postsAggregate, websitesAggregate, ...rest } = entity;
|
|
263
523
|
return {
|
|
264
|
-
...
|
|
524
|
+
...rest,
|
|
265
525
|
roles: convertHasManyToInput(entity.roles),
|
|
266
526
|
avatar: convertHasOneToInput(entity.avatar),
|
|
267
527
|
products: convertHasManyToInput(entity.products),
|
|
@@ -424,10 +684,14 @@ var PageDistinctEnum = /* @__PURE__ */ ((PageDistinctEnum2) => {
|
|
|
424
684
|
PageDistinctEnum2["seoDescription"] = "seoDescription";
|
|
425
685
|
PageDistinctEnum2["ogTitle"] = "ogTitle";
|
|
426
686
|
PageDistinctEnum2["ogDescription"] = "ogDescription";
|
|
427
|
-
PageDistinctEnum2["ogImageUrl"] = "ogImageUrl";
|
|
428
687
|
PageDistinctEnum2["ogUrl"] = "ogUrl";
|
|
429
688
|
PageDistinctEnum2["ogSiteName"] = "ogSiteName";
|
|
430
689
|
PageDistinctEnum2["ogType"] = "ogType";
|
|
690
|
+
PageDistinctEnum2["xCard"] = "xCard";
|
|
691
|
+
PageDistinctEnum2["xSite"] = "xSite";
|
|
692
|
+
PageDistinctEnum2["xTitle"] = "xTitle";
|
|
693
|
+
PageDistinctEnum2["xDescription"] = "xDescription";
|
|
694
|
+
PageDistinctEnum2["xUrl"] = "xUrl";
|
|
431
695
|
PageDistinctEnum2["lang"] = "lang";
|
|
432
696
|
return PageDistinctEnum2;
|
|
433
697
|
})(PageDistinctEnum || {});
|
|
@@ -454,10 +718,14 @@ var PostDistinctEnum = /* @__PURE__ */ ((PostDistinctEnum2) => {
|
|
|
454
718
|
PostDistinctEnum2["seoDescription"] = "seoDescription";
|
|
455
719
|
PostDistinctEnum2["ogTitle"] = "ogTitle";
|
|
456
720
|
PostDistinctEnum2["ogDescription"] = "ogDescription";
|
|
457
|
-
PostDistinctEnum2["ogImageUrl"] = "ogImageUrl";
|
|
458
721
|
PostDistinctEnum2["ogUrl"] = "ogUrl";
|
|
459
722
|
PostDistinctEnum2["ogSiteName"] = "ogSiteName";
|
|
460
723
|
PostDistinctEnum2["ogType"] = "ogType";
|
|
724
|
+
PostDistinctEnum2["xCard"] = "xCard";
|
|
725
|
+
PostDistinctEnum2["xSite"] = "xSite";
|
|
726
|
+
PostDistinctEnum2["xTitle"] = "xTitle";
|
|
727
|
+
PostDistinctEnum2["xDescription"] = "xDescription";
|
|
728
|
+
PostDistinctEnum2["xUrl"] = "xUrl";
|
|
461
729
|
PostDistinctEnum2["lang"] = "lang";
|
|
462
730
|
return PostDistinctEnum2;
|
|
463
731
|
})(PostDistinctEnum || {});
|
|
@@ -470,6 +738,9 @@ var ProductDistinctEnum = /* @__PURE__ */ ((ProductDistinctEnum2) => {
|
|
|
470
738
|
ProductDistinctEnum2["featured"] = "featured";
|
|
471
739
|
ProductDistinctEnum2["showInNavMenu"] = "showInNavMenu";
|
|
472
740
|
ProductDistinctEnum2["seqValue"] = "seqValue";
|
|
741
|
+
ProductDistinctEnum2["features"] = "features";
|
|
742
|
+
ProductDistinctEnum2["content2"] = "content2";
|
|
743
|
+
ProductDistinctEnum2["content3"] = "content3";
|
|
473
744
|
ProductDistinctEnum2["publishedContent"] = "publishedContent";
|
|
474
745
|
ProductDistinctEnum2["publishedAt"] = "publishedAt";
|
|
475
746
|
ProductDistinctEnum2["status"] = "status";
|
|
@@ -485,10 +756,14 @@ var ProductDistinctEnum = /* @__PURE__ */ ((ProductDistinctEnum2) => {
|
|
|
485
756
|
ProductDistinctEnum2["seoDescription"] = "seoDescription";
|
|
486
757
|
ProductDistinctEnum2["ogTitle"] = "ogTitle";
|
|
487
758
|
ProductDistinctEnum2["ogDescription"] = "ogDescription";
|
|
488
|
-
ProductDistinctEnum2["ogImageUrl"] = "ogImageUrl";
|
|
489
759
|
ProductDistinctEnum2["ogUrl"] = "ogUrl";
|
|
490
760
|
ProductDistinctEnum2["ogSiteName"] = "ogSiteName";
|
|
491
761
|
ProductDistinctEnum2["ogType"] = "ogType";
|
|
762
|
+
ProductDistinctEnum2["xCard"] = "xCard";
|
|
763
|
+
ProductDistinctEnum2["xSite"] = "xSite";
|
|
764
|
+
ProductDistinctEnum2["xTitle"] = "xTitle";
|
|
765
|
+
ProductDistinctEnum2["xDescription"] = "xDescription";
|
|
766
|
+
ProductDistinctEnum2["xUrl"] = "xUrl";
|
|
492
767
|
ProductDistinctEnum2["lang"] = "lang";
|
|
493
768
|
return ProductDistinctEnum2;
|
|
494
769
|
})(ProductDistinctEnum || {});
|
|
@@ -507,14 +782,16 @@ const EnquiryEntityName = "Enquiry";
|
|
|
507
782
|
const EnquiryEntityLabel = "";
|
|
508
783
|
const customerToInputCascade = (entity) => {
|
|
509
784
|
var _a;
|
|
785
|
+
const { enquiresAggregate, ...rest } = entity;
|
|
510
786
|
return {
|
|
511
|
-
...
|
|
787
|
+
...rest,
|
|
512
788
|
enquires: entity.enquires ? processHasManyClear({ sync: (_a = entity.enquires) == null ? void 0 : _a.map((ent) => enquiryToInput(ent)) }) : void 0
|
|
513
789
|
};
|
|
514
790
|
};
|
|
515
791
|
const customerToInput = (entity) => {
|
|
792
|
+
const { enquiresAggregate, ...rest } = entity;
|
|
516
793
|
return {
|
|
517
|
-
...
|
|
794
|
+
...rest,
|
|
518
795
|
enquires: convertHasManyToInput(entity.enquires)
|
|
519
796
|
};
|
|
520
797
|
};
|
|
@@ -748,6 +1025,1925 @@ var ComponentType = /* @__PURE__ */ ((ComponentType2) => {
|
|
|
748
1025
|
ComponentType2["RichText"] = "RichText";
|
|
749
1026
|
return ComponentType2;
|
|
750
1027
|
})(ComponentType || {});
|
|
1028
|
+
class RoleQueryOptions extends QueryOptions {
|
|
1029
|
+
constructor(fields, queryArgs) {
|
|
1030
|
+
super(RoleEntityName, fields, queryArgs);
|
|
1031
|
+
}
|
|
1032
|
+
id() {
|
|
1033
|
+
this.addField("id");
|
|
1034
|
+
return this;
|
|
1035
|
+
}
|
|
1036
|
+
name() {
|
|
1037
|
+
this.addField("name");
|
|
1038
|
+
return this;
|
|
1039
|
+
}
|
|
1040
|
+
description() {
|
|
1041
|
+
this.addField("description");
|
|
1042
|
+
return this;
|
|
1043
|
+
}
|
|
1044
|
+
createdAt() {
|
|
1045
|
+
this.addField("createdAt");
|
|
1046
|
+
return this;
|
|
1047
|
+
}
|
|
1048
|
+
updatedAt() {
|
|
1049
|
+
this.addField("updatedAt");
|
|
1050
|
+
return this;
|
|
1051
|
+
}
|
|
1052
|
+
users(options) {
|
|
1053
|
+
if (Array.isArray(options)) {
|
|
1054
|
+
this._associations["users"] = new UserQueryOptions(options);
|
|
1055
|
+
} else {
|
|
1056
|
+
this._associations["users"] = options || new UserQueryOptions(["id"]);
|
|
1057
|
+
}
|
|
1058
|
+
return this;
|
|
1059
|
+
}
|
|
1060
|
+
usersAggregate(aggregate) {
|
|
1061
|
+
this._aggregates["usersAggregate"] = aggregate;
|
|
1062
|
+
return this;
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
1065
|
+
class MediaFolderQueryOptions extends QueryOptions {
|
|
1066
|
+
constructor(fields, queryArgs) {
|
|
1067
|
+
super(MediaFolderEntityName, fields, queryArgs);
|
|
1068
|
+
}
|
|
1069
|
+
id() {
|
|
1070
|
+
this.addField("id");
|
|
1071
|
+
return this;
|
|
1072
|
+
}
|
|
1073
|
+
name() {
|
|
1074
|
+
this.addField("name");
|
|
1075
|
+
return this;
|
|
1076
|
+
}
|
|
1077
|
+
seqValue() {
|
|
1078
|
+
this.addField("seqValue");
|
|
1079
|
+
return this;
|
|
1080
|
+
}
|
|
1081
|
+
websiteId() {
|
|
1082
|
+
this.addField("websiteId");
|
|
1083
|
+
return this;
|
|
1084
|
+
}
|
|
1085
|
+
/**
|
|
1086
|
+
* 创建时间
|
|
1087
|
+
*/
|
|
1088
|
+
createdAt() {
|
|
1089
|
+
this.addField("createdAt");
|
|
1090
|
+
return this;
|
|
1091
|
+
}
|
|
1092
|
+
/**
|
|
1093
|
+
* 更新时间
|
|
1094
|
+
*/
|
|
1095
|
+
updatedAt() {
|
|
1096
|
+
this.addField("updatedAt");
|
|
1097
|
+
return this;
|
|
1098
|
+
}
|
|
1099
|
+
/**
|
|
1100
|
+
* 备注
|
|
1101
|
+
*/
|
|
1102
|
+
remark() {
|
|
1103
|
+
this.addField("remark");
|
|
1104
|
+
return this;
|
|
1105
|
+
}
|
|
1106
|
+
children(options) {
|
|
1107
|
+
if (Array.isArray(options)) {
|
|
1108
|
+
this._associations["children"] = new MediaFolderQueryOptions(options);
|
|
1109
|
+
} else {
|
|
1110
|
+
this._associations["children"] = options || new MediaFolderQueryOptions(["id"]);
|
|
1111
|
+
}
|
|
1112
|
+
return this;
|
|
1113
|
+
}
|
|
1114
|
+
childrenAggregate(aggregate) {
|
|
1115
|
+
this._aggregates["childrenAggregate"] = aggregate;
|
|
1116
|
+
return this;
|
|
1117
|
+
}
|
|
1118
|
+
parent(options) {
|
|
1119
|
+
if (Array.isArray(options)) {
|
|
1120
|
+
this._associations["parent"] = new MediaFolderQueryOptions(options);
|
|
1121
|
+
} else {
|
|
1122
|
+
this._associations["parent"] = options || new MediaFolderQueryOptions(["id"]);
|
|
1123
|
+
}
|
|
1124
|
+
return this;
|
|
1125
|
+
}
|
|
1126
|
+
medias(options) {
|
|
1127
|
+
if (Array.isArray(options)) {
|
|
1128
|
+
this._associations["medias"] = new MediaQueryOptions(options);
|
|
1129
|
+
} else {
|
|
1130
|
+
this._associations["medias"] = options || new MediaQueryOptions(["id"]);
|
|
1131
|
+
}
|
|
1132
|
+
return this;
|
|
1133
|
+
}
|
|
1134
|
+
mediasAggregate(aggregate) {
|
|
1135
|
+
this._aggregates["mediasAggregate"] = aggregate;
|
|
1136
|
+
return this;
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
class ProductCategoryQueryOptions extends QueryOptions {
|
|
1140
|
+
constructor(fields, queryArgs) {
|
|
1141
|
+
super(ProductCategoryEntityName, fields, queryArgs);
|
|
1142
|
+
}
|
|
1143
|
+
id() {
|
|
1144
|
+
this.addField("id");
|
|
1145
|
+
return this;
|
|
1146
|
+
}
|
|
1147
|
+
name() {
|
|
1148
|
+
this.addField("name");
|
|
1149
|
+
return this;
|
|
1150
|
+
}
|
|
1151
|
+
seqValue() {
|
|
1152
|
+
this.addField("seqValue");
|
|
1153
|
+
return this;
|
|
1154
|
+
}
|
|
1155
|
+
websiteId() {
|
|
1156
|
+
this.addField("websiteId");
|
|
1157
|
+
return this;
|
|
1158
|
+
}
|
|
1159
|
+
/**
|
|
1160
|
+
* 创建时间
|
|
1161
|
+
*/
|
|
1162
|
+
createdAt() {
|
|
1163
|
+
this.addField("createdAt");
|
|
1164
|
+
return this;
|
|
1165
|
+
}
|
|
1166
|
+
/**
|
|
1167
|
+
* 更新时间
|
|
1168
|
+
*/
|
|
1169
|
+
updatedAt() {
|
|
1170
|
+
this.addField("updatedAt");
|
|
1171
|
+
return this;
|
|
1172
|
+
}
|
|
1173
|
+
/**
|
|
1174
|
+
* 备注
|
|
1175
|
+
*/
|
|
1176
|
+
remark() {
|
|
1177
|
+
this.addField("remark");
|
|
1178
|
+
return this;
|
|
1179
|
+
}
|
|
1180
|
+
children(options) {
|
|
1181
|
+
if (Array.isArray(options)) {
|
|
1182
|
+
this._associations["children"] = new ProductCategoryQueryOptions(options);
|
|
1183
|
+
} else {
|
|
1184
|
+
this._associations["children"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
1185
|
+
}
|
|
1186
|
+
return this;
|
|
1187
|
+
}
|
|
1188
|
+
childrenAggregate(aggregate) {
|
|
1189
|
+
this._aggregates["childrenAggregate"] = aggregate;
|
|
1190
|
+
return this;
|
|
1191
|
+
}
|
|
1192
|
+
parent(options) {
|
|
1193
|
+
if (Array.isArray(options)) {
|
|
1194
|
+
this._associations["parent"] = new ProductCategoryQueryOptions(options);
|
|
1195
|
+
} else {
|
|
1196
|
+
this._associations["parent"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
1197
|
+
}
|
|
1198
|
+
return this;
|
|
1199
|
+
}
|
|
1200
|
+
products(options) {
|
|
1201
|
+
if (Array.isArray(options)) {
|
|
1202
|
+
this._associations["products"] = new ProductQueryOptions(options);
|
|
1203
|
+
} else {
|
|
1204
|
+
this._associations["products"] = options || new ProductQueryOptions(["id"]);
|
|
1205
|
+
}
|
|
1206
|
+
return this;
|
|
1207
|
+
}
|
|
1208
|
+
productsAggregate(aggregate) {
|
|
1209
|
+
this._aggregates["productsAggregate"] = aggregate;
|
|
1210
|
+
return this;
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
class TagQueryOptions extends QueryOptions {
|
|
1214
|
+
constructor(fields, queryArgs) {
|
|
1215
|
+
super(TagEntityName, fields, queryArgs);
|
|
1216
|
+
}
|
|
1217
|
+
id() {
|
|
1218
|
+
this.addField("id");
|
|
1219
|
+
return this;
|
|
1220
|
+
}
|
|
1221
|
+
/**
|
|
1222
|
+
* 名称
|
|
1223
|
+
*/
|
|
1224
|
+
name() {
|
|
1225
|
+
this.addField("name");
|
|
1226
|
+
return this;
|
|
1227
|
+
}
|
|
1228
|
+
color() {
|
|
1229
|
+
this.addField("color");
|
|
1230
|
+
return this;
|
|
1231
|
+
}
|
|
1232
|
+
websiteId() {
|
|
1233
|
+
this.addField("websiteId");
|
|
1234
|
+
return this;
|
|
1235
|
+
}
|
|
1236
|
+
/**
|
|
1237
|
+
* 创建时间
|
|
1238
|
+
*/
|
|
1239
|
+
createdAt() {
|
|
1240
|
+
this.addField("createdAt");
|
|
1241
|
+
return this;
|
|
1242
|
+
}
|
|
1243
|
+
/**
|
|
1244
|
+
* 更新时间
|
|
1245
|
+
*/
|
|
1246
|
+
updatedAt() {
|
|
1247
|
+
this.addField("updatedAt");
|
|
1248
|
+
return this;
|
|
1249
|
+
}
|
|
1250
|
+
/**
|
|
1251
|
+
* 备注
|
|
1252
|
+
*/
|
|
1253
|
+
remark() {
|
|
1254
|
+
this.addField("remark");
|
|
1255
|
+
return this;
|
|
1256
|
+
}
|
|
1257
|
+
posts(options) {
|
|
1258
|
+
if (Array.isArray(options)) {
|
|
1259
|
+
this._associations["posts"] = new PostQueryOptions(options);
|
|
1260
|
+
} else {
|
|
1261
|
+
this._associations["posts"] = options || new PostQueryOptions(["id"]);
|
|
1262
|
+
}
|
|
1263
|
+
return this;
|
|
1264
|
+
}
|
|
1265
|
+
postsAggregate(aggregate) {
|
|
1266
|
+
this._aggregates["postsAggregate"] = aggregate;
|
|
1267
|
+
return this;
|
|
1268
|
+
}
|
|
1269
|
+
products(options) {
|
|
1270
|
+
if (Array.isArray(options)) {
|
|
1271
|
+
this._associations["products"] = new ProductQueryOptions(options);
|
|
1272
|
+
} else {
|
|
1273
|
+
this._associations["products"] = options || new ProductQueryOptions(["id"]);
|
|
1274
|
+
}
|
|
1275
|
+
return this;
|
|
1276
|
+
}
|
|
1277
|
+
productsAggregate(aggregate) {
|
|
1278
|
+
this._aggregates["productsAggregate"] = aggregate;
|
|
1279
|
+
return this;
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
class PostCategoryQueryOptions extends QueryOptions {
|
|
1283
|
+
constructor(fields, queryArgs) {
|
|
1284
|
+
super(PostCategoryEntityName, fields, queryArgs);
|
|
1285
|
+
}
|
|
1286
|
+
id() {
|
|
1287
|
+
this.addField("id");
|
|
1288
|
+
return this;
|
|
1289
|
+
}
|
|
1290
|
+
name() {
|
|
1291
|
+
this.addField("name");
|
|
1292
|
+
return this;
|
|
1293
|
+
}
|
|
1294
|
+
seqValue() {
|
|
1295
|
+
this.addField("seqValue");
|
|
1296
|
+
return this;
|
|
1297
|
+
}
|
|
1298
|
+
websiteId() {
|
|
1299
|
+
this.addField("websiteId");
|
|
1300
|
+
return this;
|
|
1301
|
+
}
|
|
1302
|
+
/**
|
|
1303
|
+
* 创建时间
|
|
1304
|
+
*/
|
|
1305
|
+
createdAt() {
|
|
1306
|
+
this.addField("createdAt");
|
|
1307
|
+
return this;
|
|
1308
|
+
}
|
|
1309
|
+
/**
|
|
1310
|
+
* 更新时间
|
|
1311
|
+
*/
|
|
1312
|
+
updatedAt() {
|
|
1313
|
+
this.addField("updatedAt");
|
|
1314
|
+
return this;
|
|
1315
|
+
}
|
|
1316
|
+
/**
|
|
1317
|
+
* 备注
|
|
1318
|
+
*/
|
|
1319
|
+
remark() {
|
|
1320
|
+
this.addField("remark");
|
|
1321
|
+
return this;
|
|
1322
|
+
}
|
|
1323
|
+
children(options) {
|
|
1324
|
+
if (Array.isArray(options)) {
|
|
1325
|
+
this._associations["children"] = new PostCategoryQueryOptions(options);
|
|
1326
|
+
} else {
|
|
1327
|
+
this._associations["children"] = options || new PostCategoryQueryOptions(["id"]);
|
|
1328
|
+
}
|
|
1329
|
+
return this;
|
|
1330
|
+
}
|
|
1331
|
+
childrenAggregate(aggregate) {
|
|
1332
|
+
this._aggregates["childrenAggregate"] = aggregate;
|
|
1333
|
+
return this;
|
|
1334
|
+
}
|
|
1335
|
+
posts(options) {
|
|
1336
|
+
if (Array.isArray(options)) {
|
|
1337
|
+
this._associations["posts"] = new PostQueryOptions(options);
|
|
1338
|
+
} else {
|
|
1339
|
+
this._associations["posts"] = options || new PostQueryOptions(["id"]);
|
|
1340
|
+
}
|
|
1341
|
+
return this;
|
|
1342
|
+
}
|
|
1343
|
+
postsAggregate(aggregate) {
|
|
1344
|
+
this._aggregates["postsAggregate"] = aggregate;
|
|
1345
|
+
return this;
|
|
1346
|
+
}
|
|
1347
|
+
parent(options) {
|
|
1348
|
+
if (Array.isArray(options)) {
|
|
1349
|
+
this._associations["parent"] = new PostCategoryQueryOptions(options);
|
|
1350
|
+
} else {
|
|
1351
|
+
this._associations["parent"] = options || new PostCategoryQueryOptions(["id"]);
|
|
1352
|
+
}
|
|
1353
|
+
return this;
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
class PostQueryOptions extends QueryOptions {
|
|
1357
|
+
constructor(fields, queryArgs) {
|
|
1358
|
+
super(PostEntityName, fields, queryArgs);
|
|
1359
|
+
}
|
|
1360
|
+
id() {
|
|
1361
|
+
this.addField("id");
|
|
1362
|
+
return this;
|
|
1363
|
+
}
|
|
1364
|
+
seqValue() {
|
|
1365
|
+
this.addField("seqValue");
|
|
1366
|
+
return this;
|
|
1367
|
+
}
|
|
1368
|
+
/**
|
|
1369
|
+
* 置顶
|
|
1370
|
+
*/
|
|
1371
|
+
pinToTop() {
|
|
1372
|
+
this.addField("pinToTop");
|
|
1373
|
+
return this;
|
|
1374
|
+
}
|
|
1375
|
+
authorEmail() {
|
|
1376
|
+
this.addField("authorEmail");
|
|
1377
|
+
return this;
|
|
1378
|
+
}
|
|
1379
|
+
summary() {
|
|
1380
|
+
this.addField("summary");
|
|
1381
|
+
return this;
|
|
1382
|
+
}
|
|
1383
|
+
/**
|
|
1384
|
+
* 发布的内容
|
|
1385
|
+
*/
|
|
1386
|
+
publishedContent() {
|
|
1387
|
+
this.addField("publishedContent");
|
|
1388
|
+
return this;
|
|
1389
|
+
}
|
|
1390
|
+
publishedAt() {
|
|
1391
|
+
this.addField("publishedAt");
|
|
1392
|
+
return this;
|
|
1393
|
+
}
|
|
1394
|
+
status() {
|
|
1395
|
+
this.addField("status");
|
|
1396
|
+
return this;
|
|
1397
|
+
}
|
|
1398
|
+
title() {
|
|
1399
|
+
this.addField("title");
|
|
1400
|
+
return this;
|
|
1401
|
+
}
|
|
1402
|
+
content() {
|
|
1403
|
+
this.addField("content");
|
|
1404
|
+
return this;
|
|
1405
|
+
}
|
|
1406
|
+
extends() {
|
|
1407
|
+
this.addField("extends");
|
|
1408
|
+
return this;
|
|
1409
|
+
}
|
|
1410
|
+
websiteId() {
|
|
1411
|
+
this.addField("websiteId");
|
|
1412
|
+
return this;
|
|
1413
|
+
}
|
|
1414
|
+
/**
|
|
1415
|
+
* 创建时间
|
|
1416
|
+
*/
|
|
1417
|
+
createdAt() {
|
|
1418
|
+
this.addField("createdAt");
|
|
1419
|
+
return this;
|
|
1420
|
+
}
|
|
1421
|
+
/**
|
|
1422
|
+
* 更新时间
|
|
1423
|
+
*/
|
|
1424
|
+
updatedAt() {
|
|
1425
|
+
this.addField("updatedAt");
|
|
1426
|
+
return this;
|
|
1427
|
+
}
|
|
1428
|
+
/**
|
|
1429
|
+
* 备注
|
|
1430
|
+
*/
|
|
1431
|
+
remark() {
|
|
1432
|
+
this.addField("remark");
|
|
1433
|
+
return this;
|
|
1434
|
+
}
|
|
1435
|
+
seoTitle() {
|
|
1436
|
+
this.addField("seoTitle");
|
|
1437
|
+
return this;
|
|
1438
|
+
}
|
|
1439
|
+
seoKeywords() {
|
|
1440
|
+
this.addField("seoKeywords");
|
|
1441
|
+
return this;
|
|
1442
|
+
}
|
|
1443
|
+
seoDescription() {
|
|
1444
|
+
this.addField("seoDescription");
|
|
1445
|
+
return this;
|
|
1446
|
+
}
|
|
1447
|
+
ogTitle() {
|
|
1448
|
+
this.addField("ogTitle");
|
|
1449
|
+
return this;
|
|
1450
|
+
}
|
|
1451
|
+
ogDescription() {
|
|
1452
|
+
this.addField("ogDescription");
|
|
1453
|
+
return this;
|
|
1454
|
+
}
|
|
1455
|
+
ogUrl() {
|
|
1456
|
+
this.addField("ogUrl");
|
|
1457
|
+
return this;
|
|
1458
|
+
}
|
|
1459
|
+
ogSiteName() {
|
|
1460
|
+
this.addField("ogSiteName");
|
|
1461
|
+
return this;
|
|
1462
|
+
}
|
|
1463
|
+
ogType() {
|
|
1464
|
+
this.addField("ogType");
|
|
1465
|
+
return this;
|
|
1466
|
+
}
|
|
1467
|
+
xCard() {
|
|
1468
|
+
this.addField("xCard");
|
|
1469
|
+
return this;
|
|
1470
|
+
}
|
|
1471
|
+
xSite() {
|
|
1472
|
+
this.addField("xSite");
|
|
1473
|
+
return this;
|
|
1474
|
+
}
|
|
1475
|
+
xTitle() {
|
|
1476
|
+
this.addField("xTitle");
|
|
1477
|
+
return this;
|
|
1478
|
+
}
|
|
1479
|
+
xDescription() {
|
|
1480
|
+
this.addField("xDescription");
|
|
1481
|
+
return this;
|
|
1482
|
+
}
|
|
1483
|
+
xUrl() {
|
|
1484
|
+
this.addField("xUrl");
|
|
1485
|
+
return this;
|
|
1486
|
+
}
|
|
1487
|
+
lang() {
|
|
1488
|
+
this.addField("lang");
|
|
1489
|
+
return this;
|
|
1490
|
+
}
|
|
1491
|
+
slug(options) {
|
|
1492
|
+
if (Array.isArray(options)) {
|
|
1493
|
+
this._associations["slug"] = new SlugQueryOptions(options);
|
|
1494
|
+
} else {
|
|
1495
|
+
this._associations["slug"] = options || new SlugQueryOptions(["id"]);
|
|
1496
|
+
}
|
|
1497
|
+
return this;
|
|
1498
|
+
}
|
|
1499
|
+
tags(options) {
|
|
1500
|
+
if (Array.isArray(options)) {
|
|
1501
|
+
this._associations["tags"] = new TagQueryOptions(options);
|
|
1502
|
+
} else {
|
|
1503
|
+
this._associations["tags"] = options || new TagQueryOptions(["id"]);
|
|
1504
|
+
}
|
|
1505
|
+
return this;
|
|
1506
|
+
}
|
|
1507
|
+
tagsAggregate(aggregate) {
|
|
1508
|
+
this._aggregates["tagsAggregate"] = aggregate;
|
|
1509
|
+
return this;
|
|
1510
|
+
}
|
|
1511
|
+
author(options) {
|
|
1512
|
+
if (Array.isArray(options)) {
|
|
1513
|
+
this._associations["author"] = new UserQueryOptions(options);
|
|
1514
|
+
} else {
|
|
1515
|
+
this._associations["author"] = options || new UserQueryOptions(["id"]);
|
|
1516
|
+
}
|
|
1517
|
+
return this;
|
|
1518
|
+
}
|
|
1519
|
+
cover(options) {
|
|
1520
|
+
if (Array.isArray(options)) {
|
|
1521
|
+
this._associations["cover"] = new MediaQueryOptions(options);
|
|
1522
|
+
} else {
|
|
1523
|
+
this._associations["cover"] = options || new MediaQueryOptions(["id"]);
|
|
1524
|
+
}
|
|
1525
|
+
return this;
|
|
1526
|
+
}
|
|
1527
|
+
ogImage(options) {
|
|
1528
|
+
if (Array.isArray(options)) {
|
|
1529
|
+
this._associations["ogImage"] = new MediaQueryOptions(options);
|
|
1530
|
+
} else {
|
|
1531
|
+
this._associations["ogImage"] = options || new MediaQueryOptions(["id"]);
|
|
1532
|
+
}
|
|
1533
|
+
return this;
|
|
1534
|
+
}
|
|
1535
|
+
category(options) {
|
|
1536
|
+
if (Array.isArray(options)) {
|
|
1537
|
+
this._associations["category"] = new PostCategoryQueryOptions(options);
|
|
1538
|
+
} else {
|
|
1539
|
+
this._associations["category"] = options || new PostCategoryQueryOptions(["id"]);
|
|
1540
|
+
}
|
|
1541
|
+
return this;
|
|
1542
|
+
}
|
|
1543
|
+
}
|
|
1544
|
+
class PageQueryOptions extends QueryOptions {
|
|
1545
|
+
constructor(fields, queryArgs) {
|
|
1546
|
+
super(PageEntityName, fields, queryArgs);
|
|
1547
|
+
}
|
|
1548
|
+
id() {
|
|
1549
|
+
this.addField("id");
|
|
1550
|
+
return this;
|
|
1551
|
+
}
|
|
1552
|
+
title() {
|
|
1553
|
+
this.addField("title");
|
|
1554
|
+
return this;
|
|
1555
|
+
}
|
|
1556
|
+
content() {
|
|
1557
|
+
this.addField("content");
|
|
1558
|
+
return this;
|
|
1559
|
+
}
|
|
1560
|
+
/**
|
|
1561
|
+
* 备注
|
|
1562
|
+
*/
|
|
1563
|
+
remark() {
|
|
1564
|
+
this.addField("remark");
|
|
1565
|
+
return this;
|
|
1566
|
+
}
|
|
1567
|
+
langAbbr() {
|
|
1568
|
+
this.addField("langAbbr");
|
|
1569
|
+
return this;
|
|
1570
|
+
}
|
|
1571
|
+
extends() {
|
|
1572
|
+
this.addField("extends");
|
|
1573
|
+
return this;
|
|
1574
|
+
}
|
|
1575
|
+
websiteId() {
|
|
1576
|
+
this.addField("websiteId");
|
|
1577
|
+
return this;
|
|
1578
|
+
}
|
|
1579
|
+
/**
|
|
1580
|
+
* 创建时间
|
|
1581
|
+
*/
|
|
1582
|
+
createdAt() {
|
|
1583
|
+
this.addField("createdAt");
|
|
1584
|
+
return this;
|
|
1585
|
+
}
|
|
1586
|
+
/**
|
|
1587
|
+
* 更新时间
|
|
1588
|
+
*/
|
|
1589
|
+
updatedAt() {
|
|
1590
|
+
this.addField("updatedAt");
|
|
1591
|
+
return this;
|
|
1592
|
+
}
|
|
1593
|
+
seoTitle() {
|
|
1594
|
+
this.addField("seoTitle");
|
|
1595
|
+
return this;
|
|
1596
|
+
}
|
|
1597
|
+
seoKeywords() {
|
|
1598
|
+
this.addField("seoKeywords");
|
|
1599
|
+
return this;
|
|
1600
|
+
}
|
|
1601
|
+
seoDescription() {
|
|
1602
|
+
this.addField("seoDescription");
|
|
1603
|
+
return this;
|
|
1604
|
+
}
|
|
1605
|
+
ogTitle() {
|
|
1606
|
+
this.addField("ogTitle");
|
|
1607
|
+
return this;
|
|
1608
|
+
}
|
|
1609
|
+
ogDescription() {
|
|
1610
|
+
this.addField("ogDescription");
|
|
1611
|
+
return this;
|
|
1612
|
+
}
|
|
1613
|
+
ogUrl() {
|
|
1614
|
+
this.addField("ogUrl");
|
|
1615
|
+
return this;
|
|
1616
|
+
}
|
|
1617
|
+
ogSiteName() {
|
|
1618
|
+
this.addField("ogSiteName");
|
|
1619
|
+
return this;
|
|
1620
|
+
}
|
|
1621
|
+
ogType() {
|
|
1622
|
+
this.addField("ogType");
|
|
1623
|
+
return this;
|
|
1624
|
+
}
|
|
1625
|
+
xCard() {
|
|
1626
|
+
this.addField("xCard");
|
|
1627
|
+
return this;
|
|
1628
|
+
}
|
|
1629
|
+
xSite() {
|
|
1630
|
+
this.addField("xSite");
|
|
1631
|
+
return this;
|
|
1632
|
+
}
|
|
1633
|
+
xTitle() {
|
|
1634
|
+
this.addField("xTitle");
|
|
1635
|
+
return this;
|
|
1636
|
+
}
|
|
1637
|
+
xDescription() {
|
|
1638
|
+
this.addField("xDescription");
|
|
1639
|
+
return this;
|
|
1640
|
+
}
|
|
1641
|
+
xUrl() {
|
|
1642
|
+
this.addField("xUrl");
|
|
1643
|
+
return this;
|
|
1644
|
+
}
|
|
1645
|
+
lang() {
|
|
1646
|
+
this.addField("lang");
|
|
1647
|
+
return this;
|
|
1648
|
+
}
|
|
1649
|
+
slug(options) {
|
|
1650
|
+
if (Array.isArray(options)) {
|
|
1651
|
+
this._associations["slug"] = new SlugQueryOptions(options);
|
|
1652
|
+
} else {
|
|
1653
|
+
this._associations["slug"] = options || new SlugQueryOptions(["id"]);
|
|
1654
|
+
}
|
|
1655
|
+
return this;
|
|
1656
|
+
}
|
|
1657
|
+
ogImage(options) {
|
|
1658
|
+
if (Array.isArray(options)) {
|
|
1659
|
+
this._associations["ogImage"] = new MediaQueryOptions(options);
|
|
1660
|
+
} else {
|
|
1661
|
+
this._associations["ogImage"] = options || new MediaQueryOptions(["id"]);
|
|
1662
|
+
}
|
|
1663
|
+
return this;
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
class SlugQueryOptions extends QueryOptions {
|
|
1667
|
+
constructor(fields, queryArgs) {
|
|
1668
|
+
super(SlugEntityName, fields, queryArgs);
|
|
1669
|
+
}
|
|
1670
|
+
id() {
|
|
1671
|
+
this.addField("id");
|
|
1672
|
+
return this;
|
|
1673
|
+
}
|
|
1674
|
+
uniqueName() {
|
|
1675
|
+
this.addField("uniqueName");
|
|
1676
|
+
return this;
|
|
1677
|
+
}
|
|
1678
|
+
websiteId() {
|
|
1679
|
+
this.addField("websiteId");
|
|
1680
|
+
return this;
|
|
1681
|
+
}
|
|
1682
|
+
/**
|
|
1683
|
+
* 创建时间
|
|
1684
|
+
*/
|
|
1685
|
+
createdAt() {
|
|
1686
|
+
this.addField("createdAt");
|
|
1687
|
+
return this;
|
|
1688
|
+
}
|
|
1689
|
+
/**
|
|
1690
|
+
* 更新时间
|
|
1691
|
+
*/
|
|
1692
|
+
updatedAt() {
|
|
1693
|
+
this.addField("updatedAt");
|
|
1694
|
+
return this;
|
|
1695
|
+
}
|
|
1696
|
+
/**
|
|
1697
|
+
* 备注
|
|
1698
|
+
*/
|
|
1699
|
+
remark() {
|
|
1700
|
+
this.addField("remark");
|
|
1701
|
+
return this;
|
|
1702
|
+
}
|
|
1703
|
+
post(options) {
|
|
1704
|
+
if (Array.isArray(options)) {
|
|
1705
|
+
this._associations["post"] = new PostQueryOptions(options);
|
|
1706
|
+
} else {
|
|
1707
|
+
this._associations["post"] = options || new PostQueryOptions(["id"]);
|
|
1708
|
+
}
|
|
1709
|
+
return this;
|
|
1710
|
+
}
|
|
1711
|
+
product(options) {
|
|
1712
|
+
if (Array.isArray(options)) {
|
|
1713
|
+
this._associations["product"] = new ProductQueryOptions(options);
|
|
1714
|
+
} else {
|
|
1715
|
+
this._associations["product"] = options || new ProductQueryOptions(["id"]);
|
|
1716
|
+
}
|
|
1717
|
+
return this;
|
|
1718
|
+
}
|
|
1719
|
+
page(options) {
|
|
1720
|
+
if (Array.isArray(options)) {
|
|
1721
|
+
this._associations["page"] = new PageQueryOptions(options);
|
|
1722
|
+
} else {
|
|
1723
|
+
this._associations["page"] = options || new PageQueryOptions(["id"]);
|
|
1724
|
+
}
|
|
1725
|
+
return this;
|
|
1726
|
+
}
|
|
1727
|
+
}
|
|
1728
|
+
class ProductQueryOptions extends QueryOptions {
|
|
1729
|
+
constructor(fields, queryArgs) {
|
|
1730
|
+
super(ProductEntityName, fields, queryArgs);
|
|
1731
|
+
}
|
|
1732
|
+
id() {
|
|
1733
|
+
this.addField("id");
|
|
1734
|
+
return this;
|
|
1735
|
+
}
|
|
1736
|
+
published() {
|
|
1737
|
+
this.addField("published");
|
|
1738
|
+
return this;
|
|
1739
|
+
}
|
|
1740
|
+
summary() {
|
|
1741
|
+
this.addField("summary");
|
|
1742
|
+
return this;
|
|
1743
|
+
}
|
|
1744
|
+
featured() {
|
|
1745
|
+
this.addField("featured");
|
|
1746
|
+
return this;
|
|
1747
|
+
}
|
|
1748
|
+
showInNavMenu() {
|
|
1749
|
+
this.addField("showInNavMenu");
|
|
1750
|
+
return this;
|
|
1751
|
+
}
|
|
1752
|
+
seqValue() {
|
|
1753
|
+
this.addField("seqValue");
|
|
1754
|
+
return this;
|
|
1755
|
+
}
|
|
1756
|
+
/**
|
|
1757
|
+
* 特色
|
|
1758
|
+
*/
|
|
1759
|
+
features() {
|
|
1760
|
+
this.addField("features");
|
|
1761
|
+
return this;
|
|
1762
|
+
}
|
|
1763
|
+
content2() {
|
|
1764
|
+
this.addField("content2");
|
|
1765
|
+
return this;
|
|
1766
|
+
}
|
|
1767
|
+
content3() {
|
|
1768
|
+
this.addField("content3");
|
|
1769
|
+
return this;
|
|
1770
|
+
}
|
|
1771
|
+
/**
|
|
1772
|
+
* 发布的内容
|
|
1773
|
+
*/
|
|
1774
|
+
publishedContent() {
|
|
1775
|
+
this.addField("publishedContent");
|
|
1776
|
+
return this;
|
|
1777
|
+
}
|
|
1778
|
+
publishedAt() {
|
|
1779
|
+
this.addField("publishedAt");
|
|
1780
|
+
return this;
|
|
1781
|
+
}
|
|
1782
|
+
status() {
|
|
1783
|
+
this.addField("status");
|
|
1784
|
+
return this;
|
|
1785
|
+
}
|
|
1786
|
+
title() {
|
|
1787
|
+
this.addField("title");
|
|
1788
|
+
return this;
|
|
1789
|
+
}
|
|
1790
|
+
content() {
|
|
1791
|
+
this.addField("content");
|
|
1792
|
+
return this;
|
|
1793
|
+
}
|
|
1794
|
+
extends() {
|
|
1795
|
+
this.addField("extends");
|
|
1796
|
+
return this;
|
|
1797
|
+
}
|
|
1798
|
+
websiteId() {
|
|
1799
|
+
this.addField("websiteId");
|
|
1800
|
+
return this;
|
|
1801
|
+
}
|
|
1802
|
+
/**
|
|
1803
|
+
* 创建时间
|
|
1804
|
+
*/
|
|
1805
|
+
createdAt() {
|
|
1806
|
+
this.addField("createdAt");
|
|
1807
|
+
return this;
|
|
1808
|
+
}
|
|
1809
|
+
/**
|
|
1810
|
+
* 更新时间
|
|
1811
|
+
*/
|
|
1812
|
+
updatedAt() {
|
|
1813
|
+
this.addField("updatedAt");
|
|
1814
|
+
return this;
|
|
1815
|
+
}
|
|
1816
|
+
/**
|
|
1817
|
+
* 备注
|
|
1818
|
+
*/
|
|
1819
|
+
remark() {
|
|
1820
|
+
this.addField("remark");
|
|
1821
|
+
return this;
|
|
1822
|
+
}
|
|
1823
|
+
seoTitle() {
|
|
1824
|
+
this.addField("seoTitle");
|
|
1825
|
+
return this;
|
|
1826
|
+
}
|
|
1827
|
+
seoKeywords() {
|
|
1828
|
+
this.addField("seoKeywords");
|
|
1829
|
+
return this;
|
|
1830
|
+
}
|
|
1831
|
+
seoDescription() {
|
|
1832
|
+
this.addField("seoDescription");
|
|
1833
|
+
return this;
|
|
1834
|
+
}
|
|
1835
|
+
ogTitle() {
|
|
1836
|
+
this.addField("ogTitle");
|
|
1837
|
+
return this;
|
|
1838
|
+
}
|
|
1839
|
+
ogDescription() {
|
|
1840
|
+
this.addField("ogDescription");
|
|
1841
|
+
return this;
|
|
1842
|
+
}
|
|
1843
|
+
ogUrl() {
|
|
1844
|
+
this.addField("ogUrl");
|
|
1845
|
+
return this;
|
|
1846
|
+
}
|
|
1847
|
+
ogSiteName() {
|
|
1848
|
+
this.addField("ogSiteName");
|
|
1849
|
+
return this;
|
|
1850
|
+
}
|
|
1851
|
+
ogType() {
|
|
1852
|
+
this.addField("ogType");
|
|
1853
|
+
return this;
|
|
1854
|
+
}
|
|
1855
|
+
xCard() {
|
|
1856
|
+
this.addField("xCard");
|
|
1857
|
+
return this;
|
|
1858
|
+
}
|
|
1859
|
+
xSite() {
|
|
1860
|
+
this.addField("xSite");
|
|
1861
|
+
return this;
|
|
1862
|
+
}
|
|
1863
|
+
xTitle() {
|
|
1864
|
+
this.addField("xTitle");
|
|
1865
|
+
return this;
|
|
1866
|
+
}
|
|
1867
|
+
xDescription() {
|
|
1868
|
+
this.addField("xDescription");
|
|
1869
|
+
return this;
|
|
1870
|
+
}
|
|
1871
|
+
xUrl() {
|
|
1872
|
+
this.addField("xUrl");
|
|
1873
|
+
return this;
|
|
1874
|
+
}
|
|
1875
|
+
lang() {
|
|
1876
|
+
this.addField("lang");
|
|
1877
|
+
return this;
|
|
1878
|
+
}
|
|
1879
|
+
category(options) {
|
|
1880
|
+
if (Array.isArray(options)) {
|
|
1881
|
+
this._associations["category"] = new ProductCategoryQueryOptions(options);
|
|
1882
|
+
} else {
|
|
1883
|
+
this._associations["category"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
1884
|
+
}
|
|
1885
|
+
return this;
|
|
1886
|
+
}
|
|
1887
|
+
medias(options) {
|
|
1888
|
+
if (Array.isArray(options)) {
|
|
1889
|
+
this._associations["medias"] = new MediaQueryOptions(options);
|
|
1890
|
+
} else {
|
|
1891
|
+
this._associations["medias"] = options || new MediaQueryOptions(["id"]);
|
|
1892
|
+
}
|
|
1893
|
+
return this;
|
|
1894
|
+
}
|
|
1895
|
+
mediasAggregate(aggregate) {
|
|
1896
|
+
this._aggregates["mediasAggregate"] = aggregate;
|
|
1897
|
+
return this;
|
|
1898
|
+
}
|
|
1899
|
+
slug(options) {
|
|
1900
|
+
if (Array.isArray(options)) {
|
|
1901
|
+
this._associations["slug"] = new SlugQueryOptions(options);
|
|
1902
|
+
} else {
|
|
1903
|
+
this._associations["slug"] = options || new SlugQueryOptions(["id"]);
|
|
1904
|
+
}
|
|
1905
|
+
return this;
|
|
1906
|
+
}
|
|
1907
|
+
tags(options) {
|
|
1908
|
+
if (Array.isArray(options)) {
|
|
1909
|
+
this._associations["tags"] = new TagQueryOptions(options);
|
|
1910
|
+
} else {
|
|
1911
|
+
this._associations["tags"] = options || new TagQueryOptions(["id"]);
|
|
1912
|
+
}
|
|
1913
|
+
return this;
|
|
1914
|
+
}
|
|
1915
|
+
tagsAggregate(aggregate) {
|
|
1916
|
+
this._aggregates["tagsAggregate"] = aggregate;
|
|
1917
|
+
return this;
|
|
1918
|
+
}
|
|
1919
|
+
ogImage(options) {
|
|
1920
|
+
if (Array.isArray(options)) {
|
|
1921
|
+
this._associations["ogImage"] = new MediaQueryOptions(options);
|
|
1922
|
+
} else {
|
|
1923
|
+
this._associations["ogImage"] = options || new MediaQueryOptions(["id"]);
|
|
1924
|
+
}
|
|
1925
|
+
return this;
|
|
1926
|
+
}
|
|
1927
|
+
attachments(options) {
|
|
1928
|
+
if (Array.isArray(options)) {
|
|
1929
|
+
this._associations["attachments"] = new MediaQueryOptions(options);
|
|
1930
|
+
} else {
|
|
1931
|
+
this._associations["attachments"] = options || new MediaQueryOptions(["id"]);
|
|
1932
|
+
}
|
|
1933
|
+
return this;
|
|
1934
|
+
}
|
|
1935
|
+
attachmentsAggregate(aggregate) {
|
|
1936
|
+
this._aggregates["attachmentsAggregate"] = aggregate;
|
|
1937
|
+
return this;
|
|
1938
|
+
}
|
|
1939
|
+
creator(options) {
|
|
1940
|
+
if (Array.isArray(options)) {
|
|
1941
|
+
this._associations["creator"] = new UserQueryOptions(options);
|
|
1942
|
+
} else {
|
|
1943
|
+
this._associations["creator"] = options || new UserQueryOptions(["id"]);
|
|
1944
|
+
}
|
|
1945
|
+
return this;
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
class MediaQueryOptions extends QueryOptions {
|
|
1949
|
+
constructor(fields, queryArgs) {
|
|
1950
|
+
super(MediaEntityName, fields, queryArgs);
|
|
1951
|
+
}
|
|
1952
|
+
id() {
|
|
1953
|
+
this.addField("id");
|
|
1954
|
+
return this;
|
|
1955
|
+
}
|
|
1956
|
+
name() {
|
|
1957
|
+
this.addField("name");
|
|
1958
|
+
return this;
|
|
1959
|
+
}
|
|
1960
|
+
size() {
|
|
1961
|
+
this.addField("size");
|
|
1962
|
+
return this;
|
|
1963
|
+
}
|
|
1964
|
+
mimeType() {
|
|
1965
|
+
this.addField("mimeType");
|
|
1966
|
+
return this;
|
|
1967
|
+
}
|
|
1968
|
+
extName() {
|
|
1969
|
+
this.addField("extName");
|
|
1970
|
+
return this;
|
|
1971
|
+
}
|
|
1972
|
+
file(fields) {
|
|
1973
|
+
this.addObjectField("file", fields);
|
|
1974
|
+
return this;
|
|
1975
|
+
}
|
|
1976
|
+
description() {
|
|
1977
|
+
this.addField("description");
|
|
1978
|
+
return this;
|
|
1979
|
+
}
|
|
1980
|
+
createdAt() {
|
|
1981
|
+
this.addField("createdAt");
|
|
1982
|
+
return this;
|
|
1983
|
+
}
|
|
1984
|
+
updatedAt() {
|
|
1985
|
+
this.addField("updatedAt");
|
|
1986
|
+
return this;
|
|
1987
|
+
}
|
|
1988
|
+
mediaType() {
|
|
1989
|
+
this.addField("mediaType");
|
|
1990
|
+
return this;
|
|
1991
|
+
}
|
|
1992
|
+
/**
|
|
1993
|
+
* 网站Id
|
|
1994
|
+
*/
|
|
1995
|
+
websiteId() {
|
|
1996
|
+
this.addField("websiteId");
|
|
1997
|
+
return this;
|
|
1998
|
+
}
|
|
1999
|
+
folder(options) {
|
|
2000
|
+
if (Array.isArray(options)) {
|
|
2001
|
+
this._associations["folder"] = new MediaFolderQueryOptions(options);
|
|
2002
|
+
} else {
|
|
2003
|
+
this._associations["folder"] = options || new MediaFolderQueryOptions(["id"]);
|
|
2004
|
+
}
|
|
2005
|
+
return this;
|
|
2006
|
+
}
|
|
2007
|
+
avatarOfUser(options) {
|
|
2008
|
+
if (Array.isArray(options)) {
|
|
2009
|
+
this._associations["avatarOfUser"] = new UserQueryOptions(options);
|
|
2010
|
+
} else {
|
|
2011
|
+
this._associations["avatarOfUser"] = options || new UserQueryOptions(["id"]);
|
|
2012
|
+
}
|
|
2013
|
+
return this;
|
|
2014
|
+
}
|
|
2015
|
+
usedByProducts(options) {
|
|
2016
|
+
if (Array.isArray(options)) {
|
|
2017
|
+
this._associations["usedByProducts"] = new ProductQueryOptions(options);
|
|
2018
|
+
} else {
|
|
2019
|
+
this._associations["usedByProducts"] = options || new ProductQueryOptions(["id"]);
|
|
2020
|
+
}
|
|
2021
|
+
return this;
|
|
2022
|
+
}
|
|
2023
|
+
usedByProductsAggregate(aggregate) {
|
|
2024
|
+
this._aggregates["usedByProductsAggregate"] = aggregate;
|
|
2025
|
+
return this;
|
|
2026
|
+
}
|
|
2027
|
+
attachmentOf(options) {
|
|
2028
|
+
if (Array.isArray(options)) {
|
|
2029
|
+
this._associations["attachmentOf"] = new ProductQueryOptions(options);
|
|
2030
|
+
} else {
|
|
2031
|
+
this._associations["attachmentOf"] = options || new ProductQueryOptions(["id"]);
|
|
2032
|
+
}
|
|
2033
|
+
return this;
|
|
2034
|
+
}
|
|
2035
|
+
attachmentOfAggregate(aggregate) {
|
|
2036
|
+
this._aggregates["attachmentOfAggregate"] = aggregate;
|
|
2037
|
+
return this;
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
class WebsiteTypeQueryOptions extends QueryOptions {
|
|
2041
|
+
constructor(fields, queryArgs) {
|
|
2042
|
+
super(WebsiteTypeEntityName, fields, queryArgs);
|
|
2043
|
+
}
|
|
2044
|
+
id() {
|
|
2045
|
+
this.addField("id");
|
|
2046
|
+
return this;
|
|
2047
|
+
}
|
|
2048
|
+
/**
|
|
2049
|
+
* 网站类型名称
|
|
2050
|
+
*/
|
|
2051
|
+
name() {
|
|
2052
|
+
this.addField("name");
|
|
2053
|
+
return this;
|
|
2054
|
+
}
|
|
2055
|
+
/**
|
|
2056
|
+
* 显示名称
|
|
2057
|
+
*/
|
|
2058
|
+
displayName() {
|
|
2059
|
+
this.addField("displayName");
|
|
2060
|
+
return this;
|
|
2061
|
+
}
|
|
2062
|
+
pricePerMonth() {
|
|
2063
|
+
this.addField("pricePerMonth");
|
|
2064
|
+
return this;
|
|
2065
|
+
}
|
|
2066
|
+
pricePerYear() {
|
|
2067
|
+
this.addField("pricePerYear");
|
|
2068
|
+
return this;
|
|
2069
|
+
}
|
|
2070
|
+
/**
|
|
2071
|
+
* 备注
|
|
2072
|
+
*/
|
|
2073
|
+
remark() {
|
|
2074
|
+
this.addField("remark");
|
|
2075
|
+
return this;
|
|
2076
|
+
}
|
|
2077
|
+
createdAt() {
|
|
2078
|
+
this.addField("createdAt");
|
|
2079
|
+
return this;
|
|
2080
|
+
}
|
|
2081
|
+
updatedAt() {
|
|
2082
|
+
this.addField("updatedAt");
|
|
2083
|
+
return this;
|
|
2084
|
+
}
|
|
2085
|
+
status() {
|
|
2086
|
+
this.addField("status");
|
|
2087
|
+
return this;
|
|
2088
|
+
}
|
|
2089
|
+
/**
|
|
2090
|
+
* 等级
|
|
2091
|
+
*/
|
|
2092
|
+
level() {
|
|
2093
|
+
this.addField("level");
|
|
2094
|
+
return this;
|
|
2095
|
+
}
|
|
2096
|
+
websites(options) {
|
|
2097
|
+
if (Array.isArray(options)) {
|
|
2098
|
+
this._associations["websites"] = new WebsiteQueryOptions(options);
|
|
2099
|
+
} else {
|
|
2100
|
+
this._associations["websites"] = options || new WebsiteQueryOptions(["id"]);
|
|
2101
|
+
}
|
|
2102
|
+
return this;
|
|
2103
|
+
}
|
|
2104
|
+
websitesAggregate(aggregate) {
|
|
2105
|
+
this._aggregates["websitesAggregate"] = aggregate;
|
|
2106
|
+
return this;
|
|
2107
|
+
}
|
|
2108
|
+
}
|
|
2109
|
+
class TemplateCategoryQueryOptions extends QueryOptions {
|
|
2110
|
+
constructor(fields, queryArgs) {
|
|
2111
|
+
super(TemplateCategoryEntityName, fields, queryArgs);
|
|
2112
|
+
}
|
|
2113
|
+
id() {
|
|
2114
|
+
this.addField("id");
|
|
2115
|
+
return this;
|
|
2116
|
+
}
|
|
2117
|
+
name() {
|
|
2118
|
+
this.addField("name");
|
|
2119
|
+
return this;
|
|
2120
|
+
}
|
|
2121
|
+
seqValue() {
|
|
2122
|
+
this.addField("seqValue");
|
|
2123
|
+
return this;
|
|
2124
|
+
}
|
|
2125
|
+
websiteId() {
|
|
2126
|
+
this.addField("websiteId");
|
|
2127
|
+
return this;
|
|
2128
|
+
}
|
|
2129
|
+
/**
|
|
2130
|
+
* 创建时间
|
|
2131
|
+
*/
|
|
2132
|
+
createdAt() {
|
|
2133
|
+
this.addField("createdAt");
|
|
2134
|
+
return this;
|
|
2135
|
+
}
|
|
2136
|
+
/**
|
|
2137
|
+
* 更新时间
|
|
2138
|
+
*/
|
|
2139
|
+
updatedAt() {
|
|
2140
|
+
this.addField("updatedAt");
|
|
2141
|
+
return this;
|
|
2142
|
+
}
|
|
2143
|
+
/**
|
|
2144
|
+
* 备注
|
|
2145
|
+
*/
|
|
2146
|
+
remark() {
|
|
2147
|
+
this.addField("remark");
|
|
2148
|
+
return this;
|
|
2149
|
+
}
|
|
2150
|
+
templates(options) {
|
|
2151
|
+
if (Array.isArray(options)) {
|
|
2152
|
+
this._associations["templates"] = new TemplateQueryOptions(options);
|
|
2153
|
+
} else {
|
|
2154
|
+
this._associations["templates"] = options || new TemplateQueryOptions(["id"]);
|
|
2155
|
+
}
|
|
2156
|
+
return this;
|
|
2157
|
+
}
|
|
2158
|
+
templatesAggregate(aggregate) {
|
|
2159
|
+
this._aggregates["templatesAggregate"] = aggregate;
|
|
2160
|
+
return this;
|
|
2161
|
+
}
|
|
2162
|
+
theme(options) {
|
|
2163
|
+
if (Array.isArray(options)) {
|
|
2164
|
+
this._associations["theme"] = new ThemeQueryOptions(options);
|
|
2165
|
+
} else {
|
|
2166
|
+
this._associations["theme"] = options || new ThemeQueryOptions(["id"]);
|
|
2167
|
+
}
|
|
2168
|
+
return this;
|
|
2169
|
+
}
|
|
2170
|
+
}
|
|
2171
|
+
class TemplateQueryOptions extends QueryOptions {
|
|
2172
|
+
constructor(fields, queryArgs) {
|
|
2173
|
+
super(TemplateEntityName, fields, queryArgs);
|
|
2174
|
+
}
|
|
2175
|
+
id() {
|
|
2176
|
+
this.addField("id");
|
|
2177
|
+
return this;
|
|
2178
|
+
}
|
|
2179
|
+
name() {
|
|
2180
|
+
this.addField("name");
|
|
2181
|
+
return this;
|
|
2182
|
+
}
|
|
2183
|
+
seqValue() {
|
|
2184
|
+
this.addField("seqValue");
|
|
2185
|
+
return this;
|
|
2186
|
+
}
|
|
2187
|
+
content() {
|
|
2188
|
+
this.addField("content");
|
|
2189
|
+
return this;
|
|
2190
|
+
}
|
|
2191
|
+
/**
|
|
2192
|
+
* 模板类型
|
|
2193
|
+
*/
|
|
2194
|
+
templateType() {
|
|
2195
|
+
this.addField("templateType");
|
|
2196
|
+
return this;
|
|
2197
|
+
}
|
|
2198
|
+
websiteId() {
|
|
2199
|
+
this.addField("websiteId");
|
|
2200
|
+
return this;
|
|
2201
|
+
}
|
|
2202
|
+
/**
|
|
2203
|
+
* 创建时间
|
|
2204
|
+
*/
|
|
2205
|
+
createdAt() {
|
|
2206
|
+
this.addField("createdAt");
|
|
2207
|
+
return this;
|
|
2208
|
+
}
|
|
2209
|
+
/**
|
|
2210
|
+
* 更新时间
|
|
2211
|
+
*/
|
|
2212
|
+
updatedAt() {
|
|
2213
|
+
this.addField("updatedAt");
|
|
2214
|
+
return this;
|
|
2215
|
+
}
|
|
2216
|
+
/**
|
|
2217
|
+
* 备注
|
|
2218
|
+
*/
|
|
2219
|
+
remark() {
|
|
2220
|
+
this.addField("remark");
|
|
2221
|
+
return this;
|
|
2222
|
+
}
|
|
2223
|
+
category(options) {
|
|
2224
|
+
if (Array.isArray(options)) {
|
|
2225
|
+
this._associations["category"] = new TemplateCategoryQueryOptions(options);
|
|
2226
|
+
} else {
|
|
2227
|
+
this._associations["category"] = options || new TemplateCategoryQueryOptions(["id"]);
|
|
2228
|
+
}
|
|
2229
|
+
return this;
|
|
2230
|
+
}
|
|
2231
|
+
theme(options) {
|
|
2232
|
+
if (Array.isArray(options)) {
|
|
2233
|
+
this._associations["theme"] = new ThemeQueryOptions(options);
|
|
2234
|
+
} else {
|
|
2235
|
+
this._associations["theme"] = options || new ThemeQueryOptions(["id"]);
|
|
2236
|
+
}
|
|
2237
|
+
return this;
|
|
2238
|
+
}
|
|
2239
|
+
}
|
|
2240
|
+
class ThemeQueryOptions extends QueryOptions {
|
|
2241
|
+
constructor(fields, queryArgs) {
|
|
2242
|
+
super(ThemeEntityName, fields, queryArgs);
|
|
2243
|
+
}
|
|
2244
|
+
id() {
|
|
2245
|
+
this.addField("id");
|
|
2246
|
+
return this;
|
|
2247
|
+
}
|
|
2248
|
+
name() {
|
|
2249
|
+
this.addField("name");
|
|
2250
|
+
return this;
|
|
2251
|
+
}
|
|
2252
|
+
styles() {
|
|
2253
|
+
this.addField("styles");
|
|
2254
|
+
return this;
|
|
2255
|
+
}
|
|
2256
|
+
settings() {
|
|
2257
|
+
this.addField("settings");
|
|
2258
|
+
return this;
|
|
2259
|
+
}
|
|
2260
|
+
websiteId() {
|
|
2261
|
+
this.addField("websiteId");
|
|
2262
|
+
return this;
|
|
2263
|
+
}
|
|
2264
|
+
/**
|
|
2265
|
+
* 创建时间
|
|
2266
|
+
*/
|
|
2267
|
+
createdAt() {
|
|
2268
|
+
this.addField("createdAt");
|
|
2269
|
+
return this;
|
|
2270
|
+
}
|
|
2271
|
+
/**
|
|
2272
|
+
* 更新时间
|
|
2273
|
+
*/
|
|
2274
|
+
updatedAt() {
|
|
2275
|
+
this.addField("updatedAt");
|
|
2276
|
+
return this;
|
|
2277
|
+
}
|
|
2278
|
+
/**
|
|
2279
|
+
* 备注
|
|
2280
|
+
*/
|
|
2281
|
+
remark() {
|
|
2282
|
+
this.addField("remark");
|
|
2283
|
+
return this;
|
|
2284
|
+
}
|
|
2285
|
+
templates(options) {
|
|
2286
|
+
if (Array.isArray(options)) {
|
|
2287
|
+
this._associations["templates"] = new TemplateQueryOptions(options);
|
|
2288
|
+
} else {
|
|
2289
|
+
this._associations["templates"] = options || new TemplateQueryOptions(["id"]);
|
|
2290
|
+
}
|
|
2291
|
+
return this;
|
|
2292
|
+
}
|
|
2293
|
+
templatesAggregate(aggregate) {
|
|
2294
|
+
this._aggregates["templatesAggregate"] = aggregate;
|
|
2295
|
+
return this;
|
|
2296
|
+
}
|
|
2297
|
+
themlateCategories(options) {
|
|
2298
|
+
if (Array.isArray(options)) {
|
|
2299
|
+
this._associations["themlateCategories"] = new TemplateCategoryQueryOptions(options);
|
|
2300
|
+
} else {
|
|
2301
|
+
this._associations["themlateCategories"] = options || new TemplateCategoryQueryOptions(["id"]);
|
|
2302
|
+
}
|
|
2303
|
+
return this;
|
|
2304
|
+
}
|
|
2305
|
+
themlateCategoriesAggregate(aggregate) {
|
|
2306
|
+
this._aggregates["themlateCategoriesAggregate"] = aggregate;
|
|
2307
|
+
return this;
|
|
2308
|
+
}
|
|
2309
|
+
}
|
|
2310
|
+
class WebsiteQueryOptions extends QueryOptions {
|
|
2311
|
+
constructor(fields, queryArgs) {
|
|
2312
|
+
super(WebsiteEntityName, fields, queryArgs);
|
|
2313
|
+
}
|
|
2314
|
+
id() {
|
|
2315
|
+
this.addField("id");
|
|
2316
|
+
return this;
|
|
2317
|
+
}
|
|
2318
|
+
/**
|
|
2319
|
+
* 站点名称
|
|
2320
|
+
*/
|
|
2321
|
+
name() {
|
|
2322
|
+
this.addField("name");
|
|
2323
|
+
return this;
|
|
2324
|
+
}
|
|
2325
|
+
/**
|
|
2326
|
+
* 站点备注
|
|
2327
|
+
*/
|
|
2328
|
+
remark() {
|
|
2329
|
+
this.addField("remark");
|
|
2330
|
+
return this;
|
|
2331
|
+
}
|
|
2332
|
+
/**
|
|
2333
|
+
* 创建者ID
|
|
2334
|
+
*/
|
|
2335
|
+
createdBy() {
|
|
2336
|
+
this.addField("createdBy");
|
|
2337
|
+
return this;
|
|
2338
|
+
}
|
|
2339
|
+
/**
|
|
2340
|
+
* 创建时间
|
|
2341
|
+
*/
|
|
2342
|
+
createdAt() {
|
|
2343
|
+
this.addField("createdAt");
|
|
2344
|
+
return this;
|
|
2345
|
+
}
|
|
2346
|
+
/**
|
|
2347
|
+
* 最近打开时间
|
|
2348
|
+
*/
|
|
2349
|
+
lastOpenTime() {
|
|
2350
|
+
this.addField("lastOpenTime");
|
|
2351
|
+
return this;
|
|
2352
|
+
}
|
|
2353
|
+
/**
|
|
2354
|
+
* 更新时间
|
|
2355
|
+
*/
|
|
2356
|
+
updatedAt() {
|
|
2357
|
+
this.addField("updatedAt");
|
|
2358
|
+
return this;
|
|
2359
|
+
}
|
|
2360
|
+
/**
|
|
2361
|
+
* 更新者ID
|
|
2362
|
+
*/
|
|
2363
|
+
updatedBy() {
|
|
2364
|
+
this.addField("updatedBy");
|
|
2365
|
+
return this;
|
|
2366
|
+
}
|
|
2367
|
+
websiteType(options) {
|
|
2368
|
+
if (Array.isArray(options)) {
|
|
2369
|
+
this._associations["websiteType"] = new WebsiteTypeQueryOptions(options);
|
|
2370
|
+
} else {
|
|
2371
|
+
this._associations["websiteType"] = options || new WebsiteTypeQueryOptions(["id"]);
|
|
2372
|
+
}
|
|
2373
|
+
return this;
|
|
2374
|
+
}
|
|
2375
|
+
selectedTheme(options) {
|
|
2376
|
+
if (Array.isArray(options)) {
|
|
2377
|
+
this._associations["selectedTheme"] = new ThemeQueryOptions(options);
|
|
2378
|
+
} else {
|
|
2379
|
+
this._associations["selectedTheme"] = options || new ThemeQueryOptions(["id"]);
|
|
2380
|
+
}
|
|
2381
|
+
return this;
|
|
2382
|
+
}
|
|
2383
|
+
homePage(options) {
|
|
2384
|
+
if (Array.isArray(options)) {
|
|
2385
|
+
this._associations["homePage"] = new PageQueryOptions(options);
|
|
2386
|
+
} else {
|
|
2387
|
+
this._associations["homePage"] = options || new PageQueryOptions(["id"]);
|
|
2388
|
+
}
|
|
2389
|
+
return this;
|
|
2390
|
+
}
|
|
2391
|
+
owner(options) {
|
|
2392
|
+
if (Array.isArray(options)) {
|
|
2393
|
+
this._associations["owner"] = new UserQueryOptions(options);
|
|
2394
|
+
} else {
|
|
2395
|
+
this._associations["owner"] = options || new UserQueryOptions(["id"]);
|
|
2396
|
+
}
|
|
2397
|
+
return this;
|
|
2398
|
+
}
|
|
2399
|
+
users(options) {
|
|
2400
|
+
if (Array.isArray(options)) {
|
|
2401
|
+
this._associations["users"] = new UserQueryOptions(options);
|
|
2402
|
+
} else {
|
|
2403
|
+
this._associations["users"] = options || new UserQueryOptions(["id"]);
|
|
2404
|
+
}
|
|
2405
|
+
return this;
|
|
2406
|
+
}
|
|
2407
|
+
usersAggregate(aggregate) {
|
|
2408
|
+
this._aggregates["usersAggregate"] = aggregate;
|
|
2409
|
+
return this;
|
|
2410
|
+
}
|
|
2411
|
+
}
|
|
2412
|
+
class UserQueryOptions extends QueryOptions {
|
|
2413
|
+
constructor(fields, queryArgs) {
|
|
2414
|
+
super(UserEntityName, fields, queryArgs);
|
|
2415
|
+
}
|
|
2416
|
+
id() {
|
|
2417
|
+
this.addField("id");
|
|
2418
|
+
return this;
|
|
2419
|
+
}
|
|
2420
|
+
loginName() {
|
|
2421
|
+
this.addField("loginName");
|
|
2422
|
+
return this;
|
|
2423
|
+
}
|
|
2424
|
+
name() {
|
|
2425
|
+
this.addField("name");
|
|
2426
|
+
return this;
|
|
2427
|
+
}
|
|
2428
|
+
mobileNumber() {
|
|
2429
|
+
this.addField("mobileNumber");
|
|
2430
|
+
return this;
|
|
2431
|
+
}
|
|
2432
|
+
isSupperAdmin() {
|
|
2433
|
+
this.addField("isSupperAdmin");
|
|
2434
|
+
return this;
|
|
2435
|
+
}
|
|
2436
|
+
password() {
|
|
2437
|
+
this.addField("password");
|
|
2438
|
+
return this;
|
|
2439
|
+
}
|
|
2440
|
+
createdAt() {
|
|
2441
|
+
this.addField("createdAt");
|
|
2442
|
+
return this;
|
|
2443
|
+
}
|
|
2444
|
+
updatedAt() {
|
|
2445
|
+
this.addField("updatedAt");
|
|
2446
|
+
return this;
|
|
2447
|
+
}
|
|
2448
|
+
/**
|
|
2449
|
+
* 职位
|
|
2450
|
+
*/
|
|
2451
|
+
postion() {
|
|
2452
|
+
this.addField("postion");
|
|
2453
|
+
return this;
|
|
2454
|
+
}
|
|
2455
|
+
/**
|
|
2456
|
+
* 自我介绍
|
|
2457
|
+
*/
|
|
2458
|
+
profile() {
|
|
2459
|
+
this.addField("profile");
|
|
2460
|
+
return this;
|
|
2461
|
+
}
|
|
2462
|
+
userType() {
|
|
2463
|
+
this.addField("userType");
|
|
2464
|
+
return this;
|
|
2465
|
+
}
|
|
2466
|
+
/**
|
|
2467
|
+
* 邮箱
|
|
2468
|
+
*/
|
|
2469
|
+
email() {
|
|
2470
|
+
this.addField("email");
|
|
2471
|
+
return this;
|
|
2472
|
+
}
|
|
2473
|
+
/**
|
|
2474
|
+
* 电话
|
|
2475
|
+
*/
|
|
2476
|
+
tel() {
|
|
2477
|
+
this.addField("tel");
|
|
2478
|
+
return this;
|
|
2479
|
+
}
|
|
2480
|
+
/**
|
|
2481
|
+
* 电话2
|
|
2482
|
+
*/
|
|
2483
|
+
tel2() {
|
|
2484
|
+
this.addField("tel2");
|
|
2485
|
+
return this;
|
|
2486
|
+
}
|
|
2487
|
+
mobile() {
|
|
2488
|
+
this.addField("mobile");
|
|
2489
|
+
return this;
|
|
2490
|
+
}
|
|
2491
|
+
whatsApp() {
|
|
2492
|
+
this.addField("whatsApp");
|
|
2493
|
+
return this;
|
|
2494
|
+
}
|
|
2495
|
+
linkedIn() {
|
|
2496
|
+
this.addField("linkedIn");
|
|
2497
|
+
return this;
|
|
2498
|
+
}
|
|
2499
|
+
twitter() {
|
|
2500
|
+
this.addField("twitter");
|
|
2501
|
+
return this;
|
|
2502
|
+
}
|
|
2503
|
+
facebook() {
|
|
2504
|
+
this.addField("facebook");
|
|
2505
|
+
return this;
|
|
2506
|
+
}
|
|
2507
|
+
instagram() {
|
|
2508
|
+
this.addField("instagram");
|
|
2509
|
+
return this;
|
|
2510
|
+
}
|
|
2511
|
+
/**
|
|
2512
|
+
* 简介
|
|
2513
|
+
*/
|
|
2514
|
+
summary() {
|
|
2515
|
+
this.addField("summary");
|
|
2516
|
+
return this;
|
|
2517
|
+
}
|
|
2518
|
+
roles(options) {
|
|
2519
|
+
if (Array.isArray(options)) {
|
|
2520
|
+
this._associations["roles"] = new RoleQueryOptions(options);
|
|
2521
|
+
} else {
|
|
2522
|
+
this._associations["roles"] = options || new RoleQueryOptions(["id"]);
|
|
2523
|
+
}
|
|
2524
|
+
return this;
|
|
2525
|
+
}
|
|
2526
|
+
rolesAggregate(aggregate) {
|
|
2527
|
+
this._aggregates["rolesAggregate"] = aggregate;
|
|
2528
|
+
return this;
|
|
2529
|
+
}
|
|
2530
|
+
avatar(options) {
|
|
2531
|
+
if (Array.isArray(options)) {
|
|
2532
|
+
this._associations["avatar"] = new MediaQueryOptions(options);
|
|
2533
|
+
} else {
|
|
2534
|
+
this._associations["avatar"] = options || new MediaQueryOptions(["id"]);
|
|
2535
|
+
}
|
|
2536
|
+
return this;
|
|
2537
|
+
}
|
|
2538
|
+
products(options) {
|
|
2539
|
+
if (Array.isArray(options)) {
|
|
2540
|
+
this._associations["products"] = new ProductQueryOptions(options);
|
|
2541
|
+
} else {
|
|
2542
|
+
this._associations["products"] = options || new ProductQueryOptions(["id"]);
|
|
2543
|
+
}
|
|
2544
|
+
return this;
|
|
2545
|
+
}
|
|
2546
|
+
productsAggregate(aggregate) {
|
|
2547
|
+
this._aggregates["productsAggregate"] = aggregate;
|
|
2548
|
+
return this;
|
|
2549
|
+
}
|
|
2550
|
+
posts(options) {
|
|
2551
|
+
if (Array.isArray(options)) {
|
|
2552
|
+
this._associations["posts"] = new PostQueryOptions(options);
|
|
2553
|
+
} else {
|
|
2554
|
+
this._associations["posts"] = options || new PostQueryOptions(["id"]);
|
|
2555
|
+
}
|
|
2556
|
+
return this;
|
|
2557
|
+
}
|
|
2558
|
+
postsAggregate(aggregate) {
|
|
2559
|
+
this._aggregates["postsAggregate"] = aggregate;
|
|
2560
|
+
return this;
|
|
2561
|
+
}
|
|
2562
|
+
websites(options) {
|
|
2563
|
+
if (Array.isArray(options)) {
|
|
2564
|
+
this._associations["websites"] = new WebsiteQueryOptions(options);
|
|
2565
|
+
} else {
|
|
2566
|
+
this._associations["websites"] = options || new WebsiteQueryOptions(["id"]);
|
|
2567
|
+
}
|
|
2568
|
+
return this;
|
|
2569
|
+
}
|
|
2570
|
+
websitesAggregate(aggregate) {
|
|
2571
|
+
this._aggregates["websitesAggregate"] = aggregate;
|
|
2572
|
+
return this;
|
|
2573
|
+
}
|
|
2574
|
+
belongsTo(options) {
|
|
2575
|
+
if (Array.isArray(options)) {
|
|
2576
|
+
this._associations["belongsTo"] = new WebsiteQueryOptions(options);
|
|
2577
|
+
} else {
|
|
2578
|
+
this._associations["belongsTo"] = options || new WebsiteQueryOptions(["id"]);
|
|
2579
|
+
}
|
|
2580
|
+
return this;
|
|
2581
|
+
}
|
|
2582
|
+
}
|
|
2583
|
+
class AbilityQueryOptions extends QueryOptions {
|
|
2584
|
+
constructor(fields, queryArgs) {
|
|
2585
|
+
super(AbilityEntityName, fields, queryArgs);
|
|
2586
|
+
}
|
|
2587
|
+
id() {
|
|
2588
|
+
this.addField("id");
|
|
2589
|
+
return this;
|
|
2590
|
+
}
|
|
2591
|
+
entityUuid() {
|
|
2592
|
+
this.addField("entityUuid");
|
|
2593
|
+
return this;
|
|
2594
|
+
}
|
|
2595
|
+
columnUuid() {
|
|
2596
|
+
this.addField("columnUuid");
|
|
2597
|
+
return this;
|
|
2598
|
+
}
|
|
2599
|
+
can() {
|
|
2600
|
+
this.addField("can");
|
|
2601
|
+
return this;
|
|
2602
|
+
}
|
|
2603
|
+
expression() {
|
|
2604
|
+
this.addField("expression");
|
|
2605
|
+
return this;
|
|
2606
|
+
}
|
|
2607
|
+
abilityType() {
|
|
2608
|
+
this.addField("abilityType");
|
|
2609
|
+
return this;
|
|
2610
|
+
}
|
|
2611
|
+
roleId() {
|
|
2612
|
+
this.addField("roleId");
|
|
2613
|
+
return this;
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
class LangQueryOptions extends QueryOptions {
|
|
2617
|
+
constructor(fields, queryArgs) {
|
|
2618
|
+
super(LangEntityName, fields, queryArgs);
|
|
2619
|
+
}
|
|
2620
|
+
id() {
|
|
2621
|
+
this.addField("id");
|
|
2622
|
+
return this;
|
|
2623
|
+
}
|
|
2624
|
+
/**
|
|
2625
|
+
* 缩写
|
|
2626
|
+
*/
|
|
2627
|
+
abbr() {
|
|
2628
|
+
this.addField("abbr");
|
|
2629
|
+
return this;
|
|
2630
|
+
}
|
|
2631
|
+
/**
|
|
2632
|
+
* 英文名称
|
|
2633
|
+
*/
|
|
2634
|
+
enName() {
|
|
2635
|
+
this.addField("enName");
|
|
2636
|
+
return this;
|
|
2637
|
+
}
|
|
2638
|
+
/**
|
|
2639
|
+
* 本地名称
|
|
2640
|
+
*/
|
|
2641
|
+
localName() {
|
|
2642
|
+
this.addField("localName");
|
|
2643
|
+
return this;
|
|
2644
|
+
}
|
|
2645
|
+
/**
|
|
2646
|
+
* 国旗图标
|
|
2647
|
+
*/
|
|
2648
|
+
icon() {
|
|
2649
|
+
this.addField("icon");
|
|
2650
|
+
return this;
|
|
2651
|
+
}
|
|
2652
|
+
/**
|
|
2653
|
+
* 备注
|
|
2654
|
+
*/
|
|
2655
|
+
remark() {
|
|
2656
|
+
this.addField("remark");
|
|
2657
|
+
return this;
|
|
2658
|
+
}
|
|
2659
|
+
websiteId() {
|
|
2660
|
+
this.addField("websiteId");
|
|
2661
|
+
return this;
|
|
2662
|
+
}
|
|
2663
|
+
/**
|
|
2664
|
+
* 创建时间
|
|
2665
|
+
*/
|
|
2666
|
+
createdAt() {
|
|
2667
|
+
this.addField("createdAt");
|
|
2668
|
+
return this;
|
|
2669
|
+
}
|
|
2670
|
+
/**
|
|
2671
|
+
* 更新时间
|
|
2672
|
+
*/
|
|
2673
|
+
updatedAt() {
|
|
2674
|
+
this.addField("updatedAt");
|
|
2675
|
+
return this;
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
class CustomerQueryOptions extends QueryOptions {
|
|
2679
|
+
constructor(fields, queryArgs) {
|
|
2680
|
+
super(CustomerEntityName, fields, queryArgs);
|
|
2681
|
+
}
|
|
2682
|
+
id() {
|
|
2683
|
+
this.addField("id");
|
|
2684
|
+
return this;
|
|
2685
|
+
}
|
|
2686
|
+
websiteId() {
|
|
2687
|
+
this.addField("websiteId");
|
|
2688
|
+
return this;
|
|
2689
|
+
}
|
|
2690
|
+
/**
|
|
2691
|
+
* 创建时间
|
|
2692
|
+
*/
|
|
2693
|
+
createdAt() {
|
|
2694
|
+
this.addField("createdAt");
|
|
2695
|
+
return this;
|
|
2696
|
+
}
|
|
2697
|
+
/**
|
|
2698
|
+
* 更新时间
|
|
2699
|
+
*/
|
|
2700
|
+
updatedAt() {
|
|
2701
|
+
this.addField("updatedAt");
|
|
2702
|
+
return this;
|
|
2703
|
+
}
|
|
2704
|
+
/**
|
|
2705
|
+
* 备注
|
|
2706
|
+
*/
|
|
2707
|
+
remark() {
|
|
2708
|
+
this.addField("remark");
|
|
2709
|
+
return this;
|
|
2710
|
+
}
|
|
2711
|
+
/**
|
|
2712
|
+
* 邮箱
|
|
2713
|
+
*/
|
|
2714
|
+
email() {
|
|
2715
|
+
this.addField("email");
|
|
2716
|
+
return this;
|
|
2717
|
+
}
|
|
2718
|
+
/**
|
|
2719
|
+
* 电话
|
|
2720
|
+
*/
|
|
2721
|
+
tel() {
|
|
2722
|
+
this.addField("tel");
|
|
2723
|
+
return this;
|
|
2724
|
+
}
|
|
2725
|
+
/**
|
|
2726
|
+
* 电话2
|
|
2727
|
+
*/
|
|
2728
|
+
tel2() {
|
|
2729
|
+
this.addField("tel2");
|
|
2730
|
+
return this;
|
|
2731
|
+
}
|
|
2732
|
+
name() {
|
|
2733
|
+
this.addField("name");
|
|
2734
|
+
return this;
|
|
2735
|
+
}
|
|
2736
|
+
mobile() {
|
|
2737
|
+
this.addField("mobile");
|
|
2738
|
+
return this;
|
|
2739
|
+
}
|
|
2740
|
+
whatsApp() {
|
|
2741
|
+
this.addField("whatsApp");
|
|
2742
|
+
return this;
|
|
2743
|
+
}
|
|
2744
|
+
linkedIn() {
|
|
2745
|
+
this.addField("linkedIn");
|
|
2746
|
+
return this;
|
|
2747
|
+
}
|
|
2748
|
+
twitter() {
|
|
2749
|
+
this.addField("twitter");
|
|
2750
|
+
return this;
|
|
2751
|
+
}
|
|
2752
|
+
facebook() {
|
|
2753
|
+
this.addField("facebook");
|
|
2754
|
+
return this;
|
|
2755
|
+
}
|
|
2756
|
+
instagram() {
|
|
2757
|
+
this.addField("instagram");
|
|
2758
|
+
return this;
|
|
2759
|
+
}
|
|
2760
|
+
/**
|
|
2761
|
+
* 简介
|
|
2762
|
+
*/
|
|
2763
|
+
summary() {
|
|
2764
|
+
this.addField("summary");
|
|
2765
|
+
return this;
|
|
2766
|
+
}
|
|
2767
|
+
enquires(options) {
|
|
2768
|
+
if (Array.isArray(options)) {
|
|
2769
|
+
this._associations["enquires"] = new EnquiryQueryOptions(options);
|
|
2770
|
+
} else {
|
|
2771
|
+
this._associations["enquires"] = options || new EnquiryQueryOptions(["id"]);
|
|
2772
|
+
}
|
|
2773
|
+
return this;
|
|
2774
|
+
}
|
|
2775
|
+
enquiresAggregate(aggregate) {
|
|
2776
|
+
this._aggregates["enquiresAggregate"] = aggregate;
|
|
2777
|
+
return this;
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2780
|
+
class EnquiryQueryOptions extends QueryOptions {
|
|
2781
|
+
constructor(fields, queryArgs) {
|
|
2782
|
+
super(EnquiryEntityName, fields, queryArgs);
|
|
2783
|
+
}
|
|
2784
|
+
id() {
|
|
2785
|
+
this.addField("id");
|
|
2786
|
+
return this;
|
|
2787
|
+
}
|
|
2788
|
+
title() {
|
|
2789
|
+
this.addField("title");
|
|
2790
|
+
return this;
|
|
2791
|
+
}
|
|
2792
|
+
company() {
|
|
2793
|
+
this.addField("company");
|
|
2794
|
+
return this;
|
|
2795
|
+
}
|
|
2796
|
+
name() {
|
|
2797
|
+
this.addField("name");
|
|
2798
|
+
return this;
|
|
2799
|
+
}
|
|
2800
|
+
email() {
|
|
2801
|
+
this.addField("email");
|
|
2802
|
+
return this;
|
|
2803
|
+
}
|
|
2804
|
+
message() {
|
|
2805
|
+
this.addField("message");
|
|
2806
|
+
return this;
|
|
2807
|
+
}
|
|
2808
|
+
fromUrl() {
|
|
2809
|
+
this.addField("fromUrl");
|
|
2810
|
+
return this;
|
|
2811
|
+
}
|
|
2812
|
+
formIp() {
|
|
2813
|
+
this.addField("formIp");
|
|
2814
|
+
return this;
|
|
2815
|
+
}
|
|
2816
|
+
userAgent() {
|
|
2817
|
+
this.addField("userAgent");
|
|
2818
|
+
return this;
|
|
2819
|
+
}
|
|
2820
|
+
/**
|
|
2821
|
+
* 来源cta
|
|
2822
|
+
*/
|
|
2823
|
+
fromCta() {
|
|
2824
|
+
this.addField("fromCta");
|
|
2825
|
+
return this;
|
|
2826
|
+
}
|
|
2827
|
+
read() {
|
|
2828
|
+
this.addField("read");
|
|
2829
|
+
return this;
|
|
2830
|
+
}
|
|
2831
|
+
websiteId() {
|
|
2832
|
+
this.addField("websiteId");
|
|
2833
|
+
return this;
|
|
2834
|
+
}
|
|
2835
|
+
/**
|
|
2836
|
+
* 创建时间
|
|
2837
|
+
*/
|
|
2838
|
+
createdAt() {
|
|
2839
|
+
this.addField("createdAt");
|
|
2840
|
+
return this;
|
|
2841
|
+
}
|
|
2842
|
+
/**
|
|
2843
|
+
* 更新时间
|
|
2844
|
+
*/
|
|
2845
|
+
updatedAt() {
|
|
2846
|
+
this.addField("updatedAt");
|
|
2847
|
+
return this;
|
|
2848
|
+
}
|
|
2849
|
+
/**
|
|
2850
|
+
* 备注
|
|
2851
|
+
*/
|
|
2852
|
+
remark() {
|
|
2853
|
+
this.addField("remark");
|
|
2854
|
+
return this;
|
|
2855
|
+
}
|
|
2856
|
+
customer(options) {
|
|
2857
|
+
if (Array.isArray(options)) {
|
|
2858
|
+
this._associations["customer"] = new CustomerQueryOptions(options);
|
|
2859
|
+
} else {
|
|
2860
|
+
this._associations["customer"] = options || new CustomerQueryOptions(["id"]);
|
|
2861
|
+
}
|
|
2862
|
+
return this;
|
|
2863
|
+
}
|
|
2864
|
+
}
|
|
2865
|
+
class WebsiteMetaQueryOptions extends QueryOptions {
|
|
2866
|
+
constructor(fields, queryArgs) {
|
|
2867
|
+
super(WebsiteMetaEntityName, fields, queryArgs);
|
|
2868
|
+
}
|
|
2869
|
+
id() {
|
|
2870
|
+
this.addField("id");
|
|
2871
|
+
return this;
|
|
2872
|
+
}
|
|
2873
|
+
}
|
|
2874
|
+
class WebsiteSettingsQueryOptions extends QueryOptions {
|
|
2875
|
+
constructor(fields, queryArgs) {
|
|
2876
|
+
super(WebsiteSettingsEntityName, fields, queryArgs);
|
|
2877
|
+
}
|
|
2878
|
+
id() {
|
|
2879
|
+
this.addField("id");
|
|
2880
|
+
return this;
|
|
2881
|
+
}
|
|
2882
|
+
/**
|
|
2883
|
+
* 邮件配置
|
|
2884
|
+
*/
|
|
2885
|
+
smtpConfig() {
|
|
2886
|
+
this.addField("smtpConfig");
|
|
2887
|
+
return this;
|
|
2888
|
+
}
|
|
2889
|
+
contact() {
|
|
2890
|
+
this.addField("contact");
|
|
2891
|
+
return this;
|
|
2892
|
+
}
|
|
2893
|
+
address() {
|
|
2894
|
+
this.addField("address");
|
|
2895
|
+
return this;
|
|
2896
|
+
}
|
|
2897
|
+
email() {
|
|
2898
|
+
this.addField("email");
|
|
2899
|
+
return this;
|
|
2900
|
+
}
|
|
2901
|
+
tel() {
|
|
2902
|
+
this.addField("tel");
|
|
2903
|
+
return this;
|
|
2904
|
+
}
|
|
2905
|
+
fax() {
|
|
2906
|
+
this.addField("fax");
|
|
2907
|
+
return this;
|
|
2908
|
+
}
|
|
2909
|
+
wechat() {
|
|
2910
|
+
this.addField("wechat");
|
|
2911
|
+
return this;
|
|
2912
|
+
}
|
|
2913
|
+
whatsapp() {
|
|
2914
|
+
this.addField("whatsapp");
|
|
2915
|
+
return this;
|
|
2916
|
+
}
|
|
2917
|
+
mobile() {
|
|
2918
|
+
this.addField("mobile");
|
|
2919
|
+
return this;
|
|
2920
|
+
}
|
|
2921
|
+
websiteId() {
|
|
2922
|
+
this.addField("websiteId");
|
|
2923
|
+
return this;
|
|
2924
|
+
}
|
|
2925
|
+
/**
|
|
2926
|
+
* 创建时间
|
|
2927
|
+
*/
|
|
2928
|
+
createdAt() {
|
|
2929
|
+
this.addField("createdAt");
|
|
2930
|
+
return this;
|
|
2931
|
+
}
|
|
2932
|
+
/**
|
|
2933
|
+
* 更新时间
|
|
2934
|
+
*/
|
|
2935
|
+
updatedAt() {
|
|
2936
|
+
this.addField("updatedAt");
|
|
2937
|
+
return this;
|
|
2938
|
+
}
|
|
2939
|
+
/**
|
|
2940
|
+
* 备注
|
|
2941
|
+
*/
|
|
2942
|
+
remark() {
|
|
2943
|
+
this.addField("remark");
|
|
2944
|
+
return this;
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
751
2947
|
const userEntry = {
|
|
752
2948
|
entityName: UserEntityName,
|
|
753
2949
|
entityLabel: UserEntityLabel,
|
|
@@ -880,28 +3076,34 @@ var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
|
880
3076
|
UserFields2["facebook"] = "facebook";
|
|
881
3077
|
UserFields2["instagram"] = "instagram";
|
|
882
3078
|
UserFields2["summary"] = "summary";
|
|
883
|
-
UserFields2["roles"] = "roles";
|
|
884
|
-
UserFields2["rolesAggregate"] = "rolesAggregate";
|
|
885
|
-
UserFields2["avatar"] = "avatar";
|
|
886
|
-
UserFields2["products"] = "products";
|
|
887
|
-
UserFields2["productsAggregate"] = "productsAggregate";
|
|
888
|
-
UserFields2["posts"] = "posts";
|
|
889
|
-
UserFields2["postsAggregate"] = "postsAggregate";
|
|
890
|
-
UserFields2["websites"] = "websites";
|
|
891
|
-
UserFields2["websitesAggregate"] = "websitesAggregate";
|
|
892
|
-
UserFields2["belongsTo"] = "belongsTo";
|
|
893
3079
|
return UserFields2;
|
|
894
3080
|
})(UserFields || {});
|
|
3081
|
+
var UserAssciations = /* @__PURE__ */ ((UserAssciations2) => {
|
|
3082
|
+
UserAssciations2["roles"] = "roles";
|
|
3083
|
+
UserAssciations2["rolesAggregate"] = "rolesAggregate";
|
|
3084
|
+
UserAssciations2["avatar"] = "avatar";
|
|
3085
|
+
UserAssciations2["products"] = "products";
|
|
3086
|
+
UserAssciations2["productsAggregate"] = "productsAggregate";
|
|
3087
|
+
UserAssciations2["posts"] = "posts";
|
|
3088
|
+
UserAssciations2["postsAggregate"] = "postsAggregate";
|
|
3089
|
+
UserAssciations2["websites"] = "websites";
|
|
3090
|
+
UserAssciations2["websitesAggregate"] = "websitesAggregate";
|
|
3091
|
+
UserAssciations2["belongsTo"] = "belongsTo";
|
|
3092
|
+
return UserAssciations2;
|
|
3093
|
+
})(UserAssciations || {});
|
|
895
3094
|
var RoleFields = /* @__PURE__ */ ((RoleFields2) => {
|
|
896
3095
|
RoleFields2["id"] = "id";
|
|
897
3096
|
RoleFields2["name"] = "name";
|
|
898
3097
|
RoleFields2["description"] = "description";
|
|
899
3098
|
RoleFields2["createdAt"] = "createdAt";
|
|
900
3099
|
RoleFields2["updatedAt"] = "updatedAt";
|
|
901
|
-
RoleFields2["users"] = "users";
|
|
902
|
-
RoleFields2["usersAggregate"] = "usersAggregate";
|
|
903
3100
|
return RoleFields2;
|
|
904
3101
|
})(RoleFields || {});
|
|
3102
|
+
var RoleAssciations = /* @__PURE__ */ ((RoleAssciations2) => {
|
|
3103
|
+
RoleAssciations2["users"] = "users";
|
|
3104
|
+
RoleAssciations2["usersAggregate"] = "usersAggregate";
|
|
3105
|
+
return RoleAssciations2;
|
|
3106
|
+
})(RoleAssciations || {});
|
|
905
3107
|
var AbilityFields = /* @__PURE__ */ ((AbilityFields2) => {
|
|
906
3108
|
AbilityFields2["id"] = "id";
|
|
907
3109
|
AbilityFields2["entityUuid"] = "entityUuid";
|
|
@@ -912,6 +3114,8 @@ var AbilityFields = /* @__PURE__ */ ((AbilityFields2) => {
|
|
|
912
3114
|
AbilityFields2["roleId"] = "roleId";
|
|
913
3115
|
return AbilityFields2;
|
|
914
3116
|
})(AbilityFields || {});
|
|
3117
|
+
var AbilityAssciations = /* @__PURE__ */ ((AbilityAssciations2) => {
|
|
3118
|
+
})();
|
|
915
3119
|
var MediaFields = /* @__PURE__ */ ((MediaFields2) => {
|
|
916
3120
|
MediaFields2["id"] = "id";
|
|
917
3121
|
MediaFields2["name"] = "name";
|
|
@@ -924,12 +3128,17 @@ var MediaFields = /* @__PURE__ */ ((MediaFields2) => {
|
|
|
924
3128
|
MediaFields2["updatedAt"] = "updatedAt";
|
|
925
3129
|
MediaFields2["mediaType"] = "mediaType";
|
|
926
3130
|
MediaFields2["websiteId"] = "websiteId";
|
|
927
|
-
MediaFields2["folder"] = "folder";
|
|
928
|
-
MediaFields2["avatarOfUser"] = "avatarOfUser";
|
|
929
|
-
MediaFields2["usedByProducts"] = "usedByProducts";
|
|
930
|
-
MediaFields2["usedByProductsAggregate"] = "usedByProductsAggregate";
|
|
931
3131
|
return MediaFields2;
|
|
932
3132
|
})(MediaFields || {});
|
|
3133
|
+
var MediaAssciations = /* @__PURE__ */ ((MediaAssciations2) => {
|
|
3134
|
+
MediaAssciations2["folder"] = "folder";
|
|
3135
|
+
MediaAssciations2["avatarOfUser"] = "avatarOfUser";
|
|
3136
|
+
MediaAssciations2["usedByProducts"] = "usedByProducts";
|
|
3137
|
+
MediaAssciations2["usedByProductsAggregate"] = "usedByProductsAggregate";
|
|
3138
|
+
MediaAssciations2["attachmentOf"] = "attachmentOf";
|
|
3139
|
+
MediaAssciations2["attachmentOfAggregate"] = "attachmentOfAggregate";
|
|
3140
|
+
return MediaAssciations2;
|
|
3141
|
+
})(MediaAssciations || {});
|
|
933
3142
|
var WebsiteFields = /* @__PURE__ */ ((WebsiteFields2) => {
|
|
934
3143
|
WebsiteFields2["id"] = "id";
|
|
935
3144
|
WebsiteFields2["name"] = "name";
|
|
@@ -939,14 +3148,17 @@ var WebsiteFields = /* @__PURE__ */ ((WebsiteFields2) => {
|
|
|
939
3148
|
WebsiteFields2["lastOpenTime"] = "lastOpenTime";
|
|
940
3149
|
WebsiteFields2["updatedAt"] = "updatedAt";
|
|
941
3150
|
WebsiteFields2["updatedBy"] = "updatedBy";
|
|
942
|
-
WebsiteFields2["websiteType"] = "websiteType";
|
|
943
|
-
WebsiteFields2["selectedTheme"] = "selectedTheme";
|
|
944
|
-
WebsiteFields2["homePage"] = "homePage";
|
|
945
|
-
WebsiteFields2["owner"] = "owner";
|
|
946
|
-
WebsiteFields2["users"] = "users";
|
|
947
|
-
WebsiteFields2["usersAggregate"] = "usersAggregate";
|
|
948
3151
|
return WebsiteFields2;
|
|
949
3152
|
})(WebsiteFields || {});
|
|
3153
|
+
var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
3154
|
+
WebsiteAssciations2["websiteType"] = "websiteType";
|
|
3155
|
+
WebsiteAssciations2["selectedTheme"] = "selectedTheme";
|
|
3156
|
+
WebsiteAssciations2["homePage"] = "homePage";
|
|
3157
|
+
WebsiteAssciations2["owner"] = "owner";
|
|
3158
|
+
WebsiteAssciations2["users"] = "users";
|
|
3159
|
+
WebsiteAssciations2["usersAggregate"] = "usersAggregate";
|
|
3160
|
+
return WebsiteAssciations2;
|
|
3161
|
+
})(WebsiteAssciations || {});
|
|
950
3162
|
var LangFields = /* @__PURE__ */ ((LangFields2) => {
|
|
951
3163
|
LangFields2["id"] = "id";
|
|
952
3164
|
LangFields2["abbr"] = "abbr";
|
|
@@ -959,6 +3171,8 @@ var LangFields = /* @__PURE__ */ ((LangFields2) => {
|
|
|
959
3171
|
LangFields2["updatedAt"] = "updatedAt";
|
|
960
3172
|
return LangFields2;
|
|
961
3173
|
})(LangFields || {});
|
|
3174
|
+
var LangAssciations = /* @__PURE__ */ ((LangAssciations2) => {
|
|
3175
|
+
})();
|
|
962
3176
|
var WebsiteTypeFields = /* @__PURE__ */ ((WebsiteTypeFields2) => {
|
|
963
3177
|
WebsiteTypeFields2["id"] = "id";
|
|
964
3178
|
WebsiteTypeFields2["name"] = "name";
|
|
@@ -970,10 +3184,13 @@ var WebsiteTypeFields = /* @__PURE__ */ ((WebsiteTypeFields2) => {
|
|
|
970
3184
|
WebsiteTypeFields2["updatedAt"] = "updatedAt";
|
|
971
3185
|
WebsiteTypeFields2["status"] = "status";
|
|
972
3186
|
WebsiteTypeFields2["level"] = "level";
|
|
973
|
-
WebsiteTypeFields2["websites"] = "websites";
|
|
974
|
-
WebsiteTypeFields2["websitesAggregate"] = "websitesAggregate";
|
|
975
3187
|
return WebsiteTypeFields2;
|
|
976
3188
|
})(WebsiteTypeFields || {});
|
|
3189
|
+
var WebsiteTypeAssciations = /* @__PURE__ */ ((WebsiteTypeAssciations2) => {
|
|
3190
|
+
WebsiteTypeAssciations2["websites"] = "websites";
|
|
3191
|
+
WebsiteTypeAssciations2["websitesAggregate"] = "websitesAggregate";
|
|
3192
|
+
return WebsiteTypeAssciations2;
|
|
3193
|
+
})(WebsiteTypeAssciations || {});
|
|
977
3194
|
var PageFields = /* @__PURE__ */ ((PageFields2) => {
|
|
978
3195
|
PageFields2["id"] = "id";
|
|
979
3196
|
PageFields2["title"] = "title";
|
|
@@ -989,14 +3206,22 @@ var PageFields = /* @__PURE__ */ ((PageFields2) => {
|
|
|
989
3206
|
PageFields2["seoDescription"] = "seoDescription";
|
|
990
3207
|
PageFields2["ogTitle"] = "ogTitle";
|
|
991
3208
|
PageFields2["ogDescription"] = "ogDescription";
|
|
992
|
-
PageFields2["ogImageUrl"] = "ogImageUrl";
|
|
993
3209
|
PageFields2["ogUrl"] = "ogUrl";
|
|
994
3210
|
PageFields2["ogSiteName"] = "ogSiteName";
|
|
995
3211
|
PageFields2["ogType"] = "ogType";
|
|
3212
|
+
PageFields2["xCard"] = "xCard";
|
|
3213
|
+
PageFields2["xSite"] = "xSite";
|
|
3214
|
+
PageFields2["xTitle"] = "xTitle";
|
|
3215
|
+
PageFields2["xDescription"] = "xDescription";
|
|
3216
|
+
PageFields2["xUrl"] = "xUrl";
|
|
996
3217
|
PageFields2["lang"] = "lang";
|
|
997
|
-
PageFields2["slug"] = "slug";
|
|
998
3218
|
return PageFields2;
|
|
999
3219
|
})(PageFields || {});
|
|
3220
|
+
var PageAssciations = /* @__PURE__ */ ((PageAssciations2) => {
|
|
3221
|
+
PageAssciations2["slug"] = "slug";
|
|
3222
|
+
PageAssciations2["ogImage"] = "ogImage";
|
|
3223
|
+
return PageAssciations2;
|
|
3224
|
+
})(PageAssciations || {});
|
|
1000
3225
|
var PostFields = /* @__PURE__ */ ((PostFields2) => {
|
|
1001
3226
|
PostFields2["id"] = "id";
|
|
1002
3227
|
PostFields2["seqValue"] = "seqValue";
|
|
@@ -1018,19 +3243,27 @@ var PostFields = /* @__PURE__ */ ((PostFields2) => {
|
|
|
1018
3243
|
PostFields2["seoDescription"] = "seoDescription";
|
|
1019
3244
|
PostFields2["ogTitle"] = "ogTitle";
|
|
1020
3245
|
PostFields2["ogDescription"] = "ogDescription";
|
|
1021
|
-
PostFields2["ogImageUrl"] = "ogImageUrl";
|
|
1022
3246
|
PostFields2["ogUrl"] = "ogUrl";
|
|
1023
3247
|
PostFields2["ogSiteName"] = "ogSiteName";
|
|
1024
3248
|
PostFields2["ogType"] = "ogType";
|
|
3249
|
+
PostFields2["xCard"] = "xCard";
|
|
3250
|
+
PostFields2["xSite"] = "xSite";
|
|
3251
|
+
PostFields2["xTitle"] = "xTitle";
|
|
3252
|
+
PostFields2["xDescription"] = "xDescription";
|
|
3253
|
+
PostFields2["xUrl"] = "xUrl";
|
|
1025
3254
|
PostFields2["lang"] = "lang";
|
|
1026
|
-
PostFields2["slug"] = "slug";
|
|
1027
|
-
PostFields2["tags"] = "tags";
|
|
1028
|
-
PostFields2["tagsAggregate"] = "tagsAggregate";
|
|
1029
|
-
PostFields2["author"] = "author";
|
|
1030
|
-
PostFields2["cover"] = "cover";
|
|
1031
|
-
PostFields2["category"] = "category";
|
|
1032
3255
|
return PostFields2;
|
|
1033
3256
|
})(PostFields || {});
|
|
3257
|
+
var PostAssciations = /* @__PURE__ */ ((PostAssciations2) => {
|
|
3258
|
+
PostAssciations2["slug"] = "slug";
|
|
3259
|
+
PostAssciations2["tags"] = "tags";
|
|
3260
|
+
PostAssciations2["tagsAggregate"] = "tagsAggregate";
|
|
3261
|
+
PostAssciations2["author"] = "author";
|
|
3262
|
+
PostAssciations2["cover"] = "cover";
|
|
3263
|
+
PostAssciations2["ogImage"] = "ogImage";
|
|
3264
|
+
PostAssciations2["category"] = "category";
|
|
3265
|
+
return PostAssciations2;
|
|
3266
|
+
})(PostAssciations || {});
|
|
1034
3267
|
var ProductFields = /* @__PURE__ */ ((ProductFields2) => {
|
|
1035
3268
|
ProductFields2["id"] = "id";
|
|
1036
3269
|
ProductFields2["published"] = "published";
|
|
@@ -1038,6 +3271,9 @@ var ProductFields = /* @__PURE__ */ ((ProductFields2) => {
|
|
|
1038
3271
|
ProductFields2["featured"] = "featured";
|
|
1039
3272
|
ProductFields2["showInNavMenu"] = "showInNavMenu";
|
|
1040
3273
|
ProductFields2["seqValue"] = "seqValue";
|
|
3274
|
+
ProductFields2["features"] = "features";
|
|
3275
|
+
ProductFields2["content2"] = "content2";
|
|
3276
|
+
ProductFields2["content3"] = "content3";
|
|
1041
3277
|
ProductFields2["publishedContent"] = "publishedContent";
|
|
1042
3278
|
ProductFields2["publishedAt"] = "publishedAt";
|
|
1043
3279
|
ProductFields2["status"] = "status";
|
|
@@ -1053,20 +3289,30 @@ var ProductFields = /* @__PURE__ */ ((ProductFields2) => {
|
|
|
1053
3289
|
ProductFields2["seoDescription"] = "seoDescription";
|
|
1054
3290
|
ProductFields2["ogTitle"] = "ogTitle";
|
|
1055
3291
|
ProductFields2["ogDescription"] = "ogDescription";
|
|
1056
|
-
ProductFields2["ogImageUrl"] = "ogImageUrl";
|
|
1057
3292
|
ProductFields2["ogUrl"] = "ogUrl";
|
|
1058
3293
|
ProductFields2["ogSiteName"] = "ogSiteName";
|
|
1059
3294
|
ProductFields2["ogType"] = "ogType";
|
|
3295
|
+
ProductFields2["xCard"] = "xCard";
|
|
3296
|
+
ProductFields2["xSite"] = "xSite";
|
|
3297
|
+
ProductFields2["xTitle"] = "xTitle";
|
|
3298
|
+
ProductFields2["xDescription"] = "xDescription";
|
|
3299
|
+
ProductFields2["xUrl"] = "xUrl";
|
|
1060
3300
|
ProductFields2["lang"] = "lang";
|
|
1061
|
-
ProductFields2["category"] = "category";
|
|
1062
|
-
ProductFields2["medias"] = "medias";
|
|
1063
|
-
ProductFields2["mediasAggregate"] = "mediasAggregate";
|
|
1064
|
-
ProductFields2["slug"] = "slug";
|
|
1065
|
-
ProductFields2["tags"] = "tags";
|
|
1066
|
-
ProductFields2["tagsAggregate"] = "tagsAggregate";
|
|
1067
|
-
ProductFields2["creator"] = "creator";
|
|
1068
3301
|
return ProductFields2;
|
|
1069
3302
|
})(ProductFields || {});
|
|
3303
|
+
var ProductAssciations = /* @__PURE__ */ ((ProductAssciations2) => {
|
|
3304
|
+
ProductAssciations2["category"] = "category";
|
|
3305
|
+
ProductAssciations2["medias"] = "medias";
|
|
3306
|
+
ProductAssciations2["mediasAggregate"] = "mediasAggregate";
|
|
3307
|
+
ProductAssciations2["slug"] = "slug";
|
|
3308
|
+
ProductAssciations2["tags"] = "tags";
|
|
3309
|
+
ProductAssciations2["tagsAggregate"] = "tagsAggregate";
|
|
3310
|
+
ProductAssciations2["ogImage"] = "ogImage";
|
|
3311
|
+
ProductAssciations2["attachments"] = "attachments";
|
|
3312
|
+
ProductAssciations2["attachmentsAggregate"] = "attachmentsAggregate";
|
|
3313
|
+
ProductAssciations2["creator"] = "creator";
|
|
3314
|
+
return ProductAssciations2;
|
|
3315
|
+
})(ProductAssciations || {});
|
|
1070
3316
|
var SlugFields = /* @__PURE__ */ ((SlugFields2) => {
|
|
1071
3317
|
SlugFields2["id"] = "id";
|
|
1072
3318
|
SlugFields2["uniqueName"] = "uniqueName";
|
|
@@ -1074,11 +3320,14 @@ var SlugFields = /* @__PURE__ */ ((SlugFields2) => {
|
|
|
1074
3320
|
SlugFields2["createdAt"] = "createdAt";
|
|
1075
3321
|
SlugFields2["updatedAt"] = "updatedAt";
|
|
1076
3322
|
SlugFields2["remark"] = "remark";
|
|
1077
|
-
SlugFields2["post"] = "post";
|
|
1078
|
-
SlugFields2["product"] = "product";
|
|
1079
|
-
SlugFields2["page"] = "page";
|
|
1080
3323
|
return SlugFields2;
|
|
1081
3324
|
})(SlugFields || {});
|
|
3325
|
+
var SlugAssciations = /* @__PURE__ */ ((SlugAssciations2) => {
|
|
3326
|
+
SlugAssciations2["post"] = "post";
|
|
3327
|
+
SlugAssciations2["product"] = "product";
|
|
3328
|
+
SlugAssciations2["page"] = "page";
|
|
3329
|
+
return SlugAssciations2;
|
|
3330
|
+
})(SlugAssciations || {});
|
|
1082
3331
|
var EnquiryFields = /* @__PURE__ */ ((EnquiryFields2) => {
|
|
1083
3332
|
EnquiryFields2["id"] = "id";
|
|
1084
3333
|
EnquiryFields2["title"] = "title";
|
|
@@ -1095,13 +3344,18 @@ var EnquiryFields = /* @__PURE__ */ ((EnquiryFields2) => {
|
|
|
1095
3344
|
EnquiryFields2["createdAt"] = "createdAt";
|
|
1096
3345
|
EnquiryFields2["updatedAt"] = "updatedAt";
|
|
1097
3346
|
EnquiryFields2["remark"] = "remark";
|
|
1098
|
-
EnquiryFields2["customer"] = "customer";
|
|
1099
3347
|
return EnquiryFields2;
|
|
1100
3348
|
})(EnquiryFields || {});
|
|
3349
|
+
var EnquiryAssciations = /* @__PURE__ */ ((EnquiryAssciations2) => {
|
|
3350
|
+
EnquiryAssciations2["customer"] = "customer";
|
|
3351
|
+
return EnquiryAssciations2;
|
|
3352
|
+
})(EnquiryAssciations || {});
|
|
1101
3353
|
var WebsiteMetaFields = /* @__PURE__ */ ((WebsiteMetaFields2) => {
|
|
1102
3354
|
WebsiteMetaFields2["id"] = "id";
|
|
1103
3355
|
return WebsiteMetaFields2;
|
|
1104
3356
|
})(WebsiteMetaFields || {});
|
|
3357
|
+
var WebsiteMetaAssciations = /* @__PURE__ */ ((WebsiteMetaAssciations2) => {
|
|
3358
|
+
})();
|
|
1105
3359
|
var WebsiteSettingsFields = /* @__PURE__ */ ((WebsiteSettingsFields2) => {
|
|
1106
3360
|
WebsiteSettingsFields2["id"] = "id";
|
|
1107
3361
|
WebsiteSettingsFields2["smtpConfig"] = "smtpConfig";
|
|
@@ -1119,6 +3373,8 @@ var WebsiteSettingsFields = /* @__PURE__ */ ((WebsiteSettingsFields2) => {
|
|
|
1119
3373
|
WebsiteSettingsFields2["remark"] = "remark";
|
|
1120
3374
|
return WebsiteSettingsFields2;
|
|
1121
3375
|
})(WebsiteSettingsFields || {});
|
|
3376
|
+
var WebsiteSettingsAssciations = /* @__PURE__ */ ((WebsiteSettingsAssciations2) => {
|
|
3377
|
+
})();
|
|
1122
3378
|
var TemplateFields = /* @__PURE__ */ ((TemplateFields2) => {
|
|
1123
3379
|
TemplateFields2["id"] = "id";
|
|
1124
3380
|
TemplateFields2["name"] = "name";
|
|
@@ -1129,10 +3385,13 @@ var TemplateFields = /* @__PURE__ */ ((TemplateFields2) => {
|
|
|
1129
3385
|
TemplateFields2["createdAt"] = "createdAt";
|
|
1130
3386
|
TemplateFields2["updatedAt"] = "updatedAt";
|
|
1131
3387
|
TemplateFields2["remark"] = "remark";
|
|
1132
|
-
TemplateFields2["category"] = "category";
|
|
1133
|
-
TemplateFields2["theme"] = "theme";
|
|
1134
3388
|
return TemplateFields2;
|
|
1135
3389
|
})(TemplateFields || {});
|
|
3390
|
+
var TemplateAssciations = /* @__PURE__ */ ((TemplateAssciations2) => {
|
|
3391
|
+
TemplateAssciations2["category"] = "category";
|
|
3392
|
+
TemplateAssciations2["theme"] = "theme";
|
|
3393
|
+
return TemplateAssciations2;
|
|
3394
|
+
})(TemplateAssciations || {});
|
|
1136
3395
|
var TemplateCategoryFields = /* @__PURE__ */ ((TemplateCategoryFields2) => {
|
|
1137
3396
|
TemplateCategoryFields2["id"] = "id";
|
|
1138
3397
|
TemplateCategoryFields2["name"] = "name";
|
|
@@ -1141,11 +3400,14 @@ var TemplateCategoryFields = /* @__PURE__ */ ((TemplateCategoryFields2) => {
|
|
|
1141
3400
|
TemplateCategoryFields2["createdAt"] = "createdAt";
|
|
1142
3401
|
TemplateCategoryFields2["updatedAt"] = "updatedAt";
|
|
1143
3402
|
TemplateCategoryFields2["remark"] = "remark";
|
|
1144
|
-
TemplateCategoryFields2["templates"] = "templates";
|
|
1145
|
-
TemplateCategoryFields2["templatesAggregate"] = "templatesAggregate";
|
|
1146
|
-
TemplateCategoryFields2["theme"] = "theme";
|
|
1147
3403
|
return TemplateCategoryFields2;
|
|
1148
3404
|
})(TemplateCategoryFields || {});
|
|
3405
|
+
var TemplateCategoryAssciations = /* @__PURE__ */ ((TemplateCategoryAssciations2) => {
|
|
3406
|
+
TemplateCategoryAssciations2["templates"] = "templates";
|
|
3407
|
+
TemplateCategoryAssciations2["templatesAggregate"] = "templatesAggregate";
|
|
3408
|
+
TemplateCategoryAssciations2["theme"] = "theme";
|
|
3409
|
+
return TemplateCategoryAssciations2;
|
|
3410
|
+
})(TemplateCategoryAssciations || {});
|
|
1149
3411
|
var ThemeFields = /* @__PURE__ */ ((ThemeFields2) => {
|
|
1150
3412
|
ThemeFields2["id"] = "id";
|
|
1151
3413
|
ThemeFields2["name"] = "name";
|
|
@@ -1155,12 +3417,15 @@ var ThemeFields = /* @__PURE__ */ ((ThemeFields2) => {
|
|
|
1155
3417
|
ThemeFields2["createdAt"] = "createdAt";
|
|
1156
3418
|
ThemeFields2["updatedAt"] = "updatedAt";
|
|
1157
3419
|
ThemeFields2["remark"] = "remark";
|
|
1158
|
-
ThemeFields2["templates"] = "templates";
|
|
1159
|
-
ThemeFields2["templatesAggregate"] = "templatesAggregate";
|
|
1160
|
-
ThemeFields2["themlateCategories"] = "themlateCategories";
|
|
1161
|
-
ThemeFields2["themlateCategoriesAggregate"] = "themlateCategoriesAggregate";
|
|
1162
3420
|
return ThemeFields2;
|
|
1163
3421
|
})(ThemeFields || {});
|
|
3422
|
+
var ThemeAssciations = /* @__PURE__ */ ((ThemeAssciations2) => {
|
|
3423
|
+
ThemeAssciations2["templates"] = "templates";
|
|
3424
|
+
ThemeAssciations2["templatesAggregate"] = "templatesAggregate";
|
|
3425
|
+
ThemeAssciations2["themlateCategories"] = "themlateCategories";
|
|
3426
|
+
ThemeAssciations2["themlateCategoriesAggregate"] = "themlateCategoriesAggregate";
|
|
3427
|
+
return ThemeAssciations2;
|
|
3428
|
+
})(ThemeAssciations || {});
|
|
1164
3429
|
var MediaFolderFields = /* @__PURE__ */ ((MediaFolderFields2) => {
|
|
1165
3430
|
MediaFolderFields2["id"] = "id";
|
|
1166
3431
|
MediaFolderFields2["name"] = "name";
|
|
@@ -1169,42 +3434,16 @@ var MediaFolderFields = /* @__PURE__ */ ((MediaFolderFields2) => {
|
|
|
1169
3434
|
MediaFolderFields2["createdAt"] = "createdAt";
|
|
1170
3435
|
MediaFolderFields2["updatedAt"] = "updatedAt";
|
|
1171
3436
|
MediaFolderFields2["remark"] = "remark";
|
|
1172
|
-
MediaFolderFields2["children"] = "children";
|
|
1173
|
-
MediaFolderFields2["childrenAggregate"] = "childrenAggregate";
|
|
1174
|
-
MediaFolderFields2["parent"] = "parent";
|
|
1175
|
-
MediaFolderFields2["medias"] = "medias";
|
|
1176
|
-
MediaFolderFields2["mediasAggregate"] = "mediasAggregate";
|
|
1177
3437
|
return MediaFolderFields2;
|
|
1178
3438
|
})(MediaFolderFields || {});
|
|
1179
|
-
var
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
return
|
|
1186
|
-
})(
|
|
1187
|
-
var WebsiteContentFields = /* @__PURE__ */ ((WebsiteContentFields2) => {
|
|
1188
|
-
WebsiteContentFields2["id"] = "id";
|
|
1189
|
-
WebsiteContentFields2["title"] = "title";
|
|
1190
|
-
WebsiteContentFields2["content"] = "content";
|
|
1191
|
-
WebsiteContentFields2["extends"] = "extends";
|
|
1192
|
-
WebsiteContentFields2["websiteId"] = "websiteId";
|
|
1193
|
-
WebsiteContentFields2["createdAt"] = "createdAt";
|
|
1194
|
-
WebsiteContentFields2["updatedAt"] = "updatedAt";
|
|
1195
|
-
WebsiteContentFields2["remark"] = "remark";
|
|
1196
|
-
WebsiteContentFields2["seoTitle"] = "seoTitle";
|
|
1197
|
-
WebsiteContentFields2["seoKeywords"] = "seoKeywords";
|
|
1198
|
-
WebsiteContentFields2["seoDescription"] = "seoDescription";
|
|
1199
|
-
WebsiteContentFields2["ogTitle"] = "ogTitle";
|
|
1200
|
-
WebsiteContentFields2["ogDescription"] = "ogDescription";
|
|
1201
|
-
WebsiteContentFields2["ogImageUrl"] = "ogImageUrl";
|
|
1202
|
-
WebsiteContentFields2["ogUrl"] = "ogUrl";
|
|
1203
|
-
WebsiteContentFields2["ogSiteName"] = "ogSiteName";
|
|
1204
|
-
WebsiteContentFields2["ogType"] = "ogType";
|
|
1205
|
-
WebsiteContentFields2["lang"] = "lang";
|
|
1206
|
-
return WebsiteContentFields2;
|
|
1207
|
-
})(WebsiteContentFields || {});
|
|
3439
|
+
var MediaFolderAssciations = /* @__PURE__ */ ((MediaFolderAssciations2) => {
|
|
3440
|
+
MediaFolderAssciations2["children"] = "children";
|
|
3441
|
+
MediaFolderAssciations2["childrenAggregate"] = "childrenAggregate";
|
|
3442
|
+
MediaFolderAssciations2["parent"] = "parent";
|
|
3443
|
+
MediaFolderAssciations2["medias"] = "medias";
|
|
3444
|
+
MediaFolderAssciations2["mediasAggregate"] = "mediasAggregate";
|
|
3445
|
+
return MediaFolderAssciations2;
|
|
3446
|
+
})(MediaFolderAssciations || {});
|
|
1208
3447
|
var PostCategoryFields = /* @__PURE__ */ ((PostCategoryFields2) => {
|
|
1209
3448
|
PostCategoryFields2["id"] = "id";
|
|
1210
3449
|
PostCategoryFields2["name"] = "name";
|
|
@@ -1213,13 +3452,16 @@ var PostCategoryFields = /* @__PURE__ */ ((PostCategoryFields2) => {
|
|
|
1213
3452
|
PostCategoryFields2["createdAt"] = "createdAt";
|
|
1214
3453
|
PostCategoryFields2["updatedAt"] = "updatedAt";
|
|
1215
3454
|
PostCategoryFields2["remark"] = "remark";
|
|
1216
|
-
PostCategoryFields2["children"] = "children";
|
|
1217
|
-
PostCategoryFields2["childrenAggregate"] = "childrenAggregate";
|
|
1218
|
-
PostCategoryFields2["posts"] = "posts";
|
|
1219
|
-
PostCategoryFields2["postsAggregate"] = "postsAggregate";
|
|
1220
|
-
PostCategoryFields2["parent"] = "parent";
|
|
1221
3455
|
return PostCategoryFields2;
|
|
1222
3456
|
})(PostCategoryFields || {});
|
|
3457
|
+
var PostCategoryAssciations = /* @__PURE__ */ ((PostCategoryAssciations2) => {
|
|
3458
|
+
PostCategoryAssciations2["children"] = "children";
|
|
3459
|
+
PostCategoryAssciations2["childrenAggregate"] = "childrenAggregate";
|
|
3460
|
+
PostCategoryAssciations2["posts"] = "posts";
|
|
3461
|
+
PostCategoryAssciations2["postsAggregate"] = "postsAggregate";
|
|
3462
|
+
PostCategoryAssciations2["parent"] = "parent";
|
|
3463
|
+
return PostCategoryAssciations2;
|
|
3464
|
+
})(PostCategoryAssciations || {});
|
|
1223
3465
|
var TagFields = /* @__PURE__ */ ((TagFields2) => {
|
|
1224
3466
|
TagFields2["id"] = "id";
|
|
1225
3467
|
TagFields2["name"] = "name";
|
|
@@ -1228,68 +3470,15 @@ var TagFields = /* @__PURE__ */ ((TagFields2) => {
|
|
|
1228
3470
|
TagFields2["createdAt"] = "createdAt";
|
|
1229
3471
|
TagFields2["updatedAt"] = "updatedAt";
|
|
1230
3472
|
TagFields2["remark"] = "remark";
|
|
1231
|
-
TagFields2["posts"] = "posts";
|
|
1232
|
-
TagFields2["postsAggregate"] = "postsAggregate";
|
|
1233
|
-
TagFields2["products"] = "products";
|
|
1234
|
-
TagFields2["productsAggregate"] = "productsAggregate";
|
|
1235
3473
|
return TagFields2;
|
|
1236
3474
|
})(TagFields || {});
|
|
1237
|
-
var
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
return
|
|
1243
|
-
})(
|
|
1244
|
-
var OgMetaFields = /* @__PURE__ */ ((OgMetaFields2) => {
|
|
1245
|
-
OgMetaFields2["id"] = "id";
|
|
1246
|
-
OgMetaFields2["ogTitle"] = "ogTitle";
|
|
1247
|
-
OgMetaFields2["ogDescription"] = "ogDescription";
|
|
1248
|
-
OgMetaFields2["ogImageUrl"] = "ogImageUrl";
|
|
1249
|
-
OgMetaFields2["ogUrl"] = "ogUrl";
|
|
1250
|
-
OgMetaFields2["ogSiteName"] = "ogSiteName";
|
|
1251
|
-
OgMetaFields2["ogType"] = "ogType";
|
|
1252
|
-
return OgMetaFields2;
|
|
1253
|
-
})(OgMetaFields || {});
|
|
1254
|
-
var PublishableFields = /* @__PURE__ */ ((PublishableFields2) => {
|
|
1255
|
-
PublishableFields2["id"] = "id";
|
|
1256
|
-
PublishableFields2["publishedContent"] = "publishedContent";
|
|
1257
|
-
PublishableFields2["publishedAt"] = "publishedAt";
|
|
1258
|
-
PublishableFields2["status"] = "status";
|
|
1259
|
-
PublishableFields2["title"] = "title";
|
|
1260
|
-
PublishableFields2["content"] = "content";
|
|
1261
|
-
PublishableFields2["extends"] = "extends";
|
|
1262
|
-
PublishableFields2["websiteId"] = "websiteId";
|
|
1263
|
-
PublishableFields2["createdAt"] = "createdAt";
|
|
1264
|
-
PublishableFields2["updatedAt"] = "updatedAt";
|
|
1265
|
-
PublishableFields2["remark"] = "remark";
|
|
1266
|
-
PublishableFields2["seoTitle"] = "seoTitle";
|
|
1267
|
-
PublishableFields2["seoKeywords"] = "seoKeywords";
|
|
1268
|
-
PublishableFields2["seoDescription"] = "seoDescription";
|
|
1269
|
-
PublishableFields2["ogTitle"] = "ogTitle";
|
|
1270
|
-
PublishableFields2["ogDescription"] = "ogDescription";
|
|
1271
|
-
PublishableFields2["ogImageUrl"] = "ogImageUrl";
|
|
1272
|
-
PublishableFields2["ogUrl"] = "ogUrl";
|
|
1273
|
-
PublishableFields2["ogSiteName"] = "ogSiteName";
|
|
1274
|
-
PublishableFields2["ogType"] = "ogType";
|
|
1275
|
-
PublishableFields2["lang"] = "lang";
|
|
1276
|
-
return PublishableFields2;
|
|
1277
|
-
})(PublishableFields || {});
|
|
1278
|
-
var PersonFields = /* @__PURE__ */ ((PersonFields2) => {
|
|
1279
|
-
PersonFields2["id"] = "id";
|
|
1280
|
-
PersonFields2["email"] = "email";
|
|
1281
|
-
PersonFields2["tel"] = "tel";
|
|
1282
|
-
PersonFields2["tel2"] = "tel2";
|
|
1283
|
-
PersonFields2["name"] = "name";
|
|
1284
|
-
PersonFields2["mobile"] = "mobile";
|
|
1285
|
-
PersonFields2["whatsApp"] = "whatsApp";
|
|
1286
|
-
PersonFields2["linkedIn"] = "linkedIn";
|
|
1287
|
-
PersonFields2["twitter"] = "twitter";
|
|
1288
|
-
PersonFields2["facebook"] = "facebook";
|
|
1289
|
-
PersonFields2["instagram"] = "instagram";
|
|
1290
|
-
PersonFields2["summary"] = "summary";
|
|
1291
|
-
return PersonFields2;
|
|
1292
|
-
})(PersonFields || {});
|
|
3475
|
+
var TagAssciations = /* @__PURE__ */ ((TagAssciations2) => {
|
|
3476
|
+
TagAssciations2["posts"] = "posts";
|
|
3477
|
+
TagAssciations2["postsAggregate"] = "postsAggregate";
|
|
3478
|
+
TagAssciations2["products"] = "products";
|
|
3479
|
+
TagAssciations2["productsAggregate"] = "productsAggregate";
|
|
3480
|
+
return TagAssciations2;
|
|
3481
|
+
})(TagAssciations || {});
|
|
1293
3482
|
var CustomerFields = /* @__PURE__ */ ((CustomerFields2) => {
|
|
1294
3483
|
CustomerFields2["id"] = "id";
|
|
1295
3484
|
CustomerFields2["websiteId"] = "websiteId";
|
|
@@ -1307,45 +3496,13 @@ var CustomerFields = /* @__PURE__ */ ((CustomerFields2) => {
|
|
|
1307
3496
|
CustomerFields2["facebook"] = "facebook";
|
|
1308
3497
|
CustomerFields2["instagram"] = "instagram";
|
|
1309
3498
|
CustomerFields2["summary"] = "summary";
|
|
1310
|
-
CustomerFields2["enquires"] = "enquires";
|
|
1311
|
-
CustomerFields2["enquiresAggregate"] = "enquiresAggregate";
|
|
1312
3499
|
return CustomerFields2;
|
|
1313
3500
|
})(CustomerFields || {});
|
|
1314
|
-
var
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
return BaseEntityFields2;
|
|
1320
|
-
})(BaseEntityFields || {});
|
|
1321
|
-
var MultiLangableFields = /* @__PURE__ */ ((MultiLangableFields2) => {
|
|
1322
|
-
MultiLangableFields2["id"] = "id";
|
|
1323
|
-
MultiLangableFields2["lang"] = "lang";
|
|
1324
|
-
return MultiLangableFields2;
|
|
1325
|
-
})(MultiLangableFields || {});
|
|
1326
|
-
var WebsiteUserFields = /* @__PURE__ */ ((WebsiteUserFields2) => {
|
|
1327
|
-
WebsiteUserFields2["id"] = "id";
|
|
1328
|
-
WebsiteUserFields2["postion"] = "postion";
|
|
1329
|
-
WebsiteUserFields2["profile"] = "profile";
|
|
1330
|
-
WebsiteUserFields2["userType"] = "userType";
|
|
1331
|
-
WebsiteUserFields2["email"] = "email";
|
|
1332
|
-
WebsiteUserFields2["tel"] = "tel";
|
|
1333
|
-
WebsiteUserFields2["tel2"] = "tel2";
|
|
1334
|
-
WebsiteUserFields2["name"] = "name";
|
|
1335
|
-
WebsiteUserFields2["mobile"] = "mobile";
|
|
1336
|
-
WebsiteUserFields2["whatsApp"] = "whatsApp";
|
|
1337
|
-
WebsiteUserFields2["linkedIn"] = "linkedIn";
|
|
1338
|
-
WebsiteUserFields2["twitter"] = "twitter";
|
|
1339
|
-
WebsiteUserFields2["facebook"] = "facebook";
|
|
1340
|
-
WebsiteUserFields2["instagram"] = "instagram";
|
|
1341
|
-
WebsiteUserFields2["summary"] = "summary";
|
|
1342
|
-
return WebsiteUserFields2;
|
|
1343
|
-
})(WebsiteUserFields || {});
|
|
1344
|
-
var CustomizeMediaFields = /* @__PURE__ */ ((CustomizeMediaFields2) => {
|
|
1345
|
-
CustomizeMediaFields2["id"] = "id";
|
|
1346
|
-
CustomizeMediaFields2["websiteId"] = "websiteId";
|
|
1347
|
-
return CustomizeMediaFields2;
|
|
1348
|
-
})(CustomizeMediaFields || {});
|
|
3501
|
+
var CustomerAssciations = /* @__PURE__ */ ((CustomerAssciations2) => {
|
|
3502
|
+
CustomerAssciations2["enquires"] = "enquires";
|
|
3503
|
+
CustomerAssciations2["enquiresAggregate"] = "enquiresAggregate";
|
|
3504
|
+
return CustomerAssciations2;
|
|
3505
|
+
})(CustomerAssciations || {});
|
|
1349
3506
|
var ProductCategoryFields = /* @__PURE__ */ ((ProductCategoryFields2) => {
|
|
1350
3507
|
ProductCategoryFields2["id"] = "id";
|
|
1351
3508
|
ProductCategoryFields2["name"] = "name";
|
|
@@ -1354,123 +3511,163 @@ var ProductCategoryFields = /* @__PURE__ */ ((ProductCategoryFields2) => {
|
|
|
1354
3511
|
ProductCategoryFields2["createdAt"] = "createdAt";
|
|
1355
3512
|
ProductCategoryFields2["updatedAt"] = "updatedAt";
|
|
1356
3513
|
ProductCategoryFields2["remark"] = "remark";
|
|
1357
|
-
ProductCategoryFields2["children"] = "children";
|
|
1358
|
-
ProductCategoryFields2["childrenAggregate"] = "childrenAggregate";
|
|
1359
|
-
ProductCategoryFields2["parent"] = "parent";
|
|
1360
|
-
ProductCategoryFields2["products"] = "products";
|
|
1361
|
-
ProductCategoryFields2["productsAggregate"] = "productsAggregate";
|
|
1362
3514
|
return ProductCategoryFields2;
|
|
1363
3515
|
})(ProductCategoryFields || {});
|
|
3516
|
+
var ProductCategoryAssciations = /* @__PURE__ */ ((ProductCategoryAssciations2) => {
|
|
3517
|
+
ProductCategoryAssciations2["children"] = "children";
|
|
3518
|
+
ProductCategoryAssciations2["childrenAggregate"] = "childrenAggregate";
|
|
3519
|
+
ProductCategoryAssciations2["parent"] = "parent";
|
|
3520
|
+
ProductCategoryAssciations2["products"] = "products";
|
|
3521
|
+
ProductCategoryAssciations2["productsAggregate"] = "productsAggregate";
|
|
3522
|
+
return ProductCategoryAssciations2;
|
|
3523
|
+
})(ProductCategoryAssciations || {});
|
|
1364
3524
|
export {
|
|
3525
|
+
AbilityAssciations,
|
|
1365
3526
|
AbilityDistinctEnum,
|
|
1366
3527
|
AbilityEntityLabel,
|
|
1367
3528
|
AbilityEntityName,
|
|
1368
3529
|
AbilityFields,
|
|
3530
|
+
AbilityQueryOptions,
|
|
1369
3531
|
AbilityType,
|
|
1370
|
-
BaseEntityFields,
|
|
1371
3532
|
ComponentType,
|
|
3533
|
+
CustomerAssciations,
|
|
1372
3534
|
CustomerDistinctEnum,
|
|
1373
3535
|
CustomerEntityLabel,
|
|
1374
3536
|
CustomerEntityName,
|
|
1375
3537
|
CustomerFields,
|
|
1376
|
-
|
|
3538
|
+
CustomerQueryOptions,
|
|
3539
|
+
EnquiryAssciations,
|
|
1377
3540
|
EnquiryDistinctEnum,
|
|
1378
3541
|
EnquiryEntityLabel,
|
|
1379
3542
|
EnquiryEntityName,
|
|
1380
3543
|
EnquiryFields,
|
|
3544
|
+
EnquiryQueryOptions,
|
|
1381
3545
|
ExtendFieldType,
|
|
3546
|
+
LangAssciations,
|
|
1382
3547
|
LangDistinctEnum,
|
|
1383
3548
|
LangEntityLabel,
|
|
1384
3549
|
LangEntityName,
|
|
1385
3550
|
LangFields,
|
|
3551
|
+
LangQueryOptions,
|
|
3552
|
+
MediaAssciations,
|
|
1386
3553
|
MediaDistinctEnum,
|
|
1387
3554
|
MediaEntityLabel,
|
|
1388
3555
|
MediaEntityName,
|
|
1389
3556
|
MediaFields,
|
|
3557
|
+
MediaFolderAssciations,
|
|
1390
3558
|
MediaFolderDistinctEnum,
|
|
1391
3559
|
MediaFolderEntityLabel,
|
|
1392
3560
|
MediaFolderEntityName,
|
|
1393
3561
|
MediaFolderFields,
|
|
3562
|
+
MediaFolderQueryOptions,
|
|
3563
|
+
MediaQueryOptions,
|
|
1394
3564
|
MediaType,
|
|
1395
|
-
|
|
1396
|
-
OgMetaFields,
|
|
3565
|
+
PageAssciations,
|
|
1397
3566
|
PageDistinctEnum,
|
|
1398
3567
|
PageEntityLabel,
|
|
1399
3568
|
PageEntityName,
|
|
1400
3569
|
PageFields,
|
|
1401
|
-
|
|
3570
|
+
PageQueryOptions,
|
|
3571
|
+
PostAssciations,
|
|
3572
|
+
PostCategoryAssciations,
|
|
1402
3573
|
PostCategoryDistinctEnum,
|
|
1403
3574
|
PostCategoryEntityLabel,
|
|
1404
3575
|
PostCategoryEntityName,
|
|
1405
3576
|
PostCategoryFields,
|
|
3577
|
+
PostCategoryQueryOptions,
|
|
1406
3578
|
PostDistinctEnum,
|
|
1407
3579
|
PostEntityLabel,
|
|
1408
3580
|
PostEntityName,
|
|
1409
3581
|
PostFields,
|
|
3582
|
+
PostQueryOptions,
|
|
3583
|
+
ProductAssciations,
|
|
3584
|
+
ProductCategoryAssciations,
|
|
1410
3585
|
ProductCategoryDistinctEnum,
|
|
1411
3586
|
ProductCategoryEntityLabel,
|
|
1412
3587
|
ProductCategoryEntityName,
|
|
1413
3588
|
ProductCategoryFields,
|
|
3589
|
+
ProductCategoryQueryOptions,
|
|
1414
3590
|
ProductDistinctEnum,
|
|
1415
3591
|
ProductEntityLabel,
|
|
1416
3592
|
ProductEntityName,
|
|
1417
3593
|
ProductFields,
|
|
1418
|
-
|
|
3594
|
+
ProductQueryOptions,
|
|
1419
3595
|
PublishableStatus,
|
|
3596
|
+
QueryOptions,
|
|
3597
|
+
RoleAssciations,
|
|
1420
3598
|
RoleDistinctEnum,
|
|
1421
3599
|
RoleEntityLabel,
|
|
1422
3600
|
RoleEntityName,
|
|
1423
3601
|
RoleFields,
|
|
1424
|
-
|
|
3602
|
+
RoleQueryOptions,
|
|
3603
|
+
SlugAssciations,
|
|
1425
3604
|
SlugDistinctEnum,
|
|
1426
3605
|
SlugEntityLabel,
|
|
1427
3606
|
SlugEntityName,
|
|
1428
3607
|
SlugFields,
|
|
3608
|
+
SlugQueryOptions,
|
|
3609
|
+
TagAssciations,
|
|
1429
3610
|
TagDistinctEnum,
|
|
1430
3611
|
TagEntityLabel,
|
|
1431
3612
|
TagEntityName,
|
|
1432
3613
|
TagFields,
|
|
3614
|
+
TagQueryOptions,
|
|
3615
|
+
TemplateAssciations,
|
|
3616
|
+
TemplateCategoryAssciations,
|
|
1433
3617
|
TemplateCategoryDistinctEnum,
|
|
1434
3618
|
TemplateCategoryEntityLabel,
|
|
1435
3619
|
TemplateCategoryEntityName,
|
|
1436
3620
|
TemplateCategoryFields,
|
|
3621
|
+
TemplateCategoryQueryOptions,
|
|
1437
3622
|
TemplateDistinctEnum,
|
|
1438
3623
|
TemplateEntityLabel,
|
|
1439
3624
|
TemplateEntityName,
|
|
1440
3625
|
TemplateFields,
|
|
3626
|
+
TemplateQueryOptions,
|
|
1441
3627
|
TemplateType,
|
|
3628
|
+
ThemeAssciations,
|
|
1442
3629
|
ThemeDistinctEnum,
|
|
1443
3630
|
ThemeEntityLabel,
|
|
1444
3631
|
ThemeEntityName,
|
|
1445
3632
|
ThemeFields,
|
|
3633
|
+
ThemeQueryOptions,
|
|
3634
|
+
UserAssciations,
|
|
1446
3635
|
UserDistinctEnum,
|
|
1447
3636
|
UserEntityLabel,
|
|
1448
3637
|
UserEntityName,
|
|
1449
3638
|
UserFields,
|
|
3639
|
+
UserQueryOptions,
|
|
1450
3640
|
UserType,
|
|
1451
|
-
|
|
3641
|
+
WebsiteAssciations,
|
|
1452
3642
|
WebsiteDistinctEnum,
|
|
1453
3643
|
WebsiteEntityLabel,
|
|
1454
3644
|
WebsiteEntityName,
|
|
1455
3645
|
WebsiteFields,
|
|
3646
|
+
WebsiteMetaAssciations,
|
|
1456
3647
|
WebsiteMetaDistinctEnum,
|
|
1457
3648
|
WebsiteMetaEntityLabel,
|
|
1458
3649
|
WebsiteMetaEntityName,
|
|
1459
3650
|
WebsiteMetaFields,
|
|
1460
|
-
|
|
3651
|
+
WebsiteMetaQueryOptions,
|
|
3652
|
+
WebsiteQueryOptions,
|
|
3653
|
+
WebsiteSettingsAssciations,
|
|
1461
3654
|
WebsiteSettingsDistinctEnum,
|
|
1462
3655
|
WebsiteSettingsEntityLabel,
|
|
1463
3656
|
WebsiteSettingsEntityName,
|
|
1464
3657
|
WebsiteSettingsFields,
|
|
3658
|
+
WebsiteSettingsQueryOptions,
|
|
3659
|
+
WebsiteTypeAssciations,
|
|
1465
3660
|
WebsiteTypeDistinctEnum,
|
|
1466
3661
|
WebsiteTypeEntityLabel,
|
|
1467
3662
|
WebsiteTypeEntityName,
|
|
1468
3663
|
WebsiteTypeFields,
|
|
3664
|
+
WebsiteTypeQueryOptions,
|
|
1469
3665
|
WebsiteTypeStatus,
|
|
1470
|
-
WebsiteUserFields,
|
|
1471
3666
|
abilityEntry,
|
|
1472
3667
|
abilityToInput,
|
|
1473
3668
|
abilityToInputCascade,
|
|
3669
|
+
aggregateEntities,
|
|
3670
|
+
associationsClasses,
|
|
1474
3671
|
customerEntry,
|
|
1475
3672
|
customerToInput,
|
|
1476
3673
|
customerToInputCascade,
|