@chevre/factory 4.311.0 → 4.313.0-alpha.0
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.
|
@@ -38,6 +38,13 @@ export interface IProject {
|
|
|
38
38
|
id: string;
|
|
39
39
|
typeOf: OrganizationType.Project;
|
|
40
40
|
}
|
|
41
|
+
export interface ITasksExportAction {
|
|
42
|
+
agent?: {
|
|
43
|
+
name: string;
|
|
44
|
+
};
|
|
45
|
+
startDate: Date;
|
|
46
|
+
endDate?: Date;
|
|
47
|
+
}
|
|
41
48
|
/**
|
|
42
49
|
* 資産取引開始パラメータ
|
|
43
50
|
*/
|
|
@@ -97,6 +104,7 @@ export declare type IAttributes<TStartParams, TResult, TError, TPotentialActions
|
|
|
97
104
|
* 取引終了日時
|
|
98
105
|
*/
|
|
99
106
|
endDate?: Date;
|
|
107
|
+
tasksExportAction?: ITasksExportAction;
|
|
100
108
|
/**
|
|
101
109
|
* タスクエクスポート日時
|
|
102
110
|
*/
|
package/lib/task.d.ts
CHANGED
|
@@ -4,12 +4,17 @@ import { SortType } from './sortType';
|
|
|
4
4
|
import { TaskName } from './taskName';
|
|
5
5
|
import { TaskStatus } from './taskStatus';
|
|
6
6
|
export declare type IData = any;
|
|
7
|
+
export declare type IExecutionErrorAsObject = Error;
|
|
7
8
|
/**
|
|
8
9
|
* タスク実行結果
|
|
9
10
|
*/
|
|
10
11
|
export interface IExecutionResult {
|
|
11
12
|
executedAt: Date;
|
|
12
|
-
|
|
13
|
+
endDate: Date;
|
|
14
|
+
error: string | IExecutionErrorAsObject;
|
|
15
|
+
}
|
|
16
|
+
export interface IExecutor {
|
|
17
|
+
name: string;
|
|
13
18
|
}
|
|
14
19
|
/**
|
|
15
20
|
* タスク
|
|
@@ -45,6 +50,7 @@ export interface IAttributes {
|
|
|
45
50
|
* 実行結果リスト
|
|
46
51
|
*/
|
|
47
52
|
executionResults: IExecutionResult[];
|
|
53
|
+
executor?: IExecutor;
|
|
48
54
|
/**
|
|
49
55
|
* データ
|
|
50
56
|
* TaskNameによってインターフェースが決定する
|
|
@@ -119,7 +119,7 @@ export interface IObject {
|
|
|
119
119
|
/**
|
|
120
120
|
* 承認アクションリスト
|
|
121
121
|
*/
|
|
122
|
-
authorizeActions
|
|
122
|
+
authorizeActions?: IAuthorizeAction<IAuthorizeActionAttributes<any, any>>[];
|
|
123
123
|
}
|
|
124
124
|
export interface IPotentialActions {
|
|
125
125
|
/**
|
|
@@ -69,7 +69,7 @@ export interface IObject {
|
|
|
69
69
|
/**
|
|
70
70
|
* 承認アクションリスト
|
|
71
71
|
*/
|
|
72
|
-
authorizeActions
|
|
72
|
+
authorizeActions?: IAuthorizeAction<IAuthorizeActionAttributes<any, any>>[];
|
|
73
73
|
potentialActions?: {
|
|
74
74
|
givePointAward?: IGivePointAwardParams[];
|
|
75
75
|
};
|
package/lib/transaction.d.ts
CHANGED
|
@@ -55,6 +55,13 @@ export interface IProject {
|
|
|
55
55
|
id: string;
|
|
56
56
|
typeOf: OrganizationType.Project;
|
|
57
57
|
}
|
|
58
|
+
export interface ITasksExportAction {
|
|
59
|
+
agent?: {
|
|
60
|
+
name: string;
|
|
61
|
+
};
|
|
62
|
+
startDate: Date;
|
|
63
|
+
endDate?: Date;
|
|
64
|
+
}
|
|
58
65
|
/**
|
|
59
66
|
* 取引開始パラメータ
|
|
60
67
|
*/
|
|
@@ -106,6 +113,7 @@ export declare type IAttributes<TStartParams, TResult, TError, TPotentialActions
|
|
|
106
113
|
* 取引終了日時
|
|
107
114
|
*/
|
|
108
115
|
endDate?: Date;
|
|
116
|
+
tasksExportAction?: ITasksExportAction;
|
|
109
117
|
/**
|
|
110
118
|
* タスクエクスポート日時
|
|
111
119
|
*/
|