@rxdrag/rxcms-models 0.3.69 → 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 +2 -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 -2
- package/dist/fields/index.d.ts +1 -0
- package/dist/index.mjs +125 -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 +3 -2
- package/dist/interfaces/TaskBoolExp.d.ts +3 -2
- package/dist/interfaces/TaskDistinctExp.d.ts +3 -2
- package/dist/interfaces/TaskInput.d.ts +3 -2
- package/dist/interfaces/TaskOrderBy.d.ts +2 -1
- package/dist/interfaces/index.d.ts +8 -1
- package/package.json +3 -3
- package/dist/interfaces/TaskOwner.d.ts +0 -10
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AppModule } from './AppModule';
|
|
2
|
+
import { NotificationStatus } from './NotificationStatus';
|
|
3
|
+
import { NotificationType } from './NotificationType';
|
|
4
|
+
export declare const NotificationEntityName = "Notification";
|
|
5
|
+
export declare const NotificationEntityLabel = "";
|
|
6
|
+
export interface Notification {
|
|
7
|
+
id?: string | null;
|
|
8
|
+
userId?: string | null;
|
|
9
|
+
title?: string;
|
|
10
|
+
content?: string;
|
|
11
|
+
module?: AppModule;
|
|
12
|
+
status?: NotificationStatus;
|
|
13
|
+
type?: NotificationType;
|
|
14
|
+
createdAt?: Date;
|
|
15
|
+
updatedAt?: Date;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AppModule } from './AppModule';
|
|
2
|
+
import { NotificationStatus } from './NotificationStatus';
|
|
3
|
+
import { NotificationType } from './NotificationType';
|
|
4
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
5
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
6
|
+
import { EnumComparisonExp } from './EnumComparisonExp';
|
|
7
|
+
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
8
|
+
export interface NotificationBoolExp {
|
|
9
|
+
_and?: NotificationBoolExp[];
|
|
10
|
+
_or?: NotificationBoolExp[];
|
|
11
|
+
_not?: NotificationBoolExp;
|
|
12
|
+
id?: IdComparisonExp;
|
|
13
|
+
userId?: IdComparisonExp;
|
|
14
|
+
title?: StringComparisonExp;
|
|
15
|
+
content?: StringComparisonExp;
|
|
16
|
+
module?: EnumComparisonExp<AppModule>;
|
|
17
|
+
status?: EnumComparisonExp<NotificationStatus>;
|
|
18
|
+
type?: EnumComparisonExp<NotificationType>;
|
|
19
|
+
createdAt?: DateTimeComparisonExp;
|
|
20
|
+
updatedAt?: DateTimeComparisonExp;
|
|
21
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum NotificationDistinctEnum {
|
|
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 type NotificationDistinctExp = NotificationDistinctEnum;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Notification } from './Notification';
|
|
2
|
+
import { AppModule } from './AppModule';
|
|
3
|
+
import { NotificationStatus } from './NotificationStatus';
|
|
4
|
+
import { NotificationType } from './NotificationType';
|
|
5
|
+
export interface NotificationInput {
|
|
6
|
+
id?: string | null;
|
|
7
|
+
userId?: string | null;
|
|
8
|
+
title?: string;
|
|
9
|
+
content?: string;
|
|
10
|
+
module?: AppModule;
|
|
11
|
+
status?: NotificationStatus;
|
|
12
|
+
type?: NotificationType;
|
|
13
|
+
createdAt?: Date;
|
|
14
|
+
updatedAt?: Date;
|
|
15
|
+
}
|
|
16
|
+
export declare const notificationToInputCascade: (entity: Notification) => NotificationInput;
|
|
17
|
+
export declare const notificationToInput: (entity: Notification) => NotificationInput;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OrderBy } from '@rxdrag/entify-lib';
|
|
2
|
+
export interface NotificationOrderBy {
|
|
3
|
+
id?: OrderBy;
|
|
4
|
+
userId?: OrderBy;
|
|
5
|
+
title?: OrderBy;
|
|
6
|
+
content?: OrderBy;
|
|
7
|
+
module?: OrderBy;
|
|
8
|
+
status?: OrderBy;
|
|
9
|
+
type?: OrderBy;
|
|
10
|
+
createdAt?: OrderBy;
|
|
11
|
+
updatedAt?: OrderBy;
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum NotificationType {
|
|
2
|
+
/**
|
|
3
|
+
* label: undefined
|
|
4
|
+
*/
|
|
5
|
+
info = "info",
|
|
6
|
+
/**
|
|
7
|
+
* label: undefined
|
|
8
|
+
*/
|
|
9
|
+
warning = "warning",
|
|
10
|
+
/**
|
|
11
|
+
* label: undefined
|
|
12
|
+
*/
|
|
13
|
+
error = "error",
|
|
14
|
+
/**
|
|
15
|
+
* label: undefined
|
|
16
|
+
*/
|
|
17
|
+
update = "update"
|
|
18
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TaskType } from './TaskType';
|
|
2
2
|
import { TaskStatus } from './TaskStatus';
|
|
3
|
-
import {
|
|
3
|
+
import { AppModule } from './AppModule';
|
|
4
4
|
export declare const TaskEntityName = "Task";
|
|
5
5
|
export declare const TaskEntityLabel = "";
|
|
6
6
|
export interface Task {
|
|
@@ -18,6 +18,7 @@ export interface Task {
|
|
|
18
18
|
startedAt?: Date;
|
|
19
19
|
endedAt?: Date;
|
|
20
20
|
idempotencyKey?: string;
|
|
21
|
-
|
|
21
|
+
module?: AppModule;
|
|
22
22
|
errorMessage?: string;
|
|
23
|
+
starterId?: string;
|
|
23
24
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TaskType } from './TaskType';
|
|
2
2
|
import { TaskStatus } from './TaskStatus';
|
|
3
|
-
import {
|
|
3
|
+
import { AppModule } from './AppModule';
|
|
4
4
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
5
5
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
6
6
|
import { EnumComparisonExp } from './EnumComparisonExp';
|
|
@@ -23,6 +23,7 @@ export interface TaskBoolExp {
|
|
|
23
23
|
startedAt?: DateTimeComparisonExp;
|
|
24
24
|
endedAt?: DateTimeComparisonExp;
|
|
25
25
|
idempotencyKey?: StringComparisonExp;
|
|
26
|
-
|
|
26
|
+
module?: EnumComparisonExp<AppModule>;
|
|
27
27
|
errorMessage?: StringComparisonExp;
|
|
28
|
+
starterId?: StringComparisonExp;
|
|
28
29
|
}
|
|
@@ -13,7 +13,8 @@ export declare enum TaskDistinctEnum {
|
|
|
13
13
|
startedAt = "startedAt",
|
|
14
14
|
endedAt = "endedAt",
|
|
15
15
|
idempotencyKey = "idempotencyKey",
|
|
16
|
-
|
|
17
|
-
errorMessage = "errorMessage"
|
|
16
|
+
module = "module",
|
|
17
|
+
errorMessage = "errorMessage",
|
|
18
|
+
starterId = "starterId"
|
|
18
19
|
}
|
|
19
20
|
export type TaskDistinctExp = TaskDistinctEnum;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Task } from './Task';
|
|
2
2
|
import { TaskType } from './TaskType';
|
|
3
3
|
import { TaskStatus } from './TaskStatus';
|
|
4
|
-
import {
|
|
4
|
+
import { AppModule } from './AppModule';
|
|
5
5
|
export interface TaskInput {
|
|
6
6
|
id?: string | null;
|
|
7
7
|
jobId?: string;
|
|
@@ -17,8 +17,9 @@ export interface TaskInput {
|
|
|
17
17
|
startedAt?: Date;
|
|
18
18
|
endedAt?: Date;
|
|
19
19
|
idempotencyKey?: string;
|
|
20
|
-
|
|
20
|
+
module?: AppModule;
|
|
21
21
|
errorMessage?: string;
|
|
22
|
+
starterId?: string;
|
|
22
23
|
}
|
|
23
24
|
export declare const taskToInputCascade: (entity: Task) => TaskInput;
|
|
24
25
|
export declare const taskToInput: (entity: Task) => TaskInput;
|
|
@@ -250,4 +250,11 @@ export * from './TaskOrderBy';
|
|
|
250
250
|
export * from './TaskDistinctExp';
|
|
251
251
|
export * from './TaskStatus';
|
|
252
252
|
export * from './TaskType';
|
|
253
|
-
export * from './
|
|
253
|
+
export * from './AppModule';
|
|
254
|
+
export * from './Notification';
|
|
255
|
+
export * from './NotificationInput';
|
|
256
|
+
export * from './NotificationBoolExp';
|
|
257
|
+
export * from './NotificationOrderBy';
|
|
258
|
+
export * from './NotificationDistinctExp';
|
|
259
|
+
export * from './NotificationStatus';
|
|
260
|
+
export * from './NotificationType';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxdrag/rxcms-models",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.70",
|
|
4
4
|
"main": "dist/index.mjs",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"eslint": "^7.32.0",
|
|
14
14
|
"typescript": "^5",
|
|
15
|
-
"@rxdrag/
|
|
16
|
-
"@rxdrag/
|
|
15
|
+
"@rxdrag/tsconfig": "0.2.0",
|
|
16
|
+
"@rxdrag/eslint-config-custom": "0.2.12"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"swr": "^2.2.4",
|