Skip to content

Latest commit

 

History

History
244 lines (139 loc) · 5.38 KB

class.ExtensionsService.md

File metadata and controls

244 lines (139 loc) · 5.38 KB

directus-monorepo ( Readme | API )


directus-monorepo > ExtensionsService

Class: ExtensionsService

Constructors

constructor()

new ExtensionsService(options): ExtensionsService

Parameters

Parameter Type
options AbstractServiceOptions

Returns

ExtensionsService

Source

api/src/services/extensions.ts:31

Properties

accountability

accountability: any

Source

api/src/services/extensions.ts:24


extensionsItemService

extensionsItemService: ItemsService< ExtensionSettings >

Source

api/src/services/extensions.ts:26


extensionsManager

extensionsManager: ExtensionManager

Source

api/src/services/extensions.ts:29


helpers

helpers: object

Type declaration

helpers.date

date: DateHelperMySQL | DateHelperDefault | DateHelperSQLite | DateHelperOracle | DateHelperMSSQL

helpers.schema

schema: SchemaHelperMySQL | SchemaHelperDefault | SchemaHelperCockroachDb | SchemaHelperSQLite | SchemaHelperOracle | SchemaHelperMSSQL

helpers.sequence

sequence: AutoIncrementHelperDefault | AutoIncrementHelperPostgres

helpers.st

st: GeometryHelperMySQL | GeometryHelperPostgres | GeometryHelperSQLite | GeometryHelperOracle | GeometryHelperMSSQL | GeometryHelperRedshift

Source

api/src/services/extensions.ts:28


knex

knex: Knex< any, any[] >

Source

api/src/services/extensions.ts:21


permissionsService

permissionsService: PermissionsService

Source

api/src/services/extensions.ts:22


schema

schema: SchemaOverview

Source

api/src/services/extensions.ts:25


schemaInspector

schemaInspector: SchemaInspector

Source

api/src/services/extensions.ts:23


systemCache

systemCache: Keyv< any, Record< string, unknown > >

Source

api/src/services/extensions.ts:27

Methods

getKey()

private getKey(bundle, name): string

Parameters

Parameter Type
bundle null | string
name string

Returns

string

Source

api/src/services/extensions.ts:103


readAll()

readAll(): Promise< ApiOutput[] >

Returns

Promise< ApiOutput[] >

Source

api/src/services/extensions.ts:49


readOne()

readOne(bundle, name): Promise< any >

Parameters

Parameter Type
bundle null | string
name string

Returns

Promise< any >

Source

api/src/services/extensions.ts:60


stitch()

private stitch(installed, configured): ApiOutput[]

Combine the settings stored in the database with the information available from the installed extensions into the standardized extensions api output

Parameters

Parameter Type
installed Extension[]
configured ExtensionSettings[]

Returns

ApiOutput[]

Source

api/src/services/extensions.ts:111


updateOne()

updateOne( bundle, name, data): Promise< void >

Parameters

Parameter Type
bundle null | string
name string
data DeepPartial< ApiOutput >

Returns

Promise< void >

Source

api/src/services/extensions.ts:77


Generated using TypeDoc and typedoc-plugin-markdown