Skip to content

Latest commit

 

History

History
85 lines (47 loc) · 1.93 KB

class.AssetsService.md

File metadata and controls

85 lines (47 loc) · 1.93 KB

directus-monorepo ( Readme | API )


directus-monorepo > AssetsService

Class: AssetsService

Constructors

constructor()

new AssetsService(options): AssetsService

Parameters

Parameter Type
options AbstractServiceOptions

Returns

AssetsService

Source

api/src/services/assets.ts:32

Properties

accountability

accountability: any

Source

api/src/services/assets.ts:29


authorizationService

authorizationService: AuthorizationService

Source

api/src/services/assets.ts:30


knex

knex: Knex< any, any[] >

Source

api/src/services/assets.ts:28

Methods

getAsset()

getAsset( id, transformation?, range?): Promise< {file: any; stat: Stat; stream: Readable;} >

Parameters

Parameter Type
id string
transformation? TransformationSet
range? any

Returns

Promise< {file: any; stat: Stat; stream: Readable;} >

Source

api/src/services/assets.ts:38


Generated using TypeDoc and typedoc-plugin-markdown