@rxdrag/rxcms-models 0.1.1 → 0.1.3
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/entries/abilityEntry.d.ts +2 -0
- package/dist/entries/customerEntry.d.ts +2 -0
- package/dist/entries/enquiryEntry.d.ts +2 -0
- package/dist/entries/index.d.ts +22 -0
- package/dist/entries/langEntry.d.ts +2 -0
- package/dist/entries/mediaEntry.d.ts +2 -0
- package/dist/entries/mediaFolderEntry.d.ts +2 -0
- package/dist/entries/pageEntry.d.ts +2 -0
- package/dist/entries/postCategoryEntry.d.ts +2 -0
- package/dist/entries/postEntry.d.ts +2 -0
- package/dist/entries/productCategoryEntry.d.ts +2 -0
- package/dist/entries/productEntry.d.ts +2 -0
- package/dist/entries/roleEntry.d.ts +2 -0
- package/dist/entries/slugEntry.d.ts +2 -0
- package/dist/entries/tagEntry.d.ts +2 -0
- package/dist/entries/templateCategoryEntry.d.ts +2 -0
- package/dist/entries/templateEntry.d.ts +2 -0
- package/dist/entries/themeEntry.d.ts +2 -0
- package/dist/entries/userEntry.d.ts +2 -0
- package/dist/entries/websiteEntry.d.ts +2 -0
- package/dist/entries/websiteMetaEntry.d.ts +2 -0
- package/dist/entries/websiteSettingsEntry.d.ts +2 -0
- package/dist/entries/websiteTypeEntry.d.ts +2 -0
- package/dist/fields/AbilityFields.d.ts +9 -0
- package/dist/fields/BaseEntityFields.d.ts +15 -0
- package/dist/fields/CustomerFields.d.ts +41 -0
- package/dist/fields/CustomizeMediaFields.d.ts +7 -0
- package/dist/fields/EnquiryFields.d.ts +19 -0
- package/dist/fields/LangFields.d.ts +32 -0
- package/dist/fields/MediaFields.d.ts +20 -0
- package/dist/fields/MediaFolderFields.d.ts +23 -0
- package/dist/fields/MultiLangableFields.d.ts +4 -0
- package/dist/fields/OgMetaFields.d.ts +9 -0
- package/dist/fields/PageFields.d.ts +31 -0
- package/dist/fields/PersonFields.d.ts +26 -0
- package/dist/fields/PostCategoryFields.d.ts +23 -0
- package/dist/fields/PostFields.d.ts +48 -0
- package/dist/fields/ProductCategoryFields.d.ts +23 -0
- package/dist/fields/ProductFields.d.ts +44 -0
- package/dist/fields/PublishableFields.d.ts +35 -0
- package/dist/fields/RoleFields.d.ts +9 -0
- package/dist/fields/SeoMetaFields.d.ts +6 -0
- package/dist/fields/SlugFields.d.ts +20 -0
- package/dist/fields/TagFields.d.ts +25 -0
- package/dist/fields/TemplateCategoryFields.d.ts +21 -0
- package/dist/fields/TemplateFields.d.ts +25 -0
- package/dist/fields/ThemeFields.d.ts +23 -0
- package/dist/fields/UserFields.d.ts +51 -0
- package/dist/fields/WebsiteContentFields.d.ts +29 -0
- package/dist/fields/WebsiteFields.d.ts +37 -0
- package/dist/fields/WebsiteMetaFields.d.ts +3 -0
- package/dist/fields/WebsitePartFields.d.ts +16 -0
- package/dist/fields/WebsiteSettingsFields.d.ts +20 -0
- package/dist/fields/WebsiteTypeFields.d.ts +26 -0
- package/dist/fields/WebsiteUserFields.d.ts +35 -0
- package/dist/fields/index.d.ts +32 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +1497 -1403
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/Ability.d.ts +12 -0
- package/dist/interfaces/AbilityBoolExp.d.ts +17 -0
- package/dist/interfaces/AbilityDistinctExp.d.ts +10 -0
- package/dist/interfaces/AbilityInput.d.ts +13 -0
- package/dist/interfaces/AbilityOrderBy.d.ts +10 -0
- package/dist/interfaces/AbilityType.d.ts +18 -0
- package/dist/interfaces/Aggregate.d.ts +4 -0
- package/dist/interfaces/BaseEntity.d.ts +15 -0
- package/dist/interfaces/BaseEntityBoolExp.d.ts +12 -0
- package/dist/interfaces/BaseEntityDistinctExp.d.ts +16 -0
- package/dist/interfaces/BaseEntityOrderBy.d.ts +16 -0
- package/dist/interfaces/BooleanComparisonExp.d.ts +5 -0
- package/dist/interfaces/ComponentType.d.ts +34 -0
- package/dist/interfaces/Customer.d.ts +11 -0
- package/dist/interfaces/CustomerBoolExp.d.ts +11 -0
- package/dist/interfaces/CustomerDistinctExp.d.ts +42 -0
- package/dist/interfaces/CustomerInput.d.ts +11 -0
- package/dist/interfaces/CustomerOrderBy.d.ts +6 -0
- package/dist/interfaces/CustomizeMedia.d.ts +7 -0
- package/dist/interfaces/CustomizeMediaBoolExp.d.ts +9 -0
- package/dist/interfaces/CustomizeMediaDistinctExp.d.ts +8 -0
- package/dist/interfaces/CustomizeMediaOrderBy.d.ts +8 -0
- package/dist/interfaces/DateTimeComparisonExp.d.ts +11 -0
- package/dist/interfaces/Enquiry.d.ts +10 -0
- package/dist/interfaces/EnquiryBoolExp.d.ts +13 -0
- package/dist/interfaces/EnquiryDistinctExp.d.ts +20 -0
- package/dist/interfaces/EnquiryInput.d.ts +12 -0
- package/dist/interfaces/EnquiryOrderBy.d.ts +7 -0
- package/dist/interfaces/EnumComparisonExp.d.ts +8 -0
- package/dist/interfaces/ExtendField.d.ts +8 -0
- package/dist/interfaces/ExtendFieldType.d.ts +22 -0
- package/dist/interfaces/FileRef.d.ts +5 -0
- package/dist/interfaces/FormSettings.d.ts +4 -0
- package/dist/interfaces/IdComparisonExp.d.ts +11 -0
- package/dist/interfaces/Lang.d.ts +30 -0
- package/dist/interfaces/LangBoolExp.d.ts +18 -0
- package/dist/interfaces/LangDistinctExp.d.ts +34 -0
- package/dist/interfaces/LangInput.d.ts +31 -0
- package/dist/interfaces/LangOrderBy.d.ts +29 -0
- package/dist/interfaces/Media.d.ts +26 -0
- package/dist/interfaces/MediaAddon.d.ts +4 -0
- package/dist/interfaces/MediaBoolExp.d.ts +27 -0
- package/dist/interfaces/MediaDistinctExp.d.ts +18 -0
- package/dist/interfaces/MediaFolder.d.ts +19 -0
- package/dist/interfaces/MediaFolderBoolExp.d.ts +20 -0
- package/dist/interfaces/MediaFolderDistinctExp.d.ts +20 -0
- package/dist/interfaces/MediaFolderInput.d.ts +19 -0
- package/dist/interfaces/MediaFolderOrderBy.d.ts +11 -0
- package/dist/interfaces/MediaInput.d.ts +27 -0
- package/dist/interfaces/MediaOrderBy.d.ts +14 -0
- package/dist/interfaces/MediaType.d.ts +14 -0
- package/dist/interfaces/MultiLangable.d.ts +4 -0
- package/dist/interfaces/MultiLangableBoolExp.d.ts +9 -0
- package/dist/interfaces/MultiLangableDistinctExp.d.ts +5 -0
- package/dist/interfaces/MultiLangableOrderBy.d.ts +5 -0
- package/dist/interfaces/NumberComparisonExp.d.ts +12 -0
- package/dist/interfaces/OgMeta.d.ts +9 -0
- package/dist/interfaces/OgMetaBoolExp.d.ts +14 -0
- package/dist/interfaces/OgMetaDistinctExp.d.ts +10 -0
- package/dist/interfaces/OgMetaOrderBy.d.ts +10 -0
- package/dist/interfaces/Page.d.ts +15 -0
- package/dist/interfaces/PageBoolExp.d.ts +15 -0
- package/dist/interfaces/PageDistinctExp.d.ts +32 -0
- package/dist/interfaces/PageInput.d.ts +17 -0
- package/dist/interfaces/PageOrderBy.d.ts +12 -0
- package/dist/interfaces/Person.d.ts +26 -0
- package/dist/interfaces/PersonBoolExp.d.ts +19 -0
- package/dist/interfaces/PersonDistinctExp.d.ts +27 -0
- package/dist/interfaces/PersonOrderBy.d.ts +27 -0
- package/dist/interfaces/Post.d.ts +29 -0
- package/dist/interfaces/PostBoolExp.d.ts +29 -0
- package/dist/interfaces/PostCategory.d.ts +19 -0
- package/dist/interfaces/PostCategoryBoolExp.d.ts +20 -0
- package/dist/interfaces/PostCategoryDistinctExp.d.ts +20 -0
- package/dist/interfaces/PostCategoryInput.d.ts +19 -0
- package/dist/interfaces/PostCategoryOrderBy.d.ts +11 -0
- package/dist/interfaces/PostDistinctExp.d.ts +44 -0
- package/dist/interfaces/PostInput.d.ts +30 -0
- package/dist/interfaces/PostOrderBy.d.ts +16 -0
- package/dist/interfaces/PostSettings.d.ts +5 -0
- package/dist/interfaces/Product.d.ts +22 -0
- package/dist/interfaces/ProductBoolExp.d.ts +22 -0
- package/dist/interfaces/ProductCategory.d.ts +15 -0
- package/dist/interfaces/ProductCategoryBoolExp.d.ts +16 -0
- package/dist/interfaces/ProductCategoryDistinctExp.d.ts +20 -0
- package/dist/interfaces/ProductCategoryInput.d.ts +15 -0
- package/dist/interfaces/ProductCategoryOrderBy.d.ts +7 -0
- package/dist/interfaces/ProductDistinctExp.d.ts +39 -0
- package/dist/interfaces/ProductInput.d.ts +22 -0
- package/dist/interfaces/ProductOrderBy.d.ts +7 -0
- package/dist/interfaces/ProductSettings.d.ts +5 -0
- package/dist/interfaces/Publishable.d.ts +11 -0
- package/dist/interfaces/PublishableBoolExp.d.ts +14 -0
- package/dist/interfaces/PublishableDistinctExp.d.ts +37 -0
- package/dist/interfaces/PublishableOrderBy.d.ts +11 -0
- package/dist/interfaces/PublishableStatus.d.ts +14 -0
- package/dist/interfaces/Role.d.ts +13 -0
- package/dist/interfaces/RoleBoolExp.d.ts +15 -0
- package/dist/interfaces/RoleDistinctExp.d.ts +8 -0
- package/dist/interfaces/RoleInput.d.ts +13 -0
- package/dist/interfaces/RoleOrderBy.d.ts +8 -0
- package/dist/interfaces/SeoMeta.d.ts +6 -0
- package/dist/interfaces/SeoMetaBoolExp.d.ts +11 -0
- package/dist/interfaces/SeoMetaDistinctExp.d.ts +7 -0
- package/dist/interfaces/SeoMetaOrderBy.d.ts +7 -0
- package/dist/interfaces/Slug.d.ts +13 -0
- package/dist/interfaces/SlugBoolExp.d.ts +16 -0
- package/dist/interfaces/SlugDistinctExp.d.ts +19 -0
- package/dist/interfaces/SlugInput.d.ts +15 -0
- package/dist/interfaces/SlugOrderBy.d.ts +6 -0
- package/dist/interfaces/StringComparisonExp.d.ts +18 -0
- package/dist/interfaces/Tag.d.ts +22 -0
- package/dist/interfaces/TagBoolExp.d.ts +19 -0
- package/dist/interfaces/TagDistinctExp.d.ts +23 -0
- package/dist/interfaces/TagInput.d.ts +21 -0
- package/dist/interfaces/TagOrderBy.d.ts +14 -0
- package/dist/interfaces/Template.d.ts +18 -0
- package/dist/interfaces/TemplateBoolExp.d.ts +20 -0
- package/dist/interfaces/TemplateCategory.d.ts +14 -0
- package/dist/interfaces/TemplateCategoryBoolExp.d.ts +16 -0
- package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +20 -0
- package/dist/interfaces/TemplateCategoryInput.d.ts +15 -0
- package/dist/interfaces/TemplateCategoryOrderBy.d.ts +7 -0
- package/dist/interfaces/TemplateDistinctExp.d.ts +25 -0
- package/dist/interfaces/TemplateInput.d.ts +20 -0
- package/dist/interfaces/TemplateOrderBy.d.ts +12 -0
- package/dist/interfaces/TemplateType.d.ts +34 -0
- package/dist/interfaces/Theme.d.ts +17 -0
- package/dist/interfaces/ThemeBoolExp.d.ts +17 -0
- package/dist/interfaces/ThemeDistinctExp.d.ts +21 -0
- package/dist/interfaces/ThemeInput.d.ts +16 -0
- package/dist/interfaces/ThemeOrderBy.d.ts +8 -0
- package/dist/interfaces/ThemeSettings.d.ts +8 -0
- package/dist/interfaces/User.d.ts +29 -0
- package/dist/interfaces/UserBoolExp.d.ts +29 -0
- package/dist/interfaces/UserDistinctExp.d.ts +43 -0
- package/dist/interfaces/UserInput.d.ts +27 -0
- package/dist/interfaces/UserOrderBy.d.ts +12 -0
- package/dist/interfaces/UserType.d.ts +14 -0
- package/dist/interfaces/WebSiteUserBoolExp.d.ts +14 -0
- package/dist/interfaces/WebSiteUserDistinctExp.d.ts +37 -0
- package/dist/interfaces/WebSiteUserOrderBy.d.ts +14 -0
- package/dist/interfaces/Website.d.ts +48 -0
- package/dist/interfaces/WebsiteBoolExp.d.ts +29 -0
- package/dist/interfaces/WebsiteContent.d.ts +14 -0
- package/dist/interfaces/WebsiteContentBoolExp.d.ts +19 -0
- package/dist/interfaces/WebsiteContentDistinctExp.d.ts +34 -0
- package/dist/interfaces/WebsiteContentOrderBy.d.ts +15 -0
- package/dist/interfaces/WebsiteDistinctExp.d.ts +32 -0
- package/dist/interfaces/WebsiteInput.d.ts +49 -0
- package/dist/interfaces/WebsiteMeta.d.ts +5 -0
- package/dist/interfaces/WebsiteMetaBoolExp.d.ts +7 -0
- package/dist/interfaces/WebsiteMetaDistinctExp.d.ts +4 -0
- package/dist/interfaces/WebsiteMetaInput.d.ts +6 -0
- package/dist/interfaces/WebsiteMetaOrderBy.d.ts +4 -0
- package/dist/interfaces/WebsiteOrderBy.d.ts +36 -0
- package/dist/interfaces/WebsitePart.d.ts +5 -0
- package/dist/interfaces/WebsitePartBoolExp.d.ts +10 -0
- package/dist/interfaces/WebsitePartDistinctExp.d.ts +18 -0
- package/dist/interfaces/WebsitePartOrderBy.d.ts +6 -0
- package/dist/interfaces/WebsiteSettings.d.ts +10 -0
- package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +10 -0
- package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +22 -0
- package/dist/interfaces/WebsiteSettingsInput.d.ts +11 -0
- package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +9 -0
- package/dist/interfaces/WebsiteType.d.ts +35 -0
- package/dist/interfaces/WebsiteTypeBoolExp.d.ts +27 -0
- package/dist/interfaces/WebsiteTypeDistinctExp.d.ts +25 -0
- package/dist/interfaces/WebsiteTypeInput.d.ts +35 -0
- package/dist/interfaces/WebsiteTypeOrderBy.d.ts +29 -0
- package/dist/interfaces/WebsiteTypeStatus.d.ts +10 -0
- package/dist/interfaces/WebsiteUser.d.ts +14 -0
- package/dist/interfaces/index.d.ts +134 -0
- package/package.json +4 -4
- package/dist/apis/BaseService.d.ts +0 -18
- package/dist/apis/RxcmsEnquiry.d.ts +0 -18
- package/dist/apis/RxcmsLang.d.ts +0 -18
- package/dist/apis/RxcmsMeta.d.ts +0 -18
- package/dist/apis/RxcmsNavigation.d.ts +0 -18
- package/dist/apis/RxcmsPage.d.ts +0 -18
- package/dist/apis/RxcmsPost.d.ts +0 -18
- package/dist/apis/RxcmsProduct.d.ts +0 -18
- package/dist/apis/RxcmsSlug.d.ts +0 -18
- package/dist/apis/RxcmsTemplate.d.ts +0 -18
- package/dist/apis/RxcmsTemplateCategory.d.ts +0 -18
- package/dist/apis/RxcmsTheme.d.ts +0 -18
- package/dist/apis/RxcmsThemeTemplate.d.ts +0 -18
- package/dist/apis/RxcmsUser.d.ts +0 -18
- package/dist/apis/RxcmsWebsite.d.ts +0 -18
- package/dist/apis/RxcmsWebsiteSettings.d.ts +0 -18
- package/dist/apis/RxcmsWebsiteType.d.ts +0 -18
- package/dist/apis/index.d.ts +0 -17
- package/dist/entity-fields/MapObjectFields.d.ts +0 -4
- package/dist/entity-fields/RelatedObjectFields.d.ts +0 -6
- package/dist/entity-fields/RxcmsEnquiryFields.d.ts +0 -17
- package/dist/entity-fields/RxcmsLangFields.d.ts +0 -12
- package/dist/entity-fields/RxcmsMetaFields.d.ts +0 -13
- package/dist/entity-fields/RxcmsNavigationFields.d.ts +0 -13
- package/dist/entity-fields/RxcmsPageFields.d.ts +0 -15
- package/dist/entity-fields/RxcmsPostFields.d.ts +0 -19
- package/dist/entity-fields/RxcmsProductFields.d.ts +0 -20
- package/dist/entity-fields/RxcmsSlugFields.d.ts +0 -13
- package/dist/entity-fields/RxcmsTemplateCategoryFields.d.ts +0 -11
- package/dist/entity-fields/RxcmsTemplateFields.d.ts +0 -14
- package/dist/entity-fields/RxcmsThemeFields.d.ts +0 -13
- package/dist/entity-fields/RxcmsThemeTemplateFields.d.ts +0 -14
- package/dist/entity-fields/RxcmsUserFields.d.ts +0 -20
- package/dist/entity-fields/RxcmsWebUserFields.d.ts +0 -20
- package/dist/entity-fields/RxcmsWebsiteFields.d.ts +0 -16
- package/dist/entity-fields/RxcmsWebsiteSettingsFields.d.ts +0 -12
- package/dist/entity-fields/RxcmsWebsiteTypeFields.d.ts +0 -15
- package/dist/entity-fields/UserInfoDtoFields.d.ts +0 -10
- package/dist/entity-fields/index.d.ts +0 -20
- package/dist/entity-interfaces/MapObject.d.ts +0 -6
- package/dist/entity-interfaces/RelatedObject.d.ts +0 -9
- package/dist/entity-interfaces/RxcmsEnquiry.d.ts +0 -22
- package/dist/entity-interfaces/RxcmsLang.d.ts +0 -14
- package/dist/entity-interfaces/RxcmsMeta.d.ts +0 -15
- package/dist/entity-interfaces/RxcmsNavigation.d.ts +0 -18
- package/dist/entity-interfaces/RxcmsPage.d.ts +0 -17
- package/dist/entity-interfaces/RxcmsPost.d.ts +0 -24
- package/dist/entity-interfaces/RxcmsProduct.d.ts +0 -25
- package/dist/entity-interfaces/RxcmsSlug.d.ts +0 -15
- package/dist/entity-interfaces/RxcmsTemplate.d.ts +0 -17
- package/dist/entity-interfaces/RxcmsTemplateCategory.d.ts +0 -13
- package/dist/entity-interfaces/RxcmsTheme.d.ts +0 -17
- package/dist/entity-interfaces/RxcmsThemeTemplate.d.ts +0 -17
- package/dist/entity-interfaces/RxcmsUser.d.ts +0 -22
- package/dist/entity-interfaces/RxcmsWebUser.d.ts +0 -22
- package/dist/entity-interfaces/RxcmsWebsite.d.ts +0 -19
- package/dist/entity-interfaces/RxcmsWebsiteSettings.d.ts +0 -14
- package/dist/entity-interfaces/RxcmsWebsiteType.d.ts +0 -17
- package/dist/entity-interfaces/UserInfoDto.d.ts +0 -12
- package/dist/entity-interfaces/index.d.ts +0 -20
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AbilityType } from './AbilityType';
|
|
2
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
|
+
import { BooleanComparisonExp } from './BooleanComparisonExp';
|
|
5
|
+
import { EnumComparisonExp } from './EnumComparisonExp';
|
|
6
|
+
export interface AbilityBoolExp {
|
|
7
|
+
_and?: AbilityBoolExp[];
|
|
8
|
+
_or?: AbilityBoolExp[];
|
|
9
|
+
_not?: AbilityBoolExp;
|
|
10
|
+
id?: IdComparisonExp;
|
|
11
|
+
entityUuid?: StringComparisonExp;
|
|
12
|
+
columnUuid?: StringComparisonExp;
|
|
13
|
+
can?: BooleanComparisonExp;
|
|
14
|
+
expression?: StringComparisonExp;
|
|
15
|
+
abilityType?: EnumComparisonExp<AbilityType>;
|
|
16
|
+
roleId?: IdComparisonExp;
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum AbilityDistinctEnum {
|
|
2
|
+
id = "id",
|
|
3
|
+
entityUuid = "entityUuid",
|
|
4
|
+
columnUuid = "columnUuid",
|
|
5
|
+
can = "can",
|
|
6
|
+
expression = "expression",
|
|
7
|
+
abilityType = "abilityType",
|
|
8
|
+
roleId = "roleId"
|
|
9
|
+
}
|
|
10
|
+
export type AbilityDistinctExp = AbilityDistinctEnum;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Ability } from './Ability';
|
|
2
|
+
import { AbilityType } from './AbilityType';
|
|
3
|
+
export interface AbilityInput {
|
|
4
|
+
id?: string;
|
|
5
|
+
entityUuid?: string;
|
|
6
|
+
columnUuid?: string;
|
|
7
|
+
can?: boolean;
|
|
8
|
+
expression?: string;
|
|
9
|
+
abilityType?: AbilityType;
|
|
10
|
+
roleId?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const abilityToInputCascade: (entity: Ability) => AbilityInput;
|
|
13
|
+
export declare const abilityToInput: (entity: Ability) => AbilityInput;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum AbilityType {
|
|
2
|
+
/**
|
|
3
|
+
* label: undefined
|
|
4
|
+
*/
|
|
5
|
+
create = "create",
|
|
6
|
+
/**
|
|
7
|
+
* label: undefined
|
|
8
|
+
*/
|
|
9
|
+
read = "read",
|
|
10
|
+
/**
|
|
11
|
+
* label: undefined
|
|
12
|
+
*/
|
|
13
|
+
update = "update",
|
|
14
|
+
/**
|
|
15
|
+
* label: undefined
|
|
16
|
+
*/
|
|
17
|
+
delete = "delete"
|
|
18
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
2
|
+
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
3
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
|
+
export interface BaseEntityBoolExp {
|
|
5
|
+
_and?: BaseEntityBoolExp[];
|
|
6
|
+
_or?: BaseEntityBoolExp[];
|
|
7
|
+
_not?: BaseEntityBoolExp;
|
|
8
|
+
id?: IdComparisonExp;
|
|
9
|
+
createdAt?: DateTimeComparisonExp;
|
|
10
|
+
updatedAt?: DateTimeComparisonExp;
|
|
11
|
+
remark?: StringComparisonExp;
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum BaseEntityDistinctEnum {
|
|
2
|
+
id = "id",
|
|
3
|
+
/**
|
|
4
|
+
* 创建时间
|
|
5
|
+
*/
|
|
6
|
+
createdAt = "createdAt",
|
|
7
|
+
/**
|
|
8
|
+
* 更新时间
|
|
9
|
+
*/
|
|
10
|
+
updatedAt = "updatedAt",
|
|
11
|
+
/**
|
|
12
|
+
* 备注
|
|
13
|
+
*/
|
|
14
|
+
remark = "remark"
|
|
15
|
+
}
|
|
16
|
+
export type BaseEntityDistinctExp = BaseEntityDistinctEnum;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare enum ComponentType {
|
|
2
|
+
/**
|
|
3
|
+
* label: undefined
|
|
4
|
+
*/
|
|
5
|
+
Input = "Input",
|
|
6
|
+
/**
|
|
7
|
+
* label: undefined
|
|
8
|
+
*/
|
|
9
|
+
Textarea = "Textarea",
|
|
10
|
+
/**
|
|
11
|
+
* label: undefined
|
|
12
|
+
*/
|
|
13
|
+
Select = "Select",
|
|
14
|
+
/**
|
|
15
|
+
* label: undefined
|
|
16
|
+
*/
|
|
17
|
+
Checkbox = "Checkbox",
|
|
18
|
+
/**
|
|
19
|
+
* label: undefined
|
|
20
|
+
*/
|
|
21
|
+
Radio = "Radio",
|
|
22
|
+
/**
|
|
23
|
+
* label: undefined
|
|
24
|
+
*/
|
|
25
|
+
DatePicker = "DatePicker",
|
|
26
|
+
/**
|
|
27
|
+
* label: undefined
|
|
28
|
+
*/
|
|
29
|
+
Switch = "Switch",
|
|
30
|
+
/**
|
|
31
|
+
* label: undefined
|
|
32
|
+
*/
|
|
33
|
+
RichText = "RichText"
|
|
34
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Enquiry } from './Enquiry';
|
|
2
|
+
import { Aggregate } from './Aggregate';
|
|
3
|
+
import { WebsitePart } from './WebsitePart';
|
|
4
|
+
import { Person } from './Person';
|
|
5
|
+
export declare const CustomerEntityName = "Customer";
|
|
6
|
+
export declare const CustomerEntityLabel = "";
|
|
7
|
+
export interface Customer extends WebsitePart, Person {
|
|
8
|
+
id?: string;
|
|
9
|
+
enquires?: Enquiry[];
|
|
10
|
+
enquiresAggregate?: Aggregate;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
|
+
import { PersonBoolExp } from './PersonBoolExp';
|
|
3
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
4
|
+
import { EnquiryBoolExp } from './EnquiryBoolExp';
|
|
5
|
+
export interface CustomerBoolExp extends WebsitePartBoolExp, PersonBoolExp {
|
|
6
|
+
_and?: CustomerBoolExp[];
|
|
7
|
+
_or?: CustomerBoolExp[];
|
|
8
|
+
_not?: CustomerBoolExp;
|
|
9
|
+
id?: IdComparisonExp;
|
|
10
|
+
enquires?: EnquiryBoolExp;
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
|
|
2
|
+
import { PersonDistinctExp } from './PersonDistinctExp';
|
|
3
|
+
export declare enum CustomerDistinctEnum {
|
|
4
|
+
id = "id",
|
|
5
|
+
websiteId = "websiteId",
|
|
6
|
+
/**
|
|
7
|
+
* 创建时间
|
|
8
|
+
*/
|
|
9
|
+
createdAt = "createdAt",
|
|
10
|
+
/**
|
|
11
|
+
* 更新时间
|
|
12
|
+
*/
|
|
13
|
+
updatedAt = "updatedAt",
|
|
14
|
+
/**
|
|
15
|
+
* 备注
|
|
16
|
+
*/
|
|
17
|
+
remark = "remark",
|
|
18
|
+
/**
|
|
19
|
+
* 邮箱
|
|
20
|
+
*/
|
|
21
|
+
email = "email",
|
|
22
|
+
/**
|
|
23
|
+
* 电话
|
|
24
|
+
*/
|
|
25
|
+
tel = "tel",
|
|
26
|
+
/**
|
|
27
|
+
* 电话2
|
|
28
|
+
*/
|
|
29
|
+
tel2 = "tel2",
|
|
30
|
+
name = "name",
|
|
31
|
+
mobile = "mobile",
|
|
32
|
+
whatsApp = "whatsApp",
|
|
33
|
+
linkedIn = "linkedIn",
|
|
34
|
+
twitter = "twitter",
|
|
35
|
+
facebook = "facebook",
|
|
36
|
+
instagram = "instagram",
|
|
37
|
+
/**
|
|
38
|
+
* 简介
|
|
39
|
+
*/
|
|
40
|
+
summary = "summary"
|
|
41
|
+
}
|
|
42
|
+
export type CustomerDistinctExp = CustomerDistinctEnum | WebsitePartDistinctExp | PersonDistinctExp;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Customer } from './Customer';
|
|
2
|
+
import { EnquiryInput } from './EnquiryInput';
|
|
3
|
+
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
4
|
+
import { WebsitePart } from './WebsitePart';
|
|
5
|
+
import { Person } from './Person';
|
|
6
|
+
export interface CustomerInput extends WebsitePart, Person {
|
|
7
|
+
id?: string;
|
|
8
|
+
enquires?: SetHasMany<EnquiryInput>;
|
|
9
|
+
}
|
|
10
|
+
export declare const customerToInputCascade: (entity: Customer) => CustomerInput;
|
|
11
|
+
export declare const customerToInput: (entity: Customer) => CustomerInput;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
2
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
3
|
+
export interface CustomizeMediaBoolExp {
|
|
4
|
+
_and?: CustomizeMediaBoolExp[];
|
|
5
|
+
_or?: CustomizeMediaBoolExp[];
|
|
6
|
+
_not?: CustomizeMediaBoolExp;
|
|
7
|
+
id?: IdComparisonExp;
|
|
8
|
+
websiteId?: StringComparisonExp;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Customer } from './Customer';
|
|
2
|
+
import { WebsitePart } from './WebsitePart';
|
|
3
|
+
export declare const EnquiryEntityName = "Enquiry";
|
|
4
|
+
export declare const EnquiryEntityLabel = "";
|
|
5
|
+
export interface Enquiry extends WebsitePart {
|
|
6
|
+
id?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
content?: string;
|
|
9
|
+
customer?: Customer;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
|
+
import { CustomerBoolExp } from './CustomerBoolExp';
|
|
5
|
+
export interface EnquiryBoolExp extends WebsitePartBoolExp {
|
|
6
|
+
_and?: EnquiryBoolExp[];
|
|
7
|
+
_or?: EnquiryBoolExp[];
|
|
8
|
+
_not?: EnquiryBoolExp;
|
|
9
|
+
id?: IdComparisonExp;
|
|
10
|
+
title?: StringComparisonExp;
|
|
11
|
+
content?: StringComparisonExp;
|
|
12
|
+
customer?: CustomerBoolExp;
|
|
13
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
|
|
2
|
+
export declare enum EnquiryDistinctEnum {
|
|
3
|
+
id = "id",
|
|
4
|
+
title = "title",
|
|
5
|
+
content = "content",
|
|
6
|
+
websiteId = "websiteId",
|
|
7
|
+
/**
|
|
8
|
+
* 创建时间
|
|
9
|
+
*/
|
|
10
|
+
createdAt = "createdAt",
|
|
11
|
+
/**
|
|
12
|
+
* 更新时间
|
|
13
|
+
*/
|
|
14
|
+
updatedAt = "updatedAt",
|
|
15
|
+
/**
|
|
16
|
+
* 备注
|
|
17
|
+
*/
|
|
18
|
+
remark = "remark"
|
|
19
|
+
}
|
|
20
|
+
export type EnquiryDistinctExp = EnquiryDistinctEnum | WebsitePartDistinctExp;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Enquiry } from './Enquiry';
|
|
2
|
+
import { CustomerInput } from './CustomerInput';
|
|
3
|
+
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
4
|
+
import { WebsitePart } from './WebsitePart';
|
|
5
|
+
export interface EnquiryInput extends WebsitePart {
|
|
6
|
+
id?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
content?: string;
|
|
9
|
+
customer?: SetHasOne<CustomerInput>;
|
|
10
|
+
}
|
|
11
|
+
export declare const enquiryToInputCascade: (entity: Enquiry) => EnquiryInput;
|
|
12
|
+
export declare const enquiryToInput: (entity: Enquiry) => EnquiryInput;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare enum ExtendFieldType {
|
|
2
|
+
/**
|
|
3
|
+
* label: undefined
|
|
4
|
+
*/
|
|
5
|
+
String = "String",
|
|
6
|
+
/**
|
|
7
|
+
* label: undefined
|
|
8
|
+
*/
|
|
9
|
+
Number = "Number",
|
|
10
|
+
/**
|
|
11
|
+
* label: undefined
|
|
12
|
+
*/
|
|
13
|
+
Boolean = "Boolean",
|
|
14
|
+
/**
|
|
15
|
+
* label: undefined
|
|
16
|
+
*/
|
|
17
|
+
Json = "Json",
|
|
18
|
+
/**
|
|
19
|
+
* label: undefined
|
|
20
|
+
*/
|
|
21
|
+
Date = "Date"
|
|
22
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { WebsitePart } from './WebsitePart';
|
|
2
|
+
export declare const LangEntityName = "Lang";
|
|
3
|
+
export declare const LangEntityLabel = "\u8BED\u8A00";
|
|
4
|
+
/**
|
|
5
|
+
* 语言
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export interface Lang extends WebsitePart {
|
|
9
|
+
id?: string;
|
|
10
|
+
/**
|
|
11
|
+
* 缩写
|
|
12
|
+
*/
|
|
13
|
+
abbr?: string;
|
|
14
|
+
/**
|
|
15
|
+
* 英文名称
|
|
16
|
+
*/
|
|
17
|
+
enName?: string;
|
|
18
|
+
/**
|
|
19
|
+
* 本地名称
|
|
20
|
+
*/
|
|
21
|
+
localName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* 国旗图标
|
|
24
|
+
*/
|
|
25
|
+
icon?: string;
|
|
26
|
+
/**
|
|
27
|
+
* 备注
|
|
28
|
+
*/
|
|
29
|
+
remark?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
|
+
/**
|
|
5
|
+
* 语言
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export interface LangBoolExp extends WebsitePartBoolExp {
|
|
9
|
+
_and?: LangBoolExp[];
|
|
10
|
+
_or?: LangBoolExp[];
|
|
11
|
+
_not?: LangBoolExp;
|
|
12
|
+
id?: IdComparisonExp;
|
|
13
|
+
abbr?: StringComparisonExp;
|
|
14
|
+
enName?: StringComparisonExp;
|
|
15
|
+
localName?: StringComparisonExp;
|
|
16
|
+
icon?: StringComparisonExp;
|
|
17
|
+
remark?: StringComparisonExp;
|
|
18
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
|
|
2
|
+
export declare enum LangDistinctEnum {
|
|
3
|
+
id = "id",
|
|
4
|
+
/**
|
|
5
|
+
* 缩写
|
|
6
|
+
*/
|
|
7
|
+
abbr = "abbr",
|
|
8
|
+
/**
|
|
9
|
+
* 英文名称
|
|
10
|
+
*/
|
|
11
|
+
enName = "enName",
|
|
12
|
+
/**
|
|
13
|
+
* 本地名称
|
|
14
|
+
*/
|
|
15
|
+
localName = "localName",
|
|
16
|
+
/**
|
|
17
|
+
* 国旗图标
|
|
18
|
+
*/
|
|
19
|
+
icon = "icon",
|
|
20
|
+
/**
|
|
21
|
+
* 备注
|
|
22
|
+
*/
|
|
23
|
+
remark = "remark",
|
|
24
|
+
websiteId = "websiteId",
|
|
25
|
+
/**
|
|
26
|
+
* 创建时间
|
|
27
|
+
*/
|
|
28
|
+
createdAt = "createdAt",
|
|
29
|
+
/**
|
|
30
|
+
* 更新时间
|
|
31
|
+
*/
|
|
32
|
+
updatedAt = "updatedAt"
|
|
33
|
+
}
|
|
34
|
+
export type LangDistinctExp = LangDistinctEnum | WebsitePartDistinctExp;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Lang } from './Lang';
|
|
2
|
+
import { WebsitePart } from './WebsitePart';
|
|
3
|
+
/**
|
|
4
|
+
* 语言
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export interface LangInput extends WebsitePart {
|
|
8
|
+
id?: string;
|
|
9
|
+
/**
|
|
10
|
+
* 缩写
|
|
11
|
+
*/
|
|
12
|
+
abbr?: string;
|
|
13
|
+
/**
|
|
14
|
+
* 英文名称
|
|
15
|
+
*/
|
|
16
|
+
enName?: string;
|
|
17
|
+
/**
|
|
18
|
+
* 本地名称
|
|
19
|
+
*/
|
|
20
|
+
localName?: string;
|
|
21
|
+
/**
|
|
22
|
+
* 国旗图标
|
|
23
|
+
*/
|
|
24
|
+
icon?: string;
|
|
25
|
+
/**
|
|
26
|
+
* 备注
|
|
27
|
+
*/
|
|
28
|
+
remark?: string;
|
|
29
|
+
}
|
|
30
|
+
export declare const langToInputCascade: (entity: Lang) => LangInput;
|
|
31
|
+
export declare const langToInput: (entity: Lang) => LangInput;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OrderBy } from '@rxdrag/entify-hooks';
|
|
2
|
+
import { WebsitePartOrderBy } from './WebsitePartOrderBy';
|
|
3
|
+
/**
|
|
4
|
+
* 语言
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export interface LangOrderBy extends WebsitePartOrderBy {
|
|
8
|
+
id?: OrderBy;
|
|
9
|
+
/**
|
|
10
|
+
* 缩写
|
|
11
|
+
*/
|
|
12
|
+
abbr?: OrderBy;
|
|
13
|
+
/**
|
|
14
|
+
* 英文名称
|
|
15
|
+
*/
|
|
16
|
+
enName?: OrderBy;
|
|
17
|
+
/**
|
|
18
|
+
* 本地名称
|
|
19
|
+
*/
|
|
20
|
+
localName?: OrderBy;
|
|
21
|
+
/**
|
|
22
|
+
* 国旗图标
|
|
23
|
+
*/
|
|
24
|
+
icon?: OrderBy;
|
|
25
|
+
/**
|
|
26
|
+
* 备注
|
|
27
|
+
*/
|
|
28
|
+
remark?: OrderBy;
|
|
29
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { MediaType } from './MediaType';
|
|
2
|
+
import { FileRef } from './FileRef';
|
|
3
|
+
import { MediaFolder } from './MediaFolder';
|
|
4
|
+
import { User } from './User';
|
|
5
|
+
import { Product } from './Product';
|
|
6
|
+
import { MediaAddon } from './MediaAddon';
|
|
7
|
+
import { Aggregate } from './Aggregate';
|
|
8
|
+
import { CustomizeMedia } from './CustomizeMedia';
|
|
9
|
+
export declare const MediaEntityName = "Media";
|
|
10
|
+
export declare const MediaEntityLabel = "";
|
|
11
|
+
export interface Media extends CustomizeMedia {
|
|
12
|
+
id?: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
size?: number;
|
|
15
|
+
mimeType?: string;
|
|
16
|
+
extName?: string;
|
|
17
|
+
file?: FileRef;
|
|
18
|
+
description?: string;
|
|
19
|
+
createdAt?: Date;
|
|
20
|
+
updatedAt?: Date;
|
|
21
|
+
mediaType?: MediaType;
|
|
22
|
+
folder?: MediaFolder;
|
|
23
|
+
avatarOfUser?: User;
|
|
24
|
+
usedByProducts?: (Product & MediaAddon)[];
|
|
25
|
+
usedByProductsAggregate?: Aggregate;
|
|
26
|
+
}
|