@chevre/domain 24.0.0-alpha.28 → 24.0.0-alpha.29
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/chevre/repo/accountTitle.d.ts +3 -3
- package/lib/chevre/repo/accountTransaction.js +1 -2
- package/lib/chevre/repo/action.d.ts +3 -3
- package/lib/chevre/repo/aggregateAction.js +0 -1
- package/lib/chevre/repo/aggregateOffer.d.ts +3 -3
- package/lib/chevre/repo/assetTransaction.d.ts +4 -9
- package/lib/chevre/repo/categoryCode.d.ts +3 -3
- package/lib/chevre/repo/comment.d.ts +3 -3
- package/lib/chevre/repo/creativeWork.d.ts +3 -3
- package/lib/chevre/repo/customer.d.ts +3 -3
- package/lib/chevre/repo/event.d.ts +4 -4
- package/lib/chevre/repo/eventSeries.d.ts +4 -4
- package/lib/chevre/repo/identity.d.ts +3 -3
- package/lib/chevre/repo/identityProvider.d.ts +3 -3
- package/lib/chevre/repo/issuer.d.ts +3 -3
- package/lib/chevre/repo/member.d.ts +3 -3
- package/lib/chevre/repo/merchantReturnPolicy.d.ts +3 -3
- package/lib/chevre/repo/mongoose/schemas/acceptedPaymentMethod.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/account.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/accountTitle.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/accountTransaction.d.ts +5 -4
- package/lib/chevre/repo/mongoose/schemas/accountingReport.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/action.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/actionRecipe.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/additionalProperty.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/advanceBookingRequirement.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/aggregateOffer.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/aggregateOrder.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/aggregateReservation.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/aggregation.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/assetTransaction.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/authorization.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/categoryCode.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/civicStructure.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/comments.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/creativeWork.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/customer.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/customerType.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/emailMessages.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/event.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/eventOffer.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/eventSeries.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/identity.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/identityProvider.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/issuer.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/member/global.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/member.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/message.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/movieTicketTypes.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/note.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/offerCatalog.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/offerCatalogItem.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/offerItemCondition.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/order.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/ownershipInfo.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/paymentService.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/paymentServiceChannel.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/pendingReservation.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/pendingReservationAggregate.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/place.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/potentialAction.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/priceSpecification.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/product.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/productModel.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/productOffer.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/project.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/reservation.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/reserveInterface.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/role.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/schedule.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/seller.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/sellerReturnPolicy.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/service/availableHour.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/serviceOutput.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/setting.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/task.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/telemetry.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/ticket.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/transaction.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/transactionNumber.d.ts +3 -2
- package/lib/chevre/repo/mongoose/schemas/trip.d.ts +4 -3
- package/lib/chevre/repo/mongoose/schemas/webSite.d.ts +3 -2
- package/lib/chevre/repo/mongoose/virtuals.d.ts +3 -0
- package/lib/chevre/repo/mongoose/virtuals.js +2 -0
- package/lib/chevre/repo/offerCatalog.d.ts +3 -3
- package/lib/chevre/repo/order.d.ts +4 -9
- package/lib/chevre/repo/ownershipInfo.d.ts +3 -3
- package/lib/chevre/repo/paymentService.d.ts +1 -14
- package/lib/chevre/repo/paymentService.js +5 -5
- package/lib/chevre/repo/pendingReservation.js +0 -1
- package/lib/chevre/repo/place/movieTheater.d.ts +3 -3
- package/lib/chevre/repo/place/screeningRoom.d.ts +3 -3
- package/lib/chevre/repo/potentialAction.d.ts +3 -3
- package/lib/chevre/repo/priceSpecification.d.ts +7 -5
- package/lib/chevre/repo/priceSpecification.js +9 -7
- package/lib/chevre/repo/product.d.ts +4 -4
- package/lib/chevre/repo/project.d.ts +3 -3
- package/lib/chevre/repo/reservation.d.ts +4 -15
- package/lib/chevre/repo/seller.d.ts +3 -3
- package/lib/chevre/repo/task.d.ts +3 -3
- package/lib/chevre/repo/transaction.d.ts +4 -3
- package/package.json +1 -1
|
@@ -12,15 +12,15 @@ export declare class AccountTitleRepo {
|
|
|
12
12
|
id: string;
|
|
13
13
|
};
|
|
14
14
|
}): Promise<void>;
|
|
15
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, factory.accountTitle.IAccountTitle,
|
|
15
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, factory.accountTitle.IAccountTitle, import("./mongoose/virtuals").IVirtuals, {}> & Omit<factory.accountTitle.IAccountTitle & {
|
|
16
16
|
_id: import("mongoose").Types.ObjectId;
|
|
17
17
|
} & {
|
|
18
18
|
__v: number;
|
|
19
|
-
}, import("mongoose").QueryOptions<factory.accountTitle.IAccountTitle>, (import("mongoose").Document<unknown, {}, factory.accountTitle.IAccountTitle,
|
|
19
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<factory.accountTitle.IAccountTitle>, (import("mongoose").Document<unknown, {}, factory.accountTitle.IAccountTitle, import("./mongoose/virtuals").IVirtuals, {}> & Omit<factory.accountTitle.IAccountTitle & {
|
|
20
20
|
_id: import("mongoose").Types.ObjectId;
|
|
21
21
|
} & {
|
|
22
22
|
__v: number;
|
|
23
|
-
}) | null>;
|
|
23
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
|
|
24
24
|
unsetUnnecessaryFields(params: {
|
|
25
25
|
filter: any;
|
|
26
26
|
$unset: any;
|
|
@@ -267,8 +267,7 @@ class AccountTransactionRepo {
|
|
|
267
267
|
*/
|
|
268
268
|
async search(params) {
|
|
269
269
|
const conditions = AccountTransactionRepo.CREATE_MONGO_CONDITIONS(params);
|
|
270
|
-
const query = this.transactionModel.find((conditions.length > 0) ? { $and: conditions } : {}
|
|
271
|
-
.select({
|
|
270
|
+
const query = this.transactionModel.find((conditions.length > 0) ? { $and: conditions } : {}, {
|
|
272
271
|
__v: 0,
|
|
273
272
|
createdAt: 0,
|
|
274
273
|
updatedAt: 0
|
|
@@ -102,19 +102,19 @@ export declare class ActionRepo extends ActionProcessRepo<IAction<StartableActio
|
|
|
102
102
|
}): Promise<{
|
|
103
103
|
deletedCount?: number;
|
|
104
104
|
} | null>;
|
|
105
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType,
|
|
105
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<Omit<import("@chevre/factory/lib/action").IAction<import("@chevre/factory/lib/action").IAttributes<factory.actionType, any, any>>, "id"> & {
|
|
106
106
|
identifier?: string;
|
|
107
107
|
} & {
|
|
108
108
|
_id: import("mongoose").Types.ObjectId;
|
|
109
109
|
} & {
|
|
110
110
|
__v: number;
|
|
111
|
-
}, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType,
|
|
111
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<Omit<import("@chevre/factory/lib/action").IAction<import("@chevre/factory/lib/action").IAttributes<factory.actionType, any, any>>, "id"> & {
|
|
112
112
|
identifier?: string;
|
|
113
113
|
} & {
|
|
114
114
|
_id: import("mongoose").Types.ObjectId;
|
|
115
115
|
} & {
|
|
116
116
|
__v: number;
|
|
117
|
-
}) | null>;
|
|
117
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
|
|
118
118
|
unsetUnnecessaryFields(params: {
|
|
119
119
|
filter: FilterQuery<factory.action.IAction<factory.action.IAttributes<factory.actionType, any, any>>>;
|
|
120
120
|
$unset: any;
|
|
@@ -35,7 +35,6 @@ class AggregateActionRepo {
|
|
|
35
35
|
// private readonly actionRecipeModel: IActionRecipeModel;
|
|
36
36
|
constructor(connection) {
|
|
37
37
|
this.actionModel = connection.model(action_1.modelName, (0, action_1.createSchema)());
|
|
38
|
-
// this.actionRecipeModel = connection.model(recipeModelName, createRecipeSchema());
|
|
39
38
|
}
|
|
40
39
|
/**
|
|
41
40
|
* イベントと入場ゲート指定で予約使用アクションを集計する
|
|
@@ -59,15 +59,15 @@ export declare class AggregateOfferRepo {
|
|
|
59
59
|
};
|
|
60
60
|
id: string;
|
|
61
61
|
}): Promise<void>;
|
|
62
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<Document<unknown, {}, IAggregateOfferDocType,
|
|
62
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<Document<unknown, {}, IAggregateOfferDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<IAggregateOfferDocType & Required<{
|
|
63
63
|
_id: string;
|
|
64
64
|
}> & {
|
|
65
65
|
__v: number;
|
|
66
|
-
}, import("mongoose").QueryOptions<IAggregateOfferDocType>, (Document<unknown, {}, IAggregateOfferDocType,
|
|
66
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<IAggregateOfferDocType>, (Document<unknown, {}, IAggregateOfferDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<IAggregateOfferDocType & Required<{
|
|
67
67
|
_id: string;
|
|
68
68
|
}> & {
|
|
69
69
|
__v: number;
|
|
70
|
-
}) | null>;
|
|
70
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
|
|
71
71
|
unsetUnnecessaryFields(params: {
|
|
72
72
|
filter: FilterQuery<factory.aggregateOffer.IAggregateOffer>;
|
|
73
73
|
$unset: any;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Connection, FilterQuery } from 'mongoose';
|
|
2
|
+
import { IDocType } from './mongoose/schemas/assetTransaction';
|
|
2
3
|
import * as factory from '../factory';
|
|
3
4
|
interface IAggregationByStatus {
|
|
4
5
|
transactionCount: number;
|
|
@@ -284,9 +285,7 @@ export declare class AssetTransactionRepo {
|
|
|
284
285
|
findByIdAndDelete(params: {
|
|
285
286
|
id: string;
|
|
286
287
|
}): Promise<void>;
|
|
287
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {},
|
|
288
|
-
seller?: any;
|
|
289
|
-
}, {}, {}> & ((import("@chevre/factory/lib/assetTransaction/cancelReservation").IAttributes & {
|
|
288
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<(import("@chevre/factory/lib/assetTransaction/cancelReservation").IAttributes & {
|
|
290
289
|
id: string;
|
|
291
290
|
} & {
|
|
292
291
|
seller?: any;
|
|
@@ -334,11 +333,7 @@ export declare class AssetTransactionRepo {
|
|
|
334
333
|
_id: import("mongoose").Types.ObjectId;
|
|
335
334
|
} & {
|
|
336
335
|
__v: number;
|
|
337
|
-
})
|
|
338
|
-
seller?: any;
|
|
339
|
-
}>, (import("mongoose").Document<unknown, {}, (import("@chevre/factory/lib/assetTransaction/cancelReservation").ITransaction | import("@chevre/factory/lib/assetTransaction/moneyTransfer").ITransaction | import("@chevre/factory/lib/assetTransaction/pay").ITransaction | import("@chevre/factory/lib/assetTransaction/refund").ITransaction | import("@chevre/factory/lib/assetTransaction/registerService").ITransaction | import("@chevre/factory/lib/assetTransaction/reserve").ITransaction) & {
|
|
340
|
-
seller?: any;
|
|
341
|
-
}, {}, {}> & ((import("@chevre/factory/lib/assetTransaction/cancelReservation").IAttributes & {
|
|
336
|
+
}), "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<(import("@chevre/factory/lib/assetTransaction/cancelReservation").IAttributes & {
|
|
342
337
|
id: string;
|
|
343
338
|
} & {
|
|
344
339
|
seller?: any;
|
|
@@ -386,7 +381,7 @@ export declare class AssetTransactionRepo {
|
|
|
386
381
|
_id: import("mongoose").Types.ObjectId;
|
|
387
382
|
} & {
|
|
388
383
|
__v: number;
|
|
389
|
-
}))) | null>;
|
|
384
|
+
}), "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
|
|
390
385
|
unsetUnnecessaryFields(params: {
|
|
391
386
|
filter: any;
|
|
392
387
|
$unset: any;
|
|
@@ -67,15 +67,15 @@ export declare class CategoryCodeRepo {
|
|
|
67
67
|
id: string;
|
|
68
68
|
};
|
|
69
69
|
}): Promise<void>;
|
|
70
|
-
getCursor(conditions: FilterQuery<factory.categoryCode.ICategoryCode>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType,
|
|
70
|
+
getCursor(conditions: FilterQuery<factory.categoryCode.ICategoryCode>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<IDocType & {
|
|
71
71
|
_id: Types.ObjectId;
|
|
72
72
|
} & {
|
|
73
73
|
__v: number;
|
|
74
|
-
}, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType,
|
|
74
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<IDocType & {
|
|
75
75
|
_id: Types.ObjectId;
|
|
76
76
|
} & {
|
|
77
77
|
__v: number;
|
|
78
|
-
}) | null>;
|
|
78
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
|
|
79
79
|
unsetUnnecessaryFields(params: {
|
|
80
80
|
filter: FilterQuery<factory.categoryCode.ICategoryCode>;
|
|
81
81
|
$unset: any;
|
|
@@ -30,13 +30,13 @@ export declare class CommentRepo {
|
|
|
30
30
|
deleteById(params: {
|
|
31
31
|
id: string;
|
|
32
32
|
}): Promise<void>;
|
|
33
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, import("@chevre/factory/lib/creativeWork/comment").IComment,
|
|
33
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, import("@chevre/factory/lib/creativeWork/comment").IComment, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/creativeWork/comment").IComment & {
|
|
34
34
|
_id: import("mongoose").Types.ObjectId;
|
|
35
35
|
} & {
|
|
36
36
|
__v: number;
|
|
37
|
-
}, import("mongoose").QueryOptions<import("@chevre/factory/lib/creativeWork/comment").IComment>, (import("mongoose").Document<unknown, {}, import("@chevre/factory/lib/creativeWork/comment").IComment,
|
|
37
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<import("@chevre/factory/lib/creativeWork/comment").IComment>, (import("mongoose").Document<unknown, {}, import("@chevre/factory/lib/creativeWork/comment").IComment, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/creativeWork/comment").IComment & {
|
|
38
38
|
_id: import("mongoose").Types.ObjectId;
|
|
39
39
|
} & {
|
|
40
40
|
__v: number;
|
|
41
|
-
}) | null>;
|
|
41
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
|
|
42
42
|
}
|
|
@@ -49,19 +49,19 @@ export declare class CreativeWorkRepo {
|
|
|
49
49
|
id: string;
|
|
50
50
|
};
|
|
51
51
|
}): Promise<void>;
|
|
52
|
-
getCursor(conditions: FilterQuery<factory.creativeWork.movie.ICreativeWork>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType,
|
|
52
|
+
getCursor(conditions: FilterQuery<factory.creativeWork.movie.ICreativeWork>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<Omit<import("@chevre/factory/lib/creativeWork/movie").ICreativeWork, "id"> & {
|
|
53
53
|
description?: string;
|
|
54
54
|
} & {
|
|
55
55
|
_id: Types.ObjectId;
|
|
56
56
|
} & {
|
|
57
57
|
__v: number;
|
|
58
|
-
}, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType,
|
|
58
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<Omit<import("@chevre/factory/lib/creativeWork/movie").ICreativeWork, "id"> & {
|
|
59
59
|
description?: string;
|
|
60
60
|
} & {
|
|
61
61
|
_id: Types.ObjectId;
|
|
62
62
|
} & {
|
|
63
63
|
__v: number;
|
|
64
|
-
}) | null>;
|
|
64
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
|
|
65
65
|
unsetUnnecessaryFields(params: {
|
|
66
66
|
filter: FilterQuery<factory.creativeWork.movie.ICreativeWork>;
|
|
67
67
|
$unset: any;
|
|
@@ -28,15 +28,15 @@ export declare class CustomerRepo {
|
|
|
28
28
|
deleteById(params: {
|
|
29
29
|
id: string;
|
|
30
30
|
}): Promise<void>;
|
|
31
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType,
|
|
31
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<IDocType & {
|
|
32
32
|
_id: import("mongoose").Types.ObjectId;
|
|
33
33
|
} & {
|
|
34
34
|
__v: number;
|
|
35
|
-
}, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType,
|
|
35
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<IDocType & {
|
|
36
36
|
_id: import("mongoose").Types.ObjectId;
|
|
37
37
|
} & {
|
|
38
38
|
__v: number;
|
|
39
|
-
}) | null>;
|
|
39
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
|
|
40
40
|
unsetUnnecessaryFields(params: {
|
|
41
41
|
filter: any;
|
|
42
42
|
$unset: any;
|
|
@@ -291,27 +291,27 @@ export declare class EventRepo {
|
|
|
291
291
|
getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, import("@chevre/factory/lib/event/screeningEvent").IAttributes & {
|
|
292
292
|
_id: string;
|
|
293
293
|
aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
|
|
294
|
-
},
|
|
294
|
+
}, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/event/screeningEvent").IAttributes & {
|
|
295
295
|
_id: string;
|
|
296
296
|
aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
|
|
297
297
|
} & Required<{
|
|
298
298
|
_id: string;
|
|
299
299
|
}> & {
|
|
300
300
|
__v: number;
|
|
301
|
-
}, import("mongoose").QueryOptions<import("@chevre/factory/lib/event/screeningEvent").IAttributes & {
|
|
301
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<import("@chevre/factory/lib/event/screeningEvent").IAttributes & {
|
|
302
302
|
_id: string;
|
|
303
303
|
aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
|
|
304
304
|
}>, (import("mongoose").Document<unknown, {}, import("@chevre/factory/lib/event/screeningEvent").IAttributes & {
|
|
305
305
|
_id: string;
|
|
306
306
|
aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
|
|
307
|
-
},
|
|
307
|
+
}, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/event/screeningEvent").IAttributes & {
|
|
308
308
|
_id: string;
|
|
309
309
|
aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
|
|
310
310
|
} & Required<{
|
|
311
311
|
_id: string;
|
|
312
312
|
}> & {
|
|
313
313
|
__v: number;
|
|
314
|
-
}) | null>;
|
|
314
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
|
|
315
315
|
unsetUnnecessaryFields(params: {
|
|
316
316
|
filter: FilterQuery<factory.event.screeningEvent.IEvent>;
|
|
317
317
|
$unset: IUnset;
|
|
@@ -88,23 +88,23 @@ export declare class EventSeriesRepo {
|
|
|
88
88
|
}>;
|
|
89
89
|
getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, factory.eventSeries.IAttributes & {
|
|
90
90
|
_id: string;
|
|
91
|
-
},
|
|
91
|
+
}, import("./mongoose/virtuals").IVirtuals, {}> & Omit<factory.eventSeries.IAttributes & {
|
|
92
92
|
_id: string;
|
|
93
93
|
} & Required<{
|
|
94
94
|
_id: string;
|
|
95
95
|
}> & {
|
|
96
96
|
__v: number;
|
|
97
|
-
}, import("mongoose").QueryOptions<factory.eventSeries.IAttributes & {
|
|
97
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<factory.eventSeries.IAttributes & {
|
|
98
98
|
_id: string;
|
|
99
99
|
}>, (import("mongoose").Document<unknown, {}, factory.eventSeries.IAttributes & {
|
|
100
100
|
_id: string;
|
|
101
|
-
},
|
|
101
|
+
}, import("./mongoose/virtuals").IVirtuals, {}> & Omit<factory.eventSeries.IAttributes & {
|
|
102
102
|
_id: string;
|
|
103
103
|
} & Required<{
|
|
104
104
|
_id: string;
|
|
105
105
|
}> & {
|
|
106
106
|
__v: number;
|
|
107
|
-
}) | null>;
|
|
107
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
|
|
108
108
|
unsetUnnecessaryFields(params: {
|
|
109
109
|
filter: FilterQuery<factory.eventSeries.IEvent>;
|
|
110
110
|
$unset: IUnset;
|
|
@@ -38,7 +38,7 @@ export declare class IdentityRepo {
|
|
|
38
38
|
id: string;
|
|
39
39
|
};
|
|
40
40
|
}): Promise<void>;
|
|
41
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType,
|
|
41
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<(Omit<import("@chevre/factory/lib/creativeWork/certification/softwareApplication").ICertification, "id"> & {
|
|
42
42
|
_id: import("mongoose").Types.ObjectId;
|
|
43
43
|
} & {
|
|
44
44
|
__v: number;
|
|
@@ -46,7 +46,7 @@ export declare class IdentityRepo {
|
|
|
46
46
|
_id: import("mongoose").Types.ObjectId;
|
|
47
47
|
} & {
|
|
48
48
|
__v: number;
|
|
49
|
-
})), QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType,
|
|
49
|
+
}), "id"> & import("./mongoose/virtuals").IVirtuals, QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<(Omit<import("@chevre/factory/lib/creativeWork/certification/softwareApplication").ICertification, "id"> & {
|
|
50
50
|
_id: import("mongoose").Types.ObjectId;
|
|
51
51
|
} & {
|
|
52
52
|
__v: number;
|
|
@@ -54,7 +54,7 @@ export declare class IdentityRepo {
|
|
|
54
54
|
_id: import("mongoose").Types.ObjectId;
|
|
55
55
|
} & {
|
|
56
56
|
__v: number;
|
|
57
|
-
}))) | null>;
|
|
57
|
+
}), "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
|
|
58
58
|
updateIssuedBy2array(params: Pick<ISavingIdentity, 'issuedBy'> & {
|
|
59
59
|
id: string;
|
|
60
60
|
}): Promise<void>;
|
|
@@ -33,15 +33,15 @@ export declare class IdentityProviderRepo {
|
|
|
33
33
|
id: string;
|
|
34
34
|
};
|
|
35
35
|
}): Promise<void>;
|
|
36
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType,
|
|
36
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<IDocType & {
|
|
37
37
|
_id: import("mongoose").Types.ObjectId;
|
|
38
38
|
} & {
|
|
39
39
|
__v: number;
|
|
40
|
-
}, QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType,
|
|
40
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals, QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<IDocType & {
|
|
41
41
|
_id: import("mongoose").Types.ObjectId;
|
|
42
42
|
} & {
|
|
43
43
|
__v: number;
|
|
44
|
-
}) | null>;
|
|
44
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
|
|
45
45
|
unsetUnnecessaryFields(params: {
|
|
46
46
|
filter: any;
|
|
47
47
|
$unset: any;
|
|
@@ -35,7 +35,7 @@ export declare class IssuerRepo {
|
|
|
35
35
|
id: string;
|
|
36
36
|
};
|
|
37
37
|
}): Promise<void>;
|
|
38
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType,
|
|
38
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<Omit<factory.issuer.IIssuer, "id"> & {
|
|
39
39
|
hasMemberProgram?: (factory.issuer.IMemberProgram & {
|
|
40
40
|
hasTiers?: Pick<factory.issuer.IMemberProgramTier, "identifier" | "typeOf">[];
|
|
41
41
|
})[];
|
|
@@ -43,7 +43,7 @@ export declare class IssuerRepo {
|
|
|
43
43
|
_id: import("mongoose").Types.ObjectId;
|
|
44
44
|
} & {
|
|
45
45
|
__v: number;
|
|
46
|
-
}, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType,
|
|
46
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<Omit<factory.issuer.IIssuer, "id"> & {
|
|
47
47
|
hasMemberProgram?: (factory.issuer.IMemberProgram & {
|
|
48
48
|
hasTiers?: Pick<factory.issuer.IMemberProgramTier, "identifier" | "typeOf">[];
|
|
49
49
|
})[];
|
|
@@ -51,6 +51,6 @@ export declare class IssuerRepo {
|
|
|
51
51
|
_id: import("mongoose").Types.ObjectId;
|
|
52
52
|
} & {
|
|
53
53
|
__v: number;
|
|
54
|
-
}) | null>;
|
|
54
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
|
|
55
55
|
}
|
|
56
56
|
export {};
|
|
@@ -174,15 +174,15 @@ export declare class MemberRepo {
|
|
|
174
174
|
id: string;
|
|
175
175
|
};
|
|
176
176
|
}): Promise<string[]>;
|
|
177
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, factory.iam.IMember,
|
|
177
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, {}, factory.iam.IMember, import("./mongoose/virtuals").IVirtuals, {}> & Omit<factory.iam.IMember & {
|
|
178
178
|
_id: import("mongoose").Types.ObjectId;
|
|
179
179
|
} & {
|
|
180
180
|
__v: number;
|
|
181
|
-
}, import("mongoose").QueryOptions<factory.iam.IMember>, (import("mongoose").Document<unknown, {}, factory.iam.IMember,
|
|
181
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<factory.iam.IMember>, (import("mongoose").Document<unknown, {}, factory.iam.IMember, import("./mongoose/virtuals").IVirtuals, {}> & Omit<factory.iam.IMember & {
|
|
182
182
|
_id: import("mongoose").Types.ObjectId;
|
|
183
183
|
} & {
|
|
184
184
|
__v: number;
|
|
185
|
-
}) | null>;
|
|
185
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
|
|
186
186
|
unsetUnnecessaryFields(params: {
|
|
187
187
|
filter: any;
|
|
188
188
|
$unset: any;
|
|
@@ -20,7 +20,7 @@ export declare class MerchantReturnPolicyRepo {
|
|
|
20
20
|
id: string;
|
|
21
21
|
};
|
|
22
22
|
}): Promise<void>;
|
|
23
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<Document<unknown, {}, factory.unitPriceOffer.IOfferMerchantReturnPolicy,
|
|
23
|
+
getCursor(conditions: any, projection: any): import("mongoose").Cursor<Document<unknown, {}, factory.unitPriceOffer.IOfferMerchantReturnPolicy, import("./mongoose/virtuals").IVirtuals, {}> & Omit<Pick<factory.merchantReturnPolicy.IMerchantReturnPolicy, "typeOf" | "customerRemorseReturnFees" | "customerRemorseReturnFeesMovieTicket"> & {
|
|
24
24
|
customerRemorseReturnFees: factory.merchantReturnPolicy.ICustomerRemorseReturnFees;
|
|
25
25
|
customerRemorseReturnFeesMovieTicket: factory.merchantReturnPolicy.ICustomerRemorseReturnFeesMovieTicket;
|
|
26
26
|
project: Pick<factory.project.IProject, "id" | "typeOf">;
|
|
@@ -32,7 +32,7 @@ export declare class MerchantReturnPolicyRepo {
|
|
|
32
32
|
_id: import("mongoose").Types.ObjectId;
|
|
33
33
|
} & {
|
|
34
34
|
__v: number;
|
|
35
|
-
}, import("mongoose").QueryOptions<factory.unitPriceOffer.IOfferMerchantReturnPolicy>, (Document<unknown, {}, factory.unitPriceOffer.IOfferMerchantReturnPolicy,
|
|
35
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<factory.unitPriceOffer.IOfferMerchantReturnPolicy>, (Document<unknown, {}, factory.unitPriceOffer.IOfferMerchantReturnPolicy, import("./mongoose/virtuals").IVirtuals, {}> & Omit<Pick<factory.merchantReturnPolicy.IMerchantReturnPolicy, "typeOf" | "customerRemorseReturnFees" | "customerRemorseReturnFeesMovieTicket"> & {
|
|
36
36
|
customerRemorseReturnFees: factory.merchantReturnPolicy.ICustomerRemorseReturnFees;
|
|
37
37
|
customerRemorseReturnFeesMovieTicket: factory.merchantReturnPolicy.ICustomerRemorseReturnFeesMovieTicket;
|
|
38
38
|
project: Pick<factory.project.IProject, "id" | "typeOf">;
|
|
@@ -44,5 +44,5 @@ export declare class MerchantReturnPolicyRepo {
|
|
|
44
44
|
_id: import("mongoose").Types.ObjectId;
|
|
45
45
|
} & {
|
|
46
46
|
__v: number;
|
|
47
|
-
}) | null>;
|
|
47
|
+
}, "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
|
|
48
48
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from 'mongoose';
|
|
2
2
|
import * as factory from '../../../factory';
|
|
3
|
+
import { IVirtuals } from '../virtuals';
|
|
3
4
|
type IDocType = Omit<factory.acceptedPaymentMethodOffer.IAcceptedPaymentMethodOffer, 'id'>;
|
|
4
|
-
type IModel = Model<IDocType>;
|
|
5
|
+
type IModel = Model<IDocType, {}, {}, IVirtuals>;
|
|
5
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
6
|
-
type ISchema = Schema<IDocType, IModel, {}, {},
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
|
|
7
8
|
declare const modelName = "AcceptedPaymentMethod";
|
|
8
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
9
10
|
declare function createSchema(): ISchema;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from 'mongoose';
|
|
2
|
+
import { IVirtuals } from '../virtuals';
|
|
2
3
|
import * as factory from '../../../factory';
|
|
3
4
|
type IDocType = factory.account.IAccount;
|
|
4
|
-
type IModel = Model<IDocType>;
|
|
5
|
+
type IModel = Model<IDocType, {}, {}, IVirtuals>;
|
|
5
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
6
|
-
type ISchema = Schema<IDocType, IModel, {}, {},
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
|
|
7
8
|
declare const modelName = "Account";
|
|
8
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
9
10
|
declare function createSchema(): ISchema;
|
|
10
|
-
export { createSchema, IModel, indexes, modelName };
|
|
11
|
+
export { createSchema, IDocType, IModel, indexes, modelName };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from 'mongoose';
|
|
2
|
+
import { IVirtuals } from '../virtuals';
|
|
2
3
|
import * as factory from '../../../factory';
|
|
3
4
|
type IDocType = factory.accountTitle.IAccountTitle;
|
|
4
|
-
type IModel = Model<IDocType>;
|
|
5
|
+
type IModel = Model<IDocType, {}, {}, IVirtuals>;
|
|
5
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
6
|
-
type ISchema = Schema<IDocType, IModel, {}, {},
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
|
|
7
8
|
declare const modelName = "AccountTitle";
|
|
8
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
9
10
|
declare function createSchema(): ISchema;
|
|
10
|
-
export { createSchema, IModel, indexes, modelName };
|
|
11
|
+
export { createSchema, IDocType, IModel, indexes, modelName };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from 'mongoose';
|
|
2
|
+
import { IVirtuals } from '../virtuals';
|
|
2
3
|
import * as factory from '../../../factory';
|
|
3
|
-
type IDocType = factory.account.transaction.ITransaction<factory.account.transactionType>;
|
|
4
|
-
type IModel = Model<IDocType>;
|
|
4
|
+
type IDocType = Omit<factory.account.transaction.ITransaction<factory.account.transactionType>, 'id'>;
|
|
5
|
+
type IModel = Model<IDocType, {}, {}, IVirtuals>;
|
|
5
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
6
|
-
type ISchema = Schema<IDocType, IModel, {}, {},
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition>;
|
|
7
8
|
declare const modelName = "AccountTransaction";
|
|
8
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
9
10
|
declare function createSchema(): ISchema;
|
|
10
|
-
export { createSchema, IModel, indexes, modelName };
|
|
11
|
+
export { createSchema, IDocType, IModel, indexes, modelName };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from 'mongoose';
|
|
2
|
+
import { IVirtuals } from '../virtuals';
|
|
2
3
|
import * as factory from '../../../factory';
|
|
3
4
|
type IAccountingReport = factory.report.accountingReport.IReportDocument;
|
|
4
5
|
type IDocType = IAccountingReport;
|
|
5
|
-
type IModel = Model<IDocType>;
|
|
6
|
+
type IModel = Model<IDocType, {}, {}, IVirtuals>;
|
|
6
7
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
7
|
-
type ISchema = Schema<IDocType, IModel, {}, {},
|
|
8
|
+
type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
|
|
8
9
|
declare const modelName = "AccountingReport";
|
|
9
10
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
10
11
|
declare function createSchema(): ISchema;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from 'mongoose';
|
|
2
|
+
import { IVirtuals } from '../virtuals';
|
|
2
3
|
import * as factory from '../../../factory';
|
|
3
4
|
type IDocType = Omit<factory.action.IAction<factory.action.IAttributes<factory.actionType, any, any>>, 'id'> & {
|
|
4
5
|
identifier?: string;
|
|
5
6
|
};
|
|
6
|
-
type IModel = Model<IDocType>;
|
|
7
|
+
type IModel = Model<IDocType, {}, {}, IVirtuals>;
|
|
7
8
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
8
|
-
type ISchema = Schema<IDocType, IModel, {}, {},
|
|
9
|
+
type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
|
|
9
10
|
declare const modelName = "Action";
|
|
10
11
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
11
12
|
declare function createSchema(): ISchema;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from 'mongoose';
|
|
2
|
+
import { IVirtuals } from '../virtuals';
|
|
2
3
|
import * as factory from '../../../factory';
|
|
3
4
|
type IDocType = factory.recipe.IRecipe & {
|
|
4
5
|
recipeFor: {
|
|
@@ -7,10 +8,10 @@ type IDocType = factory.recipe.IRecipe & {
|
|
|
7
8
|
dateCreated?: Date;
|
|
8
9
|
dateModified?: Date;
|
|
9
10
|
};
|
|
10
|
-
type IModel = Model<IDocType>;
|
|
11
|
+
type IModel = Model<IDocType, {}, {}, IVirtuals>;
|
|
11
12
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
12
|
-
type ISchema = Schema<IDocType, IModel, {}, {},
|
|
13
|
+
type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
|
|
13
14
|
declare const modelName = "ActionRecipe";
|
|
14
15
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
15
16
|
declare function createSchema(): ISchema;
|
|
16
|
-
export { createSchema, IModel, indexes, modelName };
|
|
17
|
+
export { createSchema, IDocType, IModel, indexes, modelName };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from 'mongoose';
|
|
2
|
+
import { IVirtuals } from '../virtuals';
|
|
2
3
|
import * as factory from '../../../factory';
|
|
3
4
|
type IDocType = Omit<factory.additionalProperty.IAdditionalProperty, 'id'>;
|
|
4
|
-
type IModel = Model<IDocType>;
|
|
5
|
+
type IModel = Model<IDocType, {}, {}, IVirtuals>;
|
|
5
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
6
|
-
type ISchema = Schema<IDocType, IModel, {}, {},
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
|
|
7
8
|
declare const modelName = "AdditionalProperty";
|
|
8
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
9
10
|
declare function createSchema(): ISchema;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from 'mongoose';
|
|
2
|
+
import { IVirtuals } from '../virtuals';
|
|
2
3
|
import * as factory from '../../../factory';
|
|
3
4
|
type IDocType = Omit<factory.advanceBookingRequirement.IAdvanceBookingRequirement, 'id'>;
|
|
4
|
-
type IModel = Model<IDocType>;
|
|
5
|
+
type IModel = Model<IDocType, {}, {}, IVirtuals>;
|
|
5
6
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
6
|
-
type ISchema = Schema<IDocType, IModel, {}, {},
|
|
7
|
+
type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
|
|
7
8
|
declare const modelName = "AdvanceBookingRequirement";
|
|
8
9
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
9
10
|
declare function createSchema(): ISchema;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from 'mongoose';
|
|
2
|
+
import { IVirtuals } from '../virtuals';
|
|
2
3
|
import * as factory from '../../../factory';
|
|
3
4
|
export interface IDocType extends Omit<factory.aggregateOffer.IAggregateOffer, 'id'> {
|
|
4
5
|
_id: string;
|
|
5
6
|
includedInDataCatalog?: any[];
|
|
6
7
|
}
|
|
7
|
-
type IModel = Model<IDocType>;
|
|
8
|
+
type IModel = Model<IDocType, {}, {}, IVirtuals>;
|
|
8
9
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
9
|
-
type ISchema = Schema<IDocType, IModel, {}, {},
|
|
10
|
+
type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
|
|
10
11
|
declare const modelName = "AggregateOffer";
|
|
11
12
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
12
13
|
declare function createSchema(): ISchema;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from 'mongoose';
|
|
2
|
+
import { IVirtuals } from '../virtuals';
|
|
2
3
|
import * as factory from '../../../factory';
|
|
3
4
|
export interface IAggregateOrder {
|
|
4
5
|
orderCount: number;
|
|
@@ -14,9 +15,9 @@ export interface IDocType {
|
|
|
14
15
|
};
|
|
15
16
|
typeOf: factory.personType.Person | factory.placeType.Seat;
|
|
16
17
|
}
|
|
17
|
-
type IModel = Model<IDocType>;
|
|
18
|
+
type IModel = Model<IDocType, {}, {}, IVirtuals>;
|
|
18
19
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
19
|
-
type ISchema = Schema<IDocType, IModel, {}, {},
|
|
20
|
+
type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
|
|
20
21
|
declare const modelName = "AggregateOrder";
|
|
21
22
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
22
23
|
declare function createSchema(): ISchema;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from 'mongoose';
|
|
2
|
+
import { IVirtuals } from '../virtuals';
|
|
2
3
|
import * as factory from '../../../factory';
|
|
3
4
|
export interface IAggregateReservation {
|
|
4
5
|
project: {
|
|
@@ -14,10 +15,10 @@ export interface IAggregateReservation {
|
|
|
14
15
|
aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
|
|
15
16
|
}
|
|
16
17
|
type IDocType = IAggregateReservation;
|
|
17
|
-
type IModel = Model<IDocType>;
|
|
18
|
+
type IModel = Model<IDocType, {}, {}, IVirtuals>;
|
|
18
19
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
19
|
-
type ISchema = Schema<IDocType, IModel, {}, {},
|
|
20
|
+
type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
|
|
20
21
|
declare const modelName = "AggregateReservation";
|
|
21
22
|
declare const indexes: [d: IndexDefinition, o: IndexOptions][];
|
|
22
23
|
declare function createSchema(): ISchema;
|
|
23
|
-
export { createSchema, IModel, indexes, modelName };
|
|
24
|
+
export { createSchema, IDocType, IModel, indexes, modelName };
|