@chevre/factory 4.368.0-alpha.1 → 4.368.0-alpha.3
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/lib/action.d.ts +13 -0
- package/lib/task.d.ts +4 -0
- package/package.json +1 -1
package/lib/action.d.ts
CHANGED
|
@@ -41,6 +41,13 @@ export type IParticipant = IParticipantAsWebApplication | IParticipantAsPerson |
|
|
|
41
41
|
export interface IPurpose {
|
|
42
42
|
typeOf: string;
|
|
43
43
|
}
|
|
44
|
+
export interface ISameAs {
|
|
45
|
+
/**
|
|
46
|
+
* タスクID
|
|
47
|
+
*/
|
|
48
|
+
id: string;
|
|
49
|
+
typeOf: 'Task';
|
|
50
|
+
}
|
|
44
51
|
/**
|
|
45
52
|
* アクション属性
|
|
46
53
|
*/
|
|
@@ -59,6 +66,7 @@ export interface IAttributes<T extends ActionType, TObject, TResult> {
|
|
|
59
66
|
purpose?: IPurpose;
|
|
60
67
|
recipient?: IParticipant;
|
|
61
68
|
result?: TResult;
|
|
69
|
+
sameAs?: ISameAs;
|
|
62
70
|
/**
|
|
63
71
|
* アクションタイプ
|
|
64
72
|
*/
|
|
@@ -245,6 +253,11 @@ export interface ISearchConditions {
|
|
|
245
253
|
$in?: string[];
|
|
246
254
|
};
|
|
247
255
|
};
|
|
256
|
+
sameAs?: {
|
|
257
|
+
id?: {
|
|
258
|
+
$eq?: string;
|
|
259
|
+
};
|
|
260
|
+
};
|
|
248
261
|
fromLocation?: {
|
|
249
262
|
typeOf?: {
|
|
250
263
|
$in?: string[];
|
package/lib/task.d.ts
CHANGED