@chevre/factory 4.391.0 → 4.392.0-alpha.0
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/ownershipInfo.d.ts +1 -13
- package/package.json +1 -1
package/lib/ownershipInfo.d.ts
CHANGED
|
@@ -5,8 +5,6 @@ import * as PermitFactory from './permit';
|
|
|
5
5
|
import { PersonType } from './personType';
|
|
6
6
|
import * as ProductFactory from './product';
|
|
7
7
|
import { IProject } from './project';
|
|
8
|
-
import { IReservation as IBusReservation } from './reservation/busReservation';
|
|
9
|
-
import { IReservation as IEventReservation } from './reservation/event';
|
|
10
8
|
import { ReservationType } from './reservationType';
|
|
11
9
|
import * as WebAPIFactory from './service/webAPI';
|
|
12
10
|
import { SortType } from './sortType';
|
|
@@ -51,7 +49,6 @@ export interface IEventReservationAsGood {
|
|
|
51
49
|
* 予約
|
|
52
50
|
*/
|
|
53
51
|
export type IReservation = IBusReservationAsGood | IEventReservationAsGood;
|
|
54
|
-
export type IReservationWithDetail = (IEventReservationAsGood & IEventReservation) | (IBusReservationAsGood & IBusReservation);
|
|
55
52
|
export type IPermitIssuedThroughAsFaceToFace = Pick<PermitFactory.IIssuedThroughAsFaceToFace, 'typeOf'>;
|
|
56
53
|
export type IPermitIssuedThroughAsProduct = Pick<PermitFactory.IIssuedThroughAsProduct, 'id' | 'typeOf' | 'serviceType'> | Pick<PermitFactory.IIssuedThroughAsCreditCard, 'id' | 'typeOf' | 'serviceType'>;
|
|
57
54
|
export type IPermitIssuedThrough = IPermitIssuedThroughAsFaceToFace | IPermitIssuedThroughAsProduct;
|
|
@@ -73,10 +70,6 @@ export type InvoiceAsGood = Pick<IInvoice, 'paymentMethodId' | 'typeOf'> & {
|
|
|
73
70
|
* 所有対象物 (Product or Service)
|
|
74
71
|
*/
|
|
75
72
|
export type IGood = IReservation | IPermitAsGood | InvoiceAsGood;
|
|
76
|
-
/**
|
|
77
|
-
* 所有対象物(対象物詳細有)
|
|
78
|
-
*/
|
|
79
|
-
export type IGoodWithDetail = IReservationWithDetail | PermitFactory.IPermit;
|
|
80
73
|
export interface IOwnerAsOrganization {
|
|
81
74
|
typeOf: OrganizationType.Organization;
|
|
82
75
|
id: string;
|
|
@@ -103,7 +96,7 @@ export type OwnershipInfoType = 'OwnershipInfo';
|
|
|
103
96
|
/**
|
|
104
97
|
* 所有権
|
|
105
98
|
*/
|
|
106
|
-
export interface IOwnershipInfo<T extends IGood
|
|
99
|
+
export interface IOwnershipInfo<T extends IGood> {
|
|
107
100
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
108
101
|
/**
|
|
109
102
|
* object type
|
|
@@ -198,11 +191,6 @@ export interface ISearchConditions {
|
|
|
198
191
|
id?: string | {
|
|
199
192
|
$in?: string[];
|
|
200
193
|
};
|
|
201
|
-
memberOf?: {
|
|
202
|
-
membershipNumber?: {
|
|
203
|
-
$in?: string[];
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
194
|
typeOf?: {
|
|
207
195
|
$eq?: string;
|
|
208
196
|
};
|