@rxdrag/rxcms-models 0.1.4 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/classes/AbilityQueryOptions.d.ts +13 -0
  2. package/dist/classes/CustomerQueryOptions.d.ts +48 -0
  3. package/dist/classes/EnquiryQueryOptions.d.ts +36 -0
  4. package/dist/classes/LangQueryOptions.d.ts +36 -0
  5. package/dist/classes/MediaFolderQueryOptions.d.ts +30 -0
  6. package/dist/classes/MediaQueryOptions.d.ts +34 -0
  7. package/dist/classes/PageQueryOptions.d.ts +44 -0
  8. package/dist/classes/PostCategoryQueryOptions.d.ts +30 -0
  9. package/dist/classes/PostQueryOptions.d.ts +68 -0
  10. package/dist/classes/ProductCategoryQueryOptions.d.ts +30 -0
  11. package/dist/classes/ProductQueryOptions.d.ts +77 -0
  12. package/dist/classes/QueryOptions.d.ts +27 -0
  13. package/dist/classes/RoleQueryOptions.d.ts +16 -0
  14. package/dist/classes/SlugQueryOptions.d.ts +30 -0
  15. package/dist/classes/TagQueryOptions.d.ts +35 -0
  16. package/dist/classes/TemplateCategoryQueryOptions.d.ts +30 -0
  17. package/dist/classes/TemplateQueryOptions.d.ts +33 -0
  18. package/dist/classes/ThemeQueryOptions.d.ts +33 -0
  19. package/dist/classes/UserQueryOptions.d.ts +69 -0
  20. package/dist/classes/WebsiteMetaQueryOptions.d.ts +7 -0
  21. package/dist/classes/WebsiteQueryOptions.d.ts +50 -0
  22. package/dist/classes/WebsiteSettingsQueryOptions.d.ts +32 -0
  23. package/dist/classes/WebsiteTypeQueryOptions.d.ts +33 -0
  24. package/dist/classes/index.d.ts +24 -0
  25. package/dist/classes/metainfo.d.ts +2 -0
  26. package/dist/fields/AbilityFields.d.ts +2 -0
  27. package/dist/fields/CustomerFields.d.ts +3 -1
  28. package/dist/fields/EnquiryFields.d.ts +3 -1
  29. package/dist/fields/LangFields.d.ts +2 -0
  30. package/dist/fields/MediaFields.d.ts +6 -2
  31. package/dist/fields/MediaFolderFields.d.ts +3 -1
  32. package/dist/fields/PageFields.d.ts +10 -3
  33. package/dist/fields/PostCategoryFields.d.ts +3 -1
  34. package/dist/fields/PostFields.d.ts +9 -2
  35. package/dist/fields/ProductCategoryFields.d.ts +3 -1
  36. package/dist/fields/ProductFields.d.ts +17 -2
  37. package/dist/fields/RoleFields.d.ts +3 -1
  38. package/dist/fields/SlugFields.d.ts +3 -1
  39. package/dist/fields/TagFields.d.ts +3 -1
  40. package/dist/fields/TemplateCategoryFields.d.ts +3 -1
  41. package/dist/fields/TemplateFields.d.ts +3 -1
  42. package/dist/fields/ThemeFields.d.ts +3 -1
  43. package/dist/fields/UserFields.d.ts +3 -1
  44. package/dist/fields/WebsiteFields.d.ts +3 -1
  45. package/dist/fields/WebsiteMetaFields.d.ts +2 -0
  46. package/dist/fields/WebsiteSettingsFields.d.ts +2 -0
  47. package/dist/fields/WebsiteTypeFields.d.ts +3 -1
  48. package/dist/fields/index.d.ts +0 -10
  49. package/dist/index.d.ts +1 -0
  50. package/dist/index.mjs +2439 -242
  51. package/dist/index.mjs.map +1 -1
  52. package/dist/interfaces/BaseEntityOrderBy.d.ts +1 -1
  53. package/dist/interfaces/CustomizeMediaOrderBy.d.ts +1 -1
  54. package/dist/interfaces/Media.d.ts +2 -0
  55. package/dist/interfaces/MediaAddonOrderBy.d.ts +5 -0
  56. package/dist/interfaces/MediaBoolExp.d.ts +1 -0
  57. package/dist/interfaces/MediaInput.d.ts +1 -0
  58. package/dist/interfaces/MultiLangableOrderBy.d.ts +1 -1
  59. package/dist/interfaces/OgMeta.d.ts +5 -1
  60. package/dist/interfaces/OgMetaBoolExp.d.ts +5 -1
  61. package/dist/interfaces/OgMetaDistinctExp.d.ts +6 -2
  62. package/dist/interfaces/OgMetaOrderBy.d.ts +6 -2
  63. package/dist/interfaces/Page.d.ts +2 -0
  64. package/dist/interfaces/PageBoolExp.d.ts +2 -0
  65. package/dist/interfaces/PageDistinctExp.d.ts +5 -1
  66. package/dist/interfaces/PageInput.d.ts +2 -0
  67. package/dist/interfaces/PersonOrderBy.d.ts +1 -1
  68. package/dist/interfaces/Post.d.ts +1 -0
  69. package/dist/interfaces/PostBoolExp.d.ts +1 -0
  70. package/dist/interfaces/PostDistinctExp.d.ts +5 -1
  71. package/dist/interfaces/PostInput.d.ts +1 -0
  72. package/dist/interfaces/Product.d.ts +9 -0
  73. package/dist/interfaces/ProductBoolExp.d.ts +5 -0
  74. package/dist/interfaces/ProductDistinctExp.d.ts +11 -1
  75. package/dist/interfaces/ProductInput.d.ts +8 -0
  76. package/dist/interfaces/ProductOrderBy.d.ts +6 -0
  77. package/dist/interfaces/PublishableDistinctExp.d.ts +5 -1
  78. package/dist/interfaces/PublishableOrderBy.d.ts +1 -1
  79. package/dist/interfaces/SeoMetaOrderBy.d.ts +1 -1
  80. package/dist/interfaces/WebsiteContentDistinctExp.d.ts +5 -1
  81. package/dist/interfaces/WebsiteContentOrderBy.d.ts +1 -1
  82. package/dist/interfaces/WebsitePartOrderBy.d.ts +1 -1
  83. package/dist/interfaces/WebsiteUserOrderBy.d.ts +1 -1
  84. package/package.json +2 -2
  85. package/dist/fields/BaseEntityFields.d.ts +0 -15
  86. package/dist/fields/CustomizeMediaFields.d.ts +0 -7
  87. package/dist/fields/MultiLangableFields.d.ts +0 -4
  88. package/dist/fields/OgMetaFields.d.ts +0 -9
  89. package/dist/fields/PersonFields.d.ts +0 -26
  90. package/dist/fields/PublishableFields.d.ts +0 -35
  91. package/dist/fields/SeoMetaFields.d.ts +0 -6
  92. package/dist/fields/WebsiteContentFields.d.ts +0 -29
  93. package/dist/fields/WebsitePartFields.d.ts +0 -16
  94. package/dist/fields/WebsiteUserFields.d.ts +0 -35
@@ -1,4 +1,4 @@
1
- import { OrderBy } from './OrderBy';
1
+ import { OrderBy } from '@rxdrag/entify-hooks';
2
2
  export interface BaseEntityOrderBy {
3
3
  id?: OrderBy;
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { OrderBy } from './OrderBy';
1
+ import { OrderBy } from '@rxdrag/entify-hooks';
2
2
  export interface CustomizeMediaOrderBy {
3
3
  id?: OrderBy;
4
4
  /**
@@ -22,5 +22,7 @@ export interface Media extends CustomizeMedia {
22
22
  folder?: MediaFolder;
23
23
  avatarOfUser?: User;
24
24
  usedByProducts?: (Product & MediaAddon)[];
25
+ attachmentOf?: Product[];
25
26
  usedByProductsAggregate?: Aggregate;
27
+ attachmentOfAggregate?: Aggregate;
26
28
  }
@@ -0,0 +1,5 @@
1
+ import { OrderBy } from '@rxdrag/entify-hooks';
2
+ export interface MediaAddonOrderBy {
3
+ altText?: OrderBy;
4
+ seqValue?: OrderBy;
5
+ }
@@ -24,4 +24,5 @@ export interface MediaBoolExp extends CustomizeMediaBoolExp {
24
24
  folder?: MediaFolderBoolExp;
25
25
  avatarOfUser?: UserBoolExp;
26
26
  usedByProducts?: ProductBoolExp;
27
+ attachmentOf?: ProductBoolExp;
27
28
  }
@@ -22,6 +22,7 @@ export interface MediaInput extends CustomizeMedia {
22
22
  folder?: SetHasOne<MediaFolderInput>;
23
23
  avatarOfUser?: SetHasOne<UserInput>;
24
24
  usedByProducts?: SetHasMany<ProductInput & MediaAddon>;
25
+ attachmentOf?: SetHasMany<ProductInput>;
25
26
  }
26
27
  export declare const mediaToInputCascade: (entity: Media) => MediaInput;
27
28
  export declare const mediaToInput: (entity: Media) => MediaInput;
@@ -1,4 +1,4 @@
1
- import { OrderBy } from './OrderBy';
1
+ import { OrderBy } from '@rxdrag/entify-hooks';
2
2
  export interface MultiLangableOrderBy {
3
3
  id?: OrderBy;
4
4
  lang?: OrderBy;
@@ -2,8 +2,12 @@ export interface OgMeta {
2
2
  id?: string;
3
3
  ogTitle?: string;
4
4
  ogDescription?: string;
5
- ogImageUrl?: string;
6
5
  ogUrl?: string;
7
6
  ogSiteName?: string;
8
7
  ogType?: string;
8
+ xCard?: string;
9
+ xSite?: string;
10
+ xTitle?: string;
11
+ xDescription?: string;
12
+ xUrl?: string;
9
13
  }
@@ -7,8 +7,12 @@ export interface OgMetaBoolExp {
7
7
  id?: IdComparisonExp;
8
8
  ogTitle?: StringComparisonExp;
9
9
  ogDescription?: StringComparisonExp;
10
- ogImageUrl?: StringComparisonExp;
11
10
  ogUrl?: StringComparisonExp;
12
11
  ogSiteName?: StringComparisonExp;
13
12
  ogType?: StringComparisonExp;
13
+ xCard?: StringComparisonExp;
14
+ xSite?: StringComparisonExp;
15
+ xTitle?: StringComparisonExp;
16
+ xDescription?: StringComparisonExp;
17
+ xUrl?: StringComparisonExp;
14
18
  }
@@ -2,9 +2,13 @@ export declare enum OgMetaDistinctEnum {
2
2
  id = "id",
3
3
  ogTitle = "ogTitle",
4
4
  ogDescription = "ogDescription",
5
- ogImageUrl = "ogImageUrl",
6
5
  ogUrl = "ogUrl",
7
6
  ogSiteName = "ogSiteName",
8
- ogType = "ogType"
7
+ ogType = "ogType",
8
+ xCard = "xCard",
9
+ xSite = "xSite",
10
+ xTitle = "xTitle",
11
+ xDescription = "xDescription",
12
+ xUrl = "xUrl"
9
13
  }
10
14
  export type OgMetaDistinctExp = OgMetaDistinctEnum;
@@ -1,10 +1,14 @@
1
- import { OrderBy } from './OrderBy';
1
+ import { OrderBy } from '@rxdrag/entify-hooks';
2
2
  export interface OgMetaOrderBy {
3
3
  id?: OrderBy;
4
4
  ogTitle?: OrderBy;
5
5
  ogDescription?: OrderBy;
6
- ogImageUrl?: OrderBy;
7
6
  ogUrl?: OrderBy;
8
7
  ogSiteName?: OrderBy;
9
8
  ogType?: OrderBy;
9
+ xCard?: OrderBy;
10
+ xSite?: OrderBy;
11
+ xTitle?: OrderBy;
12
+ xDescription?: OrderBy;
13
+ xUrl?: OrderBy;
10
14
  }
@@ -1,4 +1,5 @@
1
1
  import { Slug } from './Slug';
2
+ import { Media } from './Media';
2
3
  import { WebsiteContent } from './WebsiteContent';
3
4
  export declare const PageEntityName = "Page";
4
5
  export declare const PageEntityLabel = "";
@@ -12,4 +13,5 @@ export interface Page extends WebsiteContent {
12
13
  remark?: string;
13
14
  langAbbr?: string;
14
15
  slug?: Slug;
16
+ ogImage?: Media;
15
17
  }
@@ -2,6 +2,7 @@ import { WebsiteContentBoolExp } from './WebsiteContentBoolExp';
2
2
  import { IdComparisonExp } from './IdComparisonExp';
3
3
  import { StringComparisonExp } from './StringComparisonExp';
4
4
  import { SlugBoolExp } from './SlugBoolExp';
5
+ import { MediaBoolExp } from './MediaBoolExp';
5
6
  export interface PageBoolExp extends WebsiteContentBoolExp {
6
7
  _and?: PageBoolExp[];
7
8
  _or?: PageBoolExp[];
@@ -12,4 +13,5 @@ export interface PageBoolExp extends WebsiteContentBoolExp {
12
13
  remark?: StringComparisonExp;
13
14
  langAbbr?: StringComparisonExp;
14
15
  slug?: SlugBoolExp;
16
+ ogImage?: MediaBoolExp;
15
17
  }
@@ -23,10 +23,14 @@ export declare enum PageDistinctEnum {
23
23
  seoDescription = "seoDescription",
24
24
  ogTitle = "ogTitle",
25
25
  ogDescription = "ogDescription",
26
- ogImageUrl = "ogImageUrl",
27
26
  ogUrl = "ogUrl",
28
27
  ogSiteName = "ogSiteName",
29
28
  ogType = "ogType",
29
+ xCard = "xCard",
30
+ xSite = "xSite",
31
+ xTitle = "xTitle",
32
+ xDescription = "xDescription",
33
+ xUrl = "xUrl",
30
34
  lang = "lang"
31
35
  }
32
36
  export type PageDistinctExp = PageDistinctEnum | WebsiteContentDistinctExp;
@@ -1,5 +1,6 @@
1
1
  import { Page } from './Page';
2
2
  import { SlugInput } from './SlugInput';
3
+ import { MediaInput } from './MediaInput';
3
4
  import { SetHasOne } from '@rxdrag/entify-hooks';
4
5
  import { WebsiteContent } from './WebsiteContent';
5
6
  export interface PageInput extends WebsiteContent {
@@ -12,6 +13,7 @@ export interface PageInput extends WebsiteContent {
12
13
  remark?: string;
13
14
  langAbbr?: string;
14
15
  slug?: SetHasOne<SlugInput>;
16
+ ogImage?: SetHasOne<MediaInput>;
15
17
  }
16
18
  export declare const pageToInputCascade: (entity: Page) => PageInput;
17
19
  export declare const pageToInput: (entity: Page) => PageInput;
@@ -1,4 +1,4 @@
1
- import { OrderBy } from './OrderBy';
1
+ import { OrderBy } from '@rxdrag/entify-hooks';
2
2
  export interface PersonOrderBy {
3
3
  id?: OrderBy;
4
4
  /**
@@ -24,6 +24,7 @@ export interface Post extends Publishable {
24
24
  tags?: Tag[];
25
25
  author?: User;
26
26
  cover?: Media;
27
+ ogImage?: Media;
27
28
  category?: PostCategory;
28
29
  tagsAggregate?: Aggregate;
29
30
  }
@@ -25,5 +25,6 @@ export interface PostBoolExp extends PublishableBoolExp {
25
25
  tags?: TagBoolExp;
26
26
  author?: UserBoolExp;
27
27
  cover?: MediaBoolExp;
28
+ ogImage?: MediaBoolExp;
28
29
  category?: PostCategoryBoolExp;
29
30
  }
@@ -35,10 +35,14 @@ export declare enum PostDistinctEnum {
35
35
  seoDescription = "seoDescription",
36
36
  ogTitle = "ogTitle",
37
37
  ogDescription = "ogDescription",
38
- ogImageUrl = "ogImageUrl",
39
38
  ogUrl = "ogUrl",
40
39
  ogSiteName = "ogSiteName",
41
40
  ogType = "ogType",
41
+ xCard = "xCard",
42
+ xSite = "xSite",
43
+ xTitle = "xTitle",
44
+ xDescription = "xDescription",
45
+ xUrl = "xUrl",
42
46
  lang = "lang"
43
47
  }
44
48
  export type PostDistinctExp = PostDistinctEnum | PublishableDistinctExp;
@@ -24,6 +24,7 @@ export interface PostInput extends Publishable {
24
24
  tags?: SetHasMany<TagInput>;
25
25
  author?: SetHasOne<UserInput>;
26
26
  cover?: SetHasOne<MediaInput>;
27
+ ogImage?: SetHasOne<MediaInput>;
27
28
  category?: SetHasOne<PostCategoryInput>;
28
29
  }
29
30
  export declare const postToInputCascade: (entity: Post) => PostInput;
@@ -15,11 +15,20 @@ export interface Product extends Publishable {
15
15
  featured?: boolean;
16
16
  showInNavMenu?: boolean;
17
17
  seqValue?: number;
18
+ /**
19
+ * 特色
20
+ */
21
+ features?: string;
22
+ content2?: any;
23
+ content3?: any;
18
24
  category?: ProductCategory;
19
25
  medias?: (Media & MediaAddon)[];
20
26
  slug?: Slug;
21
27
  tags?: Tag[];
28
+ ogImage?: Media;
29
+ attachments?: Media[];
22
30
  creator?: User;
23
31
  mediasAggregate?: Aggregate;
24
32
  tagsAggregate?: Aggregate;
33
+ attachmentsAggregate?: Aggregate;
25
34
  }
@@ -18,9 +18,14 @@ export interface ProductBoolExp extends PublishableBoolExp {
18
18
  featured?: BooleanComparisonExp;
19
19
  showInNavMenu?: BooleanComparisonExp;
20
20
  seqValue?: NumberComparisonExp;
21
+ features?: StringComparisonExp;
22
+ content2?: unknown;
23
+ content3?: unknown;
21
24
  category?: ProductCategoryBoolExp;
22
25
  medias?: MediaBoolExp;
23
26
  slug?: SlugBoolExp;
24
27
  tags?: TagBoolExp;
28
+ ogImage?: MediaBoolExp;
29
+ attachments?: MediaBoolExp;
25
30
  creator?: UserBoolExp;
26
31
  }
@@ -6,6 +6,12 @@ export declare enum ProductDistinctEnum {
6
6
  featured = "featured",
7
7
  showInNavMenu = "showInNavMenu",
8
8
  seqValue = "seqValue",
9
+ /**
10
+ * 特色
11
+ */
12
+ features = "features",
13
+ content2 = "content2",
14
+ content3 = "content3",
9
15
  /**
10
16
  * 发布的内容
11
17
  */
@@ -33,10 +39,14 @@ export declare enum ProductDistinctEnum {
33
39
  seoDescription = "seoDescription",
34
40
  ogTitle = "ogTitle",
35
41
  ogDescription = "ogDescription",
36
- ogImageUrl = "ogImageUrl",
37
42
  ogUrl = "ogUrl",
38
43
  ogSiteName = "ogSiteName",
39
44
  ogType = "ogType",
45
+ xCard = "xCard",
46
+ xSite = "xSite",
47
+ xTitle = "xTitle",
48
+ xDescription = "xDescription",
49
+ xUrl = "xUrl",
40
50
  lang = "lang"
41
51
  }
42
52
  export type ProductDistinctExp = ProductDistinctEnum | PublishableDistinctExp;
@@ -15,10 +15,18 @@ export interface ProductInput extends Publishable {
15
15
  featured?: boolean;
16
16
  showInNavMenu?: boolean;
17
17
  seqValue?: number;
18
+ /**
19
+ * 特色
20
+ */
21
+ features?: string;
22
+ content2?: any;
23
+ content3?: any;
18
24
  category?: SetHasOne<ProductCategoryInput>;
19
25
  medias?: SetHasMany<MediaInput & MediaAddon>;
20
26
  slug?: SetHasOne<SlugInput>;
21
27
  tags?: SetHasMany<TagInput>;
28
+ ogImage?: SetHasOne<MediaInput>;
29
+ attachments?: SetHasMany<MediaInput>;
22
30
  creator?: SetHasOne<UserInput>;
23
31
  }
24
32
  export declare const productToInputCascade: (entity: Product) => ProductInput;
@@ -7,4 +7,10 @@ export interface ProductOrderBy extends PublishableOrderBy {
7
7
  featured?: OrderBy;
8
8
  showInNavMenu?: OrderBy;
9
9
  seqValue?: OrderBy;
10
+ /**
11
+ * 特色
12
+ */
13
+ features?: OrderBy;
14
+ content2?: OrderBy;
15
+ content3?: OrderBy;
10
16
  }
@@ -28,10 +28,14 @@ export declare enum PublishableDistinctEnum {
28
28
  seoDescription = "seoDescription",
29
29
  ogTitle = "ogTitle",
30
30
  ogDescription = "ogDescription",
31
- ogImageUrl = "ogImageUrl",
32
31
  ogUrl = "ogUrl",
33
32
  ogSiteName = "ogSiteName",
34
33
  ogType = "ogType",
34
+ xCard = "xCard",
35
+ xSite = "xSite",
36
+ xTitle = "xTitle",
37
+ xDescription = "xDescription",
38
+ xUrl = "xUrl",
35
39
  lang = "lang"
36
40
  }
37
41
  export type PublishableDistinctExp = PublishableDistinctEnum | WebsiteContentDistinctExp;
@@ -1,4 +1,4 @@
1
- import { OrderBy } from './OrderBy';
1
+ import { OrderBy } from '@rxdrag/entify-hooks';
2
2
  import { WebsiteContentOrderBy } from './WebsiteContentOrderBy';
3
3
  export interface PublishableOrderBy extends WebsiteContentOrderBy {
4
4
  id?: OrderBy;
@@ -1,4 +1,4 @@
1
- import { OrderBy } from './OrderBy';
1
+ import { OrderBy } from '@rxdrag/entify-hooks';
2
2
  export interface SeoMetaOrderBy {
3
3
  id?: OrderBy;
4
4
  seoTitle?: OrderBy;
@@ -25,10 +25,14 @@ export declare enum WebsiteContentDistinctEnum {
25
25
  seoDescription = "seoDescription",
26
26
  ogTitle = "ogTitle",
27
27
  ogDescription = "ogDescription",
28
- ogImageUrl = "ogImageUrl",
29
28
  ogUrl = "ogUrl",
30
29
  ogSiteName = "ogSiteName",
31
30
  ogType = "ogType",
31
+ xCard = "xCard",
32
+ xSite = "xSite",
33
+ xTitle = "xTitle",
34
+ xDescription = "xDescription",
35
+ xUrl = "xUrl",
32
36
  lang = "lang"
33
37
  }
34
38
  export type WebsiteContentDistinctExp = WebsiteContentDistinctEnum | WebsitePartDistinctExp | SeoMetaDistinctExp | OgMetaDistinctExp | MultiLangableDistinctExp;
@@ -1,4 +1,4 @@
1
- import { OrderBy } from './OrderBy';
1
+ import { OrderBy } from '@rxdrag/entify-hooks';
2
2
  import { WebsitePartOrderBy } from './WebsitePartOrderBy';
3
3
  import { SeoMetaOrderBy } from './SeoMetaOrderBy';
4
4
  import { OgMetaOrderBy } from './OgMetaOrderBy';
@@ -1,4 +1,4 @@
1
- import { OrderBy } from './OrderBy';
1
+ import { OrderBy } from '@rxdrag/entify-hooks';
2
2
  import { BaseEntityOrderBy } from './BaseEntityOrderBy';
3
3
  export interface WebsitePartOrderBy extends BaseEntityOrderBy {
4
4
  id?: OrderBy;
@@ -1,4 +1,4 @@
1
- import { OrderBy } from './OrderBy';
1
+ import { OrderBy } from '@rxdrag/entify-hooks';
2
2
  import { PersonOrderBy } from './PersonOrderBy';
3
3
  export interface WebsiteUserOrderBy extends PersonOrderBy {
4
4
  id?: OrderBy;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdrag/rxcms-models",
3
- "version": "0.1.4",
3
+ "version": "0.2.1",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "files": [
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "swr": "^2.2.4",
20
- "@rxdrag/entify-hooks": "0.0.2"
20
+ "@rxdrag/entify-hooks": "0.1.0"
21
21
  },
22
22
  "scripts": {
23
23
  "lint": "eslint . --ext .ts,tsx",
@@ -1,15 +0,0 @@
1
- export declare enum BaseEntityFields {
2
- id = "id",
3
- /**
4
- * 创建时间
5
- */
6
- createdAt = "createdAt",
7
- /**
8
- * 更新时间
9
- */
10
- updatedAt = "updatedAt",
11
- /**
12
- * 备注
13
- */
14
- remark = "remark"
15
- }
@@ -1,7 +0,0 @@
1
- export declare enum CustomizeMediaFields {
2
- id = "id",
3
- /**
4
- * 网站Id
5
- */
6
- websiteId = "websiteId"
7
- }
@@ -1,4 +0,0 @@
1
- export declare enum MultiLangableFields {
2
- id = "id",
3
- lang = "lang"
4
- }
@@ -1,9 +0,0 @@
1
- export declare enum OgMetaFields {
2
- id = "id",
3
- ogTitle = "ogTitle",
4
- ogDescription = "ogDescription",
5
- ogImageUrl = "ogImageUrl",
6
- ogUrl = "ogUrl",
7
- ogSiteName = "ogSiteName",
8
- ogType = "ogType"
9
- }
@@ -1,26 +0,0 @@
1
- export declare enum PersonFields {
2
- id = "id",
3
- /**
4
- * 邮箱
5
- */
6
- email = "email",
7
- /**
8
- * 电话
9
- */
10
- tel = "tel",
11
- /**
12
- * 电话2
13
- */
14
- tel2 = "tel2",
15
- name = "name",
16
- mobile = "mobile",
17
- whatsApp = "whatsApp",
18
- linkedIn = "linkedIn",
19
- twitter = "twitter",
20
- facebook = "facebook",
21
- instagram = "instagram",
22
- /**
23
- * 简介
24
- */
25
- summary = "summary"
26
- }
@@ -1,35 +0,0 @@
1
- export declare enum PublishableFields {
2
- id = "id",
3
- /**
4
- * 发布的内容
5
- */
6
- publishedContent = "publishedContent",
7
- publishedAt = "publishedAt",
8
- status = "status",
9
- title = "title",
10
- content = "content",
11
- extends = "extends",
12
- websiteId = "websiteId",
13
- /**
14
- * 创建时间
15
- */
16
- createdAt = "createdAt",
17
- /**
18
- * 更新时间
19
- */
20
- updatedAt = "updatedAt",
21
- /**
22
- * 备注
23
- */
24
- remark = "remark",
25
- seoTitle = "seoTitle",
26
- seoKeywords = "seoKeywords",
27
- seoDescription = "seoDescription",
28
- ogTitle = "ogTitle",
29
- ogDescription = "ogDescription",
30
- ogImageUrl = "ogImageUrl",
31
- ogUrl = "ogUrl",
32
- ogSiteName = "ogSiteName",
33
- ogType = "ogType",
34
- lang = "lang"
35
- }
@@ -1,6 +0,0 @@
1
- export declare enum SeoMetaFields {
2
- id = "id",
3
- seoTitle = "seoTitle",
4
- seoKeywords = "seoKeywords",
5
- seoDescription = "seoDescription"
6
- }
@@ -1,29 +0,0 @@
1
- export declare enum WebsiteContentFields {
2
- id = "id",
3
- title = "title",
4
- content = "content",
5
- extends = "extends",
6
- websiteId = "websiteId",
7
- /**
8
- * 创建时间
9
- */
10
- createdAt = "createdAt",
11
- /**
12
- * 更新时间
13
- */
14
- updatedAt = "updatedAt",
15
- /**
16
- * 备注
17
- */
18
- remark = "remark",
19
- seoTitle = "seoTitle",
20
- seoKeywords = "seoKeywords",
21
- seoDescription = "seoDescription",
22
- ogTitle = "ogTitle",
23
- ogDescription = "ogDescription",
24
- ogImageUrl = "ogImageUrl",
25
- ogUrl = "ogUrl",
26
- ogSiteName = "ogSiteName",
27
- ogType = "ogType",
28
- lang = "lang"
29
- }
@@ -1,16 +0,0 @@
1
- export declare enum WebsitePartFields {
2
- id = "id",
3
- websiteId = "websiteId",
4
- /**
5
- * 创建时间
6
- */
7
- createdAt = "createdAt",
8
- /**
9
- * 更新时间
10
- */
11
- updatedAt = "updatedAt",
12
- /**
13
- * 备注
14
- */
15
- remark = "remark"
16
- }
@@ -1,35 +0,0 @@
1
- export declare enum WebsiteUserFields {
2
- id = "id",
3
- /**
4
- * 职位
5
- */
6
- postion = "postion",
7
- /**
8
- * 自我介绍
9
- */
10
- profile = "profile",
11
- userType = "userType",
12
- /**
13
- * 邮箱
14
- */
15
- email = "email",
16
- /**
17
- * 电话
18
- */
19
- tel = "tel",
20
- /**
21
- * 电话2
22
- */
23
- tel2 = "tel2",
24
- name = "name",
25
- mobile = "mobile",
26
- whatsApp = "whatsApp",
27
- linkedIn = "linkedIn",
28
- twitter = "twitter",
29
- facebook = "facebook",
30
- instagram = "instagram",
31
- /**
32
- * 简介
33
- */
34
- summary = "summary"
35
- }