@rxdrag/rxcms-models 0.3.75 → 0.3.77
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 +2 -2
- package/dist/classes/BulletinQueryOptions.d.ts +19 -0
- package/dist/classes/ComponentCategoryQueryOptions.d.ts +4 -3
- package/dist/classes/EnquiryQueryOptions.d.ts +10 -1
- package/dist/classes/FAQQueryOptions.d.ts +15 -0
- package/dist/classes/FrontComponentQueryOptions.d.ts +12 -3
- package/dist/classes/LangQueryOptions.d.ts +10 -15
- package/dist/classes/MediaQueryOptions.d.ts +30 -10
- package/dist/classes/PageQueryOptions.d.ts +3 -3
- package/dist/classes/PostQueryOptions.d.ts +2 -0
- package/dist/classes/ProductQueryOptions.d.ts +14 -0
- package/dist/classes/ProductRelatedPivotQueryOptions.d.ts +12 -0
- package/dist/classes/RoleQueryOptions.d.ts +5 -0
- package/dist/classes/RoleVariableQueryOptions.d.ts +15 -0
- package/dist/classes/SectionTemplateQueryOptions.d.ts +6 -3
- package/dist/classes/StorageRecordQueryOptions.d.ts +11 -0
- package/dist/classes/StyleConfigQueryOptions.d.ts +3 -3
- package/dist/classes/TemplateCategoryQueryOptions.d.ts +3 -3
- package/dist/classes/ThemeBranchQueryOptions.d.ts +62 -0
- package/dist/classes/ThemeConfigQueryOptions.d.ts +3 -3
- package/dist/classes/ThemeQueryOptions.d.ts +5 -50
- package/dist/classes/ThemeVersionQueryOptions.d.ts +3 -3
- package/dist/classes/UserOperationQueryOptions.d.ts +19 -0
- package/dist/classes/UserQueryOptions.d.ts +8 -0
- package/dist/classes/VisitorLogQueryOptions.d.ts +27 -0
- package/dist/classes/WebsiteQueryOptions.d.ts +21 -15
- package/dist/classes/WebsiteSnapshotQueryOptions.d.ts +15 -0
- package/dist/classes/index.d.ts +10 -3
- package/dist/entries/bulletinEntry.d.ts +2 -0
- package/dist/entries/{videoEntry.d.ts → fAQEntry.d.ts} +1 -1
- package/dist/entries/index.d.ts +10 -3
- package/dist/entries/productRelatedPivotEntry.d.ts +2 -0
- package/dist/entries/roleVariableEntry.d.ts +2 -0
- package/dist/entries/storageRecordEntry.d.ts +2 -0
- package/dist/entries/themeBranchEntry.d.ts +2 -0
- package/dist/entries/userOperationEntry.d.ts +2 -0
- package/dist/entries/visitorLogEntry.d.ts +2 -0
- package/dist/entries/websiteSnapshotEntry.d.ts +2 -0
- package/dist/fields/AbilityFields.d.ts +2 -2
- package/dist/fields/BulletinFields.d.ts +13 -0
- package/dist/fields/ComponentCategoryFields.d.ts +2 -1
- package/dist/fields/EnquiryFields.d.ts +6 -0
- package/dist/fields/FAQFields.d.ts +11 -0
- package/dist/fields/FrontComponentFields.d.ts +8 -1
- package/dist/fields/LangFields.d.ts +3 -5
- package/dist/fields/MediaFields.d.ts +18 -5
- package/dist/fields/PostFields.d.ts +3 -1
- package/dist/fields/ProductFields.d.ts +10 -2
- package/dist/fields/ProductRelatedPivotFields.d.ts +8 -0
- package/dist/fields/RoleFields.d.ts +2 -0
- package/dist/fields/RoleVariableFields.d.ts +11 -0
- package/dist/fields/SectionTemplateFields.d.ts +1 -0
- package/dist/fields/StorageRecordFields.d.ts +9 -0
- package/dist/fields/ThemeBranchFields.d.ts +33 -0
- package/dist/fields/ThemeFields.d.ts +2 -25
- package/dist/fields/UserFields.d.ts +4 -0
- package/dist/fields/UserOperationFields.d.ts +13 -0
- package/dist/fields/VisitorLogFields.d.ts +25 -0
- package/dist/fields/WebsiteFields.d.ts +8 -5
- package/dist/fields/WebsiteSnapshotFields.d.ts +8 -0
- package/dist/fields/index.d.ts +10 -3
- package/dist/index.mjs +1474 -566
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/Ability.d.ts +3 -3
- package/dist/interfaces/AbilityBoolExp.d.ts +3 -3
- package/dist/interfaces/AbilityDistinctExp.d.ts +2 -2
- package/dist/interfaces/AbilityInput.d.ts +3 -3
- package/dist/interfaces/AbilityOrderBy.d.ts +2 -2
- package/dist/interfaces/Bulletin.d.ts +19 -0
- package/dist/interfaces/BulletinBoolExp.d.ts +23 -0
- package/dist/interfaces/BulletinDistinctExp.d.ts +10 -0
- package/dist/interfaces/BulletinInput.d.ts +21 -0
- package/dist/interfaces/BulletinOrderBy.d.ts +14 -0
- package/dist/interfaces/ComponentCategory.d.ts +3 -2
- package/dist/interfaces/ComponentCategoryBoolExp.d.ts +3 -2
- package/dist/interfaces/ComponentCategoryDistinctExp.d.ts +2 -1
- package/dist/interfaces/ComponentCategoryInput.d.ts +3 -2
- package/dist/interfaces/ComponentCategoryOrderBy.d.ts +1 -0
- package/dist/interfaces/Enquiry.d.ts +8 -0
- package/dist/interfaces/EnquiryBoolExp.d.ts +6 -0
- package/dist/interfaces/EnquiryDistinctExp.d.ts +4 -0
- package/dist/interfaces/EnquiryInput.d.ts +7 -0
- package/dist/interfaces/EnquiryOrderBy.d.ts +4 -0
- package/dist/interfaces/EnquirySettings.d.ts +4 -0
- package/dist/interfaces/FAQ.d.ts +12 -0
- package/dist/interfaces/FAQBoolExp.d.ts +17 -0
- package/dist/interfaces/FAQDistinctExp.d.ts +9 -0
- package/dist/interfaces/FAQInput.d.ts +14 -0
- package/dist/interfaces/FAQOrderBy.d.ts +9 -0
- package/dist/interfaces/FileRef.d.ts +7 -0
- package/dist/interfaces/FileRefInput.d.ts +5 -0
- package/dist/interfaces/FrontComponent.d.ts +12 -4
- package/dist/interfaces/FrontComponentBoolExp.d.ts +7 -2
- package/dist/interfaces/FrontComponentDistinctExp.d.ts +7 -1
- package/dist/interfaces/FrontComponentInput.d.ts +12 -4
- package/dist/interfaces/FrontComponentOrderBy.d.ts +6 -0
- package/dist/interfaces/ImageSize.d.ts +4 -0
- package/dist/interfaces/ImageSizes.d.ts +6 -0
- package/dist/interfaces/Lang.d.ts +5 -8
- package/dist/interfaces/LangBoolExp.d.ts +4 -6
- package/dist/interfaces/LangInput.d.ts +4 -6
- package/dist/interfaces/Media.d.ts +22 -7
- package/dist/interfaces/MediaBoolExp.d.ts +16 -5
- package/dist/interfaces/MediaDistinctExp.d.ts +11 -2
- package/dist/interfaces/MediaInput.d.ts +21 -7
- package/dist/interfaces/MediaOrderBy.d.ts +8 -1
- package/dist/interfaces/Page.d.ts +2 -2
- package/dist/interfaces/PageBoolExp.d.ts +2 -2
- package/dist/interfaces/PageInput.d.ts +2 -2
- package/dist/interfaces/PageType.d.ts +9 -1
- package/dist/interfaces/Post.d.ts +2 -1
- package/dist/interfaces/PostBoolExp.d.ts +2 -1
- package/dist/interfaces/PostDistinctExp.d.ts +5 -2
- package/dist/interfaces/PostInput.d.ts +2 -1
- package/dist/interfaces/PostOrderBy.d.ts +2 -1
- package/dist/interfaces/Product.d.ts +10 -1
- package/dist/interfaces/ProductBoolExp.d.ts +7 -1
- package/dist/interfaces/ProductDistinctExp.d.ts +5 -2
- package/dist/interfaces/ProductInput.d.ts +7 -1
- package/dist/interfaces/ProductOrderBy.d.ts +2 -1
- package/dist/interfaces/ProductRelatedPivot.d.ts +9 -0
- package/dist/interfaces/ProductRelatedPivotBoolExp.d.ts +12 -0
- package/dist/interfaces/ProductRelatedPivotDistinctExp.d.ts +5 -0
- package/dist/interfaces/ProductRelatedPivotInput.d.ts +11 -0
- package/dist/interfaces/ProductRelatedPivotOrderBy.d.ts +5 -0
- package/dist/interfaces/PropsSchema.d.ts +7 -0
- package/dist/interfaces/Role.d.ts +3 -0
- package/dist/interfaces/RoleBoolExp.d.ts +2 -0
- package/dist/interfaces/RoleInput.d.ts +2 -0
- package/dist/interfaces/RoleVariable.d.ts +13 -0
- package/dist/interfaces/RoleVariableBoolExp.d.ts +17 -0
- package/dist/interfaces/RoleVariableDistinctExp.d.ts +9 -0
- package/dist/interfaces/RoleVariableInput.d.ts +15 -0
- package/dist/interfaces/RoleVariableOrderBy.d.ts +9 -0
- package/dist/interfaces/SectionTemplate.d.ts +4 -2
- package/dist/interfaces/SectionTemplateBoolExp.d.ts +4 -2
- package/dist/interfaces/SectionTemplateInput.d.ts +4 -2
- package/dist/interfaces/Softable.d.ts +5 -0
- package/dist/interfaces/SoftableBoolExp.d.ts +11 -0
- package/dist/interfaces/SoftableDistinctExp.d.ts +6 -0
- package/dist/interfaces/SoftableOrderBy.d.ts +6 -0
- package/dist/interfaces/StorageRecord.d.ts +9 -0
- package/dist/interfaces/StorageRecordBoolExp.d.ts +13 -0
- package/dist/interfaces/StorageRecordDistinctExp.d.ts +8 -0
- package/dist/interfaces/StorageRecordInput.d.ts +10 -0
- package/dist/interfaces/StorageRecordOrderBy.d.ts +8 -0
- package/dist/interfaces/StyleConfig.d.ts +2 -2
- package/dist/interfaces/StyleConfigBoolExp.d.ts +2 -2
- package/dist/interfaces/StyleConfigInput.d.ts +2 -2
- package/dist/interfaces/TemplateCategory.d.ts +2 -2
- package/dist/interfaces/TemplateCategoryBoolExp.d.ts +2 -2
- package/dist/interfaces/TemplateCategoryInput.d.ts +2 -2
- package/dist/interfaces/Theme.d.ts +4 -37
- package/dist/interfaces/ThemeBoolExp.d.ts +4 -27
- package/dist/interfaces/ThemeBranch.d.ts +46 -0
- package/dist/interfaces/ThemeBranchBoolExp.d.ts +40 -0
- package/dist/interfaces/ThemeBranchDistinctExp.d.ts +15 -0
- package/dist/interfaces/ThemeBranchInput.d.ts +43 -0
- package/dist/interfaces/ThemeBranchOrderBy.d.ts +15 -0
- package/dist/interfaces/ThemeConfig.d.ts +2 -2
- package/dist/interfaces/ThemeConfigBoolExp.d.ts +2 -2
- package/dist/interfaces/ThemeConfigInput.d.ts +2 -2
- package/dist/interfaces/ThemeDistinctExp.d.ts +0 -10
- package/dist/interfaces/ThemeInput.d.ts +3 -32
- package/dist/interfaces/ThemeOrderBy.d.ts +0 -10
- package/dist/interfaces/ThemeSettings.d.ts +5 -0
- package/dist/interfaces/ThemeVersion.d.ts +2 -2
- package/dist/interfaces/ThemeVersionBoolExp.d.ts +2 -2
- package/dist/interfaces/ThemeVersionInput.d.ts +2 -2
- package/dist/interfaces/User.d.ts +5 -0
- package/dist/interfaces/UserBoolExp.d.ts +3 -0
- package/dist/interfaces/UserInput.d.ts +3 -0
- package/dist/interfaces/UserOperation.d.ts +16 -0
- package/dist/interfaces/UserOperationBoolExp.d.ts +21 -0
- package/dist/interfaces/UserOperationDistinctExp.d.ts +10 -0
- package/dist/interfaces/UserOperationInput.d.ts +18 -0
- package/dist/interfaces/UserOperationOrderBy.d.ts +10 -0
- package/dist/interfaces/VariableType.d.ts +10 -0
- package/dist/interfaces/VisitorLog.d.ts +26 -0
- package/dist/interfaces/VisitorLogBoolExp.d.ts +33 -0
- package/dist/interfaces/VisitorLogDistinctExp.d.ts +24 -0
- package/dist/interfaces/VisitorLogInput.d.ts +27 -0
- package/dist/interfaces/VisitorLogOrderBy.d.ts +24 -0
- package/dist/interfaces/VistType.d.ts +14 -0
- package/dist/interfaces/Website.d.ts +12 -8
- package/dist/interfaces/WebsiteBoolExp.d.ts +9 -6
- package/dist/interfaces/WebsiteInput.d.ts +9 -6
- package/dist/interfaces/WebsiteSnapshot.d.ts +11 -0
- package/dist/interfaces/WebsiteSnapshotBoolExp.d.ts +11 -0
- package/dist/interfaces/WebsiteSnapshotDistinctExp.d.ts +4 -0
- package/dist/interfaces/WebsiteSnapshotInput.d.ts +12 -0
- package/dist/interfaces/WebsiteSnapshotOrderBy.d.ts +4 -0
- package/dist/interfaces/index.d.ts +61 -16
- package/package.json +2 -2
- package/dist/classes/VideoFolderQueryOptions.d.ts +0 -26
- package/dist/classes/VideoQueryOptions.d.ts +0 -31
- package/dist/entries/videoFolderEntry.d.ts +0 -2
- package/dist/fields/VideoFields.d.ts +0 -20
- package/dist/fields/VideoFolderFields.d.ts +0 -17
- package/dist/interfaces/PropsFields.d.ts +0 -8
- package/dist/interfaces/Video.d.ts +0 -27
- package/dist/interfaces/VideoBoolExp.d.ts +0 -29
- package/dist/interfaces/VideoDistinctExp.d.ts +0 -15
- package/dist/interfaces/VideoFolder.d.ts +0 -23
- package/dist/interfaces/VideoFolderBoolExp.d.ts +0 -24
- package/dist/interfaces/VideoFolderDistinctExp.d.ts +0 -10
- package/dist/interfaces/VideoFolderInput.d.ts +0 -23
- package/dist/interfaces/VideoFolderOrderBy.d.ts +0 -11
- package/dist/interfaces/VideoInput.d.ts +0 -28
- package/dist/interfaces/VideoOrderBy.d.ts +0 -16
|
@@ -8,27 +8,37 @@ import { ProductCategory } from './ProductCategory';
|
|
|
8
8
|
import { MediaOnProduct } from './MediaOnProduct';
|
|
9
9
|
import { AttachmentOnProduct } from './AttachmentOnProduct';
|
|
10
10
|
import { Website } from './Website';
|
|
11
|
-
import { Theme } from './Theme';
|
|
12
11
|
import { PostCategory } from './PostCategory';
|
|
13
12
|
import { ThemeConfig } from './ThemeConfig';
|
|
14
13
|
import { PageMeta } from './PageMeta';
|
|
15
14
|
import { SearchIndex } from './SearchIndex';
|
|
16
|
-
import {
|
|
15
|
+
import { WebsiteSnapshot } from './WebsiteSnapshot';
|
|
16
|
+
import { FrontComponent } from './FrontComponent';
|
|
17
|
+
import { SectionTemplate } from './SectionTemplate';
|
|
18
|
+
import { Enquiry } from './Enquiry';
|
|
19
|
+
import { Theme } from './Theme';
|
|
17
20
|
import { Aggregate } from './Aggregate';
|
|
18
21
|
import { WebsitePart } from './WebsitePart';
|
|
22
|
+
import { Softable } from './Softable';
|
|
19
23
|
export declare const MediaEntityName = "Media";
|
|
20
24
|
export declare const MediaEntityLabel = "";
|
|
21
|
-
export interface Media extends WebsitePart {
|
|
25
|
+
export interface Media extends WebsitePart, Softable {
|
|
22
26
|
id?: string | null;
|
|
27
|
+
mediaRef?: string;
|
|
23
28
|
name?: string;
|
|
24
29
|
size?: number;
|
|
25
30
|
mimeType?: string;
|
|
26
31
|
extName?: string;
|
|
32
|
+
/**
|
|
33
|
+
* media file
|
|
34
|
+
*/
|
|
27
35
|
file?: FileRef;
|
|
28
36
|
description?: string;
|
|
29
37
|
createdAt?: Date;
|
|
30
38
|
updatedAt?: Date;
|
|
31
39
|
mediaType?: MediaType;
|
|
40
|
+
resource?: string;
|
|
41
|
+
storageType?: string;
|
|
32
42
|
folder?: MediaFolder;
|
|
33
43
|
lang?: Lang;
|
|
34
44
|
coverOf?: Post[];
|
|
@@ -37,19 +47,24 @@ export interface Media extends WebsitePart {
|
|
|
37
47
|
productMediaPivots?: MediaOnProduct[];
|
|
38
48
|
productAttacPivots?: AttachmentOnProduct[];
|
|
39
49
|
website?: Website;
|
|
40
|
-
coverOfTheme?: Theme[];
|
|
41
50
|
postCategory?: PostCategory;
|
|
42
51
|
usedByThemConfig?: ThemeConfig[];
|
|
43
52
|
pageMeta?: PageMeta[];
|
|
44
53
|
searchIndex?: SearchIndex[];
|
|
45
|
-
|
|
54
|
+
snapshot?: WebsiteSnapshot[];
|
|
55
|
+
coverOfComponent?: FrontComponent[];
|
|
56
|
+
coverOfSectionTemplate?: SectionTemplate[];
|
|
57
|
+
attachmentOfEnquiry?: Enquiry;
|
|
58
|
+
coverOfTheme?: Theme;
|
|
59
|
+
owner?: User;
|
|
46
60
|
coverOfAggregate?: Aggregate;
|
|
47
61
|
meidaOfProductAggregate?: Aggregate;
|
|
48
62
|
productMediaPivotsAggregate?: Aggregate;
|
|
49
63
|
productAttacPivotsAggregate?: Aggregate;
|
|
50
|
-
coverOfThemeAggregate?: Aggregate;
|
|
51
64
|
usedByThemConfigAggregate?: Aggregate;
|
|
52
65
|
pageMetaAggregate?: Aggregate;
|
|
53
66
|
searchIndexAggregate?: Aggregate;
|
|
54
|
-
|
|
67
|
+
snapshotAggregate?: Aggregate;
|
|
68
|
+
coverOfComponentAggregate?: Aggregate;
|
|
69
|
+
coverOfSectionTemplateAggregate?: Aggregate;
|
|
55
70
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MediaType } from './MediaType';
|
|
2
2
|
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
3
|
+
import { SoftableBoolExp } from './SoftableBoolExp';
|
|
3
4
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
4
5
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
5
6
|
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
@@ -13,17 +14,21 @@ import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
|
|
|
13
14
|
import { MediaOnProductBoolExp } from './MediaOnProductBoolExp';
|
|
14
15
|
import { AttachmentOnProductBoolExp } from './AttachmentOnProductBoolExp';
|
|
15
16
|
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
16
|
-
import { ThemeBoolExp } from './ThemeBoolExp';
|
|
17
17
|
import { PostCategoryBoolExp } from './PostCategoryBoolExp';
|
|
18
18
|
import { ThemeConfigBoolExp } from './ThemeConfigBoolExp';
|
|
19
19
|
import { PageMetaBoolExp } from './PageMetaBoolExp';
|
|
20
20
|
import { SearchIndexBoolExp } from './SearchIndexBoolExp';
|
|
21
|
-
import {
|
|
22
|
-
|
|
21
|
+
import { WebsiteSnapshotBoolExp } from './WebsiteSnapshotBoolExp';
|
|
22
|
+
import { FrontComponentBoolExp } from './FrontComponentBoolExp';
|
|
23
|
+
import { SectionTemplateBoolExp } from './SectionTemplateBoolExp';
|
|
24
|
+
import { EnquiryBoolExp } from './EnquiryBoolExp';
|
|
25
|
+
import { ThemeBoolExp } from './ThemeBoolExp';
|
|
26
|
+
export interface MediaBoolExp extends WebsitePartBoolExp, SoftableBoolExp {
|
|
23
27
|
_and?: MediaBoolExp[];
|
|
24
28
|
_or?: MediaBoolExp[];
|
|
25
29
|
_not?: MediaBoolExp;
|
|
26
30
|
id?: IdComparisonExp;
|
|
31
|
+
mediaRef?: StringComparisonExp;
|
|
27
32
|
name?: StringComparisonExp;
|
|
28
33
|
size?: NumberComparisonExp;
|
|
29
34
|
mimeType?: StringComparisonExp;
|
|
@@ -32,6 +37,8 @@ export interface MediaBoolExp extends WebsitePartBoolExp {
|
|
|
32
37
|
createdAt?: DateTimeComparisonExp;
|
|
33
38
|
updatedAt?: DateTimeComparisonExp;
|
|
34
39
|
mediaType?: EnumComparisonExp<MediaType>;
|
|
40
|
+
resource?: StringComparisonExp;
|
|
41
|
+
storageType?: StringComparisonExp;
|
|
35
42
|
folder?: MediaFolderBoolExp;
|
|
36
43
|
lang?: LangBoolExp;
|
|
37
44
|
coverOf?: PostBoolExp;
|
|
@@ -40,10 +47,14 @@ export interface MediaBoolExp extends WebsitePartBoolExp {
|
|
|
40
47
|
productMediaPivots?: MediaOnProductBoolExp;
|
|
41
48
|
productAttacPivots?: AttachmentOnProductBoolExp;
|
|
42
49
|
website?: WebsiteBoolExp;
|
|
43
|
-
coverOfTheme?: ThemeBoolExp;
|
|
44
50
|
postCategory?: PostCategoryBoolExp;
|
|
45
51
|
usedByThemConfig?: ThemeConfigBoolExp;
|
|
46
52
|
pageMeta?: PageMetaBoolExp;
|
|
47
53
|
searchIndex?: SearchIndexBoolExp;
|
|
48
|
-
|
|
54
|
+
snapshot?: WebsiteSnapshotBoolExp;
|
|
55
|
+
coverOfComponent?: FrontComponentBoolExp;
|
|
56
|
+
coverOfSectionTemplate?: SectionTemplateBoolExp;
|
|
57
|
+
attachmentOfEnquiry?: EnquiryBoolExp;
|
|
58
|
+
coverOfTheme?: ThemeBoolExp;
|
|
59
|
+
owner?: UserBoolExp;
|
|
49
60
|
}
|
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
|
|
2
|
+
import { SoftableDistinctExp } from './SoftableDistinctExp';
|
|
2
3
|
export declare enum MediaDistinctEnum {
|
|
3
4
|
id = "id",
|
|
5
|
+
mediaRef = "mediaRef",
|
|
4
6
|
name = "name",
|
|
5
7
|
size = "size",
|
|
6
8
|
mimeType = "mimeType",
|
|
7
9
|
extName = "extName",
|
|
10
|
+
/**
|
|
11
|
+
* media file
|
|
12
|
+
*/
|
|
8
13
|
file = "file",
|
|
9
14
|
description = "description",
|
|
10
15
|
createdAt = "createdAt",
|
|
11
16
|
updatedAt = "updatedAt",
|
|
12
17
|
mediaType = "mediaType",
|
|
13
|
-
|
|
18
|
+
resource = "resource",
|
|
19
|
+
storageType = "storageType",
|
|
20
|
+
content = "content",
|
|
21
|
+
isDeleted = "isDeleted",
|
|
22
|
+
deletedAt = "deletedAt"
|
|
14
23
|
}
|
|
15
|
-
export type MediaDistinctExp = MediaDistinctEnum | WebsitePartDistinctExp;
|
|
24
|
+
export type MediaDistinctExp = MediaDistinctEnum | WebsitePartDistinctExp | SoftableDistinctExp;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Media } from './Media';
|
|
2
2
|
import { MediaType } from './MediaType';
|
|
3
|
-
import {
|
|
3
|
+
import { FileRefInput } from './FileRefInput';
|
|
4
4
|
import { MediaFolderInput } from './MediaFolderInput';
|
|
5
5
|
import { LangInput } from './LangInput';
|
|
6
6
|
import { PostInput } from './PostInput';
|
|
@@ -9,26 +9,36 @@ import { ProductCategoryInput } from './ProductCategoryInput';
|
|
|
9
9
|
import { MediaOnProductInput } from './MediaOnProductInput';
|
|
10
10
|
import { AttachmentOnProductInput } from './AttachmentOnProductInput';
|
|
11
11
|
import { WebsiteInput } from './WebsiteInput';
|
|
12
|
-
import { ThemeInput } from './ThemeInput';
|
|
13
12
|
import { PostCategoryInput } from './PostCategoryInput';
|
|
14
13
|
import { ThemeConfigInput } from './ThemeConfigInput';
|
|
15
14
|
import { PageMetaInput } from './PageMetaInput';
|
|
16
15
|
import { SearchIndexInput } from './SearchIndexInput';
|
|
17
|
-
import {
|
|
16
|
+
import { WebsiteSnapshotInput } from './WebsiteSnapshotInput';
|
|
17
|
+
import { FrontComponentInput } from './FrontComponentInput';
|
|
18
|
+
import { SectionTemplateInput } from './SectionTemplateInput';
|
|
19
|
+
import { EnquiryInput } from './EnquiryInput';
|
|
20
|
+
import { ThemeInput } from './ThemeInput';
|
|
18
21
|
import { SetHasMany } from '@rxdrag/entify-lib';
|
|
19
22
|
import { SetHasOne } from '@rxdrag/entify-lib';
|
|
20
23
|
import { WebsitePart } from './WebsitePart';
|
|
21
|
-
|
|
24
|
+
import { Softable } from './Softable';
|
|
25
|
+
export interface MediaInput extends WebsitePart, Softable {
|
|
22
26
|
id?: string | null;
|
|
27
|
+
mediaRef?: string;
|
|
23
28
|
name?: string;
|
|
24
29
|
size?: number;
|
|
25
30
|
mimeType?: string;
|
|
26
31
|
extName?: string;
|
|
27
|
-
|
|
32
|
+
/**
|
|
33
|
+
* media file
|
|
34
|
+
*/
|
|
35
|
+
file?: FileRefInput;
|
|
28
36
|
description?: string;
|
|
29
37
|
createdAt?: Date;
|
|
30
38
|
updatedAt?: Date;
|
|
31
39
|
mediaType?: MediaType;
|
|
40
|
+
resource?: string;
|
|
41
|
+
storageType?: string;
|
|
32
42
|
folder?: SetHasOne<MediaFolderInput>;
|
|
33
43
|
lang?: SetHasOne<LangInput>;
|
|
34
44
|
coverOf?: SetHasMany<PostInput>;
|
|
@@ -37,12 +47,16 @@ export interface MediaInput extends WebsitePart {
|
|
|
37
47
|
productMediaPivots?: SetHasMany<MediaOnProductInput>;
|
|
38
48
|
productAttacPivots?: SetHasMany<AttachmentOnProductInput>;
|
|
39
49
|
website?: SetHasOne<WebsiteInput>;
|
|
40
|
-
coverOfTheme?: SetHasMany<ThemeInput>;
|
|
41
50
|
postCategory?: SetHasOne<PostCategoryInput>;
|
|
42
51
|
usedByThemConfig?: SetHasMany<ThemeConfigInput>;
|
|
43
52
|
pageMeta?: SetHasMany<PageMetaInput>;
|
|
44
53
|
searchIndex?: SetHasMany<SearchIndexInput>;
|
|
45
|
-
|
|
54
|
+
snapshot?: SetHasMany<WebsiteSnapshotInput>;
|
|
55
|
+
coverOfComponent?: SetHasMany<FrontComponentInput>;
|
|
56
|
+
coverOfSectionTemplate?: SetHasMany<SectionTemplateInput>;
|
|
57
|
+
attachmentOfEnquiry?: SetHasOne<EnquiryInput>;
|
|
58
|
+
coverOfTheme?: SetHasOne<ThemeInput>;
|
|
59
|
+
owner?: SetHasOne<UserInput>;
|
|
46
60
|
}
|
|
47
61
|
export declare const mediaToInputCascade: (entity: Media) => MediaInput;
|
|
48
62
|
export declare const mediaToInput: (entity: Media) => MediaInput;
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import { OrderBy } from '@rxdrag/entify-lib';
|
|
2
2
|
import { WebsitePartOrderBy } from './WebsitePartOrderBy';
|
|
3
|
-
|
|
3
|
+
import { SoftableOrderBy } from './SoftableOrderBy';
|
|
4
|
+
export interface MediaOrderBy extends WebsitePartOrderBy, SoftableOrderBy {
|
|
4
5
|
id?: OrderBy;
|
|
6
|
+
mediaRef?: OrderBy;
|
|
5
7
|
name?: OrderBy;
|
|
6
8
|
size?: OrderBy;
|
|
7
9
|
mimeType?: OrderBy;
|
|
8
10
|
extName?: OrderBy;
|
|
11
|
+
/**
|
|
12
|
+
* media file
|
|
13
|
+
*/
|
|
9
14
|
file?: OrderBy;
|
|
10
15
|
description?: OrderBy;
|
|
11
16
|
createdAt?: OrderBy;
|
|
12
17
|
updatedAt?: OrderBy;
|
|
13
18
|
mediaType?: OrderBy;
|
|
19
|
+
resource?: OrderBy;
|
|
20
|
+
storageType?: OrderBy;
|
|
14
21
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageType } from './PageType';
|
|
2
2
|
import { PageMeta } from './PageMeta';
|
|
3
|
-
import {
|
|
3
|
+
import { ThemeBranch } from './ThemeBranch';
|
|
4
4
|
export declare const PageEntityName = "Page";
|
|
5
5
|
export declare const PageEntityLabel = "";
|
|
6
6
|
export interface Page {
|
|
@@ -19,5 +19,5 @@ export interface Page {
|
|
|
19
19
|
description?: string;
|
|
20
20
|
code?: string;
|
|
21
21
|
meta?: PageMeta;
|
|
22
|
-
theme?:
|
|
22
|
+
theme?: ThemeBranch;
|
|
23
23
|
}
|
|
@@ -4,7 +4,7 @@ import { StringComparisonExp } from './StringComparisonExp';
|
|
|
4
4
|
import { EnumComparisonExp } from './EnumComparisonExp';
|
|
5
5
|
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
6
6
|
import { PageMetaBoolExp } from './PageMetaBoolExp';
|
|
7
|
-
import {
|
|
7
|
+
import { ThemeBranchBoolExp } from './ThemeBranchBoolExp';
|
|
8
8
|
export interface PageBoolExp {
|
|
9
9
|
_and?: PageBoolExp[];
|
|
10
10
|
_or?: PageBoolExp[];
|
|
@@ -21,5 +21,5 @@ export interface PageBoolExp {
|
|
|
21
21
|
description?: StringComparisonExp;
|
|
22
22
|
code?: StringComparisonExp;
|
|
23
23
|
meta?: PageMetaBoolExp;
|
|
24
|
-
theme?:
|
|
24
|
+
theme?: ThemeBranchBoolExp;
|
|
25
25
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Page } from './Page';
|
|
2
2
|
import { PageType } from './PageType';
|
|
3
3
|
import { PageMetaInput } from './PageMetaInput';
|
|
4
|
-
import {
|
|
4
|
+
import { ThemeBranchInput } from './ThemeBranchInput';
|
|
5
5
|
import { SetHasOne } from '@rxdrag/entify-lib';
|
|
6
6
|
export interface PageInput {
|
|
7
7
|
id?: string | null;
|
|
@@ -19,7 +19,7 @@ export interface PageInput {
|
|
|
19
19
|
description?: string;
|
|
20
20
|
code?: string;
|
|
21
21
|
meta?: SetHasOne<PageMetaInput>;
|
|
22
|
-
theme?: SetHasOne<
|
|
22
|
+
theme?: SetHasOne<ThemeBranchInput>;
|
|
23
23
|
}
|
|
24
24
|
export declare const pageToInputCascade: (entity: Page) => PageInput;
|
|
25
25
|
export declare const pageToInput: (entity: Page) => PageInput;
|
|
@@ -50,5 +50,13 @@ export declare enum PageType {
|
|
|
50
50
|
/**
|
|
51
51
|
* label: undefined
|
|
52
52
|
*/
|
|
53
|
-
ProductList = "ProductList"
|
|
53
|
+
ProductList = "ProductList",
|
|
54
|
+
/**
|
|
55
|
+
* label: undefined
|
|
56
|
+
*/
|
|
57
|
+
AskForQuote = "AskForQuote",
|
|
58
|
+
/**
|
|
59
|
+
* label: undefined
|
|
60
|
+
*/
|
|
61
|
+
CustomizedApi = "CustomizedApi"
|
|
54
62
|
}
|
|
@@ -7,13 +7,14 @@ import { PostCategory } from './PostCategory';
|
|
|
7
7
|
import { Website } from './Website';
|
|
8
8
|
import { Aggregate } from './Aggregate';
|
|
9
9
|
import { Publishable } from './Publishable';
|
|
10
|
+
import { Softable } from './Softable';
|
|
10
11
|
export declare const PostEntityName = "Post";
|
|
11
12
|
export declare const PostEntityLabel = "\u6587\u7AE0";
|
|
12
13
|
/**
|
|
13
14
|
* 文章
|
|
14
15
|
*
|
|
15
16
|
*/
|
|
16
|
-
export interface Post extends Publishable {
|
|
17
|
+
export interface Post extends Publishable, Softable {
|
|
17
18
|
id?: string | null;
|
|
18
19
|
seqValue?: number;
|
|
19
20
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PublishableBoolExp } from './PublishableBoolExp';
|
|
2
|
+
import { SoftableBoolExp } from './SoftableBoolExp';
|
|
2
3
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
4
|
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
4
5
|
import { BooleanComparisonExp } from './BooleanComparisonExp';
|
|
@@ -14,7 +15,7 @@ import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
|
14
15
|
* 文章
|
|
15
16
|
*
|
|
16
17
|
*/
|
|
17
|
-
export interface PostBoolExp extends PublishableBoolExp {
|
|
18
|
+
export interface PostBoolExp extends PublishableBoolExp, SoftableBoolExp {
|
|
18
19
|
_and?: PostBoolExp[];
|
|
19
20
|
_or?: PostBoolExp[];
|
|
20
21
|
_not?: PostBoolExp;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PublishableDistinctExp } from './PublishableDistinctExp';
|
|
2
|
+
import { SoftableDistinctExp } from './SoftableDistinctExp';
|
|
2
3
|
export declare enum PostDistinctEnum {
|
|
3
4
|
id = "id",
|
|
4
5
|
seqValue = "seqValue",
|
|
@@ -15,6 +16,8 @@ export declare enum PostDistinctEnum {
|
|
|
15
16
|
updatedAt = "updatedAt",
|
|
16
17
|
content = "content",
|
|
17
18
|
slug = "slug",
|
|
18
|
-
description = "description"
|
|
19
|
+
description = "description",
|
|
20
|
+
isDeleted = "isDeleted",
|
|
21
|
+
deletedAt = "deletedAt"
|
|
19
22
|
}
|
|
20
|
-
export type PostDistinctExp = PostDistinctEnum | PublishableDistinctExp;
|
|
23
|
+
export type PostDistinctExp = PostDistinctEnum | PublishableDistinctExp | SoftableDistinctExp;
|
|
@@ -9,11 +9,12 @@ import { WebsiteInput } from './WebsiteInput';
|
|
|
9
9
|
import { SetHasMany } from '@rxdrag/entify-lib';
|
|
10
10
|
import { SetHasOne } from '@rxdrag/entify-lib';
|
|
11
11
|
import { Publishable } from './Publishable';
|
|
12
|
+
import { Softable } from './Softable';
|
|
12
13
|
/**
|
|
13
14
|
* 文章
|
|
14
15
|
*
|
|
15
16
|
*/
|
|
16
|
-
export interface PostInput extends Publishable {
|
|
17
|
+
export interface PostInput extends Publishable, Softable {
|
|
17
18
|
id?: string | null;
|
|
18
19
|
seqValue?: number;
|
|
19
20
|
/**
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { OrderBy } from '@rxdrag/entify-lib';
|
|
2
2
|
import { PublishableOrderBy } from './PublishableOrderBy';
|
|
3
|
+
import { SoftableOrderBy } from './SoftableOrderBy';
|
|
3
4
|
/**
|
|
4
5
|
* 文章
|
|
5
6
|
*
|
|
6
7
|
*/
|
|
7
|
-
export interface PostOrderBy extends PublishableOrderBy {
|
|
8
|
+
export interface PostOrderBy extends PublishableOrderBy, SoftableOrderBy {
|
|
8
9
|
id?: OrderBy;
|
|
9
10
|
seqValue?: OrderBy;
|
|
10
11
|
/**
|
|
@@ -4,13 +4,16 @@ import { MediaOnProduct } from './MediaOnProduct';
|
|
|
4
4
|
import { AttachmentOnProduct } from './AttachmentOnProduct';
|
|
5
5
|
import { Lang } from './Lang';
|
|
6
6
|
import { PageMeta } from './PageMeta';
|
|
7
|
+
import { FAQ } from './FAQ';
|
|
8
|
+
import { ProductRelatedPivot } from './ProductRelatedPivot';
|
|
7
9
|
import { User } from './User';
|
|
8
10
|
import { Website } from './Website';
|
|
9
11
|
import { Aggregate } from './Aggregate';
|
|
10
12
|
import { Publishable } from './Publishable';
|
|
13
|
+
import { Softable } from './Softable';
|
|
11
14
|
export declare const ProductEntityName = "Product";
|
|
12
15
|
export declare const ProductEntityLabel = "";
|
|
13
|
-
export interface Product extends Publishable {
|
|
16
|
+
export interface Product extends Publishable, Softable {
|
|
14
17
|
id?: string | null;
|
|
15
18
|
published?: boolean;
|
|
16
19
|
featured?: boolean;
|
|
@@ -34,9 +37,15 @@ export interface Product extends Publishable {
|
|
|
34
37
|
attachmentPivots?: AttachmentOnProduct[];
|
|
35
38
|
lang?: Lang;
|
|
36
39
|
meta?: PageMeta;
|
|
40
|
+
faqs?: FAQ[];
|
|
41
|
+
relatedPivots?: ProductRelatedPivot[];
|
|
37
42
|
creator?: User;
|
|
38
43
|
website?: Website;
|
|
44
|
+
relatedByPovit?: ProductRelatedPivot[];
|
|
39
45
|
tagsAggregate?: Aggregate;
|
|
40
46
|
mediaPivotsAggregate?: Aggregate;
|
|
41
47
|
attachmentPivotsAggregate?: Aggregate;
|
|
48
|
+
faqsAggregate?: Aggregate;
|
|
49
|
+
relatedPivotsAggregate?: Aggregate;
|
|
50
|
+
relatedByPovitAggregate?: Aggregate;
|
|
42
51
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PublishableBoolExp } from './PublishableBoolExp';
|
|
2
|
+
import { SoftableBoolExp } from './SoftableBoolExp';
|
|
2
3
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
4
|
import { BooleanComparisonExp } from './BooleanComparisonExp';
|
|
4
5
|
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
@@ -9,9 +10,11 @@ import { MediaOnProductBoolExp } from './MediaOnProductBoolExp';
|
|
|
9
10
|
import { AttachmentOnProductBoolExp } from './AttachmentOnProductBoolExp';
|
|
10
11
|
import { LangBoolExp } from './LangBoolExp';
|
|
11
12
|
import { PageMetaBoolExp } from './PageMetaBoolExp';
|
|
13
|
+
import { FAQBoolExp } from './FAQBoolExp';
|
|
14
|
+
import { ProductRelatedPivotBoolExp } from './ProductRelatedPivotBoolExp';
|
|
12
15
|
import { UserBoolExp } from './UserBoolExp';
|
|
13
16
|
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
14
|
-
export interface ProductBoolExp extends PublishableBoolExp {
|
|
17
|
+
export interface ProductBoolExp extends PublishableBoolExp, SoftableBoolExp {
|
|
15
18
|
_and?: ProductBoolExp[];
|
|
16
19
|
_or?: ProductBoolExp[];
|
|
17
20
|
_not?: ProductBoolExp;
|
|
@@ -32,6 +35,9 @@ export interface ProductBoolExp extends PublishableBoolExp {
|
|
|
32
35
|
attachmentPivots?: AttachmentOnProductBoolExp;
|
|
33
36
|
lang?: LangBoolExp;
|
|
34
37
|
meta?: PageMetaBoolExp;
|
|
38
|
+
faqs?: FAQBoolExp;
|
|
39
|
+
relatedPivots?: ProductRelatedPivotBoolExp;
|
|
35
40
|
creator?: UserBoolExp;
|
|
36
41
|
website?: WebsiteBoolExp;
|
|
42
|
+
relatedByPovit?: ProductRelatedPivotBoolExp;
|
|
37
43
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PublishableDistinctExp } from './PublishableDistinctExp';
|
|
2
|
+
import { SoftableDistinctExp } from './SoftableDistinctExp';
|
|
2
3
|
export declare enum ProductDistinctEnum {
|
|
3
4
|
id = "id",
|
|
4
5
|
published = "published",
|
|
@@ -25,6 +26,8 @@ export declare enum ProductDistinctEnum {
|
|
|
25
26
|
updatedAt = "updatedAt",
|
|
26
27
|
content = "content",
|
|
27
28
|
slug = "slug",
|
|
28
|
-
description = "description"
|
|
29
|
+
description = "description",
|
|
30
|
+
isDeleted = "isDeleted",
|
|
31
|
+
deletedAt = "deletedAt"
|
|
29
32
|
}
|
|
30
|
-
export type ProductDistinctExp = ProductDistinctEnum | PublishableDistinctExp;
|
|
33
|
+
export type ProductDistinctExp = ProductDistinctEnum | PublishableDistinctExp | SoftableDistinctExp;
|
|
@@ -5,12 +5,15 @@ import { MediaOnProductInput } from './MediaOnProductInput';
|
|
|
5
5
|
import { AttachmentOnProductInput } from './AttachmentOnProductInput';
|
|
6
6
|
import { LangInput } from './LangInput';
|
|
7
7
|
import { PageMetaInput } from './PageMetaInput';
|
|
8
|
+
import { FAQInput } from './FAQInput';
|
|
9
|
+
import { ProductRelatedPivotInput } from './ProductRelatedPivotInput';
|
|
8
10
|
import { UserInput } from './UserInput';
|
|
9
11
|
import { WebsiteInput } from './WebsiteInput';
|
|
10
12
|
import { SetHasMany } from '@rxdrag/entify-lib';
|
|
11
13
|
import { SetHasOne } from '@rxdrag/entify-lib';
|
|
12
14
|
import { Publishable } from './Publishable';
|
|
13
|
-
|
|
15
|
+
import { Softable } from './Softable';
|
|
16
|
+
export interface ProductInput extends Publishable, Softable {
|
|
14
17
|
id?: string | null;
|
|
15
18
|
published?: boolean;
|
|
16
19
|
featured?: boolean;
|
|
@@ -34,8 +37,11 @@ export interface ProductInput extends Publishable {
|
|
|
34
37
|
attachmentPivots?: SetHasMany<AttachmentOnProductInput>;
|
|
35
38
|
lang?: SetHasOne<LangInput>;
|
|
36
39
|
meta?: SetHasOne<PageMetaInput>;
|
|
40
|
+
faqs?: SetHasMany<FAQInput>;
|
|
41
|
+
relatedPivots?: SetHasMany<ProductRelatedPivotInput>;
|
|
37
42
|
creator?: SetHasOne<UserInput>;
|
|
38
43
|
website?: SetHasOne<WebsiteInput>;
|
|
44
|
+
relatedByPovit?: SetHasMany<ProductRelatedPivotInput>;
|
|
39
45
|
}
|
|
40
46
|
export declare const productToInputCascade: (entity: Product) => ProductInput;
|
|
41
47
|
export declare const productToInput: (entity: Product) => ProductInput;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { OrderBy } from '@rxdrag/entify-lib';
|
|
2
2
|
import { PublishableOrderBy } from './PublishableOrderBy';
|
|
3
|
-
|
|
3
|
+
import { SoftableOrderBy } from './SoftableOrderBy';
|
|
4
|
+
export interface ProductOrderBy extends PublishableOrderBy, SoftableOrderBy {
|
|
4
5
|
id?: OrderBy;
|
|
5
6
|
published?: OrderBy;
|
|
6
7
|
featured?: OrderBy;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Product } from './Product';
|
|
2
|
+
export declare const ProductRelatedPivotEntityName = "ProductRelatedPivot";
|
|
3
|
+
export declare const ProductRelatedPivotEntityLabel = "";
|
|
4
|
+
export interface ProductRelatedPivot {
|
|
5
|
+
id?: string | null;
|
|
6
|
+
seqValue?: number;
|
|
7
|
+
product?: Product;
|
|
8
|
+
relatedBy?: Product;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
2
|
+
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
3
|
+
import { ProductBoolExp } from './ProductBoolExp';
|
|
4
|
+
export interface ProductRelatedPivotBoolExp {
|
|
5
|
+
_and?: ProductRelatedPivotBoolExp[];
|
|
6
|
+
_or?: ProductRelatedPivotBoolExp[];
|
|
7
|
+
_not?: ProductRelatedPivotBoolExp;
|
|
8
|
+
id?: IdComparisonExp;
|
|
9
|
+
seqValue?: NumberComparisonExp;
|
|
10
|
+
product?: ProductBoolExp;
|
|
11
|
+
relatedBy?: ProductBoolExp;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ProductRelatedPivot } from './ProductRelatedPivot';
|
|
2
|
+
import { ProductInput } from './ProductInput';
|
|
3
|
+
import { SetHasOne } from '@rxdrag/entify-lib';
|
|
4
|
+
export interface ProductRelatedPivotInput {
|
|
5
|
+
id?: string | null;
|
|
6
|
+
seqValue?: number;
|
|
7
|
+
product?: SetHasOne<ProductInput>;
|
|
8
|
+
relatedBy?: SetHasOne<ProductInput>;
|
|
9
|
+
}
|
|
10
|
+
export declare const productRelatedPivotToInputCascade: (entity: ProductRelatedPivot) => ProductRelatedPivotInput;
|
|
11
|
+
export declare const productRelatedPivotToInput: (entity: ProductRelatedPivot) => ProductRelatedPivotInput;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RoleVariable } from './RoleVariable';
|
|
1
2
|
import { User } from './User';
|
|
2
3
|
import { Aggregate } from './Aggregate';
|
|
3
4
|
export declare const RoleEntityName = "Role";
|
|
@@ -9,6 +10,8 @@ export interface Role {
|
|
|
9
10
|
description?: string;
|
|
10
11
|
createdAt?: Date;
|
|
11
12
|
updatedAt?: Date;
|
|
13
|
+
variables?: RoleVariable[];
|
|
12
14
|
users?: User[];
|
|
15
|
+
variablesAggregate?: Aggregate;
|
|
13
16
|
usersAggregate?: Aggregate;
|
|
14
17
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
2
2
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
3
3
|
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
4
|
+
import { RoleVariableBoolExp } from './RoleVariableBoolExp';
|
|
4
5
|
import { UserBoolExp } from './UserBoolExp';
|
|
5
6
|
export interface RoleBoolExp {
|
|
6
7
|
_and?: RoleBoolExp[];
|
|
@@ -12,5 +13,6 @@ export interface RoleBoolExp {
|
|
|
12
13
|
description?: StringComparisonExp;
|
|
13
14
|
createdAt?: DateTimeComparisonExp;
|
|
14
15
|
updatedAt?: DateTimeComparisonExp;
|
|
16
|
+
variables?: RoleVariableBoolExp;
|
|
15
17
|
users?: UserBoolExp;
|
|
16
18
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Role } from './Role';
|
|
2
|
+
import { RoleVariableInput } from './RoleVariableInput';
|
|
2
3
|
import { UserInput } from './UserInput';
|
|
3
4
|
import { SetHasMany } from '@rxdrag/entify-lib';
|
|
4
5
|
export interface RoleInput {
|
|
@@ -8,6 +9,7 @@ export interface RoleInput {
|
|
|
8
9
|
description?: string;
|
|
9
10
|
createdAt?: Date;
|
|
10
11
|
updatedAt?: Date;
|
|
12
|
+
variables?: SetHasMany<RoleVariableInput>;
|
|
11
13
|
users?: SetHasMany<UserInput>;
|
|
12
14
|
}
|
|
13
15
|
export declare const roleToInputCascade: (entity: Role) => RoleInput;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VariableType } from './VariableType';
|
|
2
|
+
import { Role } from './Role';
|
|
3
|
+
export declare const RoleVariableEntityName = "RoleVariable";
|
|
4
|
+
export declare const RoleVariableEntityLabel = "";
|
|
5
|
+
export interface RoleVariable {
|
|
6
|
+
id?: string | null;
|
|
7
|
+
name?: string;
|
|
8
|
+
type?: VariableType;
|
|
9
|
+
entityName?: string;
|
|
10
|
+
whereExpression?: any;
|
|
11
|
+
field?: string;
|
|
12
|
+
role?: Role;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { VariableType } from './VariableType';
|
|
2
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
|
+
import { EnumComparisonExp } from './EnumComparisonExp';
|
|
5
|
+
import { RoleBoolExp } from './RoleBoolExp';
|
|
6
|
+
export interface RoleVariableBoolExp {
|
|
7
|
+
_and?: RoleVariableBoolExp[];
|
|
8
|
+
_or?: RoleVariableBoolExp[];
|
|
9
|
+
_not?: RoleVariableBoolExp;
|
|
10
|
+
id?: IdComparisonExp;
|
|
11
|
+
name?: StringComparisonExp;
|
|
12
|
+
type?: EnumComparisonExp<VariableType>;
|
|
13
|
+
entityName?: StringComparisonExp;
|
|
14
|
+
whereExpression?: unknown;
|
|
15
|
+
field?: StringComparisonExp;
|
|
16
|
+
role?: RoleBoolExp;
|
|
17
|
+
}
|