@chevre/factory 4.284.0-alpha.0 → 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.
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { IParticipantAsPerson, IParticipantAsWebApplication } from '../../../action';
|
|
2
2
|
import { PlaceType } from '../../../placeType';
|
|
3
3
|
import { IReservation } from '../../../reservation/event';
|
|
4
|
+
import { ObjectType } from '../../check/token';
|
|
4
5
|
import * as UseActionFactory from '../use';
|
|
5
6
|
export declare type IAgent = IParticipantAsPerson | IParticipantAsWebApplication;
|
|
6
|
-
export declare type
|
|
7
|
+
export declare type IReservationAsObject = Pick<IReservation, 'id' | 'issuedThrough' | 'reservationFor' | 'reservationNumber' | 'reservedTicket' | 'typeOf'>;
|
|
8
|
+
export declare type IObject = IReservationAsObject[];
|
|
7
9
|
export interface IResult {
|
|
8
10
|
}
|
|
9
11
|
export interface ILocation {
|
|
@@ -16,6 +18,7 @@ export interface ILocation {
|
|
|
16
18
|
export declare type IPotentialActions = any;
|
|
17
19
|
export interface IInstrument {
|
|
18
20
|
token?: string;
|
|
21
|
+
typeOf: ObjectType.Ticket;
|
|
19
22
|
}
|
|
20
23
|
export interface IAttributes extends UseActionFactory.IAttributes<IObject, IResult> {
|
|
21
24
|
agent: IAgent;
|
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;
|
package/lib/project.d.ts
CHANGED