load resources from starter kit and introduce srcDir configuration
This commit is contained in:
@@ -862,6 +862,10 @@ export type ConfigModule = {
|
||||
* :::
|
||||
*/
|
||||
featureFlags: Record<string, boolean | string>
|
||||
|
||||
directories?: {
|
||||
srcDir?: string
|
||||
}
|
||||
}
|
||||
|
||||
export type PluginDetails = {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { FindConfig } from "../common"
|
||||
import { RestoreReturn, SoftDeleteReturn } from "../dal"
|
||||
import { IModuleService } from "../modules-sdk"
|
||||
import { Context } from "../shared-context"
|
||||
import { FilterableCurrencyProps, CurrencyDTO } from "./common"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Dictionary, FilterQuery, OperatorMap, Order } from "./utils"
|
||||
import { Dictionary, FilterQuery, Order } from "./utils"
|
||||
|
||||
export { FilterQuery, OperatorMap } from "./utils"
|
||||
|
||||
|
||||
@@ -33,8 +33,6 @@ interface BaseRepositoryService<T = any> {
|
||||
): Promise<TOutput>
|
||||
}
|
||||
|
||||
type DtoBasedMutationMethods = "create" | "update"
|
||||
|
||||
export interface RepositoryService<T = any> extends BaseRepositoryService<T> {
|
||||
find(options?: FindOptions<T>, context?: Context): Promise<T[]>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { BaseFilterable, OperatorMap } from "../../dal"
|
||||
import { BaseFilterable } from "../../dal"
|
||||
import { BaseProduct } from "../product/common"
|
||||
|
||||
export interface BaseProductCollection {
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
import { BaseFilterable, OperatorMap } from "../dal"
|
||||
|
||||
import { StringComparisonOperator } from "../common/common"
|
||||
import { FulfillmentSetDTO } from "../fulfillment"
|
||||
|
||||
/**
|
||||
|
||||
@@ -3,7 +3,6 @@ import {
|
||||
FilterableStockLocationProps,
|
||||
StockLocationDTO,
|
||||
UpdateStockLocationInput,
|
||||
UpdateStockLocationNextInput,
|
||||
UpsertStockLocationInput,
|
||||
} from "./common"
|
||||
import { RestoreReturn, SoftDeleteReturn } from "../dal"
|
||||
|
||||
Reference in New Issue
Block a user