Skip to main content
Skip to main content

IStockLocationService

Methods

__joinerConfig

Returns

ModuleJoinerConfigOmit<JoinerServiceConfig, "serviceName" | "primaryKeys" | "relationships" | "extends"> & { databaseConfig?: { extraFields?: Record<string, { defaultValue?: string ; nullable?: boolean ; options?: Record<string, unknown> ; type: "date" | "time" | "datetime" | "bigint" | "blob" | "uint8array" | "array" | "enumArray" | "enum" | "json" | "integer" | "smallint" | "tinyint" | "mediumint" | "float" | "double" | "boolean" | "decimal" | "string" | "uuid" | "text" }> ; idPrefix?: string ; tableName?: string } ; extends?: { fieldAlias?: Record<string, string | { forwardArgumentsOnPath: string[] ; path: string }> ; relationship: ModuleJoinerRelationship ; serviceName: string }[] ; isLink?: boolean ; isReadOnlyLink?: boolean ; linkableKeys?: Record<string, string> ; primaryKeys?: string[] ; relationships?: ModuleJoinerRelationship[] ; schema?: string ; serviceName?: string }Required

create

Parameters

Returns

PromisePromise<StockLocationDTO>Required

delete

Parameters

idstringRequired

Returns

PromisePromise<void>Required

list

Parameters

Returns

PromisePromise<StockLocationDTO[]>Required

listAndCount

Parameters

Returns

PromisePromise<[StockLocationDTO[], number]>Required

retrieve

Parameters

idstringRequired

Returns

PromisePromise<StockLocationDTO>Required

update

Parameters

idstringRequired

Returns

PromisePromise<StockLocationDTO>Required
Was this section helpful?