@rxdrag/rxcms-models 0.3.67 → 0.3.69
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/TaskQueryOptions.d.ts +2 -1
- package/dist/fields/TaskFields.d.ts +3 -2
- package/dist/index.mjs +18 -6
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/Task.d.ts +3 -1
- package/dist/interfaces/TaskBoolExp.d.ts +3 -1
- package/dist/interfaces/TaskDistinctExp.d.ts +3 -2
- package/dist/interfaces/TaskInput.d.ts +3 -1
- package/dist/interfaces/TaskOrderBy.d.ts +2 -1
- package/dist/interfaces/TaskOwner.d.ts +10 -0
- package/dist/interfaces/index.d.ts +1 -0
- package/package.json +4 -4
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TaskType } from './TaskType';
|
|
2
2
|
import { TaskStatus } from './TaskStatus';
|
|
3
|
+
import { TaskOwner } from './TaskOwner';
|
|
3
4
|
export declare const TaskEntityName = "Task";
|
|
4
5
|
export declare const TaskEntityLabel = "";
|
|
5
6
|
export interface Task {
|
|
@@ -7,7 +8,6 @@ export interface Task {
|
|
|
7
8
|
jobId?: string;
|
|
8
9
|
type?: TaskType;
|
|
9
10
|
websiteId?: string | null;
|
|
10
|
-
themeId?: string | null;
|
|
11
11
|
name?: string;
|
|
12
12
|
message?: string;
|
|
13
13
|
status?: TaskStatus;
|
|
@@ -18,4 +18,6 @@ export interface Task {
|
|
|
18
18
|
startedAt?: Date;
|
|
19
19
|
endedAt?: Date;
|
|
20
20
|
idempotencyKey?: string;
|
|
21
|
+
taskOwnerType?: TaskOwner;
|
|
22
|
+
errorMessage?: string;
|
|
21
23
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TaskType } from './TaskType';
|
|
2
2
|
import { TaskStatus } from './TaskStatus';
|
|
3
|
+
import { TaskOwner } from './TaskOwner';
|
|
3
4
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
4
5
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
5
6
|
import { EnumComparisonExp } from './EnumComparisonExp';
|
|
@@ -12,7 +13,6 @@ export interface TaskBoolExp {
|
|
|
12
13
|
jobId?: StringComparisonExp;
|
|
13
14
|
type?: EnumComparisonExp<TaskType>;
|
|
14
15
|
websiteId?: IdComparisonExp;
|
|
15
|
-
themeId?: IdComparisonExp;
|
|
16
16
|
name?: StringComparisonExp;
|
|
17
17
|
message?: StringComparisonExp;
|
|
18
18
|
status?: EnumComparisonExp<TaskStatus>;
|
|
@@ -23,4 +23,6 @@ export interface TaskBoolExp {
|
|
|
23
23
|
startedAt?: DateTimeComparisonExp;
|
|
24
24
|
endedAt?: DateTimeComparisonExp;
|
|
25
25
|
idempotencyKey?: StringComparisonExp;
|
|
26
|
+
taskOwnerType?: EnumComparisonExp<TaskOwner>;
|
|
27
|
+
errorMessage?: StringComparisonExp;
|
|
26
28
|
}
|
|
@@ -3,7 +3,6 @@ export declare enum TaskDistinctEnum {
|
|
|
3
3
|
jobId = "jobId",
|
|
4
4
|
type = "type",
|
|
5
5
|
websiteId = "websiteId",
|
|
6
|
-
themeId = "themeId",
|
|
7
6
|
name = "name",
|
|
8
7
|
message = "message",
|
|
9
8
|
status = "status",
|
|
@@ -13,6 +12,8 @@ export declare enum TaskDistinctEnum {
|
|
|
13
12
|
updatedAt = "updatedAt",
|
|
14
13
|
startedAt = "startedAt",
|
|
15
14
|
endedAt = "endedAt",
|
|
16
|
-
idempotencyKey = "idempotencyKey"
|
|
15
|
+
idempotencyKey = "idempotencyKey",
|
|
16
|
+
taskOwnerType = "taskOwnerType",
|
|
17
|
+
errorMessage = "errorMessage"
|
|
17
18
|
}
|
|
18
19
|
export type TaskDistinctExp = TaskDistinctEnum;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Task } from './Task';
|
|
2
2
|
import { TaskType } from './TaskType';
|
|
3
3
|
import { TaskStatus } from './TaskStatus';
|
|
4
|
+
import { TaskOwner } from './TaskOwner';
|
|
4
5
|
export interface TaskInput {
|
|
5
6
|
id?: string | null;
|
|
6
7
|
jobId?: string;
|
|
7
8
|
type?: TaskType;
|
|
8
9
|
websiteId?: string | null;
|
|
9
|
-
themeId?: string | null;
|
|
10
10
|
name?: string;
|
|
11
11
|
message?: string;
|
|
12
12
|
status?: TaskStatus;
|
|
@@ -17,6 +17,8 @@ export interface TaskInput {
|
|
|
17
17
|
startedAt?: Date;
|
|
18
18
|
endedAt?: Date;
|
|
19
19
|
idempotencyKey?: string;
|
|
20
|
+
taskOwnerType?: TaskOwner;
|
|
21
|
+
errorMessage?: string;
|
|
20
22
|
}
|
|
21
23
|
export declare const taskToInputCascade: (entity: Task) => TaskInput;
|
|
22
24
|
export declare const taskToInput: (entity: Task) => TaskInput;
|
|
@@ -4,7 +4,6 @@ export interface TaskOrderBy {
|
|
|
4
4
|
jobId?: OrderBy;
|
|
5
5
|
type?: OrderBy;
|
|
6
6
|
websiteId?: OrderBy;
|
|
7
|
-
themeId?: OrderBy;
|
|
8
7
|
name?: OrderBy;
|
|
9
8
|
message?: OrderBy;
|
|
10
9
|
status?: OrderBy;
|
|
@@ -15,4 +14,6 @@ export interface TaskOrderBy {
|
|
|
15
14
|
startedAt?: OrderBy;
|
|
16
15
|
endedAt?: OrderBy;
|
|
17
16
|
idempotencyKey?: OrderBy;
|
|
17
|
+
taskOwnerType?: OrderBy;
|
|
18
|
+
errorMessage?: OrderBy;
|
|
18
19
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxdrag/rxcms-models",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.69",
|
|
4
4
|
"main": "dist/index.mjs",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"eslint": "^7.32.0",
|
|
14
14
|
"typescript": "^5",
|
|
15
|
-
"@rxdrag/
|
|
16
|
-
"@rxdrag/
|
|
15
|
+
"@rxdrag/eslint-config-custom": "0.2.12",
|
|
16
|
+
"@rxdrag/tsconfig": "0.2.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"swr": "^2.2.4",
|
|
20
|
-
"@rxdrag/entify-lib": "0.0.
|
|
20
|
+
"@rxdrag/entify-lib": "0.0.7"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"lint": "eslint . --ext .ts,tsx",
|