@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.
@@ -0,0 +1,14 @@
1
+ export declare enum AppModule {
2
+ /**
3
+ * label: undefined
4
+ */
5
+ Studio = "Studio",
6
+ /**
7
+ * label: undefined
8
+ */
9
+ Dashboard = "Dashboard",
10
+ /**
11
+ * label: undefined
12
+ */
13
+ AccountCenter = "AccountCenter"
14
+ }
@@ -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,14 @@
1
+ export declare enum NotificationStatus {
2
+ /**
3
+ * label: undefined
4
+ */
5
+ unread = "unread",
6
+ /**
7
+ * label: undefined
8
+ */
9
+ read = "read",
10
+ /**
11
+ * label: undefined
12
+ */
13
+ archived = "archived"
14
+ }
@@ -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 { TaskOwner } from './TaskOwner';
3
+ import { AppModule } from './AppModule';
4
4
  export declare const TaskEntityName = "Task";
5
5
  export declare const TaskEntityLabel = "";
6
6
  export interface Task {
@@ -18,5 +18,7 @@ export interface Task {
18
18
  startedAt?: Date;
19
19
  endedAt?: Date;
20
20
  idempotencyKey?: string;
21
- taskOwnerType?: TaskOwner;
21
+ module?: AppModule;
22
+ errorMessage?: string;
23
+ starterId?: string;
22
24
  }
@@ -1,6 +1,6 @@
1
1
  import { TaskType } from './TaskType';
2
2
  import { TaskStatus } from './TaskStatus';
3
- import { TaskOwner } from './TaskOwner';
3
+ import { AppModule } from './AppModule';
4
4
  import { IdComparisonExp } from './IdComparisonExp';
5
5
  import { StringComparisonExp } from './StringComparisonExp';
6
6
  import { EnumComparisonExp } from './EnumComparisonExp';
@@ -23,5 +23,7 @@ export interface TaskBoolExp {
23
23
  startedAt?: DateTimeComparisonExp;
24
24
  endedAt?: DateTimeComparisonExp;
25
25
  idempotencyKey?: StringComparisonExp;
26
- taskOwnerType?: EnumComparisonExp<TaskOwner>;
26
+ module?: EnumComparisonExp<AppModule>;
27
+ errorMessage?: StringComparisonExp;
28
+ starterId?: StringComparisonExp;
27
29
  }
@@ -13,6 +13,8 @@ export declare enum TaskDistinctEnum {
13
13
  startedAt = "startedAt",
14
14
  endedAt = "endedAt",
15
15
  idempotencyKey = "idempotencyKey",
16
- taskOwnerType = "taskOwnerType"
16
+ module = "module",
17
+ errorMessage = "errorMessage",
18
+ starterId = "starterId"
17
19
  }
18
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 { TaskOwner } from './TaskOwner';
4
+ import { AppModule } from './AppModule';
5
5
  export interface TaskInput {
6
6
  id?: string | null;
7
7
  jobId?: string;
@@ -17,7 +17,9 @@ export interface TaskInput {
17
17
  startedAt?: Date;
18
18
  endedAt?: Date;
19
19
  idempotencyKey?: string;
20
- taskOwnerType?: TaskOwner;
20
+ module?: AppModule;
21
+ errorMessage?: string;
22
+ starterId?: string;
21
23
  }
22
24
  export declare const taskToInputCascade: (entity: Task) => TaskInput;
23
25
  export declare const taskToInput: (entity: Task) => TaskInput;
@@ -14,5 +14,7 @@ export interface TaskOrderBy {
14
14
  startedAt?: OrderBy;
15
15
  endedAt?: OrderBy;
16
16
  idempotencyKey?: OrderBy;
17
- taskOwnerType?: OrderBy;
17
+ module?: OrderBy;
18
+ errorMessage?: OrderBy;
19
+ starterId?: OrderBy;
18
20
  }
@@ -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 './TaskOwner';
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.68",
3
+ "version": "0.3.70",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "files": [
@@ -1,10 +0,0 @@
1
- export declare enum TaskOwner {
2
- /**
3
- * label: undefined
4
- */
5
- Studio = "Studio",
6
- /**
7
- * label: undefined
8
- */
9
- Dashboard = "Dashboard"
10
- }