@chevre/factory 4.284.0-alpha.0 → 4.284.0-alpha.1
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/project.d.ts
CHANGED