@rxdrag/rxcms-models 0.3.24 → 0.3.25

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.
@@ -10,6 +10,7 @@ import { ProductCategory } from './ProductCategory';
10
10
  import { MediaOnProduct } from './MediaOnProduct';
11
11
  import { AttachmentOnProduct } from './AttachmentOnProduct';
12
12
  import { Website } from './Website';
13
+ import { WebsiteSettings } from './WebsiteSettings';
13
14
  import { Aggregate } from './Aggregate';
14
15
  import { WebsitePart } from './WebsitePart';
15
16
  export declare const MediaEntityName = "Media";
@@ -36,6 +37,7 @@ export interface Media extends WebsitePart {
36
37
  productMediaPivots?: MediaOnProduct[];
37
38
  productAttacPivots?: AttachmentOnProduct[];
38
39
  website?: Website;
40
+ usedByContact?: WebsiteSettings[];
39
41
  coverOfAggregate?: Aggregate;
40
42
  ogMetaOfPageAggregate?: Aggregate;
41
43
  ogMetaOfProductAggregate?: Aggregate;
@@ -43,4 +45,5 @@ export interface Media extends WebsitePart {
43
45
  meidaOfProductAggregate?: Aggregate;
44
46
  productMediaPivotsAggregate?: Aggregate;
45
47
  productAttacPivotsAggregate?: Aggregate;
48
+ usedByContactAggregate?: Aggregate;
46
49
  }
@@ -15,6 +15,7 @@ import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
15
15
  import { MediaOnProductBoolExp } from './MediaOnProductBoolExp';
16
16
  import { AttachmentOnProductBoolExp } from './AttachmentOnProductBoolExp';
17
17
  import { WebsiteBoolExp } from './WebsiteBoolExp';
18
+ import { WebsiteSettingsBoolExp } from './WebsiteSettingsBoolExp';
18
19
  export interface MediaBoolExp extends WebsitePartBoolExp {
19
20
  _and?: MediaBoolExp[];
20
21
  _or?: MediaBoolExp[];
@@ -39,4 +40,5 @@ export interface MediaBoolExp extends WebsitePartBoolExp {
39
40
  productMediaPivots?: MediaOnProductBoolExp;
40
41
  productAttacPivots?: AttachmentOnProductBoolExp;
41
42
  website?: WebsiteBoolExp;
43
+ usedByContact?: WebsiteSettingsBoolExp;
42
44
  }
@@ -11,6 +11,7 @@ import { ProductCategoryInput } from './ProductCategoryInput';
11
11
  import { MediaOnProductInput } from './MediaOnProductInput';
12
12
  import { AttachmentOnProductInput } from './AttachmentOnProductInput';
13
13
  import { WebsiteInput } from './WebsiteInput';
14
+ import { WebsiteSettingsInput } from './WebsiteSettingsInput';
14
15
  import { SetHasMany } from '@rxdrag/entify-hooks';
15
16
  import { SetHasOne } from '@rxdrag/entify-hooks';
16
17
  import { WebsitePart } from './WebsitePart';
@@ -36,6 +37,7 @@ export interface MediaInput extends WebsitePart {
36
37
  productMediaPivots?: SetHasMany<MediaOnProductInput>;
37
38
  productAttacPivots?: SetHasMany<AttachmentOnProductInput>;
38
39
  website?: SetHasOne<WebsiteInput>;
40
+ usedByContact?: SetHasMany<WebsiteSettingsInput>;
39
41
  }
40
42
  export declare const mediaToInputCascade: (entity: Media) => MediaInput;
41
43
  export declare const mediaToInput: (entity: Media) => MediaInput;
@@ -1,6 +1,7 @@
1
1
  import { SmtpConfig } from './SmtpConfig';
2
2
  import { EmailTemplates } from './EmailTemplates';
3
3
  import { Lang } from './Lang';
4
+ import { Media } from './Media';
4
5
  import { Website } from './Website';
5
6
  import { WebsitePart } from './WebsitePart';
6
7
  export declare const WebsiteSettingsEntityName = "WebsiteSettings";
@@ -51,5 +52,6 @@ export interface WebsiteSettings extends WebsitePart {
51
52
  */
52
53
  emailTemplates?: EmailTemplates;
53
54
  lang?: Lang;
55
+ contactAvatar?: Media;
54
56
  website?: Website;
55
57
  }
@@ -3,6 +3,7 @@ import { IdComparisonExp } from './IdComparisonExp';
3
3
  import { StringComparisonExp } from './StringComparisonExp';
4
4
  import { BooleanComparisonExp } from './BooleanComparisonExp';
5
5
  import { LangBoolExp } from './LangBoolExp';
6
+ import { MediaBoolExp } from './MediaBoolExp';
6
7
  import { WebsiteBoolExp } from './WebsiteBoolExp';
7
8
  export interface WebsiteSettingsBoolExp extends WebsitePartBoolExp {
8
9
  _and?: WebsiteSettingsBoolExp[];
@@ -29,5 +30,6 @@ export interface WebsiteSettingsBoolExp extends WebsitePartBoolExp {
29
30
  noticeEmail?: StringComparisonExp;
30
31
  emailTemplates?: unknown;
31
32
  lang?: LangBoolExp;
33
+ contactAvatar?: MediaBoolExp;
32
34
  website?: WebsiteBoolExp;
33
35
  }
@@ -2,6 +2,7 @@ import { WebsiteSettings } from './WebsiteSettings';
2
2
  import { SmtpConfig } from './SmtpConfig';
3
3
  import { EmailTemplates } from './EmailTemplates';
4
4
  import { LangInput } from './LangInput';
5
+ import { MediaInput } from './MediaInput';
5
6
  import { WebsiteInput } from './WebsiteInput';
6
7
  import { SetHasOne } from '@rxdrag/entify-hooks';
7
8
  import { WebsitePart } from './WebsitePart';
@@ -51,6 +52,7 @@ export interface WebsiteSettingsInput extends WebsitePart {
51
52
  */
52
53
  emailTemplates?: EmailTemplates;
53
54
  lang?: SetHasOne<LangInput>;
55
+ contactAvatar?: SetHasOne<MediaInput>;
54
56
  website?: SetHasOne<WebsiteInput>;
55
57
  }
56
58
  export declare const websiteSettingsToInputCascade: (entity: WebsiteSettings) => WebsiteSettingsInput;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdrag/rxcms-models",
3
- "version": "0.3.24",
3
+ "version": "0.3.25",
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.19"
20
+ "@rxdrag/entify-hooks": "0.2.20"
21
21
  },
22
22
  "scripts": {
23
23
  "lint": "eslint . --ext .ts,tsx",