@rxdrag/rxcms-models 0.3.68 → 0.3.70
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.
- package/dist/classes/NotificationQueryOptions.d.ts +15 -0
- package/dist/classes/TaskQueryOptions.d.ts +3 -1
- package/dist/classes/index.d.ts +1 -0
- package/dist/entries/index.d.ts +1 -0
- package/dist/entries/notificationEntry.d.ts +2 -0
- package/dist/fields/NotificationFields.d.ts +13 -0
- package/dist/fields/TaskFields.d.ts +3 -1
- package/dist/fields/index.d.ts +1 -0
- package/dist/index.mjs +131 -10
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/AppModule.d.ts +14 -0
- package/dist/interfaces/Notification.d.ts +16 -0
- package/dist/interfaces/NotificationBoolExp.d.ts +21 -0
- package/dist/interfaces/NotificationDistinctExp.d.ts +12 -0
- package/dist/interfaces/NotificationInput.d.ts +17 -0
- package/dist/interfaces/NotificationOrderBy.d.ts +12 -0
- package/dist/interfaces/NotificationStatus.d.ts +14 -0
- package/dist/interfaces/NotificationType.d.ts +18 -0
- package/dist/interfaces/Task.d.ts +4 -2
- package/dist/interfaces/TaskBoolExp.d.ts +4 -2
- package/dist/interfaces/TaskDistinctExp.d.ts +3 -1
- package/dist/interfaces/TaskInput.d.ts +4 -2
- package/dist/interfaces/TaskOrderBy.d.ts +3 -1
- package/dist/interfaces/index.d.ts +8 -1
- package/package.json +1 -1
- package/dist/interfaces/TaskOwner.d.ts +0 -10
|
@@ -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
|
+
}
|
package/dist/classes/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/entries/index.d.ts
CHANGED
|
@@ -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,7 +13,9 @@ export declare enum TaskFields {
|
|
|
13
13
|
startedAt = "startedAt",
|
|
14
14
|
endedAt = "endedAt",
|
|
15
15
|
idempotencyKey = "idempotencyKey",
|
|
16
|
-
|
|
16
|
+
module = "module",
|
|
17
|
+
errorMessage = "errorMessage",
|
|
18
|
+
starterId = "starterId"
|
|
17
19
|
}
|
|
18
20
|
export declare enum TaskAssciations {
|
|
19
21
|
}
|
package/dist/fields/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1733,7 +1733,9 @@ var TaskDistinctEnum = /* @__PURE__ */ ((TaskDistinctEnum2) => {
|
|
|
1733
1733
|
TaskDistinctEnum2["startedAt"] = "startedAt";
|
|
1734
1734
|
TaskDistinctEnum2["endedAt"] = "endedAt";
|
|
1735
1735
|
TaskDistinctEnum2["idempotencyKey"] = "idempotencyKey";
|
|
1736
|
-
TaskDistinctEnum2["
|
|
1736
|
+
TaskDistinctEnum2["module"] = "module";
|
|
1737
|
+
TaskDistinctEnum2["errorMessage"] = "errorMessage";
|
|
1738
|
+
TaskDistinctEnum2["starterId"] = "starterId";
|
|
1737
1739
|
return TaskDistinctEnum2;
|
|
1738
1740
|
})(TaskDistinctEnum || {});
|
|
1739
1741
|
var TaskStatus = /* @__PURE__ */ ((TaskStatus2) => {
|
|
@@ -1752,11 +1754,49 @@ var TaskType = /* @__PURE__ */ ((TaskType2) => {
|
|
|
1752
1754
|
TaskType2["TranslateProduct"] = "TranslateProduct";
|
|
1753
1755
|
return TaskType2;
|
|
1754
1756
|
})(TaskType || {});
|
|
1755
|
-
var
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
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 || {});
|
|
1760
1800
|
class RoleQueryOptions extends QueryOptions {
|
|
1761
1801
|
constructor(fields, queryArgs) {
|
|
1762
1802
|
super(RoleEntityName, fields, queryArgs);
|
|
@@ -5029,8 +5069,57 @@ class TaskQueryOptions extends QueryOptions {
|
|
|
5029
5069
|
this.addField("idempotencyKey");
|
|
5030
5070
|
return this;
|
|
5031
5071
|
}
|
|
5032
|
-
|
|
5033
|
-
this.addField("
|
|
5072
|
+
module() {
|
|
5073
|
+
this.addField("module");
|
|
5074
|
+
return this;
|
|
5075
|
+
}
|
|
5076
|
+
errorMessage() {
|
|
5077
|
+
this.addField("errorMessage");
|
|
5078
|
+
return this;
|
|
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");
|
|
5034
5123
|
return this;
|
|
5035
5124
|
}
|
|
5036
5125
|
}
|
|
@@ -5224,6 +5313,11 @@ const taskEntry = {
|
|
|
5224
5313
|
entityLabel: TaskEntityLabel,
|
|
5225
5314
|
toInput: taskToInput
|
|
5226
5315
|
};
|
|
5316
|
+
const notificationEntry = {
|
|
5317
|
+
entityName: NotificationEntityName,
|
|
5318
|
+
entityLabel: NotificationEntityLabel,
|
|
5319
|
+
toInput: notificationToInput
|
|
5320
|
+
};
|
|
5227
5321
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
5228
5322
|
UserFields2["id"] = "id";
|
|
5229
5323
|
UserFields2["loginName"] = "loginName";
|
|
@@ -6034,11 +6128,27 @@ var TaskFields = /* @__PURE__ */ ((TaskFields2) => {
|
|
|
6034
6128
|
TaskFields2["startedAt"] = "startedAt";
|
|
6035
6129
|
TaskFields2["endedAt"] = "endedAt";
|
|
6036
6130
|
TaskFields2["idempotencyKey"] = "idempotencyKey";
|
|
6037
|
-
TaskFields2["
|
|
6131
|
+
TaskFields2["module"] = "module";
|
|
6132
|
+
TaskFields2["errorMessage"] = "errorMessage";
|
|
6133
|
+
TaskFields2["starterId"] = "starterId";
|
|
6038
6134
|
return TaskFields2;
|
|
6039
6135
|
})(TaskFields || {});
|
|
6040
6136
|
var TaskAssciations = /* @__PURE__ */ ((TaskAssciations2) => {
|
|
6041
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
|
+
})();
|
|
6042
6152
|
export {
|
|
6043
6153
|
AbilityAssciations,
|
|
6044
6154
|
AbilityDistinctEnum,
|
|
@@ -6053,6 +6163,7 @@ export {
|
|
|
6053
6163
|
AnalyticsConfigEntityName,
|
|
6054
6164
|
AnalyticsConfigFields,
|
|
6055
6165
|
AnalyticsConfigQueryOptions,
|
|
6166
|
+
AppModule,
|
|
6056
6167
|
AttachmentOnProductAssciations,
|
|
6057
6168
|
AttachmentOnProductDistinctEnum,
|
|
6058
6169
|
AttachmentOnProductEntityLabel,
|
|
@@ -6125,6 +6236,14 @@ export {
|
|
|
6125
6236
|
MediaOnProductQueryOptions,
|
|
6126
6237
|
MediaQueryOptions,
|
|
6127
6238
|
MediaType,
|
|
6239
|
+
NotificationAssciations,
|
|
6240
|
+
NotificationDistinctEnum,
|
|
6241
|
+
NotificationEntityLabel,
|
|
6242
|
+
NotificationEntityName,
|
|
6243
|
+
NotificationFields,
|
|
6244
|
+
NotificationQueryOptions,
|
|
6245
|
+
NotificationStatus,
|
|
6246
|
+
NotificationType,
|
|
6128
6247
|
PageAssciations,
|
|
6129
6248
|
PageDistinctEnum,
|
|
6130
6249
|
PageEntityLabel,
|
|
@@ -6209,7 +6328,6 @@ export {
|
|
|
6209
6328
|
TaskEntityLabel,
|
|
6210
6329
|
TaskEntityName,
|
|
6211
6330
|
TaskFields,
|
|
6212
|
-
TaskOwner,
|
|
6213
6331
|
TaskQueryOptions,
|
|
6214
6332
|
TaskStatus,
|
|
6215
6333
|
TaskType,
|
|
@@ -6331,6 +6449,9 @@ export {
|
|
|
6331
6449
|
mediaOnProductToInputCascade,
|
|
6332
6450
|
mediaToInput,
|
|
6333
6451
|
mediaToInputCascade,
|
|
6452
|
+
notificationEntry,
|
|
6453
|
+
notificationToInput,
|
|
6454
|
+
notificationToInputCascade,
|
|
6334
6455
|
pageEntry,
|
|
6335
6456
|
pageMetaEntry,
|
|
6336
6457
|
pageMetaToInput,
|