@ivfuture/ecomm-types
Advanced tools
Comparing version 1.58.0 to 1.58.1
@@ -8,3 +8,2 @@ export * as CacheTypes from "./cache"; | ||
export * as LoggerTypes from "./logger"; | ||
export * as ModulesSdkTypes from "./modules-sdk"; | ||
export * as PricingTypes from "./pricing"; | ||
@@ -11,0 +10,0 @@ export * as ProductTypes from "./product"; |
@@ -26,3 +26,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.WorkflowTypes = exports.TransactionBaseTypes = exports.StockLocationTypes = exports.SearchTypes = exports.SalesChannelTypes = exports.ProductTypes = exports.PricingTypes = exports.ModulesSdkTypes = exports.LoggerTypes = exports.InventoryTypes = exports.FeatureFlagTypes = exports.EventBusTypes = exports.DAL = exports.CommonTypes = exports.CacheTypes = void 0; | ||
exports.WorkflowTypes = exports.TransactionBaseTypes = exports.StockLocationTypes = exports.SearchTypes = exports.SalesChannelTypes = exports.ProductTypes = exports.PricingTypes = exports.LoggerTypes = exports.InventoryTypes = exports.FeatureFlagTypes = exports.EventBusTypes = exports.DAL = exports.CommonTypes = exports.CacheTypes = void 0; | ||
exports.CacheTypes = __importStar(require("./cache")); | ||
@@ -35,3 +35,2 @@ exports.CommonTypes = __importStar(require("./common")); | ||
exports.LoggerTypes = __importStar(require("./logger")); | ||
exports.ModulesSdkTypes = __importStar(require("./modules-sdk")); | ||
exports.PricingTypes = __importStar(require("./pricing")); | ||
@@ -38,0 +37,0 @@ exports.ProductTypes = __importStar(require("./product")); |
import { RedisOptions } from "ioredis"; | ||
import { LoggerOptions } from "typeorm"; | ||
import { ExternalModuleDeclaration, InternalModuleDeclaration } from "../modules-sdk"; | ||
type SessionOptions = { | ||
@@ -45,2 +44,4 @@ name?: string; | ||
admin_cors?: string; | ||
store_base_url?: string; | ||
admin_base_url?: string; | ||
eric_url?: string; | ||
@@ -53,2 +54,5 @@ merchant_id?: string; | ||
excluded_cron_jobs?: string[]; | ||
user_token_ttl?: number; | ||
customer_deletion_period?: number; | ||
invite_token_ttl?: number; | ||
product_subscriptions?: { | ||
@@ -64,3 +68,2 @@ charge_date_offset_from_end_date: { | ||
featureFlags: Record<string, boolean | string>; | ||
modules?: Record<string, false | string | Partial<InternalModuleDeclaration | ExternalModuleDeclaration>>; | ||
plugins: ({ | ||
@@ -67,0 +70,0 @@ resolve: string; |
@@ -6,1 +6,2 @@ import { AwilixContainer } from "awilix"; | ||
}; | ||
export type Constructor<T> = new (...args: any[]) => T; |
@@ -22,2 +22,3 @@ /// <reference types="node" /> | ||
isPrivate?: boolean; | ||
url?: string; | ||
[x: string]: unknown; | ||
@@ -29,3 +30,4 @@ }; | ||
isPrivate?: boolean; | ||
storeId?: string | null | undefined; | ||
[x: string]: unknown; | ||
}; |
@@ -14,3 +14,2 @@ export * from "./address"; | ||
export * from "./logger"; | ||
export * from "./modules-sdk"; | ||
export * from "./pricing"; | ||
@@ -17,0 +16,0 @@ export * from "./product"; |
@@ -30,3 +30,2 @@ "use strict"; | ||
__exportStar(require("./logger"), exports); | ||
__exportStar(require("./modules-sdk"), exports); | ||
__exportStar(require("./pricing"), exports); | ||
@@ -33,0 +32,0 @@ __exportStar(require("./product"), exports); |
import { CreateInventoryItemInput, CreateInventoryLevelInput, CreateReservationItemInput, FilterableInventoryItemProps, FilterableInventoryLevelProps, FilterableReservationItemProps, InventoryItemDTO, InventoryLevelDTO, ReservationItemDTO, UpdateInventoryLevelInput, UpdateReservationItemInput } from "./common"; | ||
import { FindConfig } from "../common"; | ||
import { ModuleJoinerConfig } from "../modules-sdk"; | ||
import { SharedContext } from "../shared-context"; | ||
export interface IInventoryService { | ||
__joinerConfig(): ModuleJoinerConfig; | ||
listInventoryItems(selector: FilterableInventoryItemProps, config?: FindConfig<InventoryItemDTO>, context?: SharedContext): Promise<[InventoryItemDTO[], number]>; | ||
@@ -8,0 +6,0 @@ listReservationItems(selector: FilterableReservationItemProps, config?: FindConfig<ReservationItemDTO>, context?: SharedContext): Promise<[ReservationItemDTO[], number]>; |
import { FindConfig } from "../common"; | ||
import { RestoreReturn, SoftDeleteReturn } from "../dal"; | ||
import { ModuleJoinerConfig } from "../modules-sdk"; | ||
import { Context } from "../shared-context"; | ||
export interface ILinkModule { | ||
__joinerConfig(): ModuleJoinerConfig; | ||
list(filters?: Record<string, unknown>, config?: FindConfig<unknown>, sharedContext?: Context): Promise<unknown[]>; | ||
@@ -8,0 +6,0 @@ listAndCount(filters?: Record<string, unknown>, config?: FindConfig<unknown>, sharedContext?: Context): Promise<[unknown[], number]>; |
import { CreateStockLocationInput, FilterableStockLocationProps, StockLocationDTO, UpdateStockLocationInput } from "./common"; | ||
import { FindConfig } from "../common/common"; | ||
import { ModuleJoinerConfig } from "../modules-sdk"; | ||
import { SharedContext } from "../shared-context"; | ||
export interface IStockLocationService { | ||
__joinerConfig(): ModuleJoinerConfig; | ||
list(selector: FilterableStockLocationProps, config?: FindConfig<StockLocationDTO>, context?: SharedContext): Promise<StockLocationDTO[]>; | ||
@@ -8,0 +6,0 @@ listAndCount(selector: FilterableStockLocationProps, config?: FindConfig<StockLocationDTO>, context?: SharedContext): Promise<[StockLocationDTO[], number]>; |
{ | ||
"name": "@ivfuture/ecomm-types", | ||
"version": "1.58.0", | ||
"version": "1.58.1", | ||
"description": "Medusa Types definition", | ||
@@ -36,3 +36,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "0316a5b6db8ac9d784488999e6b3a804ae62858e" | ||
"gitHead": "51656d6161670cd5fc2d90974cc5f2cf41fd097b" | ||
} |
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
321936
200
8335