@rxdrag/rxcms-models 0.2.12 → 0.2.13

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,20 @@
1
+ import { IQueryArgs } from "@rxdrag/entify-hooks";
2
+ import { QueryOptions } from "./QueryOptions";
3
+ import { Mail, MailBoolExp, MailDistinctExp, MailOrderBy } from "../interfaces";
4
+ export declare class MailQueryOptions extends QueryOptions<Mail, MailBoolExp, MailOrderBy, MailDistinctExp> {
5
+ constructor(fields?: (keyof Mail)[], queryArgs?: IQueryArgs<MailBoolExp, MailOrderBy, MailDistinctExp>);
6
+ id(): this;
7
+ createdAt(): this;
8
+ updatedAt(): this;
9
+ taskId(): this;
10
+ taskName(): this;
11
+ remark(): this;
12
+ subject(): this;
13
+ message(): this;
14
+ to(): this;
15
+ cc(): this;
16
+ label(): this;
17
+ name(): this;
18
+ company(): this;
19
+ mailType(): this;
20
+ }
@@ -2,6 +2,7 @@ export * from './UserQueryOptions';
2
2
  export * from './RoleQueryOptions';
3
3
  export * from './AbilityQueryOptions';
4
4
  export * from './MediaQueryOptions';
5
+ export * from './MailQueryOptions';
5
6
  export * from './WebsiteQueryOptions';
6
7
  export * from './LangQueryOptions';
7
8
  export * from './WebsiteTypeQueryOptions';
@@ -2,6 +2,7 @@ export * from './userEntry';
2
2
  export * from './roleEntry';
3
3
  export * from './abilityEntry';
4
4
  export * from './mediaEntry';
5
+ export * from './mailEntry';
5
6
  export * from './websiteEntry';
6
7
  export * from './langEntry';
7
8
  export * from './websiteTypeEntry';
@@ -0,0 +1,2 @@
1
+ import { EntityEntry } from "@rxdrag/entify-hooks";
2
+ export declare const mailEntry: EntityEntry;
@@ -0,0 +1,18 @@
1
+ export declare enum MailFields {
2
+ id = "id",
3
+ createdAt = "createdAt",
4
+ updatedAt = "updatedAt",
5
+ taskId = "taskId",
6
+ taskName = "taskName",
7
+ remark = "remark",
8
+ subject = "subject",
9
+ message = "message",
10
+ to = "to",
11
+ cc = "cc",
12
+ label = "label",
13
+ name = "name",
14
+ company = "company",
15
+ mailType = "mailType"
16
+ }
17
+ export declare enum MailAssciations {
18
+ }
@@ -2,6 +2,7 @@ export * from './UserFields';
2
2
  export * from './RoleFields';
3
3
  export * from './AbilityFields';
4
4
  export * from './MediaFields';
5
+ export * from './MailFields';
5
6
  export * from './WebsiteFields';
6
7
  export * from './LangFields';
7
8
  export * from './WebsiteTypeFields';
package/dist/index.mjs CHANGED
@@ -643,6 +643,42 @@ var MediaType = /* @__PURE__ */ ((MediaType2) => {
643
643
  MediaType2["document"] = "document";
644
644
  return MediaType2;
645
645
  })(MediaType || {});
646
+ const MailEntityName = "Mail";
647
+ const MailEntityLabel = "";
648
+ const mailToInputCascade = (entity) => {
649
+ return {
650
+ ...entity
651
+ };
652
+ };
653
+ const mailToInput = (entity) => {
654
+ return {
655
+ ...entity
656
+ };
657
+ };
658
+ var MailDistinctEnum = /* @__PURE__ */ ((MailDistinctEnum2) => {
659
+ MailDistinctEnum2["id"] = "id";
660
+ MailDistinctEnum2["createdAt"] = "createdAt";
661
+ MailDistinctEnum2["updatedAt"] = "updatedAt";
662
+ MailDistinctEnum2["taskId"] = "taskId";
663
+ MailDistinctEnum2["taskName"] = "taskName";
664
+ MailDistinctEnum2["remark"] = "remark";
665
+ MailDistinctEnum2["subject"] = "subject";
666
+ MailDistinctEnum2["message"] = "message";
667
+ MailDistinctEnum2["to"] = "to";
668
+ MailDistinctEnum2["cc"] = "cc";
669
+ MailDistinctEnum2["label"] = "label";
670
+ MailDistinctEnum2["name"] = "name";
671
+ MailDistinctEnum2["company"] = "company";
672
+ MailDistinctEnum2["mailType"] = "mailType";
673
+ return MailDistinctEnum2;
674
+ })(MailDistinctEnum || {});
675
+ var MailType = /* @__PURE__ */ ((MailType2) => {
676
+ MailType2["default"] = "default";
677
+ MailType2["getPrice"] = "getPrice";
678
+ MailType2["findPassword"] = "findPassword";
679
+ MailType2["notice"] = "notice";
680
+ return MailType2;
681
+ })(MailType || {});
646
682
  const WebsiteEntityName = "Website";
647
683
  const WebsiteEntityLabel = "站点";
648
684
  var WebsiteDistinctEnum = /* @__PURE__ */ ((WebsiteDistinctEnum2) => {
@@ -2990,6 +3026,67 @@ class AbilityQueryOptions extends QueryOptions {
2990
3026
  return this;
2991
3027
  }
2992
3028
  }
3029
+ class MailQueryOptions extends QueryOptions {
3030
+ constructor(fields, queryArgs) {
3031
+ super(MailEntityName, fields, queryArgs);
3032
+ }
3033
+ id() {
3034
+ this.addField("id");
3035
+ return this;
3036
+ }
3037
+ createdAt() {
3038
+ this.addField("createdAt");
3039
+ return this;
3040
+ }
3041
+ updatedAt() {
3042
+ this.addField("updatedAt");
3043
+ return this;
3044
+ }
3045
+ taskId() {
3046
+ this.addField("taskId");
3047
+ return this;
3048
+ }
3049
+ taskName() {
3050
+ this.addField("taskName");
3051
+ return this;
3052
+ }
3053
+ remark() {
3054
+ this.addField("remark");
3055
+ return this;
3056
+ }
3057
+ subject() {
3058
+ this.addField("subject");
3059
+ return this;
3060
+ }
3061
+ message() {
3062
+ this.addField("message");
3063
+ return this;
3064
+ }
3065
+ to() {
3066
+ this.addField("to");
3067
+ return this;
3068
+ }
3069
+ cc() {
3070
+ this.addField("cc");
3071
+ return this;
3072
+ }
3073
+ label() {
3074
+ this.addField("label");
3075
+ return this;
3076
+ }
3077
+ name() {
3078
+ this.addField("name");
3079
+ return this;
3080
+ }
3081
+ company() {
3082
+ this.addField("company");
3083
+ return this;
3084
+ }
3085
+ mailType() {
3086
+ this.addField("mailType");
3087
+ return this;
3088
+ }
3089
+ }
2993
3090
  class LangQueryOptions extends QueryOptions {
2994
3091
  constructor(fields, queryArgs) {
2995
3092
  super(LangEntityName, fields, queryArgs);
@@ -3481,6 +3578,11 @@ const mediaEntry = {
3481
3578
  entityLabel: MediaEntityLabel,
3482
3579
  toInput: mediaToInput
3483
3580
  };
3581
+ const mailEntry = {
3582
+ entityName: MailEntityName,
3583
+ entityLabel: MailEntityLabel,
3584
+ toInput: mailToInput
3585
+ };
3484
3586
  const websiteEntry = {
3485
3587
  entityName: WebsiteEntityName,
3486
3588
  entityLabel: WebsiteEntityLabel,
@@ -3671,6 +3773,25 @@ var MediaAssciations = /* @__PURE__ */ ((MediaAssciations2) => {
3671
3773
  MediaAssciations2["productAttacPivotsAggregate"] = "productAttacPivotsAggregate";
3672
3774
  return MediaAssciations2;
3673
3775
  })(MediaAssciations || {});
3776
+ var MailFields = /* @__PURE__ */ ((MailFields2) => {
3777
+ MailFields2["id"] = "id";
3778
+ MailFields2["createdAt"] = "createdAt";
3779
+ MailFields2["updatedAt"] = "updatedAt";
3780
+ MailFields2["taskId"] = "taskId";
3781
+ MailFields2["taskName"] = "taskName";
3782
+ MailFields2["remark"] = "remark";
3783
+ MailFields2["subject"] = "subject";
3784
+ MailFields2["message"] = "message";
3785
+ MailFields2["to"] = "to";
3786
+ MailFields2["cc"] = "cc";
3787
+ MailFields2["label"] = "label";
3788
+ MailFields2["name"] = "name";
3789
+ MailFields2["company"] = "company";
3790
+ MailFields2["mailType"] = "mailType";
3791
+ return MailFields2;
3792
+ })(MailFields || {});
3793
+ var MailAssciations = /* @__PURE__ */ ((MailAssciations2) => {
3794
+ })();
3674
3795
  var WebsiteFields = /* @__PURE__ */ ((WebsiteFields2) => {
3675
3796
  WebsiteFields2["id"] = "id";
3676
3797
  WebsiteFields2["name"] = "name";
@@ -4146,6 +4267,13 @@ export {
4146
4267
  LangEntityName,
4147
4268
  LangFields,
4148
4269
  LangQueryOptions,
4270
+ MailAssciations,
4271
+ MailDistinctEnum,
4272
+ MailEntityLabel,
4273
+ MailEntityName,
4274
+ MailFields,
4275
+ MailQueryOptions,
4276
+ MailType,
4149
4277
  MediaAssciations,
4150
4278
  MediaDistinctEnum,
4151
4279
  MediaEntityLabel,
@@ -4285,6 +4413,9 @@ export {
4285
4413
  langEntry,
4286
4414
  langToInput,
4287
4415
  langToInputCascade,
4416
+ mailEntry,
4417
+ mailToInput,
4418
+ mailToInputCascade,
4288
4419
  mediaEntry,
4289
4420
  mediaFolderEntry,
4290
4421
  mediaFolderToInput,