@medusajs/types 2.0.0-rc-20241003153304 → 2.0.0-rc-20241014083213
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bundles.d.ts +2 -2
- package/dist/bundles.d.ts.map +1 -1
- package/dist/bundles.js +3 -3
- package/dist/bundles.js.map +1 -1
- package/dist/cart/workflows.d.ts +3 -1
- package/dist/cart/workflows.d.ts.map +1 -1
- package/dist/common/common.d.ts +1 -3
- package/dist/common/common.d.ts.map +1 -1
- package/dist/common/config-module.d.ts +3 -3
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/http/customer/admin/responses.d.ts +1 -1
- package/dist/http/customer/admin/responses.d.ts.map +1 -1
- package/dist/http/user/admin/payloads.d.ts +1 -0
- package/dist/http/user/admin/payloads.d.ts.map +1 -1
- package/dist/index-data/common.d.ts.map +1 -0
- package/dist/{index → index-data}/common.js.map +1 -1
- package/dist/{index/operator-map.d.ts → index-data/index-operator-map.d.ts} +2 -2
- package/dist/index-data/index-operator-map.d.ts.map +1 -0
- package/dist/index-data/index-operator-map.js +3 -0
- package/dist/index-data/index-operator-map.js.map +1 -0
- package/dist/index-data/index-service-entry-points.d.ts.map +1 -0
- package/dist/index-data/index-service-entry-points.js.map +1 -0
- package/dist/{index → index-data}/index.d.ts +2 -3
- package/dist/index-data/index.d.ts.map +1 -0
- package/dist/{index → index-data}/index.js +2 -3
- package/dist/index-data/index.js.map +1 -0
- package/dist/index-data/query-config/common.d.ts.map +1 -0
- package/dist/index-data/query-config/common.js.map +1 -0
- package/dist/index-data/query-config/index.d.ts.map +1 -0
- package/dist/index-data/query-config/index.js.map +1 -0
- package/dist/index-data/query-config/query-input-config-fields.d.ts.map +1 -0
- package/dist/index-data/query-config/query-input-config-fields.js.map +1 -0
- package/dist/{index → index-data}/query-config/query-input-config-filters.d.ts +1 -1
- package/dist/index-data/query-config/query-input-config-filters.d.ts.map +1 -0
- package/dist/index-data/query-config/query-input-config-filters.js.map +1 -0
- package/dist/index-data/query-config/query-input-config-order-by.d.ts.map +1 -0
- package/dist/index-data/query-config/query-input-config-order-by.js.map +1 -0
- package/dist/{index → index-data}/query-config/query-input-config.d.ts +3 -7
- package/dist/index-data/query-config/query-input-config.d.ts.map +1 -0
- package/dist/index-data/query-config/query-input-config.js.map +1 -0
- package/dist/index-data/service.d.ts.map +1 -0
- package/dist/{index → index-data}/service.js.map +1 -1
- package/dist/index-data/sotrage-provider.d.ts.map +1 -0
- package/dist/index-data/sotrage-provider.js.map +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/locking/index.d.ts +36 -0
- package/dist/locking/index.d.ts.map +1 -0
- package/dist/{index/operator-map.js → locking/index.js} +1 -1
- package/dist/locking/index.js.map +1 -0
- package/dist/modules-sdk/module-provider.d.ts +1 -0
- package/dist/modules-sdk/module-provider.d.ts.map +1 -1
- package/dist/modules-sdk/remote-query-object-from-string.d.ts +2 -0
- package/dist/modules-sdk/remote-query-object-from-string.d.ts.map +1 -1
- package/dist/order/service.d.ts +20 -8
- package/dist/order/service.d.ts.map +1 -1
- package/dist/payment/provider.d.ts +1 -6
- package/dist/payment/provider.d.ts.map +1 -1
- package/dist/payment/service.d.ts +4 -3
- package/dist/payment/service.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/workflow/order/items.d.ts +2 -0
- package/dist/workflow/order/items.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index/common.d.ts.map +0 -1
- package/dist/index/index-service-entry-points.d.ts.map +0 -1
- package/dist/index/index-service-entry-points.js.map +0 -1
- package/dist/index/index.d.ts.map +0 -1
- package/dist/index/index.js.map +0 -1
- package/dist/index/operator-map.d.ts.map +0 -1
- package/dist/index/operator-map.js.map +0 -1
- package/dist/index/query-config/common.d.ts.map +0 -1
- package/dist/index/query-config/common.js.map +0 -1
- package/dist/index/query-config/index.d.ts.map +0 -1
- package/dist/index/query-config/index.js.map +0 -1
- package/dist/index/query-config/query-input-config-fields.d.ts.map +0 -1
- package/dist/index/query-config/query-input-config-fields.js.map +0 -1
- package/dist/index/query-config/query-input-config-filters.d.ts.map +0 -1
- package/dist/index/query-config/query-input-config-filters.js.map +0 -1
- package/dist/index/query-config/query-input-config-order-by.d.ts.map +0 -1
- package/dist/index/query-config/query-input-config-order-by.js.map +0 -1
- package/dist/index/query-config/query-input-config.d.ts.map +0 -1
- package/dist/index/query-config/query-input-config.js.map +0 -1
- package/dist/index/service.d.ts.map +0 -1
- package/dist/index/sotrage-provider.d.ts.map +0 -1
- package/dist/index/sotrage-provider.js.map +0 -1
- /package/dist/{index → index-data}/common.d.ts +0 -0
- /package/dist/{index → index-data}/common.js +0 -0
- /package/dist/{index → index-data}/index-service-entry-points.d.ts +0 -0
- /package/dist/{index → index-data}/index-service-entry-points.js +0 -0
- /package/dist/{index → index-data}/query-config/common.d.ts +0 -0
- /package/dist/{index → index-data}/query-config/common.js +0 -0
- /package/dist/{index → index-data}/query-config/index.d.ts +0 -0
- /package/dist/{index → index-data}/query-config/index.js +0 -0
- /package/dist/{index → index-data}/query-config/query-input-config-fields.d.ts +0 -0
- /package/dist/{index → index-data}/query-config/query-input-config-fields.js +0 -0
- /package/dist/{index → index-data}/query-config/query-input-config-filters.js +0 -0
- /package/dist/{index → index-data}/query-config/query-input-config-order-by.d.ts +0 -0
- /package/dist/{index → index-data}/query-config/query-input-config-order-by.js +0 -0
- /package/dist/{index → index-data}/query-config/query-input-config.js +0 -0
- /package/dist/{index → index-data}/service.d.ts +0 -0
- /package/dist/{index → index-data}/service.js +0 -0
- /package/dist/{index → index-data}/sotrage-provider.d.ts +0 -0
- /package/dist/{index → index-data}/sotrage-provider.js +0 -0
package/dist/bundles.d.ts
CHANGED
@@ -7,11 +7,13 @@ export * as CommonTypes from "./common";
|
|
7
7
|
export * as CurrencyTypes from "./currency";
|
8
8
|
export * as CustomerTypes from "./customer";
|
9
9
|
export * as DAL from "./dal";
|
10
|
+
export * as DmlTypes from "./dml";
|
10
11
|
export * as EventBusTypes from "./event-bus";
|
11
12
|
export * as FeatureFlagTypes from "./feature-flag";
|
12
13
|
export * as FileTypes from "./file";
|
13
14
|
export * as FulfillmentTypes from "./fulfillment";
|
14
15
|
export * as HttpTypes from "./http";
|
16
|
+
export * as IndexTypes from "./index-data/index";
|
15
17
|
export * as InventoryTypes from "./inventory";
|
16
18
|
export * as LoggerTypes from "./logger";
|
17
19
|
export * as ModulesSdkTypes from "./modules-sdk";
|
@@ -30,6 +32,4 @@ export * as TransactionBaseTypes from "./transaction-base";
|
|
30
32
|
export * as UserTypes from "./user";
|
31
33
|
export * as WorkflowTypes from "./workflow";
|
32
34
|
export * as WorkflowsSdkTypes from "./workflows-sdk";
|
33
|
-
export * as DmlTypes from "./dml";
|
34
|
-
export * as IndexTypes from "./index/index";
|
35
35
|
//# sourceMappingURL=bundles.d.ts.map
|
package/dist/bundles.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"bundles.d.ts","sourceRoot":"","sources":["../src/bundles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,SAAS,CAAA;AACrC,OAAO,KAAK,WAAW,MAAM,WAAW,CAAA;AACxC,OAAO,KAAK,SAAS,MAAM,QAAQ,CAAA;AACnC,OAAO,KAAK,UAAU,MAAM,SAAS,CAAA;AACrC,OAAO,KAAK,SAAS,MAAM,QAAQ,CAAA;AACnC,OAAO,KAAK,WAAW,MAAM,UAAU,CAAA;AACvC,OAAO,KAAK,aAAa,MAAM,YAAY,CAAA;AAC3C,OAAO,KAAK,aAAa,MAAM,YAAY,CAAA;AAC3C,OAAO,KAAK,GAAG,MAAM,OAAO,CAAA;AAC5B,OAAO,KAAK,aAAa,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,gBAAgB,MAAM,gBAAgB,CAAA;AAClD,OAAO,KAAK,SAAS,MAAM,QAAQ,CAAA;AACnC,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AACjD,OAAO,KA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;
|
24
24
|
};
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
-
exports.
|
26
|
+
exports.WorkflowsSdkTypes = exports.WorkflowTypes = exports.UserTypes = exports.TransactionBaseTypes = exports.TaxTypes = exports.StoreTypes = exports.StockLocationTypes = exports.SearchTypes = exports.SalesChannelTypes = exports.RegionTypes = exports.PromotionTypes = exports.ProductTypes = exports.PricingTypes = exports.OrderTypes = exports.NotificationTypes = exports.ModulesSdkTypes = exports.LoggerTypes = exports.InventoryTypes = exports.IndexTypes = exports.HttpTypes = exports.FulfillmentTypes = exports.FileTypes = exports.FeatureFlagTypes = exports.EventBusTypes = exports.DmlTypes = exports.DAL = exports.CustomerTypes = exports.CurrencyTypes = exports.CommonTypes = exports.CartTypes = exports.CacheTypes = exports.AuthTypes = exports.ApiKeyTypes = exports.AdminTypes = void 0;
|
27
27
|
exports.AdminTypes = __importStar(require("./admin"));
|
28
28
|
exports.ApiKeyTypes = __importStar(require("./api-key"));
|
29
29
|
exports.AuthTypes = __importStar(require("./auth"));
|
@@ -33,11 +33,13 @@ exports.CommonTypes = __importStar(require("./common"));
|
|
33
33
|
exports.CurrencyTypes = __importStar(require("./currency"));
|
34
34
|
exports.CustomerTypes = __importStar(require("./customer"));
|
35
35
|
exports.DAL = __importStar(require("./dal"));
|
36
|
+
exports.DmlTypes = __importStar(require("./dml"));
|
36
37
|
exports.EventBusTypes = __importStar(require("./event-bus"));
|
37
38
|
exports.FeatureFlagTypes = __importStar(require("./feature-flag"));
|
38
39
|
exports.FileTypes = __importStar(require("./file"));
|
39
40
|
exports.FulfillmentTypes = __importStar(require("./fulfillment"));
|
40
41
|
exports.HttpTypes = __importStar(require("./http"));
|
42
|
+
exports.IndexTypes = __importStar(require("./index-data/index"));
|
41
43
|
exports.InventoryTypes = __importStar(require("./inventory"));
|
42
44
|
exports.LoggerTypes = __importStar(require("./logger"));
|
43
45
|
exports.ModulesSdkTypes = __importStar(require("./modules-sdk"));
|
@@ -56,6 +58,4 @@ exports.TransactionBaseTypes = __importStar(require("./transaction-base"));
|
|
56
58
|
exports.UserTypes = __importStar(require("./user"));
|
57
59
|
exports.WorkflowTypes = __importStar(require("./workflow"));
|
58
60
|
exports.WorkflowsSdkTypes = __importStar(require("./workflows-sdk"));
|
59
|
-
exports.DmlTypes = __importStar(require("./dml"));
|
60
|
-
exports.IndexTypes = __importStar(require("./index/index"));
|
61
61
|
//# sourceMappingURL=bundles.js.map
|
package/dist/bundles.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"bundles.js","sourceRoot":"","sources":["../src/bundles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAqC;AACrC,yDAAwC;AACxC,oDAAmC;AACnC,sDAAqC;AACrC,oDAAmC;AACnC,wDAAuC;AACvC,4DAA2C;AAC3C,4DAA2C;AAC3C,6CAA4B;AAC5B,6DAA4C;AAC5C,mEAAkD;AAClD,oDAAmC;AACnC,kEAAiD;AACjD,oDAAmC;AACnC,8DAA6C;AAC7C,wDAAuC;AACvC,iEAAgD;AAChD,oEAAmD;AACnD,sDAAqC;AACrC,0DAAyC;AACzC,0DAAyC;AACzC,8DAA6C;AAC7C,wDAAuC;AACvC,qEAAoD;AACpD,wDAAuC;AACvC,uEAAsD;AACtD,sDAAqC;AACrC,kDAAiC;AACjC,2EAA0D;AAC1D,oDAAmC;AACnC,4DAA2C;AAC3C,qEAAoD
|
1
|
+
{"version":3,"file":"bundles.js","sourceRoot":"","sources":["../src/bundles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAqC;AACrC,yDAAwC;AACxC,oDAAmC;AACnC,sDAAqC;AACrC,oDAAmC;AACnC,wDAAuC;AACvC,4DAA2C;AAC3C,4DAA2C;AAC3C,6CAA4B;AAC5B,kDAAiC;AACjC,6DAA4C;AAC5C,mEAAkD;AAClD,oDAAmC;AACnC,kEAAiD;AACjD,oDAAmC;AACnC,iEAAgD;AAChD,8DAA6C;AAC7C,wDAAuC;AACvC,iEAAgD;AAChD,oEAAmD;AACnD,sDAAqC;AACrC,0DAAyC;AACzC,0DAAyC;AACzC,8DAA6C;AAC7C,wDAAuC;AACvC,qEAAoD;AACpD,wDAAuC;AACvC,uEAAsD;AACtD,sDAAqC;AACrC,kDAAiC;AACjC,2EAA0D;AAC1D,oDAAmC;AACnC,4DAA2C;AAC3C,qEAAoD"}
|
package/dist/cart/workflows.d.ts
CHANGED
@@ -5,7 +5,7 @@ import { ProductDTO } from "../product";
|
|
5
5
|
import { RegionDTO } from "../region";
|
6
6
|
import { BigNumberInput } from "../totals";
|
7
7
|
import { CartDTO, CartLineItemDTO } from "./common";
|
8
|
-
import { UpdateLineItemDTO } from "./mutations";
|
8
|
+
import { CreateAddressDTO, UpdateAddressDTO, UpdateLineItemDTO } from "./mutations";
|
9
9
|
export interface CreateCartCreateLineItemDTO {
|
10
10
|
quantity: BigNumberInput;
|
11
11
|
variant_id: string;
|
@@ -76,6 +76,8 @@ export interface UpdateCartWorkflowInputDTO {
|
|
76
76
|
email?: string | null;
|
77
77
|
currency_code?: string;
|
78
78
|
metadata?: Record<string, unknown> | null;
|
79
|
+
shipping_address?: CreateAddressDTO | UpdateAddressDTO | null;
|
80
|
+
billing_address?: CreateAddressDTO | UpdateAddressDTO | null;
|
79
81
|
}
|
80
82
|
export interface CreatePaymentCollectionForCartWorkflowInputDTO {
|
81
83
|
cart_id: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/cart/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,W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E,EAAE,MAAM,CAAA;IACV,kBAAkB,EAAE,oBAAoB,CAAA;CACzC"}
|
package/dist/common/common.d.ts
CHANGED
@@ -69,9 +69,7 @@ export interface FindConfig<Entity> {
|
|
69
69
|
* An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`
|
70
70
|
* to sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.
|
71
71
|
*/
|
72
|
-
order?: {
|
73
|
-
[K: string]: "ASC" | "DESC";
|
74
|
-
};
|
72
|
+
order?: Record<string, "ASC" | "DESC" | (string & {})>;
|
75
73
|
/**
|
76
74
|
* A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the
|
77
75
|
* `SoftDeletableEntity` class.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/common/common.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;KACvB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAA;AAEN;;GAEG;AACH,MAAM,MAAM,oBAAoB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,CAAC,GAAG;KAC1D,QAAQ,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC;CAC/B,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI;KAC7C,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;CAChB,CAAA;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,WAA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,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GACnB,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAClC,CAAC,CAAC,CAAC,CAAC;CACT,CAAA"}
|
@@ -42,7 +42,7 @@ export interface AdminOptions {
|
|
42
42
|
* })
|
43
43
|
* ```
|
44
44
|
*/
|
45
|
-
path
|
45
|
+
path: `/${string}`;
|
46
46
|
/**
|
47
47
|
* The directory where the admin build is outputted when you run the `build` command.
|
48
48
|
* The default value is `./build`.
|
@@ -57,7 +57,7 @@ export interface AdminOptions {
|
|
57
57
|
* })
|
58
58
|
* ```
|
59
59
|
*/
|
60
|
-
outDir
|
60
|
+
outDir: string;
|
61
61
|
/**
|
62
62
|
* The URL of your Medusa application. This is useful to set when you deploy the Medusa application.
|
63
63
|
*
|
@@ -802,7 +802,7 @@ export type ConfigModule = {
|
|
802
802
|
* })
|
803
803
|
* ```
|
804
804
|
*/
|
805
|
-
admin
|
805
|
+
admin: AdminOptions;
|
806
806
|
/**
|
807
807
|
* On your Medusa backend, you can use [Plugins](https://docs.medusajs.com/development/plugins/overview) to add custom features or integrate third-party services.
|
808
808
|
* For example, installing a plugin to use Stripe as a payment processor.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"config-module.d.ts","sourceRoot":"","sources":["../../src/common/config-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAExC;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;;;;;;;;;;;;;;;OAkBG;IACH,IAAI,
|
1
|
+
{"version":3,"file":"config-module.d.ts","sourceRoot":"","sources":["../../src/common/config-module.ts"],"names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BAAyB,GAAG,yBAAyB,CAAC,CACzE,CAAA;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;CACzE,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAChC,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
|
@@ -4,7 +4,7 @@ export interface AdminCustomerResponse {
|
|
4
4
|
customer: AdminCustomer;
|
5
5
|
}
|
6
6
|
export type AdminCustomerListResponse = PaginatedResponse<{
|
7
|
-
customers: AdminCustomer;
|
7
|
+
customers: AdminCustomer[];
|
8
8
|
}>;
|
9
9
|
export interface AdminCustomerAddressResponse {
|
10
10
|
address: AdminCustomerAddress;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEhE,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,aAAa,CAAA;
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEhE,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,aAAa,EAAE,CAAA;CAC3B,CAAC,CAAA;AAEF,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,oBAAoB,CAAA;CAC9B;AAED,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D,SAAS,EAAE,oBAAoB,EAAE,CAAA;CAClC,CAAC,CAAA;AAEF,MAAM,MAAM,2BAA2B,GAAG,cAAc,CAAC,UAAU,CAAC,CAAA;AAEpE,MAAM,MAAM,gCAAgC,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAA;AAE/E,MAAM,MAAM,kCAAkC,GAAG,wBAAwB,CACvE,kBAAkB,EAClB,aAAa,CACd,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/user/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B;AAED,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/user/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,CAAC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AAU,CAAC,EAAE,MAAM,CAAA;QACnB,GAAG,EAAE,gCAAgC,CAAA;KACtC,CAAA;CACF,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAClC;IACE,CAAC,GAAG,EAAE,MAAM,GAAG,gCAAgC,CAAA;CAChD,GACD;IACE,oBAAoB,EAAE,mBAAmB,CAAA;IACzC,2BAA2B,EAAE,yBAAyB,CAAA;CACvD,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/index/common.ts"],"names":[],"mappings":""}
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/index-data/common.ts"],"names":[],"mappings":""}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export type
|
1
|
+
export type IndexOperatorMap<T> = {
|
2
2
|
$eq: T;
|
3
3
|
$lt: T;
|
4
4
|
$lte: T;
|
@@ -10,4 +10,4 @@ export type OperatorMap<T> = {
|
|
10
10
|
$like: T;
|
11
11
|
$ilike: T;
|
12
12
|
};
|
13
|
-
//# sourceMappingURL=operator-map.d.ts.map
|
13
|
+
//# sourceMappingURL=index-operator-map.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index-operator-map.d.ts","sourceRoot":"","sources":["../../src/index-data/index-operator-map.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI;IAChC,GAAG,EAAE,CAAC,CAAA;IACN,GAAG,EAAE,CAAC,CAAA;IACN,IAAI,EAAE,CAAC,CAAA;IACP,GAAG,EAAE,CAAC,CAAA;IACN,IAAI,EAAE,CAAC,CAAA;IACP,GAAG,EAAE,CAAC,CAAA;IACN,GAAG,EAAE,CAAC,CAAA;IACN,GAAG,EAAE,CAAC,CAAA;IACN,KAAK,EAAE,CAAC,CAAA;IACR,MAAM,EAAE,CAAC,CAAA;CACV,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index-operator-map.js","sourceRoot":"","sources":["../../src/index-data/index-operator-map.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index-service-entry-points.d.ts","sourceRoot":"","sources":["../../src/index-data/index-service-entry-points.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,uBAAuB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index-service-entry-points.js","sourceRoot":"","sources":["../../src/index-data/index-service-entry-points.ts"],"names":[],"mappings":""}
|
@@ -1,7 +1,6 @@
|
|
1
|
-
export * from "./
|
1
|
+
export * from "./common";
|
2
2
|
export * from "./index-service-entry-points";
|
3
3
|
export * from "./query-config";
|
4
|
-
export * from "./
|
5
|
-
export * from "./common";
|
4
|
+
export * from "./service";
|
6
5
|
export * from "./sotrage-provider";
|
7
6
|
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index-data/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,8BAA8B,CAAA;AAC5C,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA"}
|
@@ -14,10 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./
|
17
|
+
__exportStar(require("./common"), exports);
|
18
18
|
__exportStar(require("./index-service-entry-points"), exports);
|
19
19
|
__exportStar(require("./query-config"), exports);
|
20
|
-
__exportStar(require("./
|
21
|
-
__exportStar(require("./common"), exports);
|
20
|
+
__exportStar(require("./service"), exports);
|
22
21
|
__exportStar(require("./sotrage-provider"), exports);
|
23
22
|
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index-data/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,+DAA4C;AAC5C,iDAA8B;AAC9B,4CAAyB;AACzB,qDAAkC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/index-data/query-config/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,aAAa,GAAG,YAAY,CAAA;AACxC,MAAM,MAAM,KAAK,GAAG,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAA;AAC7D,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,aAAa,CAAC,CAAC,CAAA;AAChF,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,IAAI;KACvC,CAAC,IAAI,MAAM,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACjE,CAAA;AACD,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,QAAQ,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/index-data/query-config/common.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index-data/query-config/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,+BAA+B,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index-data/query-config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,8DAA2C;AAC3C,+DAA4C;AAC5C,gEAA6C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"query-input-config-fields.d.ts","sourceRoot":"","sources":["../../../src/index-data/query-config/query-input-config-fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAElD,KAAK,MAAM,GAAG,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;AAEpC,KAAK,kBAAkB,GAAG,MAAM,CAAA;AAEhC,KAAK,kBAAkB,CACrB,CAAC,SAAS,MAAM,EAChB,KAAK,SAAS,MAAM,EACpB,SAAS,SAAS,MAAM,EAAE,IACxB,mBAAmB,CAAC,CAAC,GAAG;IAAE,GAAG,EAAE,GAAG,CAAA;CAAE,EAAE,KAAK,EAAE,SAAS,CAAC,CAAA;AAE3D;;GAEG;AACH,MAAM,MAAM,mBAAmB,CAC7B,MAAM,EACN,KAAK,SAAS,MAAM,GAAG,CAAC,EACxB,SAAS,SAAS,MAAM,EAAE,GAAG,EAAE,EAC/B,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,IAClB,KAAK,SAAS,KAAK,GACnB,KAAK,GACL,CAAC,SAAS,MAAM,GAChB;KACG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,SACjB,GAAG,kBAAkB,GAAG,MAAM,EAAE,GAC5B,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,GAEpB,CAAC,SAAS,aAAa,GACrB,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"","sources":["../../../src/index-data/query-config/query-input-config-fields.ts"],"names":[],"mappings":""}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Prettify } from "../../common";
|
2
|
+
import { IndexOperatorMap as OperatorMap } from "../index-operator-map";
|
2
3
|
import { IndexServiceEntryPoints } from "../index-service-entry-points";
|
3
|
-
import { OperatorMap } from "../operator-map";
|
4
4
|
import { CleanupObject, Depth, ExcludedProps, OmitNever, TypeOnly } from "./common";
|
5
5
|
type ExtractFiltersOperators<MaybeT, Lim extends number = Depth[2], Exclusion extends string[] = [], T = TypeOnly<MaybeT>> = {
|
6
6
|
[Key in keyof T]?: Key extends Exclusion[number] ? never : Key extends ExcludedProps ? never : TypeOnly<T[Key]> extends string | number | boolean | Date ? TypeOnly<T[Key]> | TypeOnly<T[Key]>[] | OperatorMap<TypeOnly<T[Key]>> : TypeOnly<T[Key]> extends Array<infer R> ? TypeOnly<R> extends {
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"query-input-config-filters.d.ts","sourceRoot":"","sources":["../../../src/index-data/query-config/query-input-config-filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AACvC,OAAO,EAAE,gBAAgB,IAAI,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EACL,aAAa,EACb,KAAK,EACL,aAAa,EACb,SAAS,EACT,QAAQ,EACT,MAAM,UAAU,CAAA;AAEjB,KAAK,uBAAuB,CAC1B,MAAM,EACN,GAAG,SAAS,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,EAC7B,SAAS,SAAS,MAAM,EAAE,GAAG,EAAE,EAC/B,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,IAClB;KACD,GAAG,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,GAAG,SAAS,SAAS,CAAC,MAAM,CAAC,GAC5C,KAAK,GACL,GA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C/B,GAAG,SAAS,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,IAC3B,GAAG,SAAS,MAAM,GAClB,MAAM,SAAS,MAAM,qBAAqB,GACxC,QAAQ,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,SAAS,KAAK,CAAC,MAAM,CAAC,CAAC,GAC5D,QAAQ,CACN,SAAS,CAAC,uBAAuB,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC,CAAC,CACnE,GACD,QAAQ,CACN,SAAS,CACP,uBAAuB,CACrB,qBAAqB,CAAC,MAAM,CAAC,EAC7B,GAAG,EACH;IAAC,MAAM;IAAE,GAAG,SAAS;CAAC,CACvB,CACF,CACF,GACH,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACrB,KAAK,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"query-input-config-filters.js","sourceRoot":"","sources":["../../../src/index-data/query-config/query-input-config-filters.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"query-input-config-order-by.d.ts","sourceRoot":"","sources":["../../../src/index-data/query-config/query-input-config-order-by.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AACvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EACL,aAAa,EACb,KAAK,EACL,aAAa,EACb,SAAS,EACT,QAAQ,EACT,MAAM,UAAU,CAAA;AAEjB,MAAM,MAAM,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,GAAG,KAAK,CAAA;AAE5D,KAAK,uBAAuB,CAC1B,MAAM,EACN,GAAG,SAAS,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,EAC7B,SAAS,SAAS,MAAM,EAAE,GAAG,EAAE,EAC/B,CAAC,GAAG,QAAQ,CAAC,MA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AAC,CAAC,IAC3B,GAAG,SAAS,MAAM,GAClB,MAAM,SAAS,MAAM,qBAAqB,GACxC,QAAQ,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,SAAS,KAAK,CAAC,MAAM,CAAC,CAAC,GAC5D,QAAQ,CACN,SAAS,CAAC,uBAAuB,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC,CAAC,CACnE,GACD,QAAQ,CACN,SAAS,CACP,uBAAuB,CACrB,qBAAqB,CAAC,MAAM,CAAC,EAC7B,GAAG,EACH;IAAC,MAAM;IAAE,GAAG,SAAS;CAAC,CACvB,CACF,CACF,GACH,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACrB,KAAK,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"query-input-config-order-by.js","sourceRoot":"","sources":["../../../src/index-data/query-config/query-input-config-order-by.ts"],"names":[],"mappings":""}
|
@@ -1,16 +1,12 @@
|
|
1
|
+
import { RemoteQueryInput } from "../../modules-sdk/remote-query-object-from-string";
|
2
|
+
import { IndexServiceEntryPoints } from "../index-service-entry-points";
|
1
3
|
import { ObjectToIndexFields } from "./query-input-config-fields";
|
2
4
|
import { IndexFilters } from "./query-input-config-filters";
|
3
|
-
import { IndexOrderBy } from "./query-input-config-order-by";
|
4
|
-
import { IndexServiceEntryPoints } from "../index-service-entry-points";
|
5
5
|
export type IndexQueryConfig<TEntry extends string> = {
|
6
6
|
fields: ObjectToIndexFields<IndexServiceEntryPoints[TEntry & keyof IndexServiceEntryPoints]> extends never ? string[] : ObjectToIndexFields<IndexServiceEntryPoints[TEntry & keyof IndexServiceEntryPoints]>[];
|
7
7
|
filters?: IndexFilters<TEntry>;
|
8
8
|
joinFilters?: IndexFilters<TEntry>;
|
9
|
-
pagination?:
|
10
|
-
skip?: number;
|
11
|
-
take?: number;
|
12
|
-
order?: IndexOrderBy<TEntry>;
|
13
|
-
};
|
9
|
+
pagination?: Partial<RemoteQueryInput<TEntry>["pagination"]>;
|
14
10
|
keepFilteredEntities?: boolean;
|
15
11
|
};
|
16
12
|
export type QueryFunctionReturnPagination = {
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"query-input-config.d.ts","sourceRoot":"","sources":["../../../src/index-data/query-config/query-input-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mDAAmD,CAAA;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAE3D,MAAM,MAAM,gBAAgB,CAAC,MAAM,SAAS,MAAM,IAAI;IACpD,MAAM,EAAE,mBAAmB,CACzB,uBAAuB,CAAC,MAAM,GAAG,MAAM,uBAAuB,CAAC,CAChE,SAAS,KAAK,GACX,MAAM,EAAE,GACR,mBAAmB,CACjB,uBAAuB,CAAC,MAAM,GAAG,MAAM,uBAAuB,CAAC,CAChE,EAAE,CAAA;IACP,OAAO,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAA;IAC9B,WAAW,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAA;IAClC,UAAU,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,CAAC,CAAA;IAC5D,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,cAAc,CAAC,MAAM,SAAS,MAAM,IAAI;IAClD,IAAI,EAAE,MAAM,SAAS,MAAM,uBAAuB,GAC9C,uBAAuB,CAAC,MAAM,CAAC,EAAE,GACjC,GAAG,EAAE,CAAA;IACT,QAAQ,CAAC,EAAE,6BAA6B,CAAA;CACzC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"query-input-config.js","sourceRoot":"","sources":["../../../src/index-data/query-config/query-input-config.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/index-data/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,8BAA8B,EAAE,MAAM,gBAAgB,CAAA;AAC/E,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEjE;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,aAAa,CAAC,EAAE;QACd,WAAW,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;QACxC,OAAO,EAAE,GAAG,CAAA;KACb,CAAA;IACD,qBAAqB,CAAC,EAAE,8BAA8B,CAAA;IACtD,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,aAAc,SAAQ,cAAc;IACnD,KAAK,CAAC,KAAK,CAAC,MAAM,SAAS,MAAM,EAC/B,MAAM,EAAE,gBAAgB,CAAC,MAAM,CAAC,GAC/B,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAA;CACnC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../src/index/service.ts"],"names":[],"mappings":""}
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../src/index-data/service.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"sotrage-provider.d.ts","sourceRoot":"","sources":["../../src/index-data/sotrage-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,gCAAgC,EAAE,MAAM,UAAU,CAAA;AAE3D;;GAEG;AACH,MAAM,WAAW,eAAe;IAU9B,kBAAkB,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAEpC,KAAK,CAAC,KAAK,CAAC,MAAM,SAAS,MAAM,EAC/B,MAAM,EAAE,gBAAgB,CAAC,MAAM,CAAC,GAC/B,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAA;IAElC,YAAY,CACV,gCAAgC,EAAE,gCAAgC,GACjE,UAAU,CAAC,GAAG,CAAC,CAAA;CACnB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"sotrage-provider.js","sourceRoot":"","sources":["../../src/index-data/sotrage-provider.ts"],"names":[],"mappings":""}
|
package/dist/index.d.ts
CHANGED
@@ -9,15 +9,18 @@ export * from "./common";
|
|
9
9
|
export * from "./currency";
|
10
10
|
export * from "./customer";
|
11
11
|
export * from "./dal";
|
12
|
+
export * from "./dml";
|
12
13
|
export * from "./event-bus";
|
13
14
|
export * from "./feature-flag";
|
14
15
|
export * from "./file";
|
15
16
|
export * from "./file-service";
|
16
17
|
export * from "./fulfillment";
|
17
18
|
export * from "./http";
|
19
|
+
export * from "./index-data";
|
18
20
|
export * from "./inventory";
|
19
21
|
export * from "./joiner";
|
20
22
|
export * from "./link-modules";
|
23
|
+
export * from "./locking";
|
21
24
|
export * from "./logger";
|
22
25
|
export * from "./modules-sdk";
|
23
26
|
export * from "./notification";
|
@@ -40,6 +43,4 @@ export * from "./user";
|
|
40
43
|
export * from "./workflow";
|
41
44
|
export * from "./workflows";
|
42
45
|
export * from "./workflows-sdk";
|
43
|
-
export * from "./dml";
|
44
|
-
export * from "./index";
|
45
46
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts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,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,OAAO,CAAA;AACrB,cAAc,OAAO,CAAA;AACrB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA;AACtB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,UAAU,CAAA;AACxB,cAAc,oBAAoB,CAAA;AAClC,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA"}
|
package/dist/index.js
CHANGED
@@ -25,15 +25,18 @@ __exportStar(require("./common"), exports);
|
|
25
25
|
__exportStar(require("./currency"), exports);
|
26
26
|
__exportStar(require("./customer"), exports);
|
27
27
|
__exportStar(require("./dal"), exports);
|
28
|
+
__exportStar(require("./dml"), exports);
|
28
29
|
__exportStar(require("./event-bus"), exports);
|
29
30
|
__exportStar(require("./feature-flag"), exports);
|
30
31
|
__exportStar(require("./file"), exports);
|
31
32
|
__exportStar(require("./file-service"), exports);
|
32
33
|
__exportStar(require("./fulfillment"), exports);
|
33
34
|
__exportStar(require("./http"), exports);
|
35
|
+
__exportStar(require("./index-data"), exports);
|
34
36
|
__exportStar(require("./inventory"), exports);
|
35
37
|
__exportStar(require("./joiner"), exports);
|
36
38
|
__exportStar(require("./link-modules"), exports);
|
39
|
+
__exportStar(require("./locking"), exports);
|
37
40
|
__exportStar(require("./logger"), exports);
|
38
41
|
__exportStar(require("./modules-sdk"), exports);
|
39
42
|
__exportStar(require("./notification"), exports);
|
@@ -56,6 +59,4 @@ __exportStar(require("./user"), exports);
|
|
56
59
|
__exportStar(require("./workflow"), exports);
|
57
60
|
__exportStar(require("./workflows"), exports);
|
58
61
|
__exportStar(require("./workflows-sdk"), exports);
|
59
|
-
__exportStar(require("./dml"), exports);
|
60
|
-
__exportStar(require("./index"), exports);
|
61
62
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,0CAAuB;AACvB,4CAAyB;AACzB,yCAAsB;AACtB,4CAAyB;AACzB,0CAAuB;AACvB,yCAAsB;AACtB,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,wCAAqB;AACrB,8CAA2B;AAC3B,iDAA8B;AAC9B,yCAAsB;AACtB,iDAA8B;AAC9B,gDAA6B;AAC7B,yCAAsB;AACtB,8CAA2B;AAC3B,2CAAwB;AACxB,iDAA8B;AAC9B,2CAAwB;AACxB,gDAA6B;AAC7B,iDAA8B;AAC9B,0CAAuB;AACvB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,8CAA2B;AAC3B,2CAAwB;AACxB,kDAA+B;AAC/B,2CAAwB;AACxB,mDAAgC;AAChC,mDAAgC;AAChC,0CAAuB;AACvB,wCAAqB;AACrB,2CAAwB;AACxB,qDAAkC;AAClC,yCAAsB;AACtB,6CAA0B;AAC1B,8CAA2B;AAC3B,kDAA+B
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,0CAAuB;AACvB,4CAAyB;AACzB,yCAAsB;AACtB,4CAAyB;AACzB,0CAAuB;AACvB,yCAAsB;AACtB,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,wCAAqB;AACrB,wCAAqB;AACrB,8CAA2B;AAC3B,iDAA8B;AAC9B,yCAAsB;AACtB,iDAA8B;AAC9B,gDAA6B;AAC7B,yCAAsB;AACtB,+CAA4B;AAC5B,8CAA2B;AAC3B,2CAAwB;AACxB,iDAA8B;AAC9B,4CAAyB;AACzB,2CAAwB;AACxB,gDAA6B;AAC7B,iDAA8B;AAC9B,0CAAuB;AACvB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,8CAA2B;AAC3B,2CAAwB;AACxB,kDAA+B;AAC/B,2CAAwB;AACxB,mDAAgC;AAChC,mDAAgC;AAChC,0CAAuB;AACvB,wCAAqB;AACrB,2CAAwB;AACxB,qDAAkC;AAClC,yCAAsB;AACtB,6CAA0B;AAC1B,8CAA2B;AAC3B,kDAA+B"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { Context } from "../shared-context";
|
2
|
+
export interface ILockingProvider {
|
3
|
+
execute<T>(keys: string | string[], job: () => Promise<T>, args?: {
|
4
|
+
timeout?: number;
|
5
|
+
}, sharedContext?: Context): Promise<T>;
|
6
|
+
acquire(keys: string | string[], args?: {
|
7
|
+
ownerId?: string | null;
|
8
|
+
expire?: number;
|
9
|
+
}, sharedContext?: Context): Promise<void>;
|
10
|
+
release(keys: string | string[], args?: {
|
11
|
+
ownerId?: string | null;
|
12
|
+
}, sharedContext?: Context): Promise<boolean>;
|
13
|
+
releaseAll(args?: {
|
14
|
+
ownerId?: string | null;
|
15
|
+
}, sharedContext?: Context): Promise<void>;
|
16
|
+
}
|
17
|
+
export interface ILockingModule {
|
18
|
+
execute<T>(keys: string | string[], job: () => Promise<T>, args?: {
|
19
|
+
timeout?: number;
|
20
|
+
provider?: string;
|
21
|
+
}, sharedContext?: Context): Promise<T>;
|
22
|
+
acquire(keys: string | string[], args?: {
|
23
|
+
ownerId?: string | null;
|
24
|
+
expire?: number;
|
25
|
+
provider?: string;
|
26
|
+
}, sharedContext?: Context): Promise<void>;
|
27
|
+
release(keys: string | string[], args?: {
|
28
|
+
ownerId?: string | null;
|
29
|
+
provider?: string;
|
30
|
+
}, sharedContext?: Context): Promise<boolean>;
|
31
|
+
releaseAll(args?: {
|
32
|
+
ownerId?: string | null;
|
33
|
+
provider?: string;
|
34
|
+
}, sharedContext?: Context): Promise<void>;
|
35
|
+
}
|
36
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/locking/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAE3C,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,CAAC,EACP,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,EACvB,GAAG,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EACrB,IAAI,CAAC,EAAE;QACL,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB,EACD,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,CAAC,CAAC,CAAA;IACb,OAAO,CACL,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,EACvB,IAAI,CAAC,EAAE;QACL,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QACvB,MAAM,CAAC,EAA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AC,CAAA;IACnB,UAAU,CACR,IAAI,CAAC,EAAE;QACL,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;KAClB,EACD,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,IAAI,CAAC,CAAA;CACjB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/locking/index.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"module-provider.d.ts","sourceRoot":"","sources":["../../src/modules-sdk/module-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAErC,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,WAAW,CAAC,GAAG,CAAC,EAAE,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,MAAM,GAAG,qBAAqB,CAAA;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;
|
1
|
+
{"version":3,"file":"module-provider.d.ts","sourceRoot":"","sources":["../../src/modules-sdk/module-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAErC,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,WAAW,CAAC,GAAG,CAAC,EAAE,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,MAAM,GAAG,qBAAqB,CAAA;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { IndexOrderBy } from "../index-data/query-config/query-input-config-order-by";
|
1
2
|
import { ObjectToRemoteQueryFields } from "./object-to-remote-query-fields";
|
2
3
|
import { RemoteQueryEntryPoints } from "./remote-query-entry-points";
|
3
4
|
import { RemoteQueryFilters } from "./to-remote-query";
|
@@ -16,6 +17,7 @@ export type RemoteQueryInput<TEntry extends string> = {
|
|
16
17
|
pagination?: {
|
17
18
|
skip: number;
|
18
19
|
take?: number;
|
20
|
+
order?: IndexOrderBy<TEntry>;
|
19
21
|
};
|
20
22
|
filters?: RemoteQueryFilters<TEntry>;
|
21
23
|
context?: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"remote-query-object-from-string.d.ts","sourceRoot":"","sources":["../../src/modules-sdk/remote-query-object-from-string.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAA;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAEtD,MAAM,MAAM,uBAAuB,CAAC,MAAM,SAAS,MAAM,IAAI;IAE3D,UAAU,EAAE,MAAM,GAAG,MAAM,sBAAsB,CAAA;IACjD,SAAS,CAAC,EAAE,GAAG,CAAA;IACf,MAAM,EAAE,yBAAyB,CAC/B,sBAAsB,CAAC,MAAM,GAAG,MAAM,sBAAsB,CAAC,CAC9D,SAAS,KAAK,GACX,MAAM,EAAE,GACR,yBAAyB,CACvB,sBAAsB,CAAC,MAAM,GAAG,MAAM,sBAAsB,CAAC,CAC9D,EAAE,CAAA;CACR,CAAA;AAED,MAAM,MAAM,iCAAiC,CAC3C,OAAO,SAAS,uBAAuB,CAAC,GAAG,CAAC,IAC1C;IACF,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,gBAAgB,CAAC,MAAM,SAAS,MAAM,IAAI;IAEpD,MAAM,EAAE,MAAM,GAAG,MAAM,sBAAsB,CAAA;IAC7C,MAAM,EAAE,yBAAyB,CAC/B,sBAAsB,CAAC,MAAM,GAAG,MAAM,sBAAsB,CAAC,CAC9D,SAAS,KAAK,GACX,MAAM,EAAE,GACR,yBAAyB,CACvB,sBAAsB,CAAC,MAAM,GAAG,MAAM,sBAAsB,CAAC,CAC9D,EAAE,CAAA;IACP,UAAU,CAAC,EAAE;QACX,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,CAAC,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"remote-query-object-from-string.d.ts","sourceRoot":"","sources":["../../src/modules-sdk/remote-query-object-from-string.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wDAAwD,CAAA;AACrF,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAA;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAEtD,MAAM,MAAM,uBAAuB,CAAC,MAAM,SAAS,MAAM,IAAI;IAE3D,UAAU,EAAE,MAAM,GAAG,MAAM,sBAAsB,CAAA;IACjD,SAAS,CAAC,EAAE,GAAG,CAAA;IACf,MAAM,EAAE,yBAAyB,CAC/B,sBAAsB,CAAC,MAAM,GAAG,MAAM,sBAAsB,CAAC,CAC9D,SAAS,KAAK,GACX,MAAM,EAAE,GACR,yBAAyB,CACvB,sBAAsB,CAAC,MAAM,GAAG,MAAM,sBAAsB,CAAC,CAC9D,EAAE,CAAA;CACR,CAAA;AAED,MAAM,MAAM,iCAAiC,CAC3C,OAAO,SAAS,uBAAuB,CAAC,GAAG,CAAC,IAC1C;IACF,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,gBAAgB,CAAC,MAAM,SAAS,MAAM,IAAI;IAEpD,MAAM,EAAE,MAAM,GAAG,MAAM,sBAAs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