@medusajs/types
Advanced tools
Comparing version 1.11.9 to 1.11.10-snapshot-20231221111816
@@ -16,1 +16,2 @@ export type AddressDTO = { | ||
}; | ||
//# sourceMappingURL=common.d.ts.map |
export * from "./common"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,1 +1,2 @@ | ||
export * as AuthenticationTypes from "./authentication"; | ||
export * as CacheTypes from "./cache"; | ||
@@ -12,2 +13,3 @@ export * as CommonTypes from "./common"; | ||
export * as ProductTypes from "./product"; | ||
export * as PromotionTypes from "./promotion"; | ||
export * as RegionTypes from "./region"; | ||
@@ -19,1 +21,2 @@ export * as SalesChannelTypes from "./sales-channel"; | ||
export * as WorkflowTypes from "./workflow"; | ||
//# sourceMappingURL=bundles.d.ts.map |
@@ -26,3 +26,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.WorkflowTypes = exports.TransactionBaseTypes = exports.StockLocationTypes = exports.SearchTypes = exports.SalesChannelTypes = exports.RegionTypes = exports.ProductTypes = exports.PricingTypes = exports.ModulesSdkTypes = exports.LoggerTypes = exports.InventoryTypes = exports.FeatureFlagTypes = exports.EventBusTypes = exports.DAL = exports.CustomerTypes = exports.CommonTypes = exports.CacheTypes = void 0; | ||
exports.WorkflowTypes = exports.TransactionBaseTypes = exports.StockLocationTypes = exports.SearchTypes = exports.SalesChannelTypes = exports.RegionTypes = exports.PromotionTypes = exports.ProductTypes = exports.PricingTypes = exports.ModulesSdkTypes = exports.LoggerTypes = exports.InventoryTypes = exports.FeatureFlagTypes = exports.EventBusTypes = exports.DAL = exports.CustomerTypes = exports.CommonTypes = exports.CacheTypes = exports.AuthenticationTypes = void 0; | ||
exports.AuthenticationTypes = __importStar(require("./authentication")); | ||
exports.CacheTypes = __importStar(require("./cache")); | ||
@@ -39,2 +40,3 @@ exports.CommonTypes = __importStar(require("./common")); | ||
exports.ProductTypes = __importStar(require("./product")); | ||
exports.PromotionTypes = __importStar(require("./promotion")); | ||
exports.RegionTypes = __importStar(require("./region")); | ||
@@ -41,0 +43,0 @@ exports.SalesChannelTypes = __importStar(require("./sales-channel")); |
export * from "./service"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,1 +6,2 @@ export interface ICacheService { | ||
} | ||
//# sourceMappingURL=service.d.ts.map |
@@ -28,1 +28,2 @@ export type CartDTO = { | ||
}; | ||
//# sourceMappingURL=common.d.ts.map |
export * from "./common"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -183,1 +183,2 @@ import { FindManyOptions, FindOneOptions, FindOperator, FindOptionsSelect, FindOptionsWhere, OrderByCondition } from "typeorm"; | ||
} | ||
//# sourceMappingURL=common.d.ts.map |
@@ -49,1 +49,2 @@ import { RedisOptions } from "ioredis"; | ||
export {}; | ||
//# sourceMappingURL=config-module.d.ts.map |
export * from "./common"; | ||
export * from "./config-module"; | ||
export * from "./medusa-container"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -9,1 +9,2 @@ import { AwilixContainer } from "awilix"; | ||
}; | ||
//# sourceMappingURL=medusa-container.d.ts.map |
@@ -24,1 +24,2 @@ import { AddressDTO } from "../address"; | ||
} | ||
//# sourceMappingURL=common.d.ts.map |
export * from "./common"; | ||
//# sourceMappingURL=index.d.ts.map |
export type EntityDateColumns = "created_at" | "updated_at"; | ||
export type SoftDeletableEntityDateColumns = "deleted_at" | EntityDateColumns; | ||
//# sourceMappingURL=entity.d.ts.map |
@@ -33,1 +33,2 @@ import { Dictionary, FilterQuery, Order } from "./utils"; | ||
export * from "./entity"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -65,1 +65,2 @@ import { RepositoryTransformOptions } from "../common"; | ||
export {}; | ||
//# sourceMappingURL=repository-service.d.ts.map |
@@ -54,1 +54,2 @@ /// <reference types="node" /> | ||
export {}; | ||
//# sourceMappingURL=utils.d.ts.map |
@@ -15,1 +15,2 @@ export type Subscriber<T = unknown> = (data: T, eventName: string) => Promise<void>; | ||
}; | ||
//# sourceMappingURL=common.d.ts.map |
@@ -8,1 +8,2 @@ import { EmitData, Subscriber, SubscriberContext } from "./common"; | ||
} | ||
//# sourceMappingURL=event-bus-module.d.ts.map |
@@ -8,1 +8,2 @@ import { Subscriber, SubscriberContext } from "."; | ||
} | ||
//# sourceMappingURL=event-bus.d.ts.map |
export * from "./common"; | ||
export * from "./event-bus"; | ||
export * from "./event-bus-module"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -31,1 +31,2 @@ export interface IFlagRouter { | ||
}; | ||
//# sourceMappingURL=common.d.ts.map |
export * from "./common"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -29,1 +29,2 @@ /// <reference types="node" /> | ||
}; | ||
//# sourceMappingURL=index.d.ts.map |
export * from "./address"; | ||
export * from "./authentication"; | ||
export * from "./bundles"; | ||
@@ -19,2 +20,3 @@ export * from "./cache"; | ||
export * from "./product-category"; | ||
export * from "./promotion"; | ||
export * from "./region"; | ||
@@ -27,1 +29,2 @@ export * from "./sales-channel"; | ||
export * from "./workflow"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -18,2 +18,3 @@ "use strict"; | ||
__exportStar(require("./address"), exports); | ||
__exportStar(require("./authentication"), exports); | ||
__exportStar(require("./bundles"), exports); | ||
@@ -36,2 +37,3 @@ __exportStar(require("./cache"), exports); | ||
__exportStar(require("./product-category"), exports); | ||
__exportStar(require("./promotion"), exports); | ||
__exportStar(require("./region"), exports); | ||
@@ -38,0 +40,0 @@ __exportStar(require("./sales-channel"), exports); |
@@ -489,1 +489,2 @@ import { NumericalComparisonOperator, StringComparisonOperator } from "../common"; | ||
}; | ||
//# sourceMappingURL=common.d.ts.map |
export * from "./common"; | ||
export * from "./service"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -908,1 +908,2 @@ import { BulkUpdateInventoryLevelInput, CreateInventoryItemInput, CreateInventoryLevelInput, CreateReservationItemInput, FilterableInventoryItemProps, FilterableInventoryLevelProps, FilterableReservationItemProps, InventoryItemDTO, InventoryLevelDTO, ReservationItemDTO, UpdateInventoryLevelInput, UpdateReservationItemInput } from "./common"; | ||
} | ||
//# sourceMappingURL=service.d.ts.map |
@@ -96,1 +96,2 @@ export type JoinerRelationship = { | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -15,1 +15,2 @@ import { FindConfig } from "../common"; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -16,1 +16,2 @@ export interface Logger { | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
import { JoinerRelationship, JoinerServiceConfig, RemoteJoinerQuery } from "../joiner"; | ||
import { Logger } from "../logger"; | ||
import { MedusaContainer } from "../common"; | ||
import { RepositoryService } from "../dal"; | ||
import { Logger } from "../logger"; | ||
export type Constructor<T> = new (...args: any[]) => T; | ||
@@ -194,2 +194,10 @@ export * from "../common/medusa-container"; | ||
}; | ||
export type ModuleBootstrapDeclaration = InternalModuleDeclaration | ExternalModuleDeclaration; | ||
export type RemoteQueryFunction = (query: string | RemoteJoinerQuery | object, variables?: Record<string, unknown>) => Promise<any> | null; | ||
export interface IModuleService { | ||
__joinerConfig?(): ModuleJoinerConfig; | ||
__hooks?: { | ||
onApplicationStart?: () => Promise<void>; | ||
}; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -82,1 +82,2 @@ import { BaseFilterable } from "../../dal"; | ||
} | ||
//# sourceMappingURL=currency.d.ts.map |
@@ -10,1 +10,2 @@ export * from "./currency"; | ||
export * from "./price-list"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -114,1 +114,2 @@ import { BaseFilterable } from "../../dal"; | ||
} | ||
//# sourceMappingURL=money-amount.d.ts.map |
@@ -149,7 +149,7 @@ import { CreateMoneyAmountDTO, MoneyAmountDTO } from "./money-amount"; | ||
*/ | ||
starts_at?: string; | ||
starts_at?: Date | string | null; | ||
/** | ||
* The price list expires after this date. | ||
*/ | ||
ends_at?: string; | ||
ends_at?: Date | string | null; | ||
/** | ||
@@ -191,9 +191,13 @@ * The price list's status. | ||
/** | ||
* The price list's description. | ||
*/ | ||
description?: string; | ||
/** | ||
* The price list is enabled starting from this date. | ||
*/ | ||
starts_at?: string | null; | ||
starts_at?: Date | string | null; | ||
/** | ||
* The price list expires after this date. | ||
*/ | ||
ends_at?: string | null; | ||
ends_at?: Date | string | null; | ||
/** | ||
@@ -430,1 +434,2 @@ * The price list's status. | ||
} | ||
//# sourceMappingURL=price-list.d.ts.map |
@@ -140,1 +140,2 @@ import { BaseFilterable } from "../../dal"; | ||
} | ||
//# sourceMappingURL=price-rule.d.ts.map |
@@ -96,1 +96,2 @@ import { BaseFilterable } from "../../dal"; | ||
} | ||
//# sourceMappingURL=price-set-money-amount-rules.d.ts.map |
@@ -81,1 +81,2 @@ import { BaseFilterable } from "../../dal"; | ||
} | ||
//# sourceMappingURL=price-set-money-amount.d.ts.map |
@@ -24,1 +24,2 @@ import { BaseFilterable } from "../../dal"; | ||
} | ||
//# sourceMappingURL=price-set-rule-type.d.ts.map |
import { BaseFilterable } from "../../dal"; | ||
import { CreatePriceSetPriceRules } from "./price-list"; | ||
import { CreateMoneyAmountDTO, FilterableMoneyAmountProps, MoneyAmountDTO } from "./money-amount"; | ||
import { RuleTypeDTO } from "./rule-type"; | ||
import { CreatePriceSetPriceRules } from "./price-list"; | ||
import { Context } from "../../shared-context"; | ||
export interface PricingRepositoryService { | ||
calculatePrices(pricingFilters: PricingFilters, pricingContext: PricingContext, context: Context): Promise<CalculatedPriceSetDTO[]>; | ||
} | ||
/** | ||
@@ -280,1 +284,2 @@ * @interface | ||
} | ||
//# sourceMappingURL=price-set.d.ts.map |
@@ -94,1 +94,2 @@ import { BaseFilterable } from "../../dal"; | ||
} | ||
//# sourceMappingURL=rule-type.d.ts.map |
export * from "./common"; | ||
export * from "./service"; | ||
//# sourceMappingURL=index.d.ts.map |
export * from "./repository"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -5,1 +5,2 @@ import { RepositoryTransformOptions } from '../common'; | ||
} | ||
//# sourceMappingURL=repository.d.ts.map |
@@ -1434,1 +1434,2 @@ import { BaseFilterable } from "../dal"; | ||
} | ||
//# sourceMappingURL=common.d.ts.map |
export * from "./common"; | ||
export * from "./service"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -12,1 +12,2 @@ export type RegionDTO = { | ||
}; | ||
//# sourceMappingURL=common.d.ts.map |
export * from "./common"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -13,1 +13,2 @@ export interface SalesChannelLocationDTO { | ||
} | ||
//# sourceMappingURL=common.d.ts.map |
export * from "./common"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,1 +17,2 @@ export * from "./interface"; | ||
}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -63,1 +63,2 @@ export interface ISearchService { | ||
} | ||
//# sourceMappingURL=interface.d.ts.map |
@@ -15,1 +15,2 @@ export type IndexSettings = { | ||
}; | ||
//# sourceMappingURL=settings.d.ts.map |
@@ -44,1 +44,2 @@ import { EntityManager } from "typeorm"; | ||
}; | ||
//# sourceMappingURL=shared-context.d.ts.map |
@@ -275,1 +275,2 @@ import { StringComparisonOperator } from "../common/common"; | ||
}; | ||
//# sourceMappingURL=common.d.ts.map |
export * from "./common"; | ||
export * from "./service"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -267,1 +267,2 @@ import { CreateStockLocationInput, FilterableStockLocationProps, StockLocationDTO, UpdateStockLocationInput } from "./common"; | ||
} | ||
//# sourceMappingURL=service.d.ts.map |
@@ -12,1 +12,2 @@ import { CreateStockLocationInput, FilterableStockLocationProps, StockLocationDTO, UpdateStockLocationInput } from "./common"; | ||
} | ||
//# sourceMappingURL=stock-location.d.ts.map |
export * from "./transaction-base"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -5,1 +5,2 @@ import { EntityManager } from "typeorm"; | ||
} | ||
//# sourceMappingURL=transaction-base.d.ts.map |
@@ -19,1 +19,2 @@ import { AddressDTO } from "../../address"; | ||
} | ||
//# sourceMappingURL=create-cart.d.ts.map |
export * from "./create-cart"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -11,1 +11,2 @@ export interface WorkflowInputConfig { | ||
} | ||
//# sourceMappingURL=common.d.ts.map |
@@ -6,1 +6,2 @@ export * as CartWorkflow from "./cart"; | ||
export * as PriceListWorkflow from "./price-list"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -19,1 +19,2 @@ export interface CreateInventoryItemInputDTO { | ||
} | ||
//# sourceMappingURL=create-inventory-items.d.ts.map |
export * from "./create-inventory-items"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -51,4 +51,4 @@ import { CreatePriceListRules, PriceListRuleDTO, PriceListStatus } from "../../pricing"; | ||
type?: string; | ||
starts_at?: string; | ||
ends_at?: string; | ||
starts_at?: Date; | ||
ends_at?: Date; | ||
status?: PriceListStatus; | ||
@@ -68,1 +68,2 @@ rules_count?: number; | ||
export {}; | ||
//# sourceMappingURL=create-price-list.d.ts.map |
export * from "./create-price-list"; | ||
export * from "./update-price-list"; | ||
export * from "./remove-price-list"; | ||
//# sourceMappingURL=index.d.ts.map |
export interface RemovePriceListWorkflowInputDTO { | ||
price_lists: string[]; | ||
} | ||
//# sourceMappingURL=remove-price-list.d.ts.map |
@@ -10,4 +10,4 @@ import { CreatePriceListRules, PriceListStatus } from "../../pricing"; | ||
name?: string; | ||
starts_at?: string; | ||
ends_at?: string; | ||
starts_at?: Date; | ||
ends_at?: Date; | ||
status?: PriceListStatus; | ||
@@ -23,1 +23,2 @@ rules?: CreatePriceListRules; | ||
} | ||
//# sourceMappingURL=update-price-list.d.ts.map |
@@ -27,1 +27,2 @@ import { UpsertProductVariantOptionInputDTO, UpsertProductVariantPricesInputDTO } from "./update-product-variants"; | ||
} | ||
//# sourceMappingURL=create-product-variants.d.ts.map |
@@ -83,1 +83,2 @@ import { ProductStatus } from "../../product"; | ||
} | ||
//# sourceMappingURL=create-products.d.ts.map |
@@ -5,1 +5,2 @@ export * from "./create-product-variants"; | ||
export * from "./update-products"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -38,1 +38,2 @@ export interface UpsertProductVariantPricesInputDTO { | ||
} | ||
//# sourceMappingURL=update-product-variants.d.ts.map |
@@ -79,1 +79,2 @@ import { ProductStatus } from "../../product"; | ||
} | ||
//# sourceMappingURL=update-products.d.ts.map |
{ | ||
"name": "@medusajs/types", | ||
"version": "1.11.9", | ||
"version": "1.11.10-snapshot-20231221111816", | ||
"description": "Medusa Types definition", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
579130
341
12774
2