@chevre/domain 22.6.0-alpha.31 → 22.6.0-alpha.32
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.
|
@@ -16,6 +16,7 @@ import type { AuthorizationRepo } from './repo/authorization';
|
|
|
16
16
|
import type { CategoryCodeRepo } from './repo/categoryCode';
|
|
17
17
|
import type { CommentRepo } from './repo/comment';
|
|
18
18
|
import type { CreativeWorkRepo } from './repo/creativeWork';
|
|
19
|
+
import type { CredentialsRepo } from './repo/credentials';
|
|
19
20
|
import type { CustomerRepo } from './repo/customer';
|
|
20
21
|
import type { CustomerTypeRepo } from './repo/customerType';
|
|
21
22
|
import type { EmailMessageRepo } from './repo/emailMessage';
|
|
@@ -134,6 +135,10 @@ export type CreativeWork = CreativeWorkRepo;
|
|
|
134
135
|
export declare namespace CreativeWork {
|
|
135
136
|
function createInstance(...params: ConstructorParameters<typeof CreativeWorkRepo>): Promise<CreativeWorkRepo>;
|
|
136
137
|
}
|
|
138
|
+
export type Credentials = CredentialsRepo;
|
|
139
|
+
export declare namespace Credentials {
|
|
140
|
+
function createInstance(...params: ConstructorParameters<typeof CredentialsRepo>): Promise<CredentialsRepo>;
|
|
141
|
+
}
|
|
137
142
|
export type Customer = CustomerRepo;
|
|
138
143
|
export declare namespace Customer {
|
|
139
144
|
function createInstance(...params: ConstructorParameters<typeof CustomerRepo>): Promise<CustomerRepo>;
|
package/lib/chevre/repository.js
CHANGED
|
@@ -9,8 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
13
|
-
exports.rateLimit = exports.Trip = exports.TransactionProcess = exports.TransactionNumber = exports.Transaction = exports.Ticket = exports.Telemetry = exports.Task = exports.StockHolder = exports.ServiceOutputIdentifier = exports.ServiceOutput = exports.SellerPaymentAccepted = exports.Seller = exports.Schedule = void 0;
|
|
12
|
+
exports.Reservation = exports.ProjectMakesOffer = exports.Project = exports.ProductOffer = exports.ProductModel = exports.Product = exports.PriceSpecification = exports.place = exports.Permit = exports.Person = exports.paymentMethod = exports.PaymentServiceProvider = exports.PaymentService = exports.Passport = exports.OwnershipInfo = exports.OrderNumber = exports.OrderInTransaction = exports.Order = exports.Offer = exports.OfferItemCondition = exports.OfferCatalogItem = exports.OfferCatalog = exports.Note = exports.Message = exports.MerchantReturnPolicy = exports.Member = exports.Interface = exports.EventSeries = exports.EventSellerMakesOffer = exports.Event = exports.EmailMessage = exports.CustomerType = exports.Customer = exports.Credentials = exports.CreativeWork = exports.ConfirmationNumber = exports.Comment = exports.Authorization = exports.CategoryCode = exports.AssetTransaction = exports.Aggregation = exports.AggregateReservation = exports.AggregateOffer = exports.AdditionalProperty = exports.Action = exports.AccountTransaction = exports.AccountTitle = exports.AccountingReport = exports.Account = exports.AcceptedOffer = void 0;
|
|
13
|
+
exports.rateLimit = exports.Trip = exports.TransactionProcess = exports.TransactionNumber = exports.Transaction = exports.Ticket = exports.Telemetry = exports.Task = exports.StockHolder = exports.ServiceOutputIdentifier = exports.ServiceOutput = exports.SellerPaymentAccepted = exports.Seller = exports.Schedule = exports.Role = void 0;
|
|
14
14
|
var AcceptedOffer;
|
|
15
15
|
(function (AcceptedOffer) {
|
|
16
16
|
let repo;
|
|
@@ -219,6 +219,19 @@ var CreativeWork;
|
|
|
219
219
|
}
|
|
220
220
|
CreativeWork.createInstance = createInstance;
|
|
221
221
|
})(CreativeWork = exports.CreativeWork || (exports.CreativeWork = {}));
|
|
222
|
+
var Credentials;
|
|
223
|
+
(function (Credentials) {
|
|
224
|
+
let repo;
|
|
225
|
+
function createInstance(...params) {
|
|
226
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
227
|
+
if (repo === undefined) {
|
|
228
|
+
repo = (yield Promise.resolve().then(() => require('./repo/credentials'))).CredentialsRepo;
|
|
229
|
+
}
|
|
230
|
+
return new repo(...params);
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
Credentials.createInstance = createInstance;
|
|
234
|
+
})(Credentials = exports.Credentials || (exports.Credentials = {}));
|
|
222
235
|
var Customer;
|
|
223
236
|
(function (Customer) {
|
|
224
237
|
let repo;
|
package/package.json
CHANGED