@chevre/factory 4.284.0-alpha.1 → 4.284.0-alpha.2
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/authorization.d.ts +8 -4
- package/package.json +1 -1
package/lib/authorization.d.ts
CHANGED
|
@@ -1,18 +1,22 @@
|
|
|
1
|
+
import { IOrder } from './order';
|
|
2
|
+
import { IGood, IOwnershipInfo } from './ownershipInfo';
|
|
1
3
|
import { IProject } from './project';
|
|
2
4
|
import { SortType } from './sortType';
|
|
5
|
+
export declare type IOrderAsObject = Pick<IOrder, 'orderNumber' | 'typeOf'>;
|
|
6
|
+
export declare type IObject = IOwnershipInfo<IGood> | IOrderAsObject;
|
|
3
7
|
/**
|
|
4
|
-
*
|
|
8
|
+
* 承認
|
|
5
9
|
*/
|
|
6
10
|
export interface IAuthorization {
|
|
7
11
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
8
12
|
typeOf: 'Authorization';
|
|
9
13
|
code: string;
|
|
10
|
-
object:
|
|
14
|
+
object: IObject;
|
|
11
15
|
validFrom: Date;
|
|
12
16
|
validUntil: Date;
|
|
13
17
|
}
|
|
14
18
|
/**
|
|
15
|
-
*
|
|
19
|
+
* ソート条件
|
|
16
20
|
*/
|
|
17
21
|
export interface ISortOrder {
|
|
18
22
|
validFrom?: SortType;
|
|
@@ -26,7 +30,7 @@ export interface IObjectSearchConditions {
|
|
|
26
30
|
};
|
|
27
31
|
}
|
|
28
32
|
/**
|
|
29
|
-
*
|
|
33
|
+
* 承認検索条件
|
|
30
34
|
*/
|
|
31
35
|
export interface ISearchConditions {
|
|
32
36
|
limit?: number;
|