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