@chevre/factory 4.369.0-alpha.6 → 4.369.0-alpha.7
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/consume/use/reservation.d.ts +9 -2
- package/lib/authorization.d.ts +8 -1
- package/lib/creativeWork/softwareApplication.d.ts +9 -0
- package/lib/creativeWork/softwareApplication.js +2 -0
- package/lib/creativeWorkType.d.ts +1 -0
- package/lib/creativeWorkType.js +1 -0
- package/lib/iam.d.ts +1 -1
- package/lib/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import { IParticipantAsPerson, IParticipantAsWebApplication } from '../../../action';
|
|
2
2
|
import { PlaceType } from '../../../placeType';
|
|
3
|
-
import {
|
|
3
|
+
import { ITicket, ITicketType } from '../../../reservation';
|
|
4
|
+
import { IIssuedThrough, IReservation, IReservationFor } from '../../../reservation/event';
|
|
4
5
|
import { ObjectType } from '../../check/token';
|
|
5
6
|
import * as UseActionFactory from '../use';
|
|
6
7
|
export type IAgent = IParticipantAsPerson | IParticipantAsWebApplication;
|
|
7
|
-
export
|
|
8
|
+
export interface IReservationAsObject extends Pick<IReservation, 'id' | 'reservationNumber' | 'typeOf'> {
|
|
9
|
+
issuedThrough: Pick<IIssuedThrough, 'id' | 'typeOf'>;
|
|
10
|
+
reservationFor: Pick<IReservationFor, 'id' | 'typeOf'>;
|
|
11
|
+
reservedTicket: Pick<ITicket, 'identifier' | 'ticketedSeat' | 'typeOf'> & {
|
|
12
|
+
ticketType: Pick<ITicketType, 'id' | 'identifier' | 'typeOf'>;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
8
15
|
export type IObject = IReservationAsObject[];
|
|
9
16
|
export interface IResult {
|
|
10
17
|
}
|
package/lib/authorization.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CreativeWorkType } from './creativeWorkType';
|
|
2
2
|
import { IMemberRole } from './iam';
|
|
3
3
|
import { IOrder } from './order';
|
|
4
|
+
import { OrganizationType } from './organizationType';
|
|
4
5
|
import { IOwnershipInfo, IPermitAsGood, IPermitIssuedThrough, IReservation } from './ownershipInfo';
|
|
5
6
|
import { PersonType } from './personType';
|
|
6
7
|
import { IProject } from './project';
|
|
@@ -20,18 +21,23 @@ export interface IAudience {
|
|
|
20
21
|
* クライアントID
|
|
21
22
|
*/
|
|
22
23
|
id: string;
|
|
23
|
-
typeOf:
|
|
24
|
+
typeOf: CreativeWorkType.SoftwareApplication | CreativeWorkType.WebApplication;
|
|
24
25
|
}
|
|
25
26
|
export interface IAuthor {
|
|
26
27
|
id: string;
|
|
27
28
|
typeOf: PersonType.Person | CreativeWorkType.WebApplication;
|
|
28
29
|
}
|
|
30
|
+
export interface IIssuedBy {
|
|
31
|
+
id: string;
|
|
32
|
+
typeOf: OrganizationType.Corporation | OrganizationType.Project;
|
|
33
|
+
}
|
|
29
34
|
/**
|
|
30
35
|
* 承認
|
|
31
36
|
*/
|
|
32
37
|
export interface IAuthorization {
|
|
33
38
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
34
39
|
typeOf: 'Authorization';
|
|
40
|
+
id?: string;
|
|
35
41
|
/**
|
|
36
42
|
* 承認コード
|
|
37
43
|
*/
|
|
@@ -50,6 +56,7 @@ export interface IAuthorization {
|
|
|
50
56
|
validUntil: Date;
|
|
51
57
|
audience?: IAudience;
|
|
52
58
|
author?: IAuthor;
|
|
59
|
+
issuedBy?: IIssuedBy;
|
|
53
60
|
}
|
|
54
61
|
/**
|
|
55
62
|
* ソート条件
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as CreativeWorkFactory from '../creativeWork';
|
|
2
|
+
import { CreativeWorkType } from '../creativeWorkType';
|
|
3
|
+
/**
|
|
4
|
+
* ソフトウェア
|
|
5
|
+
*/
|
|
6
|
+
export interface ISoftwareApplication extends Pick<CreativeWorkFactory.ICreativeWork, 'id' | 'typeOf'> {
|
|
7
|
+
id: string;
|
|
8
|
+
typeOf: CreativeWorkType.SoftwareApplication;
|
|
9
|
+
}
|
package/lib/creativeWorkType.js
CHANGED
|
@@ -10,5 +10,6 @@ var CreativeWorkType;
|
|
|
10
10
|
CreativeWorkType["EmailMessage"] = "EmailMessage";
|
|
11
11
|
CreativeWorkType["Movie"] = "Movie";
|
|
12
12
|
CreativeWorkType["NoteDigitalDocument"] = "NoteDigitalDocument";
|
|
13
|
+
CreativeWorkType["SoftwareApplication"] = "SoftwareApplication";
|
|
13
14
|
CreativeWorkType["WebApplication"] = "WebApplication";
|
|
14
15
|
})(CreativeWorkType = exports.CreativeWorkType || (exports.CreativeWorkType = {}));
|
package/lib/iam.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export interface IRoleSearchConditions {
|
|
|
32
32
|
$eq?: string;
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
export type IMemberType = PersonType | CreativeWorkType.WebApplication;
|
|
35
|
+
export type IMemberType = PersonType | CreativeWorkType.WebApplication | CreativeWorkType.SoftwareApplication;
|
|
36
36
|
export type IMemberRole = Pick<IRole, 'typeOf' | 'roleName'>;
|
|
37
37
|
export type IProgramMembershipOfProject = Pick<IProgramMembership, 'typeOf'> & {
|
|
38
38
|
issuer: string;
|
package/lib/index.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ import * as CommentFactory from './creativeWork/comment';
|
|
|
54
54
|
import * as EmailMessageFactory from './creativeWork/message/email';
|
|
55
55
|
import * as MovieFactory from './creativeWork/movie';
|
|
56
56
|
import * as NoteDigitalDocumentFactory from './creativeWork/noteDigitalDocument';
|
|
57
|
+
import * as SoftwareApplicationFactory from './creativeWork/softwareApplication';
|
|
57
58
|
import * as WebApplicationFactory from './creativeWork/softwareApplication/webApplication';
|
|
58
59
|
import { CreativeWorkType } from './creativeWorkType';
|
|
59
60
|
import * as CustomerFactory from './customer';
|
|
@@ -305,6 +306,7 @@ export declare namespace creativeWork {
|
|
|
305
306
|
export import movie = MovieFactory;
|
|
306
307
|
export import noteDigitalDocument = NoteDigitalDocumentFactory;
|
|
307
308
|
namespace softwareApplication {
|
|
309
|
+
export import ISoftwareApplication = SoftwareApplicationFactory.ISoftwareApplication;
|
|
308
310
|
export import webApplication = WebApplicationFactory;
|
|
309
311
|
}
|
|
310
312
|
}
|