@rxdrag/rxcms-models 0.3.31 → 0.3.32

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.
@@ -11,6 +11,7 @@ import { MediaOnProduct } from './MediaOnProduct';
11
11
  import { AttachmentOnProduct } from './AttachmentOnProduct';
12
12
  import { Website } from './Website';
13
13
  import { WebsiteSettings } from './WebsiteSettings';
14
+ import { Theme } from './Theme';
14
15
  import { Aggregate } from './Aggregate';
15
16
  import { WebsitePart } from './WebsitePart';
16
17
  export declare const MediaEntityName = "Media";
@@ -38,6 +39,7 @@ export interface Media extends WebsitePart {
38
39
  productAttacPivots?: AttachmentOnProduct[];
39
40
  website?: Website;
40
41
  usedByContact?: WebsiteSettings[];
42
+ coverOfTheme?: Theme[];
41
43
  coverOfAggregate?: Aggregate;
42
44
  ogMetaOfPageAggregate?: Aggregate;
43
45
  ogMetaOfProductAggregate?: Aggregate;
@@ -46,4 +48,5 @@ export interface Media extends WebsitePart {
46
48
  productMediaPivotsAggregate?: Aggregate;
47
49
  productAttacPivotsAggregate?: Aggregate;
48
50
  usedByContactAggregate?: Aggregate;
51
+ coverOfThemeAggregate?: Aggregate;
49
52
  }
@@ -16,6 +16,7 @@ import { MediaOnProductBoolExp } from './MediaOnProductBoolExp';
16
16
  import { AttachmentOnProductBoolExp } from './AttachmentOnProductBoolExp';
17
17
  import { WebsiteBoolExp } from './WebsiteBoolExp';
18
18
  import { WebsiteSettingsBoolExp } from './WebsiteSettingsBoolExp';
19
+ import { ThemeBoolExp } from './ThemeBoolExp';
19
20
  export interface MediaBoolExp extends WebsitePartBoolExp {
20
21
  _and?: MediaBoolExp[];
21
22
  _or?: MediaBoolExp[];
@@ -41,4 +42,5 @@ export interface MediaBoolExp extends WebsitePartBoolExp {
41
42
  productAttacPivots?: AttachmentOnProductBoolExp;
42
43
  website?: WebsiteBoolExp;
43
44
  usedByContact?: WebsiteSettingsBoolExp;
45
+ coverOfTheme?: ThemeBoolExp;
44
46
  }
@@ -12,6 +12,7 @@ import { MediaOnProductInput } from './MediaOnProductInput';
12
12
  import { AttachmentOnProductInput } from './AttachmentOnProductInput';
13
13
  import { WebsiteInput } from './WebsiteInput';
14
14
  import { WebsiteSettingsInput } from './WebsiteSettingsInput';
15
+ import { ThemeInput } from './ThemeInput';
15
16
  import { SetHasMany } from '@rxdrag/entify-hooks';
16
17
  import { SetHasOne } from '@rxdrag/entify-hooks';
17
18
  import { WebsitePart } from './WebsitePart';
@@ -38,6 +39,7 @@ export interface MediaInput extends WebsitePart {
38
39
  productAttacPivots?: SetHasMany<AttachmentOnProductInput>;
39
40
  website?: SetHasOne<WebsiteInput>;
40
41
  usedByContact?: SetHasMany<WebsiteSettingsInput>;
42
+ coverOfTheme?: SetHasMany<ThemeInput>;
41
43
  }
42
44
  export declare const mediaToInputCascade: (entity: Media) => MediaInput;
43
45
  export declare const mediaToInput: (entity: Media) => MediaInput;
@@ -2,6 +2,7 @@ import { ThemeSettings } from './ThemeSettings';
2
2
  import { Template } from './Template';
3
3
  import { TemplateCategory } from './TemplateCategory';
4
4
  import { Lang } from './Lang';
5
+ import { Media } from './Media';
5
6
  import { Website } from './Website';
6
7
  import { Aggregate } from './Aggregate';
7
8
  import { WebsitePart } from './WebsitePart';
@@ -16,6 +17,7 @@ export interface Theme extends WebsitePart {
16
17
  templates?: Template[];
17
18
  themlateCategories?: TemplateCategory[];
18
19
  lang?: Lang;
20
+ cover?: Media;
19
21
  selectedBy?: Website;
20
22
  website?: Website;
21
23
  templatesAggregate?: Aggregate;
@@ -4,6 +4,7 @@ import { StringComparisonExp } from './StringComparisonExp';
4
4
  import { TemplateBoolExp } from './TemplateBoolExp';
5
5
  import { TemplateCategoryBoolExp } from './TemplateCategoryBoolExp';
6
6
  import { LangBoolExp } from './LangBoolExp';
7
+ import { MediaBoolExp } from './MediaBoolExp';
7
8
  import { WebsiteBoolExp } from './WebsiteBoolExp';
8
9
  export interface ThemeBoolExp extends WebsitePartBoolExp {
9
10
  _and?: ThemeBoolExp[];
@@ -17,6 +18,7 @@ export interface ThemeBoolExp extends WebsitePartBoolExp {
17
18
  templates?: TemplateBoolExp;
18
19
  themlateCategories?: TemplateCategoryBoolExp;
19
20
  lang?: LangBoolExp;
21
+ cover?: MediaBoolExp;
20
22
  selectedBy?: WebsiteBoolExp;
21
23
  website?: WebsiteBoolExp;
22
24
  }
@@ -3,6 +3,7 @@ import { ThemeSettings } from './ThemeSettings';
3
3
  import { TemplateInput } from './TemplateInput';
4
4
  import { TemplateCategoryInput } from './TemplateCategoryInput';
5
5
  import { LangInput } from './LangInput';
6
+ import { MediaInput } from './MediaInput';
6
7
  import { WebsiteInput } from './WebsiteInput';
7
8
  import { SetHasMany } from '@rxdrag/entify-hooks';
8
9
  import { SetHasOne } from '@rxdrag/entify-hooks';
@@ -16,6 +17,7 @@ export interface ThemeInput extends WebsitePart {
16
17
  templates?: SetHasMany<TemplateInput>;
17
18
  themlateCategories?: SetHasMany<TemplateCategoryInput>;
18
19
  lang?: SetHasOne<LangInput>;
20
+ cover?: SetHasOne<MediaInput>;
19
21
  selectedBy?: SetHasOne<WebsiteInput>;
20
22
  website?: SetHasOne<WebsiteInput>;
21
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdrag/rxcms-models",
3
- "version": "0.3.31",
3
+ "version": "0.3.32",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "files": [
@@ -12,12 +12,12 @@
12
12
  "devDependencies": {
13
13
  "eslint": "^7.32.0",
14
14
  "typescript": "^5",
15
- "@rxdrag/tsconfig": "0.2.0",
16
- "@rxdrag/eslint-config-custom": "0.2.0"
15
+ "@rxdrag/eslint-config-custom": "0.2.0",
16
+ "@rxdrag/tsconfig": "0.2.0"
17
17
  },
18
18
  "dependencies": {
19
19
  "swr": "^2.2.4",
20
- "@rxdrag/entify-hooks": "0.2.26"
20
+ "@rxdrag/entify-hooks": "0.2.27"
21
21
  },
22
22
  "scripts": {
23
23
  "lint": "eslint . --ext .ts,tsx",