@rxdrag/rxcms-models 0.3.93 → 0.3.94

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.
@@ -0,0 +1,16 @@
1
+ import { IQueryArgs } from "@rxdrag/entify-lib";
2
+ import { QueryOptions } from "./QueryOptions";
3
+ import { SvgIcon, SvgIconBoolExp, SvgIconDistinctExp, SvgIconOrderBy } from "../interfaces";
4
+ import { WebsiteQueryOptions } from './WebsiteQueryOptions';
5
+ import { Website } from '../interfaces';
6
+ export declare class SvgIconQueryOptions extends QueryOptions<SvgIcon, SvgIconBoolExp, SvgIconOrderBy, SvgIconDistinctExp> {
7
+ constructor(fields?: (keyof SvgIcon)[], queryArgs?: IQueryArgs<SvgIconBoolExp, SvgIconOrderBy, SvgIconDistinctExp>);
8
+ id(): this;
9
+ name(): this;
10
+ title(): this;
11
+ code(): this;
12
+ description(): this;
13
+ createdAt(): this;
14
+ updatedAt(): this;
15
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
16
+ }
@@ -61,6 +61,9 @@ import { WebsiteSnapshotBoolExp } from '../interfaces';
61
61
  import { UserOperationQueryOptions } from './UserOperationQueryOptions';
62
62
  import { UserOperation } from '../interfaces';
63
63
  import { UserOperationBoolExp } from '../interfaces';
64
+ import { SvgIconQueryOptions } from './SvgIconQueryOptions';
65
+ import { SvgIcon } from '../interfaces';
66
+ import { SvgIconBoolExp } from '../interfaces';
64
67
  export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBoolExp, WebsiteOrderBy, WebsiteDistinctExp> {
65
68
  constructor(fields?: (keyof Website)[], queryArgs?: IQueryArgs<WebsiteBoolExp, WebsiteOrderBy, WebsiteDistinctExp>);
66
69
  id(): this;
@@ -135,5 +138,7 @@ export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBo
135
138
  snapshotsAggregate(aggregate: IAggregate<WebsiteSnapshotBoolExp>): this;
136
139
  userOperations(options?: UserOperationQueryOptions | (keyof UserOperation)[]): this;
137
140
  userOperationsAggregate(aggregate: IAggregate<UserOperationBoolExp>): this;
141
+ svgIcons(options?: SvgIconQueryOptions | (keyof SvgIcon)[]): this;
142
+ svgIconsAggregate(aggregate: IAggregate<SvgIconBoolExp>): this;
138
143
  mockBranch(options?: ThemeBranchQueryOptions | (keyof ThemeBranch)[]): this;
139
144
  }
@@ -44,5 +44,6 @@ export * from './WebsiteSnapshotQueryOptions';
44
44
  export * from './VisitorLogQueryOptions';
45
45
  export * from './UserOperationQueryOptions';
46
46
  export * from './ThemeQueryOptions';
47
+ export * from './SvgIconQueryOptions';
47
48
  export * from './QueryOptions';
48
49
  export * from './metainfo';
@@ -44,3 +44,4 @@ export * from './websiteSnapshotEntry';
44
44
  export * from './visitorLogEntry';
45
45
  export * from './userOperationEntry';
46
46
  export * from './themeEntry';
47
+ export * from './svgIconEntry';
@@ -0,0 +1,2 @@
1
+ import { EntityEntry } from "@rxdrag/entify-lib";
2
+ export declare const svgIconEntry: EntityEntry;
@@ -0,0 +1,12 @@
1
+ export declare enum SvgIconFields {
2
+ id = "id",
3
+ name = "name",
4
+ title = "title",
5
+ code = "code",
6
+ description = "description",
7
+ createdAt = "createdAt",
8
+ updatedAt = "updatedAt"
9
+ }
10
+ export declare enum SvgIconAssciations {
11
+ website = "website"
12
+ }
@@ -73,5 +73,7 @@ export declare enum WebsiteAssciations {
73
73
  snapshotsAggregate = "snapshotsAggregate",
74
74
  userOperations = "userOperations",
75
75
  userOperationsAggregate = "userOperationsAggregate",
76
+ svgIcons = "svgIcons",
77
+ svgIconsAggregate = "svgIconsAggregate",
76
78
  mockBranch = "mockBranch"
77
79
  }
@@ -44,3 +44,4 @@ export * from './WebsiteSnapshotFields';
44
44
  export * from './VisitorLogFields';
45
45
  export * from './UserOperationFields';
46
46
  export * from './ThemeFields';
47
+ export * from './SvgIconFields';
package/dist/index.mjs CHANGED
@@ -49,7 +49,8 @@ const aggregateEntities = {
49
49
  searchIndexesAggregate: "SearchIndex",
50
50
  bulletinsAggregate: "Bulletin",
51
51
  snapshotsAggregate: "WebsiteSnapshot",
52
- userOperationsAggregate: "UserOperation"
52
+ userOperationsAggregate: "UserOperation",
53
+ svgIconsAggregate: "SvgIcon"
53
54
  },
54
55
  Lang: {
55
56
  webPartsOfMediaFolderAggregate: "MediaFolder",
@@ -852,9 +853,21 @@ const userOperationToInput = (entity) => {
852
853
  website: convertHasOneToInput(entity.website)
853
854
  };
854
855
  };
856
+ const svgIconToInputCascade = (entity) => {
857
+ return {
858
+ ...entity,
859
+ website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
860
+ };
861
+ };
862
+ const svgIconToInput = (entity) => {
863
+ return {
864
+ ...entity,
865
+ website: convertHasOneToInput(entity.website)
866
+ };
867
+ };
855
868
  const websiteToInputCascade = (entity) => {
856
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
857
- const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, ...rest } = entity;
869
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
870
+ const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, svgIconsAggregate, ...rest } = entity;
858
871
  return {
859
872
  ...rest,
860
873
  websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInput(entity.websiteType) }) : void 0,
@@ -880,11 +893,12 @@ const websiteToInputCascade = (entity) => {
880
893
  bulletins: entity.bulletins ? processHasManyClear({ sync: (_p = entity.bulletins) == null ? void 0 : _p.map((ent) => bulletinToInput(ent)) }) : void 0,
881
894
  snapshots: entity.snapshots ? processHasManyClear({ sync: (_q = entity.snapshots) == null ? void 0 : _q.map((ent) => websiteSnapshotToInput(ent)) }) : void 0,
882
895
  userOperations: entity.userOperations ? processHasManyClear({ sync: (_r = entity.userOperations) == null ? void 0 : _r.map((ent) => userOperationToInput(ent)) }) : void 0,
896
+ svgIcons: entity.svgIcons ? processHasManyClear({ sync: (_s = entity.svgIcons) == null ? void 0 : _s.map((ent) => svgIconToInput(ent)) }) : void 0,
883
897
  mockBranch: entity.mockBranch ? processHasOneClear({ sync: themeBranchToInput(entity.mockBranch) }) : void 0
884
898
  };
885
899
  };
886
900
  const websiteToInput = (entity) => {
887
- const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, ...rest } = entity;
901
+ const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, svgIconsAggregate, ...rest } = entity;
888
902
  return {
889
903
  ...rest,
890
904
  websiteType: convertHasOneToInput(entity.websiteType),
@@ -910,6 +924,7 @@ const websiteToInput = (entity) => {
910
924
  bulletins: convertHasManyToInput(entity.bulletins),
911
925
  snapshots: convertHasManyToInput(entity.snapshots),
912
926
  userOperations: convertHasManyToInput(entity.userOperations),
927
+ svgIcons: convertHasManyToInput(entity.svgIcons),
913
928
  mockBranch: convertHasOneToInput(entity.mockBranch)
914
929
  };
915
930
  };
@@ -2039,6 +2054,18 @@ var ThemeDistinctEnum = /* @__PURE__ */ ((ThemeDistinctEnum2) => {
2039
2054
  ThemeDistinctEnum2["seqValue"] = "seqValue";
2040
2055
  return ThemeDistinctEnum2;
2041
2056
  })(ThemeDistinctEnum || {});
2057
+ const SvgIconEntityName = "SvgIcon";
2058
+ const SvgIconEntityLabel = "";
2059
+ var SvgIconDistinctEnum = /* @__PURE__ */ ((SvgIconDistinctEnum2) => {
2060
+ SvgIconDistinctEnum2["id"] = "id";
2061
+ SvgIconDistinctEnum2["name"] = "name";
2062
+ SvgIconDistinctEnum2["title"] = "title";
2063
+ SvgIconDistinctEnum2["code"] = "code";
2064
+ SvgIconDistinctEnum2["description"] = "description";
2065
+ SvgIconDistinctEnum2["createdAt"] = "createdAt";
2066
+ SvgIconDistinctEnum2["updatedAt"] = "updatedAt";
2067
+ return SvgIconDistinctEnum2;
2068
+ })(SvgIconDistinctEnum || {});
2042
2069
  class RoleVariableQueryOptions extends QueryOptions {
2043
2070
  constructor(fields, queryArgs) {
2044
2071
  super(RoleVariableEntityName, fields, queryArgs);
@@ -4186,6 +4213,47 @@ class UserOperationQueryOptions extends QueryOptions {
4186
4213
  return this;
4187
4214
  }
4188
4215
  }
4216
+ class SvgIconQueryOptions extends QueryOptions {
4217
+ constructor(fields, queryArgs) {
4218
+ super(SvgIconEntityName, fields, queryArgs);
4219
+ }
4220
+ id() {
4221
+ this.addField("id");
4222
+ return this;
4223
+ }
4224
+ name() {
4225
+ this.addField("name");
4226
+ return this;
4227
+ }
4228
+ title() {
4229
+ this.addField("title");
4230
+ return this;
4231
+ }
4232
+ code() {
4233
+ this.addField("code");
4234
+ return this;
4235
+ }
4236
+ description() {
4237
+ this.addField("description");
4238
+ return this;
4239
+ }
4240
+ createdAt() {
4241
+ this.addField("createdAt");
4242
+ return this;
4243
+ }
4244
+ updatedAt() {
4245
+ this.addField("updatedAt");
4246
+ return this;
4247
+ }
4248
+ website(options) {
4249
+ if (Array.isArray(options)) {
4250
+ this._associations["website"] = new WebsiteQueryOptions(options);
4251
+ } else {
4252
+ this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
4253
+ }
4254
+ return this;
4255
+ }
4256
+ }
4189
4257
  class WebsiteQueryOptions extends QueryOptions {
4190
4258
  constructor(fields, queryArgs) {
4191
4259
  super(WebsiteEntityName, fields, queryArgs);
@@ -4507,6 +4575,18 @@ class WebsiteQueryOptions extends QueryOptions {
4507
4575
  this._aggregates["userOperationsAggregate"] = aggregate;
4508
4576
  return this;
4509
4577
  }
4578
+ svgIcons(options) {
4579
+ if (Array.isArray(options)) {
4580
+ this._associations["svgIcons"] = new SvgIconQueryOptions(options);
4581
+ } else {
4582
+ this._associations["svgIcons"] = options || new SvgIconQueryOptions(["id"]);
4583
+ }
4584
+ return this;
4585
+ }
4586
+ svgIconsAggregate(aggregate) {
4587
+ this._aggregates["svgIconsAggregate"] = aggregate;
4588
+ return this;
4589
+ }
4510
4590
  mockBranch(options) {
4511
4591
  if (Array.isArray(options)) {
4512
4592
  this._associations["mockBranch"] = new ThemeBranchQueryOptions(options);
@@ -6061,6 +6141,11 @@ const themeEntry = {
6061
6141
  entityLabel: ThemeEntityLabel,
6062
6142
  toInput: themeToInput
6063
6143
  };
6144
+ const svgIconEntry = {
6145
+ entityName: SvgIconEntityName,
6146
+ entityLabel: SvgIconEntityLabel,
6147
+ toInput: svgIconToInput
6148
+ };
6064
6149
  var UserFields = /* @__PURE__ */ ((UserFields2) => {
6065
6150
  UserFields2["id"] = "id";
6066
6151
  UserFields2["loginName"] = "loginName";
@@ -6278,6 +6363,8 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
6278
6363
  WebsiteAssciations2["snapshotsAggregate"] = "snapshotsAggregate";
6279
6364
  WebsiteAssciations2["userOperations"] = "userOperations";
6280
6365
  WebsiteAssciations2["userOperationsAggregate"] = "userOperationsAggregate";
6366
+ WebsiteAssciations2["svgIcons"] = "svgIcons";
6367
+ WebsiteAssciations2["svgIconsAggregate"] = "svgIconsAggregate";
6281
6368
  WebsiteAssciations2["mockBranch"] = "mockBranch";
6282
6369
  return WebsiteAssciations2;
6283
6370
  })(WebsiteAssciations || {});
@@ -7021,6 +7108,20 @@ var ThemeAssciations = /* @__PURE__ */ ((ThemeAssciations2) => {
7021
7108
  ThemeAssciations2["category"] = "category";
7022
7109
  return ThemeAssciations2;
7023
7110
  })(ThemeAssciations || {});
7111
+ var SvgIconFields = /* @__PURE__ */ ((SvgIconFields2) => {
7112
+ SvgIconFields2["id"] = "id";
7113
+ SvgIconFields2["name"] = "name";
7114
+ SvgIconFields2["title"] = "title";
7115
+ SvgIconFields2["code"] = "code";
7116
+ SvgIconFields2["description"] = "description";
7117
+ SvgIconFields2["createdAt"] = "createdAt";
7118
+ SvgIconFields2["updatedAt"] = "updatedAt";
7119
+ return SvgIconFields2;
7120
+ })(SvgIconFields || {});
7121
+ var SvgIconAssciations = /* @__PURE__ */ ((SvgIconAssciations2) => {
7122
+ SvgIconAssciations2["website"] = "website";
7123
+ return SvgIconAssciations2;
7124
+ })(SvgIconAssciations || {});
7024
7125
  export {
7025
7126
  AbilityAssciations,
7026
7127
  AbilityDistinctEnum,
@@ -7220,6 +7321,12 @@ export {
7220
7321
  StyleConfigEntityName,
7221
7322
  StyleConfigFields,
7222
7323
  StyleConfigQueryOptions,
7324
+ SvgIconAssciations,
7325
+ SvgIconDistinctEnum,
7326
+ SvgIconEntityLabel,
7327
+ SvgIconEntityName,
7328
+ SvgIconFields,
7329
+ SvgIconQueryOptions,
7223
7330
  TagAssciations,
7224
7331
  TagDistinctEnum,
7225
7332
  TagEntityLabel,
@@ -7417,6 +7524,9 @@ export {
7417
7524
  styleConfigEntry,
7418
7525
  styleConfigToInput,
7419
7526
  styleConfigToInputCascade,
7527
+ svgIconEntry,
7528
+ svgIconToInput,
7529
+ svgIconToInputCascade,
7420
7530
  tagEntry,
7421
7531
  tagToInput,
7422
7532
  tagToInputCascade,