Skip to main content
Skip to main content

IStockLocationService

Methods

__joinerConfig

**__joinerConfig**(): [ModuleJoinerConfig](/references/services/types/ModuleJoinerConfig)

Returns

ModuleJoinerConfig

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

create

**create**(input, context?): Promise&#60;[StockLocationDTO](/references/services/types/StockLocationDTO)&#62;

Parameters

Returns

Promise<StockLocationDTO>

PromisePromise<StockLocationDTO>Required

delete

**delete**(id, context?): Promise&#60;void&#62;

Parameters

idstringRequired

Returns

Promise<void>

PromisePromise<void>Required

list

**list**(selector, config?, context?): Promise&#60;[StockLocationDTO](/references/services/types/StockLocationDTO)[]&#62;

Parameters

Returns

Promise<StockLocationDTO[]>

PromisePromise<StockLocationDTO[]>Required

listAndCount

**listAndCount**(selector, config?, context?): Promise&#60;[[StockLocationDTO](/references/services/types/StockLocationDTO)[], number]&#62;

Parameters

Returns

Promise<[StockLocationDTO[], number]>

PromisePromise<[StockLocationDTO[], number]>Required

retrieve

**retrieve**(id, config?, context?): Promise&#60;[StockLocationDTO](/references/services/types/StockLocationDTO)&#62;

Parameters

idstringRequired

Returns

Promise<StockLocationDTO>

PromisePromise<StockLocationDTO>Required

update

**update**(id, input, context?): Promise&#60;[StockLocationDTO](/references/services/types/StockLocationDTO)&#62;

Parameters

idstringRequired

Returns

Promise<StockLocationDTO>

PromisePromise<StockLocationDTO>Required
Was this section helpful?