@rxdrag/rxcms-models 0.3.69 → 0.3.71

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,15 @@
1
+ import { IQueryArgs } from "@rxdrag/entify-lib";
2
+ import { QueryOptions } from "./QueryOptions";
3
+ import { Notification, NotificationBoolExp, NotificationDistinctExp, NotificationOrderBy } from "../interfaces";
4
+ export declare class NotificationQueryOptions extends QueryOptions<Notification, NotificationBoolExp, NotificationOrderBy, NotificationDistinctExp> {
5
+ constructor(fields?: (keyof Notification)[], queryArgs?: IQueryArgs<NotificationBoolExp, NotificationOrderBy, NotificationDistinctExp>);
6
+ id(): this;
7
+ userId(): this;
8
+ title(): this;
9
+ content(): this;
10
+ module(): this;
11
+ status(): this;
12
+ type(): this;
13
+ createdAt(): this;
14
+ updatedAt(): this;
15
+ }
@@ -17,6 +17,7 @@ export declare class TaskQueryOptions extends QueryOptions<Task, TaskBoolExp, Ta
17
17
  startedAt(): this;
18
18
  endedAt(): this;
19
19
  idempotencyKey(): this;
20
- taskOwnerType(): this;
20
+ module(): this;
21
21
  errorMessage(): this;
22
+ starterId(): this;
22
23
  }
@@ -36,5 +36,6 @@ export * from './SearchIndexQueryOptions';
36
36
  export * from './VideoFolderQueryOptions';
37
37
  export * from './VideoQueryOptions';
38
38
  export * from './TaskQueryOptions';
39
+ export * from './NotificationQueryOptions';
39
40
  export * from './QueryOptions';
40
41
  export * from './metainfo';
@@ -36,3 +36,4 @@ export * from './searchIndexEntry';
36
36
  export * from './videoFolderEntry';
37
37
  export * from './videoEntry';
38
38
  export * from './taskEntry';
39
+ export * from './notificationEntry';
@@ -0,0 +1,2 @@
1
+ import { EntityEntry } from "@rxdrag/entify-lib";
2
+ export declare const notificationEntry: EntityEntry;
@@ -0,0 +1,13 @@
1
+ export declare enum NotificationFields {
2
+ id = "id",
3
+ userId = "userId",
4
+ title = "title",
5
+ content = "content",
6
+ module = "module",
7
+ status = "status",
8
+ type = "type",
9
+ createdAt = "createdAt",
10
+ updatedAt = "updatedAt"
11
+ }
12
+ export declare enum NotificationAssciations {
13
+ }
@@ -13,8 +13,9 @@ export declare enum TaskFields {
13
13
  startedAt = "startedAt",
14
14
  endedAt = "endedAt",
15
15
  idempotencyKey = "idempotencyKey",
16
- taskOwnerType = "taskOwnerType",
17
- errorMessage = "errorMessage"
16
+ module = "module",
17
+ errorMessage = "errorMessage",
18
+ starterId = "starterId"
18
19
  }
19
20
  export declare enum TaskAssciations {
20
21
  }
@@ -36,3 +36,4 @@ export * from './SearchIndexFields';
36
36
  export * from './VideoFolderFields';
37
37
  export * from './VideoFields';
38
38
  export * from './TaskFields';
39
+ export * from './NotificationFields';
package/dist/index.mjs CHANGED
@@ -1733,8 +1733,9 @@ var TaskDistinctEnum = /* @__PURE__ */ ((TaskDistinctEnum2) => {
1733
1733
  TaskDistinctEnum2["startedAt"] = "startedAt";
1734
1734
  TaskDistinctEnum2["endedAt"] = "endedAt";
1735
1735
  TaskDistinctEnum2["idempotencyKey"] = "idempotencyKey";
1736
- TaskDistinctEnum2["taskOwnerType"] = "taskOwnerType";
1736
+ TaskDistinctEnum2["module"] = "module";
1737
1737
  TaskDistinctEnum2["errorMessage"] = "errorMessage";
1738
+ TaskDistinctEnum2["starterId"] = "starterId";
1738
1739
  return TaskDistinctEnum2;
1739
1740
  })(TaskDistinctEnum || {});
1740
1741
  var TaskStatus = /* @__PURE__ */ ((TaskStatus2) => {
@@ -1753,11 +1754,49 @@ var TaskType = /* @__PURE__ */ ((TaskType2) => {
1753
1754
  TaskType2["TranslateProduct"] = "TranslateProduct";
1754
1755
  return TaskType2;
1755
1756
  })(TaskType || {});
1756
- var TaskOwner = /* @__PURE__ */ ((TaskOwner2) => {
1757
- TaskOwner2["Studio"] = "Studio";
1758
- TaskOwner2["Dashboard"] = "Dashboard";
1759
- return TaskOwner2;
1760
- })(TaskOwner || {});
1757
+ var AppModule = /* @__PURE__ */ ((AppModule2) => {
1758
+ AppModule2["Studio"] = "Studio";
1759
+ AppModule2["Dashboard"] = "Dashboard";
1760
+ AppModule2["AccountCenter"] = "AccountCenter";
1761
+ return AppModule2;
1762
+ })(AppModule || {});
1763
+ const NotificationEntityName = "Notification";
1764
+ const NotificationEntityLabel = "";
1765
+ const notificationToInputCascade = (entity) => {
1766
+ return {
1767
+ ...entity
1768
+ };
1769
+ };
1770
+ const notificationToInput = (entity) => {
1771
+ return {
1772
+ ...entity
1773
+ };
1774
+ };
1775
+ var NotificationDistinctEnum = /* @__PURE__ */ ((NotificationDistinctEnum2) => {
1776
+ NotificationDistinctEnum2["id"] = "id";
1777
+ NotificationDistinctEnum2["userId"] = "userId";
1778
+ NotificationDistinctEnum2["title"] = "title";
1779
+ NotificationDistinctEnum2["content"] = "content";
1780
+ NotificationDistinctEnum2["module"] = "module";
1781
+ NotificationDistinctEnum2["status"] = "status";
1782
+ NotificationDistinctEnum2["type"] = "type";
1783
+ NotificationDistinctEnum2["createdAt"] = "createdAt";
1784
+ NotificationDistinctEnum2["updatedAt"] = "updatedAt";
1785
+ return NotificationDistinctEnum2;
1786
+ })(NotificationDistinctEnum || {});
1787
+ var NotificationStatus = /* @__PURE__ */ ((NotificationStatus2) => {
1788
+ NotificationStatus2["unread"] = "unread";
1789
+ NotificationStatus2["read"] = "read";
1790
+ NotificationStatus2["archived"] = "archived";
1791
+ return NotificationStatus2;
1792
+ })(NotificationStatus || {});
1793
+ var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
1794
+ NotificationType2["info"] = "info";
1795
+ NotificationType2["warning"] = "warning";
1796
+ NotificationType2["error"] = "error";
1797
+ NotificationType2["update"] = "update";
1798
+ return NotificationType2;
1799
+ })(NotificationType || {});
1761
1800
  class RoleQueryOptions extends QueryOptions {
1762
1801
  constructor(fields, queryArgs) {
1763
1802
  super(RoleEntityName, fields, queryArgs);
@@ -5030,14 +5069,59 @@ class TaskQueryOptions extends QueryOptions {
5030
5069
  this.addField("idempotencyKey");
5031
5070
  return this;
5032
5071
  }
5033
- taskOwnerType() {
5034
- this.addField("taskOwnerType");
5072
+ module() {
5073
+ this.addField("module");
5035
5074
  return this;
5036
5075
  }
5037
5076
  errorMessage() {
5038
5077
  this.addField("errorMessage");
5039
5078
  return this;
5040
5079
  }
5080
+ starterId() {
5081
+ this.addField("starterId");
5082
+ return this;
5083
+ }
5084
+ }
5085
+ class NotificationQueryOptions extends QueryOptions {
5086
+ constructor(fields, queryArgs) {
5087
+ super(NotificationEntityName, fields, queryArgs);
5088
+ }
5089
+ id() {
5090
+ this.addField("id");
5091
+ return this;
5092
+ }
5093
+ userId() {
5094
+ this.addField("userId");
5095
+ return this;
5096
+ }
5097
+ title() {
5098
+ this.addField("title");
5099
+ return this;
5100
+ }
5101
+ content() {
5102
+ this.addField("content");
5103
+ return this;
5104
+ }
5105
+ module() {
5106
+ this.addField("module");
5107
+ return this;
5108
+ }
5109
+ status() {
5110
+ this.addField("status");
5111
+ return this;
5112
+ }
5113
+ type() {
5114
+ this.addField("type");
5115
+ return this;
5116
+ }
5117
+ createdAt() {
5118
+ this.addField("createdAt");
5119
+ return this;
5120
+ }
5121
+ updatedAt() {
5122
+ this.addField("updatedAt");
5123
+ return this;
5124
+ }
5041
5125
  }
5042
5126
  const userEntry = {
5043
5127
  entityName: UserEntityName,
@@ -5229,6 +5313,11 @@ const taskEntry = {
5229
5313
  entityLabel: TaskEntityLabel,
5230
5314
  toInput: taskToInput
5231
5315
  };
5316
+ const notificationEntry = {
5317
+ entityName: NotificationEntityName,
5318
+ entityLabel: NotificationEntityLabel,
5319
+ toInput: notificationToInput
5320
+ };
5232
5321
  var UserFields = /* @__PURE__ */ ((UserFields2) => {
5233
5322
  UserFields2["id"] = "id";
5234
5323
  UserFields2["loginName"] = "loginName";
@@ -6039,12 +6128,27 @@ var TaskFields = /* @__PURE__ */ ((TaskFields2) => {
6039
6128
  TaskFields2["startedAt"] = "startedAt";
6040
6129
  TaskFields2["endedAt"] = "endedAt";
6041
6130
  TaskFields2["idempotencyKey"] = "idempotencyKey";
6042
- TaskFields2["taskOwnerType"] = "taskOwnerType";
6131
+ TaskFields2["module"] = "module";
6043
6132
  TaskFields2["errorMessage"] = "errorMessage";
6133
+ TaskFields2["starterId"] = "starterId";
6044
6134
  return TaskFields2;
6045
6135
  })(TaskFields || {});
6046
6136
  var TaskAssciations = /* @__PURE__ */ ((TaskAssciations2) => {
6047
6137
  })();
6138
+ var NotificationFields = /* @__PURE__ */ ((NotificationFields2) => {
6139
+ NotificationFields2["id"] = "id";
6140
+ NotificationFields2["userId"] = "userId";
6141
+ NotificationFields2["title"] = "title";
6142
+ NotificationFields2["content"] = "content";
6143
+ NotificationFields2["module"] = "module";
6144
+ NotificationFields2["status"] = "status";
6145
+ NotificationFields2["type"] = "type";
6146
+ NotificationFields2["createdAt"] = "createdAt";
6147
+ NotificationFields2["updatedAt"] = "updatedAt";
6148
+ return NotificationFields2;
6149
+ })(NotificationFields || {});
6150
+ var NotificationAssciations = /* @__PURE__ */ ((NotificationAssciations2) => {
6151
+ })();
6048
6152
  export {
6049
6153
  AbilityAssciations,
6050
6154
  AbilityDistinctEnum,
@@ -6059,6 +6163,7 @@ export {
6059
6163
  AnalyticsConfigEntityName,
6060
6164
  AnalyticsConfigFields,
6061
6165
  AnalyticsConfigQueryOptions,
6166
+ AppModule,
6062
6167
  AttachmentOnProductAssciations,
6063
6168
  AttachmentOnProductDistinctEnum,
6064
6169
  AttachmentOnProductEntityLabel,
@@ -6131,6 +6236,14 @@ export {
6131
6236
  MediaOnProductQueryOptions,
6132
6237
  MediaQueryOptions,
6133
6238
  MediaType,
6239
+ NotificationAssciations,
6240
+ NotificationDistinctEnum,
6241
+ NotificationEntityLabel,
6242
+ NotificationEntityName,
6243
+ NotificationFields,
6244
+ NotificationQueryOptions,
6245
+ NotificationStatus,
6246
+ NotificationType,
6134
6247
  PageAssciations,
6135
6248
  PageDistinctEnum,
6136
6249
  PageEntityLabel,
@@ -6215,7 +6328,6 @@ export {
6215
6328
  TaskEntityLabel,
6216
6329
  TaskEntityName,
6217
6330
  TaskFields,
6218
- TaskOwner,
6219
6331
  TaskQueryOptions,
6220
6332
  TaskStatus,
6221
6333
  TaskType,
@@ -6337,6 +6449,9 @@ export {
6337
6449
  mediaOnProductToInputCascade,
6338
6450
  mediaToInput,
6339
6451
  mediaToInputCascade,
6452
+ notificationEntry,
6453
+ notificationToInput,
6454
+ notificationToInputCascade,
6340
6455
  pageEntry,
6341
6456
  pageMetaEntry,
6342
6457
  pageMetaToInput,