@chevre/domain 21.0.0-alpha.1 → 21.0.0-alpha.10
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/errorHandler.d.ts +1 -0
- package/lib/chevre/errorHandler.js +6 -2
- package/lib/chevre/index.d.ts +1 -2
- package/lib/chevre/index.js +1 -3
- package/lib/chevre/repo/account.d.ts +0 -2
- package/lib/chevre/repo/account.js +10 -6
- package/lib/chevre/repo/accountTitle.js +6 -2
- package/lib/chevre/repo/accountTransaction.d.ts +0 -2
- package/lib/chevre/repo/accountTransaction.js +9 -6
- package/lib/chevre/repo/accountingReport.js +7 -3
- package/lib/chevre/repo/action.d.ts +1 -2
- package/lib/chevre/repo/action.js +9 -6
- package/lib/chevre/repo/additionalProperty.js +8 -4
- package/lib/chevre/repo/aggregation.js +6 -2
- package/lib/chevre/repo/assetTransaction.d.ts +1 -2
- package/lib/chevre/repo/assetTransaction.js +9 -6
- package/lib/chevre/repo/categoryCode.js +8 -4
- package/lib/chevre/repo/code.d.ts +1 -1
- package/lib/chevre/repo/code.js +10 -5
- package/lib/chevre/repo/comment.js +8 -4
- package/lib/chevre/repo/creativeWork.d.ts +0 -2
- package/lib/chevre/repo/creativeWork.js +9 -6
- package/lib/chevre/repo/customer.js +8 -4
- package/lib/chevre/repo/emailMessage.js +8 -4
- package/lib/chevre/repo/event.js +8 -4
- package/lib/chevre/repo/member.js +16 -9
- package/lib/chevre/repo/merchantReturnPolicy.d.ts +0 -2
- package/lib/chevre/repo/merchantReturnPolicy.js +9 -6
- package/lib/chevre/repo/mongoose/onIndexCreated.d.ts +2 -0
- package/lib/chevre/repo/mongoose/onIndexCreated.js +11 -0
- package/lib/chevre/repo/mongoose/schemas/account.d.ts +54 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/account.js +4 -14
- package/lib/chevre/repo/mongoose/schemas/accountTitle.d.ts +64 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/accountTitle.js +10 -35
- package/lib/chevre/repo/mongoose/schemas/accountTransaction.d.ts +67 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/accountTransaction.js +9 -19
- package/lib/chevre/repo/mongoose/schemas/accountingReport.d.ts +58 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/accountingReport.js +7 -17
- package/lib/chevre/repo/mongoose/schemas/action.d.ts +73 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/action.js +17 -27
- package/lib/chevre/repo/mongoose/schemas/additionalProperty.d.ts +60 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/additionalProperty.js +7 -17
- package/lib/chevre/repo/mongoose/schemas/aggregation.d.ts +54 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/aggregation.js +4 -14
- package/lib/chevre/repo/mongoose/schemas/assetTransaction.d.ts +72 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/assetTransaction.js +13 -23
- package/lib/chevre/repo/mongoose/schemas/authorization.d.ts +61 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/authorization.js +6 -16
- package/lib/chevre/repo/mongoose/schemas/categoryCode.d.ts +64 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/categoryCode.js +9 -19
- package/lib/chevre/repo/mongoose/schemas/comments.d.ts +65 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/comments.js +9 -19
- package/lib/chevre/repo/mongoose/schemas/creativeWork.d.ts +73 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/creativeWork.js +10 -20
- package/lib/chevre/repo/mongoose/schemas/customer.d.ts +64 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/customer.js +8 -18
- package/lib/chevre/repo/mongoose/schemas/emailMessages.d.ts +62 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/emailMessages.js +8 -18
- package/lib/chevre/repo/mongoose/{model → schemas}/event.d.ts +26 -2
- package/lib/chevre/repo/mongoose/{model → schemas}/event.js +24 -34
- package/lib/chevre/repo/mongoose/schemas/member.d.ts +58 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/member.js +6 -16
- package/lib/chevre/repo/mongoose/schemas/merchantReturnPolicy.d.ts +62 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/merchantReturnPolicy.js +7 -17
- package/lib/chevre/repo/mongoose/schemas/offer.d.ts +83 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/offer.js +28 -38
- package/lib/chevre/repo/mongoose/schemas/offerCatalog.d.ts +64 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/offerCatalog.js +11 -21
- package/lib/chevre/repo/mongoose/schemas/order.d.ts +77 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/order.js +15 -25
- package/lib/chevre/repo/mongoose/schemas/ownershipInfo.d.ts +64 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/ownershipInfo.js +9 -19
- package/lib/chevre/repo/mongoose/schemas/place.d.ts +76 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/place.js +17 -27
- package/lib/chevre/repo/mongoose/schemas/priceSpecification.d.ts +66 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/priceSpecification.js +9 -19
- package/lib/chevre/repo/mongoose/schemas/product.d.ts +67 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/product.js +14 -24
- package/lib/chevre/repo/mongoose/schemas/project.d.ts +63 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/project.js +7 -17
- package/lib/chevre/repo/mongoose/{model → schemas}/reservation.d.ts +26 -2
- package/lib/chevre/repo/mongoose/{model → schemas}/reservation.js +15 -25
- package/lib/chevre/repo/mongoose/schemas/role.d.ts +57 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/role.js +4 -14
- package/lib/chevre/repo/mongoose/schemas/seller.d.ts +67 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/seller.js +12 -22
- package/lib/chevre/repo/mongoose/schemas/serviceOutput.d.ts +57 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/serviceOutput.js +5 -15
- package/lib/chevre/repo/mongoose/schemas/task.d.ts +65 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/task.js +7 -17
- package/lib/chevre/repo/mongoose/schemas/telemetry.d.ts +62 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/telemetry.js +9 -19
- package/lib/chevre/repo/mongoose/schemas/transaction.d.ts +70 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/transaction.js +12 -22
- package/lib/chevre/repo/mongoose/schemas/trip.d.ts +57 -0
- package/lib/chevre/repo/mongoose/{model → schemas}/trip.js +5 -15
- package/lib/chevre/repo/mongoose/writeConcern.d.ts +3 -0
- package/lib/chevre/repo/mongoose/writeConcern.js +5 -0
- package/lib/chevre/repo/offer.js +11 -6
- package/lib/chevre/repo/offerCatalog.js +8 -4
- package/lib/chevre/repo/order.d.ts +0 -2
- package/lib/chevre/repo/order.js +12 -9
- package/lib/chevre/repo/ownershipInfo.d.ts +0 -2
- package/lib/chevre/repo/ownershipInfo.js +10 -7
- package/lib/chevre/repo/permit.js +6 -2
- package/lib/chevre/repo/place.js +16 -12
- package/lib/chevre/repo/priceSpecification.js +8 -4
- package/lib/chevre/repo/product.js +8 -4
- package/lib/chevre/repo/project.js +7 -3
- package/lib/chevre/repo/reservation.js +8 -21
- package/lib/chevre/repo/role.js +8 -4
- package/lib/chevre/repo/seller.js +8 -4
- package/lib/chevre/repo/serviceOutput.js +8 -4
- package/lib/chevre/repo/task.js +8 -4
- package/lib/chevre/repo/telemetry.js +6 -2
- package/lib/chevre/repo/transaction.d.ts +1 -2
- package/lib/chevre/repo/transaction.js +9 -6
- package/lib/chevre/repo/trip.js +8 -4
- package/lib/chevre/service/accountTransaction/deposit.js +0 -5
- package/lib/chevre/service/accountTransaction/transfer.js +0 -5
- package/lib/chevre/service/accountTransaction/withdraw.js +0 -5
- package/lib/chevre/service/assetTransaction/moneyTransfer.js +0 -5
- package/lib/chevre/service/assetTransaction/refund.js +0 -5
- package/lib/chevre/service/assetTransaction/registerService.js +0 -5
- package/lib/chevre/service/assetTransaction/reserve.js +0 -10
- package/lib/chevre/service/code.js +6 -1
- package/lib/chevre/service/order/onOrderStatusChanged/factory.js +6 -1
- package/lib/chevre/service/report/ownershipInfo.js +4 -0
- package/lib/chevre/service/transaction/moneyTransfer.js +0 -5
- package/lib/chevre/service/transaction/placeOrderInProgress.js +2 -2
- package/lib/chevre/service/transaction/returnOrder.js +1 -1
- package/package.json +7 -7
- package/lib/chevre/repo/mongoose/model/account.d.ts +0 -30
- package/lib/chevre/repo/mongoose/model/accountTitle.d.ts +0 -40
- package/lib/chevre/repo/mongoose/model/accountTransaction.d.ts +0 -43
- package/lib/chevre/repo/mongoose/model/accountingReport.d.ts +0 -34
- package/lib/chevre/repo/mongoose/model/action.d.ts +0 -49
- package/lib/chevre/repo/mongoose/model/additionalProperty.d.ts +0 -36
- package/lib/chevre/repo/mongoose/model/aggregation.d.ts +0 -30
- package/lib/chevre/repo/mongoose/model/assetTransaction.d.ts +0 -48
- package/lib/chevre/repo/mongoose/model/authorization.d.ts +0 -37
- package/lib/chevre/repo/mongoose/model/categoryCode.d.ts +0 -40
- package/lib/chevre/repo/mongoose/model/comments.d.ts +0 -41
- package/lib/chevre/repo/mongoose/model/creativeWork.d.ts +0 -49
- package/lib/chevre/repo/mongoose/model/customer.d.ts +0 -40
- package/lib/chevre/repo/mongoose/model/emailMessages.d.ts +0 -38
- package/lib/chevre/repo/mongoose/model/member.d.ts +0 -34
- package/lib/chevre/repo/mongoose/model/merchantReturnPolicy.d.ts +0 -38
- package/lib/chevre/repo/mongoose/model/offer.d.ts +0 -59
- package/lib/chevre/repo/mongoose/model/offerCatalog.d.ts +0 -40
- package/lib/chevre/repo/mongoose/model/order.d.ts +0 -53
- package/lib/chevre/repo/mongoose/model/ownershipInfo.d.ts +0 -40
- package/lib/chevre/repo/mongoose/model/place.d.ts +0 -52
- package/lib/chevre/repo/mongoose/model/priceSpecification.d.ts +0 -42
- package/lib/chevre/repo/mongoose/model/product.d.ts +0 -43
- package/lib/chevre/repo/mongoose/model/project.d.ts +0 -39
- package/lib/chevre/repo/mongoose/model/role.d.ts +0 -33
- package/lib/chevre/repo/mongoose/model/seller.d.ts +0 -43
- package/lib/chevre/repo/mongoose/model/serviceOutput.d.ts +0 -33
- package/lib/chevre/repo/mongoose/model/task.d.ts +0 -41
- package/lib/chevre/repo/mongoose/model/telemetry.d.ts +0 -38
- package/lib/chevre/repo/mongoose/model/transaction.d.ts +0 -46
- package/lib/chevre/repo/mongoose/model/trip.d.ts +0 -33
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.schema = exports.modelName = void 0;
|
|
4
|
-
const
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
const writeConcern_1 = require("../writeConcern");
|
|
5
6
|
const modelName = 'Order';
|
|
6
7
|
exports.modelName = modelName;
|
|
7
|
-
const writeConcern = { j: true, w: 'majority', wtimeout: 10000 };
|
|
8
8
|
/**
|
|
9
9
|
* 注文スキーマ
|
|
10
10
|
*/
|
|
11
|
-
const schema = new
|
|
12
|
-
broker:
|
|
13
|
-
project:
|
|
11
|
+
const schema = new mongoose_1.Schema({
|
|
12
|
+
broker: mongoose_1.SchemaTypes.Mixed,
|
|
13
|
+
project: mongoose_1.SchemaTypes.Mixed,
|
|
14
14
|
typeOf: {
|
|
15
15
|
type: String,
|
|
16
16
|
required: true
|
|
17
17
|
},
|
|
18
|
-
identifier: [
|
|
18
|
+
identifier: [mongoose_1.SchemaTypes.Mixed],
|
|
19
19
|
name: String,
|
|
20
|
-
seller:
|
|
21
|
-
customer:
|
|
22
|
-
returner:
|
|
20
|
+
seller: mongoose_1.SchemaTypes.Mixed,
|
|
21
|
+
customer: mongoose_1.SchemaTypes.Mixed,
|
|
22
|
+
returner: mongoose_1.SchemaTypes.Mixed,
|
|
23
23
|
confirmationNumber: String,
|
|
24
24
|
orderNumber: String,
|
|
25
25
|
price: Number,
|
|
26
26
|
priceCurrency: String,
|
|
27
|
-
acceptedOffers: [
|
|
28
|
-
paymentMethods: [
|
|
29
|
-
discounts: [
|
|
27
|
+
acceptedOffers: [mongoose_1.SchemaTypes.Mixed],
|
|
28
|
+
paymentMethods: [mongoose_1.SchemaTypes.Mixed],
|
|
29
|
+
discounts: [mongoose_1.SchemaTypes.Mixed],
|
|
30
30
|
url: String,
|
|
31
31
|
orderStatus: String,
|
|
32
32
|
orderDate: Date,
|
|
33
33
|
isGift: Boolean,
|
|
34
34
|
dateReturned: Date,
|
|
35
|
-
orderedItem: [
|
|
36
|
-
additionalProperty: [
|
|
35
|
+
orderedItem: [mongoose_1.SchemaTypes.Mixed],
|
|
36
|
+
additionalProperty: [mongoose_1.SchemaTypes.Mixed] // 追加(2023-02-13~)
|
|
37
37
|
}, {
|
|
38
38
|
collection: 'orders',
|
|
39
39
|
id: true,
|
|
40
40
|
read: 'primaryPreferred',
|
|
41
|
-
writeConcern: writeConcern,
|
|
41
|
+
writeConcern: writeConcern_1.writeConcern,
|
|
42
42
|
strict: true,
|
|
43
43
|
useNestedStrict: true,
|
|
44
44
|
timestamps: {
|
|
@@ -303,13 +303,3 @@ schema.index({ additionalProperty: 1, orderDate: -1 }, {
|
|
|
303
303
|
additionalProperty: { $exists: true }
|
|
304
304
|
}
|
|
305
305
|
});
|
|
306
|
-
mongoose.model(modelName, schema)
|
|
307
|
-
.on('index',
|
|
308
|
-
// tslint:disable-next-line:no-single-line-block-comment
|
|
309
|
-
/* istanbul ignore next */
|
|
310
|
-
(error) => {
|
|
311
|
-
if (error !== undefined) {
|
|
312
|
-
// tslint:disable-next-line:no-console
|
|
313
|
-
console.error(error);
|
|
314
|
-
}
|
|
315
|
-
});
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
|
+
declare const modelName = "OwnershipInfo";
|
|
27
|
+
/**
|
|
28
|
+
* 所有権スキーマ
|
|
29
|
+
*/
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").ResolveSchemaOptions<{
|
|
31
|
+
collection: string;
|
|
32
|
+
id: true;
|
|
33
|
+
read: string;
|
|
34
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
35
|
+
strict: true;
|
|
36
|
+
useNestedStrict: boolean;
|
|
37
|
+
timestamps: {
|
|
38
|
+
createdAt: string;
|
|
39
|
+
updatedAt: string;
|
|
40
|
+
};
|
|
41
|
+
toJSON: {
|
|
42
|
+
getters: false;
|
|
43
|
+
virtuals: false;
|
|
44
|
+
minimize: false;
|
|
45
|
+
versionKey: false;
|
|
46
|
+
};
|
|
47
|
+
toObject: {
|
|
48
|
+
getters: false;
|
|
49
|
+
virtuals: true;
|
|
50
|
+
minimize: false;
|
|
51
|
+
versionKey: false;
|
|
52
|
+
};
|
|
53
|
+
}>, {
|
|
54
|
+
typeOf: string;
|
|
55
|
+
_id?: string | undefined;
|
|
56
|
+
project?: any;
|
|
57
|
+
identifier?: any;
|
|
58
|
+
typeOfGood?: any;
|
|
59
|
+
ownedBy?: any;
|
|
60
|
+
acquiredFrom?: any;
|
|
61
|
+
ownedFrom?: Date | undefined;
|
|
62
|
+
ownedThrough?: Date | undefined;
|
|
63
|
+
}>;
|
|
64
|
+
export { modelName, schema };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.schema = exports.modelName = void 0;
|
|
4
|
-
const
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
const writeConcern_1 = require("../writeConcern");
|
|
5
6
|
const modelName = 'OwnershipInfo';
|
|
6
7
|
exports.modelName = modelName;
|
|
7
|
-
const writeConcern = { j: true, w: 'majority', wtimeout: 10000 };
|
|
8
8
|
/**
|
|
9
9
|
* 所有権スキーマ
|
|
10
10
|
*/
|
|
11
|
-
const schema = new
|
|
12
|
-
project:
|
|
11
|
+
const schema = new mongoose_1.Schema({
|
|
12
|
+
project: mongoose_1.SchemaTypes.Mixed,
|
|
13
13
|
_id: String,
|
|
14
14
|
typeOf: {
|
|
15
15
|
type: String,
|
|
16
16
|
required: true
|
|
17
17
|
},
|
|
18
|
-
identifier:
|
|
19
|
-
ownedBy:
|
|
20
|
-
acquiredFrom:
|
|
18
|
+
identifier: mongoose_1.SchemaTypes.Mixed,
|
|
19
|
+
ownedBy: mongoose_1.SchemaTypes.Mixed,
|
|
20
|
+
acquiredFrom: mongoose_1.SchemaTypes.Mixed,
|
|
21
21
|
ownedFrom: Date,
|
|
22
22
|
ownedThrough: Date,
|
|
23
|
-
typeOfGood:
|
|
23
|
+
typeOfGood: mongoose_1.SchemaTypes.Mixed
|
|
24
24
|
}, {
|
|
25
25
|
collection: 'ownershipInfos',
|
|
26
26
|
id: true,
|
|
27
27
|
read: 'primaryPreferred',
|
|
28
|
-
writeConcern: writeConcern,
|
|
28
|
+
writeConcern: writeConcern_1.writeConcern,
|
|
29
29
|
strict: true,
|
|
30
30
|
useNestedStrict: true,
|
|
31
31
|
timestamps: {
|
|
@@ -148,13 +148,3 @@ schema.index({ 'typeOfGood.reservationNumber': 1, ownedFrom: -1 }, {
|
|
|
148
148
|
'typeOfGood.reservationNumber': { $exists: true }
|
|
149
149
|
}
|
|
150
150
|
});
|
|
151
|
-
mongoose.model(modelName, schema)
|
|
152
|
-
.on('index',
|
|
153
|
-
// tslint:disable-next-line:no-single-line-block-comment
|
|
154
|
-
/* istanbul ignore next */
|
|
155
|
-
(error) => {
|
|
156
|
-
if (error !== undefined) {
|
|
157
|
-
// tslint:disable-next-line:no-console
|
|
158
|
-
console.error(error);
|
|
159
|
-
}
|
|
160
|
-
});
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
|
+
declare const modelName = "Place";
|
|
27
|
+
/**
|
|
28
|
+
* 場所スキーマ
|
|
29
|
+
*/
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").ResolveSchemaOptions<{
|
|
31
|
+
collection: string;
|
|
32
|
+
id: true;
|
|
33
|
+
read: string;
|
|
34
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
35
|
+
strict: true;
|
|
36
|
+
useNestedStrict: boolean;
|
|
37
|
+
timestamps: {
|
|
38
|
+
createdAt: string;
|
|
39
|
+
updatedAt: string;
|
|
40
|
+
};
|
|
41
|
+
toJSON: {
|
|
42
|
+
getters: false;
|
|
43
|
+
virtuals: false;
|
|
44
|
+
minimize: false;
|
|
45
|
+
versionKey: false;
|
|
46
|
+
};
|
|
47
|
+
toObject: {
|
|
48
|
+
getters: false;
|
|
49
|
+
virtuals: true;
|
|
50
|
+
minimize: false;
|
|
51
|
+
versionKey: false;
|
|
52
|
+
};
|
|
53
|
+
}>, {
|
|
54
|
+
typeOf: string;
|
|
55
|
+
additionalProperty: any[];
|
|
56
|
+
containsPlace: any[];
|
|
57
|
+
hasEntranceGate: any[];
|
|
58
|
+
hasPOS: any[];
|
|
59
|
+
name?: any;
|
|
60
|
+
url?: string | undefined;
|
|
61
|
+
project?: any;
|
|
62
|
+
alternateName?: any;
|
|
63
|
+
description?: any;
|
|
64
|
+
offers?: any;
|
|
65
|
+
branchCode?: string | undefined;
|
|
66
|
+
telephone?: string | undefined;
|
|
67
|
+
maximumAttendeeCapacity?: number | undefined;
|
|
68
|
+
kanaName?: string | undefined;
|
|
69
|
+
address?: any;
|
|
70
|
+
containedInPlace?: any;
|
|
71
|
+
openingHoursSpecification?: any;
|
|
72
|
+
smokingAllowed?: boolean | undefined;
|
|
73
|
+
sameAs?: string | undefined;
|
|
74
|
+
parentOrganization?: any;
|
|
75
|
+
}>;
|
|
76
|
+
export { modelName, schema };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.schema = exports.modelName = void 0;
|
|
4
|
-
const
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
const writeConcern_1 = require("../writeConcern");
|
|
5
6
|
const modelName = 'Place';
|
|
6
7
|
exports.modelName = modelName;
|
|
7
|
-
const writeConcern = { j: true, w: 'majority', wtimeout: 10000 };
|
|
8
8
|
/**
|
|
9
9
|
* 場所スキーマ
|
|
10
10
|
*/
|
|
11
|
-
const schema = new
|
|
12
|
-
project:
|
|
11
|
+
const schema = new mongoose_1.Schema({
|
|
12
|
+
project: mongoose_1.SchemaTypes.Mixed,
|
|
13
13
|
typeOf: {
|
|
14
14
|
type: String,
|
|
15
15
|
required: true
|
|
16
16
|
},
|
|
17
|
-
name:
|
|
18
|
-
alternateName:
|
|
19
|
-
description:
|
|
20
|
-
address:
|
|
17
|
+
name: mongoose_1.SchemaTypes.Mixed,
|
|
18
|
+
alternateName: mongoose_1.SchemaTypes.Mixed,
|
|
19
|
+
description: mongoose_1.SchemaTypes.Mixed,
|
|
20
|
+
address: mongoose_1.SchemaTypes.Mixed,
|
|
21
21
|
branchCode: String,
|
|
22
|
-
containedInPlace:
|
|
23
|
-
containsPlace: [
|
|
24
|
-
hasEntranceGate: [
|
|
25
|
-
hasPOS: [
|
|
22
|
+
containedInPlace: mongoose_1.SchemaTypes.Mixed,
|
|
23
|
+
containsPlace: [mongoose_1.SchemaTypes.Mixed],
|
|
24
|
+
hasEntranceGate: [mongoose_1.SchemaTypes.Mixed],
|
|
25
|
+
hasPOS: [mongoose_1.SchemaTypes.Mixed],
|
|
26
26
|
maximumAttendeeCapacity: Number,
|
|
27
|
-
openingHoursSpecification:
|
|
27
|
+
openingHoursSpecification: mongoose_1.SchemaTypes.Mixed,
|
|
28
28
|
smokingAllowed: Boolean,
|
|
29
29
|
telephone: String,
|
|
30
30
|
sameAs: String,
|
|
31
31
|
url: String,
|
|
32
32
|
kanaName: String,
|
|
33
|
-
offers:
|
|
34
|
-
additionalProperty: [
|
|
35
|
-
parentOrganization:
|
|
33
|
+
offers: mongoose_1.SchemaTypes.Mixed,
|
|
34
|
+
additionalProperty: [mongoose_1.SchemaTypes.Mixed],
|
|
35
|
+
parentOrganization: mongoose_1.SchemaTypes.Mixed
|
|
36
36
|
}, {
|
|
37
37
|
collection: 'places',
|
|
38
38
|
id: true,
|
|
39
39
|
read: 'primaryPreferred',
|
|
40
|
-
writeConcern: writeConcern,
|
|
40
|
+
writeConcern: writeConcern_1.writeConcern,
|
|
41
41
|
strict: true,
|
|
42
42
|
useNestedStrict: true,
|
|
43
43
|
timestamps: {
|
|
@@ -131,13 +131,3 @@ schema.index({ 'containsPlace.containsPlace.containsPlace.additionalProperty': 1
|
|
|
131
131
|
'containsPlace.containsPlace.containsPlace.additionalProperty': { $exists: true }
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
|
-
mongoose.model(modelName, schema)
|
|
135
|
-
.on('index',
|
|
136
|
-
// tslint:disable-next-line:no-single-line-block-comment
|
|
137
|
-
/* istanbul ignore next */
|
|
138
|
-
(error) => {
|
|
139
|
-
if (error !== undefined) {
|
|
140
|
-
// tslint:disable-next-line:no-console
|
|
141
|
-
console.error(error);
|
|
142
|
-
}
|
|
143
|
-
});
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
|
+
declare const modelName = "PriceSpecification";
|
|
27
|
+
/**
|
|
28
|
+
* 価格仕様スキーマ
|
|
29
|
+
*/
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").ResolveSchemaOptions<{
|
|
31
|
+
collection: string;
|
|
32
|
+
id: true;
|
|
33
|
+
read: string;
|
|
34
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
35
|
+
strict: true;
|
|
36
|
+
useNestedStrict: boolean;
|
|
37
|
+
timestamps: {
|
|
38
|
+
createdAt: string;
|
|
39
|
+
updatedAt: string;
|
|
40
|
+
};
|
|
41
|
+
toJSON: {
|
|
42
|
+
getters: false;
|
|
43
|
+
virtuals: false;
|
|
44
|
+
minimize: false;
|
|
45
|
+
versionKey: false;
|
|
46
|
+
};
|
|
47
|
+
toObject: {
|
|
48
|
+
getters: false;
|
|
49
|
+
virtuals: true;
|
|
50
|
+
minimize: false;
|
|
51
|
+
versionKey: false;
|
|
52
|
+
};
|
|
53
|
+
}>, {
|
|
54
|
+
typeOf: string;
|
|
55
|
+
price: number;
|
|
56
|
+
name?: any;
|
|
57
|
+
project?: any;
|
|
58
|
+
priceCurrency?: string | undefined;
|
|
59
|
+
valueAddedTaxIncluded?: boolean | undefined;
|
|
60
|
+
appliesToCategoryCode?: any;
|
|
61
|
+
appliesToVideoFormat?: string | undefined;
|
|
62
|
+
appliesToMovieTicket?: any;
|
|
63
|
+
validFrom?: Date | undefined;
|
|
64
|
+
validThrough?: Date | undefined;
|
|
65
|
+
}>;
|
|
66
|
+
export { modelName, schema };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.schema = exports.modelName = void 0;
|
|
4
|
-
const
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
const writeConcern_1 = require("../writeConcern");
|
|
5
6
|
const modelName = 'PriceSpecification';
|
|
6
7
|
exports.modelName = modelName;
|
|
7
|
-
const writeConcern = { j: true, w: 'majority', wtimeout: 10000 };
|
|
8
8
|
/**
|
|
9
9
|
* 価格仕様スキーマ
|
|
10
10
|
*/
|
|
11
|
-
const schema = new
|
|
12
|
-
project:
|
|
11
|
+
const schema = new mongoose_1.Schema({
|
|
12
|
+
project: mongoose_1.SchemaTypes.Mixed,
|
|
13
13
|
typeOf: { type: String, required: true },
|
|
14
|
-
name:
|
|
14
|
+
name: mongoose_1.SchemaTypes.Mixed,
|
|
15
15
|
price: { type: Number, required: true },
|
|
16
16
|
priceCurrency: String,
|
|
17
17
|
validFrom: Date,
|
|
18
18
|
validThrough: Date,
|
|
19
19
|
valueAddedTaxIncluded: Boolean,
|
|
20
|
-
// referenceQuantity:
|
|
20
|
+
// referenceQuantity: SchemaTypes.Mixed,
|
|
21
21
|
// appliesToSoundFormat: String,
|
|
22
|
-
appliesToCategoryCode:
|
|
23
|
-
appliesToMovieTicket:
|
|
22
|
+
appliesToCategoryCode: mongoose_1.SchemaTypes.Mixed,
|
|
23
|
+
appliesToMovieTicket: mongoose_1.SchemaTypes.Mixed,
|
|
24
24
|
appliesToVideoFormat: String
|
|
25
25
|
}, {
|
|
26
26
|
collection: 'priceSpecifications',
|
|
27
27
|
id: true,
|
|
28
28
|
read: 'primaryPreferred',
|
|
29
|
-
writeConcern: writeConcern,
|
|
29
|
+
writeConcern: writeConcern_1.writeConcern,
|
|
30
30
|
strict: true,
|
|
31
31
|
useNestedStrict: true,
|
|
32
32
|
timestamps: {
|
|
@@ -88,13 +88,3 @@ schema.index({ 'appliesToCategoryCode.inCodeSet.identifier': 1, price: 1 }, {
|
|
|
88
88
|
'appliesToCategoryCode.inCodeSet.identifier': { $exists: true }
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
|
-
mongoose.model(modelName, schema)
|
|
92
|
-
.on('index',
|
|
93
|
-
// tslint:disable-next-line:no-single-line-block-comment
|
|
94
|
-
/* istanbul ignore next */
|
|
95
|
-
(error) => {
|
|
96
|
-
if (error !== undefined) {
|
|
97
|
-
// tslint:disable-next-line:no-console
|
|
98
|
-
console.error(error);
|
|
99
|
-
}
|
|
100
|
-
});
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
|
+
declare const modelName = "Product";
|
|
27
|
+
/**
|
|
28
|
+
* プロダクトスキーマ
|
|
29
|
+
*/
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").ResolveSchemaOptions<{
|
|
31
|
+
collection: string;
|
|
32
|
+
id: true;
|
|
33
|
+
read: string;
|
|
34
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
35
|
+
strict: true;
|
|
36
|
+
useNestedStrict: boolean;
|
|
37
|
+
timestamps: {
|
|
38
|
+
createdAt: string;
|
|
39
|
+
updatedAt: string;
|
|
40
|
+
};
|
|
41
|
+
toJSON: {
|
|
42
|
+
getters: false;
|
|
43
|
+
virtuals: false;
|
|
44
|
+
minimize: false;
|
|
45
|
+
versionKey: false;
|
|
46
|
+
};
|
|
47
|
+
toObject: {
|
|
48
|
+
getters: false;
|
|
49
|
+
virtuals: true;
|
|
50
|
+
minimize: false;
|
|
51
|
+
versionKey: false;
|
|
52
|
+
};
|
|
53
|
+
}>, {
|
|
54
|
+
typeOf: string;
|
|
55
|
+
additionalProperty: any[];
|
|
56
|
+
offers: any[];
|
|
57
|
+
productID: string;
|
|
58
|
+
provider: any[];
|
|
59
|
+
name?: any;
|
|
60
|
+
project?: any;
|
|
61
|
+
description?: any;
|
|
62
|
+
serviceOutput?: any;
|
|
63
|
+
serviceType?: any;
|
|
64
|
+
availableChannel?: any;
|
|
65
|
+
hasOfferCatalog?: any;
|
|
66
|
+
}>;
|
|
67
|
+
export { modelName, schema };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.schema = exports.modelName = void 0;
|
|
4
|
-
const
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
const writeConcern_1 = require("../writeConcern");
|
|
5
6
|
const modelName = 'Product';
|
|
6
7
|
exports.modelName = modelName;
|
|
7
|
-
const writeConcern = { j: true, w: 'majority', wtimeout: 10000 };
|
|
8
8
|
/**
|
|
9
9
|
* プロダクトスキーマ
|
|
10
10
|
*/
|
|
11
|
-
const schema = new
|
|
12
|
-
project:
|
|
11
|
+
const schema = new mongoose_1.Schema({
|
|
12
|
+
project: mongoose_1.SchemaTypes.Mixed,
|
|
13
13
|
typeOf: {
|
|
14
14
|
type: String,
|
|
15
15
|
required: true
|
|
16
16
|
},
|
|
17
|
-
additionalProperty: [
|
|
18
|
-
availableChannel:
|
|
19
|
-
description:
|
|
20
|
-
hasOfferCatalog:
|
|
21
|
-
name:
|
|
22
|
-
offers: [
|
|
17
|
+
additionalProperty: [mongoose_1.SchemaTypes.Mixed],
|
|
18
|
+
availableChannel: mongoose_1.SchemaTypes.Mixed,
|
|
19
|
+
description: mongoose_1.SchemaTypes.Mixed,
|
|
20
|
+
hasOfferCatalog: mongoose_1.SchemaTypes.Mixed,
|
|
21
|
+
name: mongoose_1.SchemaTypes.Mixed,
|
|
22
|
+
offers: [mongoose_1.SchemaTypes.Mixed],
|
|
23
23
|
productID: {
|
|
24
24
|
type: String,
|
|
25
25
|
required: true
|
|
26
26
|
},
|
|
27
|
-
provider: [
|
|
28
|
-
serviceOutput:
|
|
29
|
-
serviceType:
|
|
27
|
+
provider: [mongoose_1.SchemaTypes.Mixed],
|
|
28
|
+
serviceOutput: mongoose_1.SchemaTypes.Mixed,
|
|
29
|
+
serviceType: mongoose_1.SchemaTypes.Mixed
|
|
30
30
|
}, {
|
|
31
31
|
collection: 'products',
|
|
32
32
|
id: true,
|
|
33
33
|
read: 'primaryPreferred',
|
|
34
|
-
writeConcern: writeConcern,
|
|
34
|
+
writeConcern: writeConcern_1.writeConcern,
|
|
35
35
|
strict: true,
|
|
36
36
|
useNestedStrict: true,
|
|
37
37
|
timestamps: {
|
|
@@ -99,13 +99,3 @@ schema.index({ 'name.en': 1, productID: 1 }, {
|
|
|
99
99
|
'name.en': { $exists: true }
|
|
100
100
|
}
|
|
101
101
|
});
|
|
102
|
-
mongoose.model(modelName, schema)
|
|
103
|
-
.on('index',
|
|
104
|
-
// tslint:disable-next-line:no-single-line-block-comment
|
|
105
|
-
/* istanbul ignore next */
|
|
106
|
-
(error) => {
|
|
107
|
-
if (error !== undefined) {
|
|
108
|
-
// tslint:disable-next-line:no-console
|
|
109
|
-
console.error(error);
|
|
110
|
-
}
|
|
111
|
-
});
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
|
+
declare const modelName = "Project";
|
|
27
|
+
/**
|
|
28
|
+
* プロジェクトスキーマ
|
|
29
|
+
*/
|
|
30
|
+
declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").ResolveSchemaOptions<{
|
|
31
|
+
collection: string;
|
|
32
|
+
id: true;
|
|
33
|
+
read: string;
|
|
34
|
+
writeConcern: import("mongodb").WriteConcern;
|
|
35
|
+
strict: true;
|
|
36
|
+
useNestedStrict: boolean;
|
|
37
|
+
timestamps: {
|
|
38
|
+
createdAt: string;
|
|
39
|
+
updatedAt: string;
|
|
40
|
+
};
|
|
41
|
+
toJSON: {
|
|
42
|
+
getters: false;
|
|
43
|
+
virtuals: false;
|
|
44
|
+
minimize: false;
|
|
45
|
+
versionKey: false;
|
|
46
|
+
};
|
|
47
|
+
toObject: {
|
|
48
|
+
getters: false;
|
|
49
|
+
virtuals: true;
|
|
50
|
+
minimize: false;
|
|
51
|
+
versionKey: false;
|
|
52
|
+
};
|
|
53
|
+
}>, {
|
|
54
|
+
typeOf: string;
|
|
55
|
+
_id?: string | undefined;
|
|
56
|
+
name?: string | undefined;
|
|
57
|
+
alternateName?: string | undefined;
|
|
58
|
+
logo?: string | undefined;
|
|
59
|
+
aggregateReservation?: any;
|
|
60
|
+
settings?: any;
|
|
61
|
+
subscription?: any;
|
|
62
|
+
}>;
|
|
63
|
+
export { modelName, schema };
|