@rxdrag/rxcms-models 0.2.0 → 0.2.2

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.
@@ -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
  }
@@ -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;
@@ -15,12 +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[];
22
28
  ogImage?: Media;
29
+ attachments?: Media[];
23
30
  creator?: User;
24
31
  mediasAggregate?: Aggregate;
25
32
  tagsAggregate?: Aggregate;
33
+ attachmentsAggregate?: Aggregate;
26
34
  }
@@ -18,10 +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;
25
28
  ogImage?: MediaBoolExp;
29
+ attachments?: MediaBoolExp;
26
30
  creator?: UserBoolExp;
27
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
  */
@@ -15,11 +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>;
22
28
  ogImage?: SetHasOne<MediaInput>;
29
+ attachments?: SetHasMany<MediaInput>;
23
30
  creator?: SetHasOne<UserInput>;
24
31
  }
25
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdrag/rxcms-models",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "files": [