@medusajs/types 2.8.3-snapshot-20250521091311 → 2.8.3-snapshot-20250522084735
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/dist/analytics/mutations.d.ts +37 -2
- package/dist/analytics/mutations.d.ts.map +1 -1
- package/dist/analytics/provider.d.ts +12 -0
- package/dist/analytics/provider.d.ts.map +1 -1
- package/dist/analytics/service.d.ts +18 -10
- package/dist/analytics/service.d.ts.map +1 -1
- package/dist/bundles.d.ts +0 -1
- package/dist/bundles.d.ts.map +1 -1
- package/dist/bundles.js +1 -2
- package/dist/bundles.js.map +1 -1
- package/dist/cart/workflows.d.ts +22 -0
- package/dist/cart/workflows.d.ts.map +1 -1
- package/dist/feature-flag/common.d.ts +29 -3
- package/dist/feature-flag/common.d.ts.map +1 -1
- package/dist/feature-flag/index.d.ts +0 -4
- package/dist/feature-flag/index.d.ts.map +1 -1
- package/dist/feature-flag/index.js +0 -4
- package/dist/feature-flag/index.js.map +1 -1
- package/dist/file/service.d.ts +8 -1
- package/dist/file/service.d.ts.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/feature-flag/mutations.d.ts +0 -11
- package/dist/feature-flag/mutations.d.ts.map +0 -1
- package/dist/feature-flag/mutations.js +0 -3
- package/dist/feature-flag/mutations.js.map +0 -1
- package/dist/feature-flag/provider.d.ts +0 -22
- package/dist/feature-flag/provider.d.ts.map +0 -1
- package/dist/feature-flag/provider.js +0 -3
- package/dist/feature-flag/provider.js.map +0 -1
- package/dist/feature-flag/providers/index.d.ts +0 -3
- package/dist/feature-flag/providers/index.d.ts.map +0 -1
- package/dist/feature-flag/providers/index.js +0 -19
- package/dist/feature-flag/providers/index.js.map +0 -1
- package/dist/feature-flag/providers/local.d.ts +0 -7
- package/dist/feature-flag/providers/local.d.ts.map +0 -1
- package/dist/feature-flag/providers/local.js +0 -3
- package/dist/feature-flag/providers/local.js.map +0 -1
- package/dist/feature-flag/providers/posthog.d.ts +0 -11
- package/dist/feature-flag/providers/posthog.d.ts.map +0 -1
- package/dist/feature-flag/providers/posthog.js +0 -3
- package/dist/feature-flag/providers/posthog.js.map +0 -1
- package/dist/feature-flag/service.d.ts +0 -27
- package/dist/feature-flag/service.d.ts.map +0 -1
- package/dist/feature-flag/service.js +0 -3
- package/dist/feature-flag/service.js.map +0 -1
- package/dist/flags-loader/index.d.ts +0 -31
- package/dist/flags-loader/index.d.ts.map +0 -1
- package/dist/flags-loader/index.js +0 -3
- package/dist/flags-loader/index.js.map +0 -1
@@ -9,28 +9,63 @@ export interface TrackAnalyticsEventDTO {
|
|
9
9
|
actor_id?: string;
|
10
10
|
/**
|
11
11
|
* The group that the event is for, such as an organization or team.
|
12
|
-
* The "type" defines the name of the group (eg. "organization"), and the "id" is the id of the group.
|
13
12
|
*/
|
14
13
|
group?: {
|
14
|
+
/**
|
15
|
+
* The name of the group.
|
16
|
+
*
|
17
|
+
* @example
|
18
|
+
* "organization"
|
19
|
+
*/
|
15
20
|
type?: string;
|
21
|
+
/**
|
22
|
+
* The group's ID.
|
23
|
+
*/
|
16
24
|
id?: string;
|
17
25
|
};
|
18
26
|
/**
|
19
|
-
* The properties of the event. The format and content depends on the provider.
|
27
|
+
* The properties of the event. The format and content is dynamic and depends on the integrated provider.
|
20
28
|
*/
|
21
29
|
properties?: Record<string, any>;
|
22
30
|
}
|
23
31
|
export interface IdentifyActorDTO {
|
32
|
+
/**
|
33
|
+
* The actor of the event, if there is any.
|
34
|
+
*/
|
24
35
|
actor_id: string;
|
36
|
+
/**
|
37
|
+
* The properties of the actor. The format and content is dynamic and depends on the integrated provider.
|
38
|
+
*/
|
25
39
|
properties?: Record<string, any>;
|
26
40
|
}
|
27
41
|
export interface IdentifyGroupDTO {
|
42
|
+
/**
|
43
|
+
* The group that the event is for, such as an organization or team.
|
44
|
+
*/
|
28
45
|
group: {
|
46
|
+
/**
|
47
|
+
* The name of the group.
|
48
|
+
*
|
49
|
+
* @example
|
50
|
+
* "organization"
|
51
|
+
*/
|
29
52
|
type: string;
|
53
|
+
/**
|
54
|
+
* The group's ID.
|
55
|
+
*/
|
30
56
|
id: string;
|
31
57
|
};
|
58
|
+
/**
|
59
|
+
* When identifying a group, the actor can potentially be passed as well as metadata.
|
60
|
+
*/
|
32
61
|
actor_id?: string;
|
62
|
+
/**
|
63
|
+
* The properties of the group. The format and content is dynamic and depends on the integrated provider.
|
64
|
+
*/
|
33
65
|
properties?: Record<string, any>;
|
34
66
|
}
|
67
|
+
/**
|
68
|
+
* Either the `actor_id` or the `group` property must be set.
|
69
|
+
*/
|
35
70
|
export type IdentifyAnalyticsEventDTO = IdentifyActorDTO | IdentifyGroupDTO;
|
36
71
|
//# sourceMappingURL=mutations.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/analytics/mutations.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB
|
1
|
+
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/analytics/mutations.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE;QACN;;;;;WAKG;QACH,IAAI,CAAC,EAAE,MAAM,CAAA;QACb;;WAEG;QACH,EAAE,CAAC,EAAE,MAAM,CAAA;KACZ,CAAA;IACD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,KAAK,EAAE;QACL;;;;;WAKG;QACH,IAAI,EAAE,MAAM,CAAA;QACZ;;WAEG;QACH,EAAE,EAAE,MAAM,CAAA;KACX,CAAA;IACD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CACjC;AAED;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,gBAAgB,GAAG,gBAAgB,CAAA"}
|
@@ -21,8 +21,20 @@ export interface IAnalyticsProvider {
|
|
21
21
|
/**
|
22
22
|
* This method is used to shutdown the analytics provider, and flush all data before shutting down.
|
23
23
|
*
|
24
|
+
* This method is called by the Analytics Module when the Medusa application is shutting down.
|
25
|
+
*
|
24
26
|
* @returns {Promise<void>} Resolves when the provider is shutdown successfully.
|
25
27
|
*
|
28
|
+
* @example
|
29
|
+
* class MyAnalyticsProviderService extends AbstractAnalyticsProviderService {
|
30
|
+
* // ...
|
31
|
+
* async shutdown(): Promise<void> {
|
32
|
+
* // perform any cleanup or shutdown logic
|
33
|
+
* // in the analytics provider or using custom logic
|
34
|
+
* // for example:
|
35
|
+
* await this.client.shutdown()
|
36
|
+
* }
|
37
|
+
* }
|
26
38
|
*/
|
27
39
|
shutdown?(): Promise<void>;
|
28
40
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/analytics/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAE/E,MAAM,MAAM,8BAA8B,GAAG,sBAAsB,CAAA;AAEnE,MAAM,MAAM,iCAAiC,GAAG,yBAAyB,CAAA;AAEzE,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,KAAK,CAAC,IAAI,EAAE,8BAA8B,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAE1D;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,EAAE,iCAAiC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhE
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/analytics/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAE/E,MAAM,MAAM,8BAA8B,GAAG,sBAAsB,CAAA;AAEnE,MAAM,MAAM,iCAAiC,GAAG,yBAAyB,CAAA;AAEzE,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,KAAK,CAAC,IAAI,EAAE,8BAA8B,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAE1D;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,EAAE,iCAAiC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhE;;;;;;;;;;;;;;;;;OAiBG;IACH,QAAQ,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;CAC3B"}
|
@@ -3,33 +3,41 @@ import { IdentifyAnalyticsEventDTO, TrackAnalyticsEventDTO } from "./mutations";
|
|
3
3
|
import { IAnalyticsProvider } from "./provider";
|
4
4
|
export interface IAnalyticsModuleService extends IModuleService {
|
5
5
|
/**
|
6
|
-
*
|
6
|
+
* This method returns the service of the configured Analytics Module Provider in `medusa-config.ts`. This is useful
|
7
|
+
* if you want to execute custom methods defined in the provider's service or you need direct access to it.
|
8
|
+
*
|
9
|
+
* @returns {IAnalyticsProvider} An instance of the Analytics Module Provider's service.
|
10
|
+
*
|
11
|
+
* @example
|
12
|
+
* const postHogProviderService = analyticsModuleService.getProvider()
|
13
|
+
* // TODO: perform custom actions with the provider
|
7
14
|
*/
|
8
15
|
getProvider(): IAnalyticsProvider;
|
9
16
|
/**
|
10
|
-
* This method tracks an event in the analytics provider
|
17
|
+
* This method tracks an event in the analytics provider. The Analytics Module
|
18
|
+
* will use the `track` method of the underlying provider configured in `medusa-config.ts` to track the event.
|
11
19
|
*
|
12
|
-
* @param {TrackAnalyticsEventDTO} data - The
|
20
|
+
* @param {TrackAnalyticsEventDTO} data - The event's details.
|
13
21
|
* @returns {Promise<void>} Resolves when the event is tracked successfully.
|
14
22
|
*
|
15
|
-
*
|
16
23
|
* @example
|
17
24
|
* await analyticsModuleService.track({
|
18
|
-
* event: "
|
25
|
+
* event: "order_placed",
|
19
26
|
* properties: {
|
20
|
-
*
|
21
|
-
*
|
27
|
+
* order_id: "order_123",
|
28
|
+
* customer_id: "customer_456",
|
29
|
+
* total: 100,
|
22
30
|
* }
|
23
31
|
* })
|
24
32
|
*/
|
25
33
|
track(data: TrackAnalyticsEventDTO): Promise<void>;
|
26
34
|
/**
|
27
|
-
* This method identifies an actor or group in the analytics provider
|
35
|
+
* This method identifies an actor or group in the analytics provider. The Analytics Module
|
36
|
+
* will use the `identify` method of the underlying provider configured in `medusa-config.ts` to identify the actor or group.
|
28
37
|
*
|
29
|
-
* @param {IdentifyAnalyticsEventDTO} data - The
|
38
|
+
* @param {IdentifyAnalyticsEventDTO} data - The details of the actor or group.
|
30
39
|
* @returns {Promise<void>} Resolves when the actor or group is identified successfully.
|
31
40
|
*
|
32
|
-
*
|
33
41
|
* @example
|
34
42
|
* await analyticsModuleService.identify({
|
35
43
|
* actor_id: "123",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/analytics/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,MAAM,WAAW,uBAAwB,SAAQ,cAAc;IAC7D
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/analytics/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,MAAM,WAAW,uBAAwB,SAAQ,cAAc;IAC7D;;;;;;;;;OASG;IACH,WAAW,IAAI,kBAAkB,CAAA;IAEjC;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAElD;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,IAAI,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACzD"}
|
package/dist/bundles.d.ts
CHANGED
@@ -12,7 +12,6 @@ export * as DmlTypes from "./dml";
|
|
12
12
|
export * as EventBusTypes from "./event-bus";
|
13
13
|
export * as FeatureFlagTypes from "./feature-flag";
|
14
14
|
export * as FileTypes from "./file";
|
15
|
-
export * as FlagsLoaderTypes from "./flags-loader";
|
16
15
|
export * as FulfillmentTypes from "./fulfillment";
|
17
16
|
export * as HttpTypes from "./http";
|
18
17
|
export * as IndexTypes from "./index-data/index";
|
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,cAAc,MAAM,aAAa,CAAA;AAC7C,OAAO,KAAK,WAAW,MAAM,WAAW,CAAA;AACxC,OAAO,KAAK,SAAS,MAAM,QAAQ,CAAA;AACnC,OAAO,KAAK,UAAU,MAAM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AAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,cAAc,MAAM,aAAa,CAAA;AAC7C,OAAO,KAAK,WAAW,MAAM,UAAU,CAAA;AACvC,OAAO,KAAK,eAAe,MAAM,eAAe,CAAA;AAChD,OAAO,KAAK,iBAAiB,MAAM,gBAAgB,CAAA;AACnD,OAAO,KAAK,UAAU,MAAM,SAAS,CAAA;AACrC,OAAO,KAAK,YAAY,MAAM,WAAW,CAAA;AACzC,OAAO,KAAK,YAAY,MAAM,WAAW,CAAA;AACzC,OAAO,KAAK,cAAc,MAAM,aAAa,CAAA;AAC7C,OAAO,KAAK,WAAW,MAAM,UAAU,CAAA;AACvC,OAAO,KAAK,iBAAiB,MAAM,iBAAiB,CAAA;AACpD,OAAO,KAAK,WAAW,MAAM,UAAU,CAAA;AACvC,OAAO,KAAK,kBAAkB,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,UAAU,MAAM,SAAS,CAAA;AACrC,OAAO,KAAK,QAAQ,MAAM,OAAO,CAAA;AACjC,OAAO,KAAK,oBAAoB,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,SAAS,MAAM,QAAQ,CAAA;AACnC,OAAO,KAAK,aAAa,MAAM,YAAY,CAAA;AAC3C,OAAO,KAAK,iBAAiB,MAAM,iBAAiB,CAAA"}
|
package/dist/bundles.js
CHANGED
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
23
|
return result;
|
24
24
|
};
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
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.
|
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.AnalyticsTypes = exports.AdminTypes = void 0;
|
27
27
|
exports.AdminTypes = __importStar(require("./admin"));
|
28
28
|
exports.AnalyticsTypes = __importStar(require("./analytics"));
|
29
29
|
exports.ApiKeyTypes = __importStar(require("./api-key"));
|
@@ -38,7 +38,6 @@ exports.DmlTypes = __importStar(require("./dml"));
|
|
38
38
|
exports.EventBusTypes = __importStar(require("./event-bus"));
|
39
39
|
exports.FeatureFlagTypes = __importStar(require("./feature-flag"));
|
40
40
|
exports.FileTypes = __importStar(require("./file"));
|
41
|
-
exports.FlagsLoaderTypes = __importStar(require("./flags-loader"));
|
42
41
|
exports.FulfillmentTypes = __importStar(require("./fulfillment"));
|
43
42
|
exports.HttpTypes = __importStar(require("./http"));
|
44
43
|
exports.IndexTypes = __importStar(require("./index-data/index"));
|
package/dist/bundles.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"bundles.js","sourceRoot":"","sources":["../src/bundles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAqC;AACrC,8DAA6C;AAC7C,yDAAwC;AACxC,oDAAmC;AACnC,sDAAqC;AACrC,oDAAmC;AACnC,wDAAuC;AACvC,4DAA2C;AAC3C,4DAA2C;AAC3C,6CAA4B;AAC5B,kDAAiC;AACjC,6DAA4C;AAC5C,mEAAkD;AAClD,oDAAmC;AACnC,
|
1
|
+
{"version":3,"file":"bundles.js","sourceRoot":"","sources":["../src/bundles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAqC;AACrC,8DAA6C;AAC7C,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
@@ -455,4 +455,26 @@ export interface CartWorkflowDTO {
|
|
455
455
|
id: string;
|
456
456
|
payment_collection: PaymentCollectionDTO;
|
457
457
|
}
|
458
|
+
export type CreateCartCreditLinesWorkflowInput = {
|
459
|
+
/**
|
460
|
+
* The ID of the cart that the credit line belongs to.
|
461
|
+
*/
|
462
|
+
cart_id: string;
|
463
|
+
/**
|
464
|
+
* The amount of the credit line.
|
465
|
+
*/
|
466
|
+
amount: number;
|
467
|
+
/**
|
468
|
+
* The reference model name that the credit line is generated from
|
469
|
+
*/
|
470
|
+
reference: string | null;
|
471
|
+
/**
|
472
|
+
* The reference model id that the credit line is generated from
|
473
|
+
*/
|
474
|
+
reference_id: string | null;
|
475
|
+
/**
|
476
|
+
* The metadata of the cart detail
|
477
|
+
*/
|
478
|
+
metadata: Record<string, unknown> | null;
|
479
|
+
}[];
|
458
480
|
//# sourceMappingURL=workflows.d.ts.map
|
@@ -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,WAAW,CAAA;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAClC,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAEpB;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,QAAQ,EAAE,cAAc,CAAA;IAExB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAE5B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAEzB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAE3B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB;;OA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WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB;;WAEG;QACH,QAAQ,CAAC,EAAE,cAAc,CAAA;KAC1B,EAAE,CAAA;CACR;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,kBAAkB,EAAE,oBAAoB,CAAA;CACzC;AAED,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IAExB;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CACzC,EAAE,CAAA"}
|
@@ -1,5 +1,31 @@
|
|
1
|
-
export
|
2
|
-
|
3
|
-
|
1
|
+
export interface IFlagRouter {
|
2
|
+
isFeatureEnabled: (key: string) => boolean;
|
3
|
+
listFlags: () => FeatureFlagsResponse;
|
4
|
+
}
|
5
|
+
/**
|
6
|
+
* @schema FeatureFlagsResponse
|
7
|
+
* type: array
|
8
|
+
* items:
|
9
|
+
* type: object
|
10
|
+
* required:
|
11
|
+
* - key
|
12
|
+
* - value
|
13
|
+
* properties:
|
14
|
+
* key:
|
15
|
+
* description: The key of the feature flag.
|
16
|
+
* type: string
|
17
|
+
* value:
|
18
|
+
* description: The value of the feature flag.
|
19
|
+
* type: boolean
|
20
|
+
*/
|
21
|
+
export type FeatureFlagsResponse = {
|
22
|
+
key: string;
|
23
|
+
value: boolean | Record<string, boolean>;
|
24
|
+
}[];
|
25
|
+
export type FlagSettings = {
|
26
|
+
key: string;
|
27
|
+
description: string;
|
28
|
+
env_key: string;
|
29
|
+
default_val: boolean;
|
4
30
|
};
|
5
31
|
//# sourceMappingURL=common.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/feature-flag/common.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/feature-flag/common.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAA;IAC1C,SAAS,EAAE,MAAM,oBAAoB,CAAA;CACtC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACzC,EAAE,CAAA;AAEH,MAAM,MAAM,YAAY,GAAG;IACzB,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,OAAO,CAAA;CACrB,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/feature-flag/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/feature-flag/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
|
@@ -15,8 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./common"), exports);
|
18
|
-
__exportStar(require("./mutations"), exports);
|
19
|
-
__exportStar(require("./service"), exports);
|
20
|
-
__exportStar(require("./provider"), exports);
|
21
|
-
__exportStar(require("./providers"), exports);
|
22
18
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/feature-flag/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/feature-flag/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB"}
|
package/dist/file/service.d.ts
CHANGED
@@ -7,7 +7,14 @@ import { IFileProvider } from "./provider";
|
|
7
7
|
import { CreateFileDTO, GetUploadFileUrlDTO } from "./mutations";
|
8
8
|
export interface IFileModuleService extends IModuleService {
|
9
9
|
/**
|
10
|
-
*
|
10
|
+
* This method returns the service of the configured File Module Provider in `medusa-config.ts`. This is useful
|
11
|
+
* if you want to execute custom methods defined in the provider's service or you need direct access to it.
|
12
|
+
*
|
13
|
+
* @returns {IFileProvider} An instance of the File Module Provider's service.
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* const s3ProviderService = fileModuleService.getProvider()
|
17
|
+
* // TODO: perform custom actions with the provider
|
11
18
|
*/
|
12
19
|
getProvider(): IFileProvider;
|
13
20
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/file/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAEhE,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/file/service.ts"],"names":[],"mappings":"AA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AAA;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
@@ -31,7 +31,6 @@ __exportStar(require("./event-bus"), exports);
|
|
31
31
|
__exportStar(require("./feature-flag"), exports);
|
32
32
|
__exportStar(require("./file"), exports);
|
33
33
|
__exportStar(require("./file-service"), exports);
|
34
|
-
__exportStar(require("./flags-loader"), exports);
|
35
34
|
__exportStar(require("./fulfillment"), exports);
|
36
35
|
__exportStar(require("./http"), exports);
|
37
36
|
__exportStar(require("./index-data"), exports);
|
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,8CAA2B;AAC3B,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,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,0CAAuB;AACvB,8CAA2B;AAC3B,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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"root":["../src/bundles.ts","../src/index.ts","../src/shared-context.ts","../src/address/common.ts","../src/address/index.ts","../src/admin/extensions.ts","../src/admin/index.ts","../src/analytics/index.ts","../src/analytics/mutations.ts","../src/analytics/provider.ts","../src/analytics/service.ts","../src/analytics/providers/index.ts","../src/analytics/providers/local.ts","../src/analytics/providers/posthog.ts","../src/api-key/index.ts","../src/api-key/service.ts","../src/api-key/common/api-key.ts","../src/api-key/common/index.ts","../src/api-key/mutations/api-key.ts","../src/api-key/mutations/index.ts","../src/auth/index.ts","../src/auth/provider.ts","../src/auth/service.ts","../src/auth/common/auth-identity.ts","../src/auth/common/index.ts","../src/auth/common/provider.ts","../src/auth/providers/emailpass.ts","../src/auth/providers/github.ts","../src/auth/providers/google.ts","../src/auth/providers/index.ts","../src/cache/index.ts","../src/cache/service.ts","../src/cart/common.ts","../src/cart/index.ts","../src/cart/mutations.ts","../src/cart/service.ts","../src/cart/workflows.ts","../src/common/batch.ts","../src/common/camel-case.ts","../src/common/common.ts","../src/common/config-module.ts","../src/common/index.ts","../src/common/medusa-cli.ts","../src/common/medusa-container.ts","../src/common/rule.ts","../src/common/with-calculated.ts","../src/common/__tests__/pluralize.spec.ts","../src/currency/index.ts","../src/currency/service.ts","../src/currency/common/currency.ts","../src/currency/common/index.ts","../src/customer/common.ts","../src/customer/index.ts","../src/customer/mutations.ts","../src/customer/service.ts","../src/dal/entity.ts","../src/dal/index.ts","../src/dal/repository-service.ts","../src/dal/utils.ts","../src/dml/index.ts","../src/event-bus/common.ts","../src/event-bus/event-bus-module.ts","../src/event-bus/event-bus.ts","../src/event-bus/index.ts","../src/feature-flag/common.ts","../src/feature-flag/index.ts","../src/feature-flag/mutations.ts","../src/feature-flag/provider.ts","../src/feature-flag/service.ts","../src/feature-flag/providers/index.ts","../src/feature-flag/providers/local.ts","../src/feature-flag/providers/posthog.ts","../src/file/common.ts","../src/file/index.ts","../src/file/mutations.ts","../src/file/provider.ts","../src/file/service.ts","../src/file/providers/index.ts","../src/file/providers/local.ts","../src/file/providers/s3.ts","../src/file-service/index.ts","../src/flags-loader/index.ts","../src/fulfillment/index.ts","../src/fulfillment/provider.ts","../src/fulfillment/service.ts","../src/fulfillment/workflows.ts","../src/fulfillment/common/address.ts","../src/fulfillment/common/cart.ts","../src/fulfillment/common/fulfillment-item.ts","../src/fulfillment/common/fulfillment-label.ts","../src/fulfillment/common/fulfillment-provider.ts","../src/fulfillment/common/fulfillment-set.ts","../src/fulfillment/common/fulfillment.ts","../src/fulfillment/common/geo-zone.ts","../src/fulfillment/common/index.ts","../src/fulfillment/common/order.ts","../src/fulfillment/common/service-zone.ts","../src/fulfillment/common/shipping-option-rule.ts","../src/fulfillment/common/shipping-option-type.ts","../src/fulfillment/common/shipping-option.ts","../src/fulfillment/common/shipping-profile.ts","../src/fulfillment/mutations/fulfillment-address.ts","../src/fulfillment/mutations/fulfillment-item.ts","../src/fulfillment/mutations/fulfillment-label.ts","../src/fulfillment/mutations/fulfillment-set.ts","../src/fulfillment/mutations/fulfillment.ts","../src/fulfillment/mutations/geo-zone.ts","../src/fulfillment/mutations/index.ts","../src/fulfillment/mutations/service-zone.ts","../src/fulfillment/mutations/shipping-option-rule.ts","../src/fulfillment/mutations/shipping-option-type.ts","../src/fulfillment/mutations/shipping-option.ts","../src/fulfillment/mutations/shipping-profile.ts","../src/http/index.ts","../src/http/address/entities.ts","../src/http/address/index.ts","../src/http/api-key/index.ts","../src/http/api-key/admin/index.ts","../src/http/api-key/admin/payloads.ts","../src/http/api-key/admin/queries.ts","../src/http/api-key/admin/responses.ts","../src/http/auth/index.ts","../src/http/auth/payloads.ts","../src/http/campaign/index.ts","../src/http/campaign/admin/index.ts","../src/http/campaign/admin/payloads.ts","../src/http/campaign/admin/queries.ts","../src/http/campaign/admin/responses.ts","../src/http/cart/common.ts","../src/http/cart/index.ts","../src/http/cart/store/entities.ts","../src/http/cart/store/index.ts","../src/http/cart/store/payloads.ts","../src/http/cart/store/responses.ts","../src/http/claim/common.ts","../src/http/claim/index.ts","../src/http/claim/admin/entities.ts","../src/http/claim/admin/index.ts","../src/http/claim/admin/payloads.ts","../src/http/claim/admin/queries.ts","../src/http/claim/admin/responses.ts","../src/http/collection/common.ts","../src/http/collection/index.ts","../src/http/collection/admin/entities.ts","../src/http/collection/admin/index.ts","../src/http/collection/admin/payloads.ts","../src/http/collection/admin/queries.ts","../src/http/collection/admin/responses.ts","../src/http/collection/store/entities.ts","../src/http/collection/store/index.ts","../src/http/collection/store/queries.ts","../src/http/collection/store/responses.ts","../src/http/common/additional_data.ts","../src/http/common/index.ts","../src/http/common/request.ts","../src/http/common/response.ts","../src/http/currency/common.ts","../src/http/currency/index.ts","../src/http/currency/admin/entities.ts","../src/http/currency/admin/index.ts","../src/http/currency/admin/queries.ts","../src/http/currency/admin/responses.ts","../src/http/currency/store/entities.ts","../src/http/currency/store/index.ts","../src/http/currency/store/queries.ts","../src/http/currency/store/responses.ts","../src/http/customer/common.ts","../src/http/customer/index.ts","../src/http/customer/admin/entities.ts","../src/http/customer/admin/index.ts","../src/http/customer/admin/payloads.ts","../src/http/customer/admin/queries.ts","../src/http/customer/admin/responses.ts","../src/http/customer/store/entities.ts","../src/http/customer/store/index.ts","../src/http/customer/store/payloads.ts","../src/http/customer/store/queries.ts","../src/http/customer/store/responses.ts","../src/http/customer-group/common.ts","../src/http/customer-group/index.ts","../src/http/customer-group/admin/entities.ts","../src/http/customer-group/admin/index.ts","../src/http/customer-group/admin/payloads.ts","../src/http/customer-group/admin/queries.ts","../src/http/customer-group/admin/responses.ts","../src/http/draft-order/index.ts","../src/http/draft-order/admin/entities.ts","../src/http/draft-order/admin/index.ts","../src/http/draft-order/admin/payloads.ts","../src/http/draft-order/admin/queries.ts","../src/http/draft-order/admin/responses.ts","../src/http/exchange/common.ts","../src/http/exchange/index.ts","../src/http/exchange/admin/entities.ts","../src/http/exchange/admin/index.ts","../src/http/exchange/admin/payloads.ts","../src/http/exchange/admin/queries.ts","../src/http/exchange/admin/responses.ts","../src/http/file/common.ts","../src/http/file/index.ts","../src/http/file/store.ts","../src/http/file/admin/entities.ts","../src/http/file/admin/index.ts","../src/http/file/admin/payloads.ts","../src/http/file/admin/responses.ts","../src/http/fulfillment/index.ts","../src/http/fulfillment/admin/entitites.ts","../src/http/fulfillment/admin/index.ts","../src/http/fulfillment/admin/payloads.ts","../src/http/fulfillment/admin/queries.ts","../src/http/fulfillment/admin/responses.ts","../src/http/fulfillment/store/index.ts","../src/http/fulfillment-provider/common.ts","../src/http/fulfillment-provider/index.ts","../src/http/fulfillment-provider/admin/entities.ts","../src/http/fulfillment-provider/admin/index.ts","../src/http/fulfillment-provider/admin/queries.ts","../src/http/fulfillment-provider/admin/responses.ts","../src/http/fulfillment-set/index.ts","../src/http/fulfillment-set/admin/entities.ts","../src/http/fulfillment-set/admin/index.ts","../src/http/fulfillment-set/admin/payloads.ts","../src/http/fulfillment-set/admin/queries.ts","../src/http/fulfillment-set/admin/responses.ts","../src/http/inventory/index.ts","../src/http/inventory/admin/entities.ts","../src/http/inventory/admin/index.ts","../src/http/inventory/admin/payloads.ts","../src/http/inventory/admin/queries.ts","../src/http/inventory/admin/responses.ts","../src/http/inventory-level/index.ts","../src/http/inventory-level/admin/entities.ts","../src/http/inventory-level/admin/index.ts","../src/http/inventory-level/admin/payloads.ts","../src/http/inventory-level/admin/queries.ts","../src/http/inventory-level/admin/responses.ts","../src/http/invite/index.ts","../src/http/invite/admin/entities.ts","../src/http/invite/admin/index.ts","../src/http/invite/admin/payloads.ts","../src/http/invite/admin/queries.ts","../src/http/invite/admin/responses.ts","../src/http/notification/index.ts","../src/http/notification/admin/entities.ts","../src/http/notification/admin/index.ts","../src/http/notification/admin/queries.ts","../src/http/notification/admin/responses.ts","../src/http/order/common.ts","../src/http/order/index.ts","../src/http/order/admin/entities.ts","../src/http/order/admin/index.ts","../src/http/order/admin/payload.ts","../src/http/order/admin/queries.ts","../src/http/order/admin/responses.ts","../src/http/order/store/entities.ts","../src/http/order/store/index.ts","../src/http/order/store/payloads.ts","../src/http/order/store/queries.ts","../src/http/order/store/responses.ts","../src/http/order-edit/common.ts","../src/http/order-edit/index.ts","../src/http/order-edit/admin/index.ts","../src/http/order-edit/admin/payloads.ts","../src/http/order-edit/admin/responses.ts","../src/http/payment/common.ts","../src/http/payment/index.ts","../src/http/payment/admin/entities.ts","../src/http/payment/admin/index.ts","../src/http/payment/admin/payloads.ts","../src/http/payment/admin/queries.ts","../src/http/payment/admin/responses.ts","../src/http/payment/store/entities.ts","../src/http/payment/store/index.ts","../src/http/payment/store/payloads.ts","../src/http/payment/store/queries.ts","../src/http/payment/store/responses.ts","../src/http/plugins/index.ts","../src/http/plugins/admin/responses.ts","../src/http/price-list/index.ts","../src/http/price-list/admin/entities.ts","../src/http/price-list/admin/index.ts","../src/http/price-list/admin/payloads.ts","../src/http/price-list/admin/queries.ts","../src/http/price-list/admin/responses.ts","../src/http/pricing/common.ts","../src/http/pricing/index.ts","../src/http/pricing/admin/entities.ts","../src/http/pricing/admin/index.ts","../src/http/pricing/admin/payloads.ts","../src/http/pricing/admin/queries.ts","../src/http/pricing/admin/responses.ts","../src/http/pricing/store/entities.ts","../src/http/pricing/store/index.ts","../src/http/product/common.ts","../src/http/product/index.ts","../src/http/product/admin/entitites.ts","../src/http/product/admin/index.ts","../src/http/product/admin/payloads.ts","../src/http/product/admin/queries.ts","../src/http/product/admin/responses.ts","../src/http/product/store/entitites.ts","../src/http/product/store/index.ts","../src/http/product/store/queries.ts","../src/http/product/store/responses.ts","../src/http/product-category/common.ts","../src/http/product-category/index.ts","../src/http/product-category/admin/entities.ts","../src/http/product-category/admin/index.ts","../src/http/product-category/admin/payloads.ts","../src/http/product-category/admin/queries.ts","../src/http/product-category/admin/responses.ts","../src/http/product-category/store/entities.ts","../src/http/product-category/store/index.ts","../src/http/product-category/store/queries.ts","../src/http/product-category/store/responses.ts","../src/http/product-tag/common.ts","../src/http/product-tag/index.ts","../src/http/product-tag/admin/entities.ts","../src/http/product-tag/admin/index.ts","../src/http/product-tag/admin/payloads.ts","../src/http/product-tag/admin/queries.ts","../src/http/product-tag/admin/responses.ts","../src/http/product-tag/store/entities.ts","../src/http/product-tag/store/index.ts","../src/http/product-tag/store/queries.ts","../src/http/product-tag/store/responses.ts","../src/http/product-type/common.ts","../src/http/product-type/index.ts","../src/http/product-type/admin/entities.ts","../src/http/product-type/admin/index.ts","../src/http/product-type/admin/payloads.ts","../src/http/product-type/admin/queries.ts","../src/http/product-type/admin/responses.ts","../src/http/product-type/store/entities.ts","../src/http/product-type/store/index.ts","../src/http/product-type/store/queries.ts","../src/http/product-type/store/responses.ts","../src/http/promotion/common.ts","../src/http/promotion/index.ts","../src/http/promotion/store.ts","../src/http/promotion/admin/entities.ts","../src/http/promotion/admin/index.ts","../src/http/promotion/admin/payloads.ts","../src/http/promotion/admin/queries.ts","../src/http/promotion/admin/responses.ts","../src/http/region/common.ts","../src/http/region/index.ts","../src/http/region/admin/entities.ts","../src/http/region/admin/index.ts","../src/http/region/admin/payloads.ts","../src/http/region/admin/queries.ts","../src/http/region/admin/responses.ts","../src/http/region/store/entities.ts","../src/http/region/store/index.ts","../src/http/region/store/queries.ts","../src/http/region/store/responses.ts","../src/http/reservation/index.ts","../src/http/reservation/admin/entities.ts","../src/http/reservation/admin/index.ts","../src/http/reservation/admin/payloads.ts","../src/http/reservation/admin/queries.ts","../src/http/reservation/admin/responses.ts","../src/http/return/common.ts","../src/http/return/index.ts","../src/http/return/admin/entities.ts","../src/http/return/admin/index.ts","../src/http/return/admin/payloads.ts","../src/http/return/admin/queries.ts","../src/http/return/admin/responses.ts","../src/http/return/store/entities.ts","../src/http/return/store/index.ts","../src/http/return/store/payloads.ts","../src/http/return/store/responses.ts","../src/http/return-reason/common.ts","../src/http/return-reason/index.ts","../src/http/return-reason/admin/entities.ts","../src/http/return-reason/admin/index.ts","../src/http/return-reason/admin/payloads.ts","../src/http/return-reason/admin/queries.ts","../src/http/return-reason/admin/responses.ts","../src/http/return-reason/store/entities.ts","../src/http/return-reason/store/index.ts","../src/http/return-reason/store/responses.ts","../src/http/sales-channel/index.ts","../src/http/sales-channel/admin/entities.ts","../src/http/sales-channel/admin/index.ts","../src/http/sales-channel/admin/payloads.ts","../src/http/sales-channel/admin/queries.ts","../src/http/sales-channel/admin/responses.ts","../src/http/shipping-option/index.ts","../src/http/shipping-option/admin/entities.ts","../src/http/shipping-option/admin/index.ts","../src/http/shipping-option/admin/payloads.ts","../src/http/shipping-option/admin/queries.ts","../src/http/shipping-option/admin/responses.ts","../src/http/shipping-option/store/entities.ts","../src/http/shipping-option/store/index.ts","../src/http/shipping-option/store/payloads.ts","../src/http/shipping-option/store/queries.ts","../src/http/shipping-option/store/responses.ts","../src/http/shipping-profile/index.ts","../src/http/shipping-profile/admin/entities.ts","../src/http/shipping-profile/admin/index.ts","../src/http/shipping-profile/admin/payloads.ts","../src/http/shipping-profile/admin/queries.ts","../src/http/shipping-profile/admin/responses.ts","../src/http/stock-locations/index.ts","../src/http/stock-locations/admin/entities.ts","../src/http/stock-locations/admin/index.ts","../src/http/stock-locations/admin/payloads.ts","../src/http/stock-locations/admin/queries.ts","../src/http/stock-locations/admin/responses.ts","../src/http/store/index.ts","../src/http/store/admin/entities.ts","../src/http/store/admin/index.ts","../src/http/store/admin/payloads.ts","../src/http/store/admin/queries.ts","../src/http/store/admin/responses.ts","../src/http/tax-provider/index.ts","../src/http/tax-provider/admin/entities.ts","../src/http/tax-provider/admin/index.ts","../src/http/tax-provider/admin/queries.ts","../src/http/tax-provider/admin/responses.ts","../src/http/tax-rate/index.ts","../src/http/tax-rate/admin/entities.ts","../src/http/tax-rate/admin/index.ts","../src/http/tax-rate/admin/payloads.ts","../src/http/tax-rate/admin/queries.ts","../src/http/tax-rate/admin/responses.ts","../src/http/tax-region/index.ts","../src/http/tax-region/admin/entities.ts","../src/http/tax-region/admin/index.ts","../src/http/tax-region/admin/payloads.ts","../src/http/tax-region/admin/queries.ts","../src/http/tax-region/admin/responses.ts","../src/http/user/index.ts","../src/http/user/admin/entities.ts","../src/http/user/admin/index.ts","../src/http/user/admin/payloads.ts","../src/http/user/admin/queries.ts","../src/http/user/admin/responses.ts","../src/http/workflow-execution/index.ts","../src/http/workflow-execution/admin/entities.ts","../src/http/workflow-execution/admin/index.ts","../src/http/workflow-execution/admin/queries.ts","../src/http/workflow-execution/admin/responses.ts","../src/index-data/common.ts","../src/index-data/index-operator-map.ts","../src/index-data/index-service-entry-points.ts","../src/index-data/index.ts","../src/index-data/service.ts","../src/index-data/storage-provider.ts","../src/index-data/__fixtures__/index-service-entry-points.ts","../src/index-data/__tests__/index.spec.ts","../src/index-data/query-config/common.ts","../src/index-data/query-config/index.ts","../src/index-data/query-config/query-input-config-fields.ts","../src/index-data/query-config/query-input-config-filters.ts","../src/index-data/query-config/query-input-config-order-by.ts","../src/index-data/query-config/query-input-config.ts","../src/inventory/index.ts","../src/inventory/service.ts","../src/inventory/common/index.ts","../src/inventory/common/inventory-item.ts","../src/inventory/common/inventory-level.ts","../src/inventory/common/reservation-item.ts","../src/inventory/mutations/index.ts","../src/inventory/mutations/inventory-item.ts","../src/inventory/mutations/inventory-level.ts","../src/inventory/mutations/reservation-item.ts","../src/joiner/index.ts","../src/link-modules/index.ts","../src/link-modules/migrations.ts","../src/link-modules/service.ts","../src/locking/index.ts","../src/logger/index.ts","../src/modules-sdk/index.ts","../src/modules-sdk/medusa-internal-service.ts","../src/modules-sdk/module-provider.ts","../src/modules-sdk/object-to-remote-query-fields.ts","../src/modules-sdk/remote-query-entry-points.ts","../src/modules-sdk/remote-query-object-from-string.ts","../src/modules-sdk/remote-query.ts","../src/modules-sdk/to-remote-query.ts","../src/modules-sdk/__fixtures__/remote-query.ts","../src/modules-sdk/__tests__/object-to-remote-query-fields.spec.ts","../src/modules-sdk/__tests__/query.spec.ts","../src/modules-sdk/__tests__/remote-query.spec.ts","../src/notification/common.ts","../src/notification/index.ts","../src/notification/mutations.ts","../src/notification/provider.ts","../src/notification/service.ts","../src/notification/providers/index.ts","../src/notification/providers/logger.ts","../src/notification/providers/sendgrid.ts","../src/order/common.ts","../src/order/index.ts","../src/order/mutations.ts","../src/order/service.ts","../src/order/workflows.ts","../src/payment/common.ts","../src/payment/index.ts","../src/payment/mutations.ts","../src/payment/provider.ts","../src/payment/service.ts","../src/pricing/index.ts","../src/pricing/service.ts","../src/pricing/workflows.ts","../src/pricing/common/index.ts","../src/pricing/common/money-amount.ts","../src/pricing/common/price-list.ts","../src/pricing/common/price-preference.ts","../src/pricing/common/price-rule.ts","../src/pricing/common/price-set.ts","../src/pricing/common/price.ts","../src/pricing/common/pricing-context.ts","../src/product/common.ts","../src/product/index.ts","../src/product/service.ts","../src/product-category/index.ts","../src/product-category/repository.ts","../src/promotion/http.ts","../src/promotion/index.ts","../src/promotion/mutations.ts","../src/promotion/service.ts","../src/promotion/workflows.ts","../src/promotion/common/application-method.ts","../src/promotion/common/campaign-budget.ts","../src/promotion/common/campaign.ts","../src/promotion/common/compute-actions.ts","../src/promotion/common/index.ts","../src/promotion/common/promotion-rule-value.ts","../src/promotion/common/promotion-rule.ts","../src/promotion/common/promotion.ts","../src/region/common.ts","../src/region/index.ts","../src/region/mutations.ts","../src/region/service.ts","../src/sales-channel/common.ts","../src/sales-channel/index.ts","../src/sales-channel/mutations.ts","../src/sales-channel/service.ts","../src/search/index.ts","../src/search/interface.ts","../src/search/settings.ts","../src/stock-location/common.ts","../src/stock-location/index.ts","../src/stock-location/service.ts","../src/store/index.ts","../src/store/service.ts","../src/store/common/index.ts","../src/store/common/store.ts","../src/store/mutations/index.ts","../src/store/mutations/store.ts","../src/tax/common.ts","../src/tax/index.ts","../src/tax/mutations.ts","../src/tax/provider.ts","../src/tax/service.ts","../src/totals/big-number.ts","../src/totals/index.ts","../src/transaction-base/index.ts","../src/transaction-base/transaction-base.ts","../src/user/common.ts","../src/user/index.ts","../src/user/mutations.ts","../src/user/service.ts","../src/workflow/common.ts","../src/workflow/index.ts","../src/workflow/cart/create-cart.ts","../src/workflow/cart/index.ts","../src/workflow/fulfillment/calculate-shipping-options-prices.ts","../src/workflow/fulfillment/create-fulfillment.ts","../src/workflow/fulfillment/create-shipment.ts","../src/workflow/fulfillment/create-shipping-options.ts","../src/workflow/fulfillment/delete-shipping-options.ts","../src/workflow/fulfillment/index.ts","../src/workflow/fulfillment/service-zones.ts","../src/workflow/fulfillment/shipping-profiles.ts","../src/workflow/fulfillment/update-fulfillment.ts","../src/workflow/fulfillment/update-shipping-options.ts","../src/workflow/inventory/create-inventory-items.ts","../src/workflow/inventory/index.ts","../src/workflow/invite/accept-invite.ts","../src/workflow/invite/create-invite.ts","../src/workflow/invite/delete-invite.ts","../src/workflow/invite/index.ts","../src/workflow/invite/resend-invite.ts","../src/workflow/order/accept-transfer.ts","../src/workflow/order/begin-claim-order.ts","../src/workflow/order/begin-exchange-order.ts","../src/workflow/order/begin-order-edit.ts","../src/workflow/order/begin-return-order.ts","../src/workflow/order/cancel-claim.ts","../src/workflow/order/cancel-exchange.ts","../src/workflow/order/cancel-fulfillment.ts","../src/workflow/order/cancel-order.ts","../src/workflow/order/cancel-return.ts","../src/workflow/order/cancel-transfer.ts","../src/workflow/order/create-fulfillment.ts","../src/workflow/order/create-return-order.ts","../src/workflow/order/create-shipment.ts","../src/workflow/order/decline-transfer.ts","../src/workflow/order/index.ts","../src/workflow/order/items.ts","../src/workflow/order/receive-return.ts","../src/workflow/order/request-item-return.ts","../src/workflow/order/request-transfer.ts","../src/workflow/order/shipping-method.ts","../src/workflow/order/update-order.ts","../src/workflow/order/update-return.ts","../src/workflow/price-list/create-price-list.ts","../src/workflow/price-list/index.ts","../src/workflow/price-list/remove-price-list.ts","../src/workflow/pricing/index.ts","../src/workflow/product/create-product-variants.ts","../src/workflow/product/create-products.ts","../src/workflow/product/export-products.ts","../src/workflow/product/import-products.ts","../src/workflow/product/index.ts","../src/workflow/product/update-product-variants.ts","../src/workflow/product/update-products.ts","../src/workflow/product-category/index.ts","../src/workflow/region/create-regions.ts","../src/workflow/region/index.ts","../src/workflow/region/update-regions.ts","../src/workflow/reservation/create-reservations.ts","../src/workflow/reservation/index.ts","../src/workflow/reservation/update-reservations.ts","../src/workflow/store/index.ts","../src/workflow/user/create-user.ts","../src/workflow/user/delete-user.ts","../src/workflow/user/index.ts","../src/workflow/user/update-user.ts","../src/workflows/index.ts","../src/workflows/products/index.ts","../src/workflows/products/mutations.ts","../src/workflows/stock-locations/index.ts","../src/workflows/stock-locations/mutations.ts","../src/workflows-sdk/common.ts","../src/workflows-sdk/index.ts","../src/workflows-sdk/mutations.ts","../src/workflows-sdk/service.ts"],"version":"5.6.2"}
|
1
|
+
{"root":["../src/bundles.ts","../src/index.ts","../src/shared-context.ts","../src/address/common.ts","../src/address/index.ts","../src/admin/extensions.ts","../src/admin/index.ts","../src/analytics/index.ts","../src/analytics/mutations.ts","../src/analytics/provider.ts","../src/analytics/service.ts","../src/analytics/providers/index.ts","../src/analytics/providers/local.ts","../src/analytics/providers/posthog.ts","../src/api-key/index.ts","../src/api-key/service.ts","../src/api-key/common/api-key.ts","../src/api-key/common/index.ts","../src/api-key/mutations/api-key.ts","../src/api-key/mutations/index.ts","../src/auth/index.ts","../src/auth/provider.ts","../src/auth/service.ts","../src/auth/common/auth-identity.ts","../src/auth/common/index.ts","../src/auth/common/provider.ts","../src/auth/providers/emailpass.ts","../src/auth/providers/github.ts","../src/auth/providers/google.ts","../src/auth/providers/index.ts","../src/cache/index.ts","../src/cache/service.ts","../src/cart/common.ts","../src/cart/index.ts","../src/cart/mutations.ts","../src/cart/service.ts","../src/cart/workflows.ts","../src/common/batch.ts","../src/common/camel-case.ts","../src/common/common.ts","../src/common/config-module.ts","../src/common/index.ts","../src/common/medusa-cli.ts","../src/common/medusa-container.ts","../src/common/rule.ts","../src/common/with-calculated.ts","../src/common/__tests__/pluralize.spec.ts","../src/currency/index.ts","../src/currency/service.ts","../src/currency/common/currency.ts","../src/currency/common/index.ts","../src/customer/common.ts","../src/customer/index.ts","../src/customer/mutations.ts","../src/customer/service.ts","../src/dal/entity.ts","../src/dal/index.ts","../src/dal/repository-service.ts","../src/dal/utils.ts","../src/dml/index.ts","../src/event-bus/common.ts","../src/event-bus/event-bus-module.ts","../src/event-bus/event-bus.ts","../src/event-bus/index.ts","../src/feature-flag/common.ts","../src/feature-flag/index.ts","../src/file/common.ts","../src/file/index.ts","../src/file/mutations.ts","../src/file/provider.ts","../src/file/service.ts","../src/file/providers/index.ts","../src/file/providers/local.ts","../src/file/providers/s3.ts","../src/file-service/index.ts","../src/fulfillment/index.ts","../src/fulfillment/provider.ts","../src/fulfillment/service.ts","../src/fulfillment/workflows.ts","../src/fulfillment/common/address.ts","../src/fulfillment/common/cart.ts","../src/fulfillment/common/fulfillment-item.ts","../src/fulfillment/common/fulfillment-label.ts","../src/fulfillment/common/fulfillment-provider.ts","../src/fulfillment/common/fulfillment-set.ts","../src/fulfillment/common/fulfillment.ts","../src/fulfillment/common/geo-zone.ts","../src/fulfillment/common/index.ts","../src/fulfillment/common/order.ts","../src/fulfillment/common/service-zone.ts","../src/fulfillment/common/shipping-option-rule.ts","../src/fulfillment/common/shipping-option-type.ts","../src/fulfillment/common/shipping-option.ts","../src/fulfillment/common/shipping-profile.ts","../src/fulfillment/mutations/fulfillment-address.ts","../src/fulfillment/mutations/fulfillment-item.ts","../src/fulfillment/mutations/fulfillment-label.ts","../src/fulfillment/mutations/fulfillment-set.ts","../src/fulfillment/mutations/fulfillment.ts","../src/fulfillment/mutations/geo-zone.ts","../src/fulfillment/mutations/index.ts","../src/fulfillment/mutations/service-zone.ts","../src/fulfillment/mutations/shipping-option-rule.ts","../src/fulfillment/mutations/shipping-option-type.ts","../src/fulfillment/mutations/shipping-option.ts","../src/fulfillment/mutations/shipping-profile.ts","../src/http/index.ts","../src/http/address/entities.ts","../src/http/address/index.ts","../src/http/api-key/index.ts","../src/http/api-key/admin/index.ts","../src/http/api-key/admin/payloads.ts","../src/http/api-key/admin/queries.ts","../src/http/api-key/admin/responses.ts","../src/http/auth/index.ts","../src/http/auth/payloads.ts","../src/http/campaign/index.ts","../src/http/campaign/admin/index.ts","../src/http/campaign/admin/payloads.ts","../src/http/campaign/admin/queries.ts","../src/http/campaign/admin/responses.ts","../src/http/cart/common.ts","../src/http/cart/index.ts","../src/http/cart/store/entities.ts","../src/http/cart/store/index.ts","../src/http/cart/store/payloads.ts","../src/http/cart/store/responses.ts","../src/http/claim/common.ts","../src/http/claim/index.ts","../src/http/claim/admin/entities.ts","../src/http/claim/admin/index.ts","../src/http/claim/admin/payloads.ts","../src/http/claim/admin/queries.ts","../src/http/claim/admin/responses.ts","../src/http/collection/common.ts","../src/http/collection/index.ts","../src/http/collection/admin/entities.ts","../src/http/collection/admin/index.ts","../src/http/collection/admin/payloads.ts","../src/http/collection/admin/queries.ts","../src/http/collection/admin/responses.ts","../src/http/collection/store/entities.ts","../src/http/collection/store/index.ts","../src/http/collection/store/queries.ts","../src/http/collection/store/responses.ts","../src/http/common/additional_data.ts","../src/http/common/index.ts","../src/http/common/request.ts","../src/http/common/response.ts","../src/http/currency/common.ts","../src/http/currency/index.ts","../src/http/currency/admin/entities.ts","../src/http/currency/admin/index.ts","../src/http/currency/admin/queries.ts","../src/http/currency/admin/responses.ts","../src/http/currency/store/entities.ts","../src/http/currency/store/index.ts","../src/http/currency/store/queries.ts","../src/http/currency/store/responses.ts","../src/http/customer/common.ts","../src/http/customer/index.ts","../src/http/customer/admin/entities.ts","../src/http/customer/admin/index.ts","../src/http/customer/admin/payloads.ts","../src/http/customer/admin/queries.ts","../src/http/customer/admin/responses.ts","../src/http/customer/store/entities.ts","../src/http/customer/store/index.ts","../src/http/customer/store/payloads.ts","../src/http/customer/store/queries.ts","../src/http/customer/store/responses.ts","../src/http/customer-group/common.ts","../src/http/customer-group/index.ts","../src/http/customer-group/admin/entities.ts","../src/http/customer-group/admin/index.ts","../src/http/customer-group/admin/payloads.ts","../src/http/customer-group/admin/queries.ts","../src/http/customer-group/admin/responses.ts","../src/http/draft-order/index.ts","../src/http/draft-order/admin/entities.ts","../src/http/draft-order/admin/index.ts","../src/http/draft-order/admin/payloads.ts","../src/http/draft-order/admin/queries.ts","../src/http/draft-order/admin/responses.ts","../src/http/exchange/common.ts","../src/http/exchange/index.ts","../src/http/exchange/admin/entities.ts","../src/http/exchange/admin/index.ts","../src/http/exchange/admin/payloads.ts","../src/http/exchange/admin/queries.ts","../src/http/exchange/admin/responses.ts","../src/http/file/common.ts","../src/http/file/index.ts","../src/http/file/store.ts","../src/http/file/admin/entities.ts","../src/http/file/admin/index.ts","../src/http/file/admin/payloads.ts","../src/http/file/admin/responses.ts","../src/http/fulfillment/index.ts","../src/http/fulfillment/admin/entitites.ts","../src/http/fulfillment/admin/index.ts","../src/http/fulfillment/admin/payloads.ts","../src/http/fulfillment/admin/queries.ts","../src/http/fulfillment/admin/responses.ts","../src/http/fulfillment/store/index.ts","../src/http/fulfillment-provider/common.ts","../src/http/fulfillment-provider/index.ts","../src/http/fulfillment-provider/admin/entities.ts","../src/http/fulfillment-provider/admin/index.ts","../src/http/fulfillment-provider/admin/queries.ts","../src/http/fulfillment-provider/admin/responses.ts","../src/http/fulfillment-set/index.ts","../src/http/fulfillment-set/admin/entities.ts","../src/http/fulfillment-set/admin/index.ts","../src/http/fulfillment-set/admin/payloads.ts","../src/http/fulfillment-set/admin/queries.ts","../src/http/fulfillment-set/admin/responses.ts","../src/http/inventory/index.ts","../src/http/inventory/admin/entities.ts","../src/http/inventory/admin/index.ts","../src/http/inventory/admin/payloads.ts","../src/http/inventory/admin/queries.ts","../src/http/inventory/admin/responses.ts","../src/http/inventory-level/index.ts","../src/http/inventory-level/admin/entities.ts","../src/http/inventory-level/admin/index.ts","../src/http/inventory-level/admin/payloads.ts","../src/http/inventory-level/admin/queries.ts","../src/http/inventory-level/admin/responses.ts","../src/http/invite/index.ts","../src/http/invite/admin/entities.ts","../src/http/invite/admin/index.ts","../src/http/invite/admin/payloads.ts","../src/http/invite/admin/queries.ts","../src/http/invite/admin/responses.ts","../src/http/notification/index.ts","../src/http/notification/admin/entities.ts","../src/http/notification/admin/index.ts","../src/http/notification/admin/queries.ts","../src/http/notification/admin/responses.ts","../src/http/order/common.ts","../src/http/order/index.ts","../src/http/order/admin/entities.ts","../src/http/order/admin/index.ts","../src/http/order/admin/payload.ts","../src/http/order/admin/queries.ts","../src/http/order/admin/responses.ts","../src/http/order/store/entities.ts","../src/http/order/store/index.ts","../src/http/order/store/payloads.ts","../src/http/order/store/queries.ts","../src/http/order/store/responses.ts","../src/http/order-edit/common.ts","../src/http/order-edit/index.ts","../src/http/order-edit/admin/index.ts","../src/http/order-edit/admin/payloads.ts","../src/http/order-edit/admin/responses.ts","../src/http/payment/common.ts","../src/http/payment/index.ts","../src/http/payment/admin/entities.ts","../src/http/payment/admin/index.ts","../src/http/payment/admin/payloads.ts","../src/http/payment/admin/queries.ts","../src/http/payment/admin/responses.ts","../src/http/payment/store/entities.ts","../src/http/payment/store/index.ts","../src/http/payment/store/payloads.ts","../src/http/payment/store/queries.ts","../src/http/payment/store/responses.ts","../src/http/plugins/index.ts","../src/http/plugins/admin/responses.ts","../src/http/price-list/index.ts","../src/http/price-list/admin/entities.ts","../src/http/price-list/admin/index.ts","../src/http/price-list/admin/payloads.ts","../src/http/price-list/admin/queries.ts","../src/http/price-list/admin/responses.ts","../src/http/pricing/common.ts","../src/http/pricing/index.ts","../src/http/pricing/admin/entities.ts","../src/http/pricing/admin/index.ts","../src/http/pricing/admin/payloads.ts","../src/http/pricing/admin/queries.ts","../src/http/pricing/admin/responses.ts","../src/http/pricing/store/entities.ts","../src/http/pricing/store/index.ts","../src/http/product/common.ts","../src/http/product/index.ts","../src/http/product/admin/entitites.ts","../src/http/product/admin/index.ts","../src/http/product/admin/payloads.ts","../src/http/product/admin/queries.ts","../src/http/product/admin/responses.ts","../src/http/product/store/entitites.ts","../src/http/product/store/index.ts","../src/http/product/store/queries.ts","../src/http/product/store/responses.ts","../src/http/product-category/common.ts","../src/http/product-category/index.ts","../src/http/product-category/admin/entities.ts","../src/http/product-category/admin/index.ts","../src/http/product-category/admin/payloads.ts","../src/http/product-category/admin/queries.ts","../src/http/product-category/admin/responses.ts","../src/http/product-category/store/entities.ts","../src/http/product-category/store/index.ts","../src/http/product-category/store/queries.ts","../src/http/product-category/store/responses.ts","../src/http/product-tag/common.ts","../src/http/product-tag/index.ts","../src/http/product-tag/admin/entities.ts","../src/http/product-tag/admin/index.ts","../src/http/product-tag/admin/payloads.ts","../src/http/product-tag/admin/queries.ts","../src/http/product-tag/admin/responses.ts","../src/http/product-tag/store/entities.ts","../src/http/product-tag/store/index.ts","../src/http/product-tag/store/queries.ts","../src/http/product-tag/store/responses.ts","../src/http/product-type/common.ts","../src/http/product-type/index.ts","../src/http/product-type/admin/entities.ts","../src/http/product-type/admin/index.ts","../src/http/product-type/admin/payloads.ts","../src/http/product-type/admin/queries.ts","../src/http/product-type/admin/responses.ts","../src/http/product-type/store/entities.ts","../src/http/product-type/store/index.ts","../src/http/product-type/store/queries.ts","../src/http/product-type/store/responses.ts","../src/http/promotion/common.ts","../src/http/promotion/index.ts","../src/http/promotion/store.ts","../src/http/promotion/admin/entities.ts","../src/http/promotion/admin/index.ts","../src/http/promotion/admin/payloads.ts","../src/http/promotion/admin/queries.ts","../src/http/promotion/admin/responses.ts","../src/http/region/common.ts","../src/http/region/index.ts","../src/http/region/admin/entities.ts","../src/http/region/admin/index.ts","../src/http/region/admin/payloads.ts","../src/http/region/admin/queries.ts","../src/http/region/admin/responses.ts","../src/http/region/store/entities.ts","../src/http/region/store/index.ts","../src/http/region/store/queries.ts","../src/http/region/store/responses.ts","../src/http/reservation/index.ts","../src/http/reservation/admin/entities.ts","../src/http/reservation/admin/index.ts","../src/http/reservation/admin/payloads.ts","../src/http/reservation/admin/queries.ts","../src/http/reservation/admin/responses.ts","../src/http/return/common.ts","../src/http/return/index.ts","../src/http/return/admin/entities.ts","../src/http/return/admin/index.ts","../src/http/return/admin/payloads.ts","../src/http/return/admin/queries.ts","../src/http/return/admin/responses.ts","../src/http/return/store/entities.ts","../src/http/return/store/index.ts","../src/http/return/store/payloads.ts","../src/http/return/store/responses.ts","../src/http/return-reason/common.ts","../src/http/return-reason/index.ts","../src/http/return-reason/admin/entities.ts","../src/http/return-reason/admin/index.ts","../src/http/return-reason/admin/payloads.ts","../src/http/return-reason/admin/queries.ts","../src/http/return-reason/admin/responses.ts","../src/http/return-reason/store/entities.ts","../src/http/return-reason/store/index.ts","../src/http/return-reason/store/responses.ts","../src/http/sales-channel/index.ts","../src/http/sales-channel/admin/entities.ts","../src/http/sales-channel/admin/index.ts","../src/http/sales-channel/admin/payloads.ts","../src/http/sales-channel/admin/queries.ts","../src/http/sales-channel/admin/responses.ts","../src/http/shipping-option/index.ts","../src/http/shipping-option/admin/entities.ts","../src/http/shipping-option/admin/index.ts","../src/http/shipping-option/admin/payloads.ts","../src/http/shipping-option/admin/queries.ts","../src/http/shipping-option/admin/responses.ts","../src/http/shipping-option/store/entities.ts","../src/http/shipping-option/store/index.ts","../src/http/shipping-option/store/payloads.ts","../src/http/shipping-option/store/queries.ts","../src/http/shipping-option/store/responses.ts","../src/http/shipping-profile/index.ts","../src/http/shipping-profile/admin/entities.ts","../src/http/shipping-profile/admin/index.ts","../src/http/shipping-profile/admin/payloads.ts","../src/http/shipping-profile/admin/queries.ts","../src/http/shipping-profile/admin/responses.ts","../src/http/stock-locations/index.ts","../src/http/stock-locations/admin/entities.ts","../src/http/stock-locations/admin/index.ts","../src/http/stock-locations/admin/payloads.ts","../src/http/stock-locations/admin/queries.ts","../src/http/stock-locations/admin/responses.ts","../src/http/store/index.ts","../src/http/store/admin/entities.ts","../src/http/store/admin/index.ts","../src/http/store/admin/payloads.ts","../src/http/store/admin/queries.ts","../src/http/store/admin/responses.ts","../src/http/tax-provider/index.ts","../src/http/tax-provider/admin/entities.ts","../src/http/tax-provider/admin/index.ts","../src/http/tax-provider/admin/queries.ts","../src/http/tax-provider/admin/responses.ts","../src/http/tax-rate/index.ts","../src/http/tax-rate/admin/entities.ts","../src/http/tax-rate/admin/index.ts","../src/http/tax-rate/admin/payloads.ts","../src/http/tax-rate/admin/queries.ts","../src/http/tax-rate/admin/responses.ts","../src/http/tax-region/index.ts","../src/http/tax-region/admin/entities.ts","../src/http/tax-region/admin/index.ts","../src/http/tax-region/admin/payloads.ts","../src/http/tax-region/admin/queries.ts","../src/http/tax-region/admin/responses.ts","../src/http/user/index.ts","../src/http/user/admin/entities.ts","../src/http/user/admin/index.ts","../src/http/user/admin/payloads.ts","../src/http/user/admin/queries.ts","../src/http/user/admin/responses.ts","../src/http/workflow-execution/index.ts","../src/http/workflow-execution/admin/entities.ts","../src/http/workflow-execution/admin/index.ts","../src/http/workflow-execution/admin/queries.ts","../src/http/workflow-execution/admin/responses.ts","../src/index-data/common.ts","../src/index-data/index-operator-map.ts","../src/index-data/index-service-entry-points.ts","../src/index-data/index.ts","../src/index-data/service.ts","../src/index-data/storage-provider.ts","../src/index-data/__fixtures__/index-service-entry-points.ts","../src/index-data/__tests__/index.spec.ts","../src/index-data/query-config/common.ts","../src/index-data/query-config/index.ts","../src/index-data/query-config/query-input-config-fields.ts","../src/index-data/query-config/query-input-config-filters.ts","../src/index-data/query-config/query-input-config-order-by.ts","../src/index-data/query-config/query-input-config.ts","../src/inventory/index.ts","../src/inventory/service.ts","../src/inventory/common/index.ts","../src/inventory/common/inventory-item.ts","../src/inventory/common/inventory-level.ts","../src/inventory/common/reservation-item.ts","../src/inventory/mutations/index.ts","../src/inventory/mutations/inventory-item.ts","../src/inventory/mutations/inventory-level.ts","../src/inventory/mutations/reservation-item.ts","../src/joiner/index.ts","../src/link-modules/index.ts","../src/link-modules/migrations.ts","../src/link-modules/service.ts","../src/locking/index.ts","../src/logger/index.ts","../src/modules-sdk/index.ts","../src/modules-sdk/medusa-internal-service.ts","../src/modules-sdk/module-provider.ts","../src/modules-sdk/object-to-remote-query-fields.ts","../src/modules-sdk/remote-query-entry-points.ts","../src/modules-sdk/remote-query-object-from-string.ts","../src/modules-sdk/remote-query.ts","../src/modules-sdk/to-remote-query.ts","../src/modules-sdk/__fixtures__/remote-query.ts","../src/modules-sdk/__tests__/object-to-remote-query-fields.spec.ts","../src/modules-sdk/__tests__/query.spec.ts","../src/modules-sdk/__tests__/remote-query.spec.ts","../src/notification/common.ts","../src/notification/index.ts","../src/notification/mutations.ts","../src/notification/provider.ts","../src/notification/service.ts","../src/notification/providers/index.ts","../src/notification/providers/logger.ts","../src/notification/providers/sendgrid.ts","../src/order/common.ts","../src/order/index.ts","../src/order/mutations.ts","../src/order/service.ts","../src/order/workflows.ts","../src/payment/common.ts","../src/payment/index.ts","../src/payment/mutations.ts","../src/payment/provider.ts","../src/payment/service.ts","../src/pricing/index.ts","../src/pricing/service.ts","../src/pricing/workflows.ts","../src/pricing/common/index.ts","../src/pricing/common/money-amount.ts","../src/pricing/common/price-list.ts","../src/pricing/common/price-preference.ts","../src/pricing/common/price-rule.ts","../src/pricing/common/price-set.ts","../src/pricing/common/price.ts","../src/pricing/common/pricing-context.ts","../src/product/common.ts","../src/product/index.ts","../src/product/service.ts","../src/product-category/index.ts","../src/product-category/repository.ts","../src/promotion/http.ts","../src/promotion/index.ts","../src/promotion/mutations.ts","../src/promotion/service.ts","../src/promotion/workflows.ts","../src/promotion/common/application-method.ts","../src/promotion/common/campaign-budget.ts","../src/promotion/common/campaign.ts","../src/promotion/common/compute-actions.ts","../src/promotion/common/index.ts","../src/promotion/common/promotion-rule-value.ts","../src/promotion/common/promotion-rule.ts","../src/promotion/common/promotion.ts","../src/region/common.ts","../src/region/index.ts","../src/region/mutations.ts","../src/region/service.ts","../src/sales-channel/common.ts","../src/sales-channel/index.ts","../src/sales-channel/mutations.ts","../src/sales-channel/service.ts","../src/search/index.ts","../src/search/interface.ts","../src/search/settings.ts","../src/stock-location/common.ts","../src/stock-location/index.ts","../src/stock-location/service.ts","../src/store/index.ts","../src/store/service.ts","../src/store/common/index.ts","../src/store/common/store.ts","../src/store/mutations/index.ts","../src/store/mutations/store.ts","../src/tax/common.ts","../src/tax/index.ts","../src/tax/mutations.ts","../src/tax/provider.ts","../src/tax/service.ts","../src/totals/big-number.ts","../src/totals/index.ts","../src/transaction-base/index.ts","../src/transaction-base/transaction-base.ts","../src/user/common.ts","../src/user/index.ts","../src/user/mutations.ts","../src/user/service.ts","../src/workflow/common.ts","../src/workflow/index.ts","../src/workflow/cart/create-cart.ts","../src/workflow/cart/index.ts","../src/workflow/fulfillment/calculate-shipping-options-prices.ts","../src/workflow/fulfillment/create-fulfillment.ts","../src/workflow/fulfillment/create-shipment.ts","../src/workflow/fulfillment/create-shipping-options.ts","../src/workflow/fulfillment/delete-shipping-options.ts","../src/workflow/fulfillment/index.ts","../src/workflow/fulfillment/service-zones.ts","../src/workflow/fulfillment/shipping-profiles.ts","../src/workflow/fulfillment/update-fulfillment.ts","../src/workflow/fulfillment/update-shipping-options.ts","../src/workflow/inventory/create-inventory-items.ts","../src/workflow/inventory/index.ts","../src/workflow/invite/accept-invite.ts","../src/workflow/invite/create-invite.ts","../src/workflow/invite/delete-invite.ts","../src/workflow/invite/index.ts","../src/workflow/invite/resend-invite.ts","../src/workflow/order/accept-transfer.ts","../src/workflow/order/begin-claim-order.ts","../src/workflow/order/begin-exchange-order.ts","../src/workflow/order/begin-order-edit.ts","../src/workflow/order/begin-return-order.ts","../src/workflow/order/cancel-claim.ts","../src/workflow/order/cancel-exchange.ts","../src/workflow/order/cancel-fulfillment.ts","../src/workflow/order/cancel-order.ts","../src/workflow/order/cancel-return.ts","../src/workflow/order/cancel-transfer.ts","../src/workflow/order/create-fulfillment.ts","../src/workflow/order/create-return-order.ts","../src/workflow/order/create-shipment.ts","../src/workflow/order/decline-transfer.ts","../src/workflow/order/index.ts","../src/workflow/order/items.ts","../src/workflow/order/receive-return.ts","../src/workflow/order/request-item-return.ts","../src/workflow/order/request-transfer.ts","../src/workflow/order/shipping-method.ts","../src/workflow/order/update-order.ts","../src/workflow/order/update-return.ts","../src/workflow/price-list/create-price-list.ts","../src/workflow/price-list/index.ts","../src/workflow/price-list/remove-price-list.ts","../src/workflow/pricing/index.ts","../src/workflow/product/create-product-variants.ts","../src/workflow/product/create-products.ts","../src/workflow/product/export-products.ts","../src/workflow/product/import-products.ts","../src/workflow/product/index.ts","../src/workflow/product/update-product-variants.ts","../src/workflow/product/update-products.ts","../src/workflow/product-category/index.ts","../src/workflow/region/create-regions.ts","../src/workflow/region/index.ts","../src/workflow/region/update-regions.ts","../src/workflow/reservation/create-reservations.ts","../src/workflow/reservation/index.ts","../src/workflow/reservation/update-reservations.ts","../src/workflow/store/index.ts","../src/workflow/user/create-user.ts","../src/workflow/user/delete-user.ts","../src/workflow/user/index.ts","../src/workflow/user/update-user.ts","../src/workflows/index.ts","../src/workflows/products/index.ts","../src/workflows/products/mutations.ts","../src/workflows/stock-locations/index.ts","../src/workflows/stock-locations/mutations.ts","../src/workflows-sdk/common.ts","../src/workflows-sdk/index.ts","../src/workflows-sdk/mutations.ts","../src/workflows-sdk/service.ts"],"version":"5.6.2"}
|
package/package.json
CHANGED
@@ -1,11 +0,0 @@
|
|
1
|
-
export interface RetrieveFeatureFlagDTO {
|
2
|
-
/**
|
3
|
-
* The feature flag name
|
4
|
-
*/
|
5
|
-
feature_flag: string;
|
6
|
-
/**
|
7
|
-
* The context of the feature flag, such as the actor or group. The format of the data depends on the provider.
|
8
|
-
*/
|
9
|
-
context?: Record<string, any>;
|
10
|
-
}
|
11
|
-
//# sourceMappingURL=mutations.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/feature-flag/mutations.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC9B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"mutations.js","sourceRoot":"","sources":["../../src/feature-flag/mutations.ts"],"names":[],"mappings":""}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { FeatureFlagDTO } from "./common";
|
2
|
-
import { RetrieveFeatureFlagDTO } from "./mutations";
|
3
|
-
export type ProviderRetrieveFeatureFlagDTO = RetrieveFeatureFlagDTO;
|
4
|
-
export type ProviderFeatureFlagDTO = FeatureFlagDTO;
|
5
|
-
export interface IFeatureFlagProvider {
|
6
|
-
/**
|
7
|
-
* This method is used to retrieve a feature flag from the feature flag provider
|
8
|
-
*
|
9
|
-
* @param {ProviderRetrieveFeatureFlagDTO} data - The data for the feature flag.
|
10
|
-
* @returns {Promise<ProviderFeatureFlagDTO>} Resolves with the feature flag information when the feature flag is retrieved successfully.
|
11
|
-
*
|
12
|
-
*/
|
13
|
-
retrieveFeatureFlag(data: ProviderRetrieveFeatureFlagDTO): Promise<ProviderFeatureFlagDTO>;
|
14
|
-
/**
|
15
|
-
* This method is used to shutdown the feature flag provider, and flush all data before shutting down.
|
16
|
-
*
|
17
|
-
* @returns {Promise<void>} Resolves when the provider is shutdown successfully.
|
18
|
-
*
|
19
|
-
*/
|
20
|
-
shutdown?(): Promise<void>;
|
21
|
-
}
|
22
|
-
//# sourceMappingURL=provider.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/feature-flag/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,MAAM,8BAA8B,GAAG,sBAAsB,CAAA;AAEnE,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAA;AAEnD,MAAM,WAAW,oBAAoB;IACnC;;;;;;OAMG;IACH,mBAAmB,CACjB,IAAI,EAAE,8BAA8B,GACnC,OAAO,CAAC,sBAAsB,CAAC,CAAA;IAElC;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;CAC3B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src/feature-flag/provider.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/feature-flag/providers/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA"}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./posthog"), exports);
|
18
|
-
__exportStar(require("./local"), exports);
|
19
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/feature-flag/providers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,0CAAuB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"local.d.ts","sourceRoot":"","sources":["../../../src/feature-flag/providers/local.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,8BAA8B;IAC7C,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CACrE"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"local.js","sourceRoot":"","sources":["../../../src/feature-flag/providers/local.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"posthog.d.ts","sourceRoot":"","sources":["../../../src/feature-flag/providers/posthog.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAA;IACxB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;CACpB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"posthog.js","sourceRoot":"","sources":["../../../src/feature-flag/providers/posthog.ts"],"names":[],"mappings":""}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { IModuleService } from "../modules-sdk";
|
2
|
-
import { FeatureFlagDTO } from "./common";
|
3
|
-
import { RetrieveFeatureFlagDTO } from "./mutations";
|
4
|
-
import { IFeatureFlagProvider } from "./provider";
|
5
|
-
export interface IFeatureFlagModuleService extends IModuleService {
|
6
|
-
/**
|
7
|
-
* Returns a reference to the analytics provider in use
|
8
|
-
*/
|
9
|
-
getProvider(): IFeatureFlagProvider;
|
10
|
-
/**
|
11
|
-
* This method retrieves a feature flag from the feature flag provider
|
12
|
-
*
|
13
|
-
* @param {RetrieveFeatureFlagDTO} data - The data for the feature flag.
|
14
|
-
* @returns {Promise<FeatureFlagDTO>} Resolves with the feature flag information when the feature flag is retrieved successfully.
|
15
|
-
*
|
16
|
-
*
|
17
|
-
* @example
|
18
|
-
* await featureFlagModuleService.retrieveFeatureFlag({
|
19
|
-
* feature_flag: "product_viewed",
|
20
|
-
* context: {
|
21
|
-
* actor_id: "123",
|
22
|
-
* }
|
23
|
-
* })
|
24
|
-
*/
|
25
|
-
retrieveFeatureFlag(data: RetrieveFeatureFlagDTO): Promise<FeatureFlagDTO>;
|
26
|
-
}
|
27
|
-
//# sourceMappingURL=service.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/feature-flag/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,WAAW,yBAA0B,SAAQ,cAAc;IAC/D;;OAEG;IACH,WAAW,IAAI,oBAAoB,CAAA;IAEnC;;;;;;;;;;;;;;OAcG;IACH,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,cAAc,CAAC,CAAA;CAC3E"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../src/feature-flag/service.ts"],"names":[],"mappings":""}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
export interface IFlagRouter {
|
2
|
-
isFeatureEnabled: (key: string) => boolean;
|
3
|
-
listFlags: () => FeatureFlagsResponse;
|
4
|
-
}
|
5
|
-
/**
|
6
|
-
* @schema FeatureFlagsResponse
|
7
|
-
* type: array
|
8
|
-
* items:
|
9
|
-
* type: object
|
10
|
-
* required:
|
11
|
-
* - key
|
12
|
-
* - value
|
13
|
-
* properties:
|
14
|
-
* key:
|
15
|
-
* description: The key of the feature flag.
|
16
|
-
* type: string
|
17
|
-
* value:
|
18
|
-
* description: The value of the feature flag.
|
19
|
-
* type: boolean
|
20
|
-
*/
|
21
|
-
export type FeatureFlagsResponse = {
|
22
|
-
key: string;
|
23
|
-
value: boolean | Record<string, boolean>;
|
24
|
-
}[];
|
25
|
-
export type FlagSettings = {
|
26
|
-
key: string;
|
27
|
-
description: string;
|
28
|
-
env_key: string;
|
29
|
-
default_val: boolean;
|
30
|
-
};
|
31
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/flags-loader/index.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAA;IAC1C,SAAS,EAAE,MAAM,oBAAoB,CAAA;CACtC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACzC,EAAE,CAAA;AAEH,MAAM,MAAM,YAAY,GAAG;IACzB,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,OAAO,CAAA;CACrB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/flags-loader/index.ts"],"names":[],"mappings":""}
|