directus-monorepo ( Readme | API )
directus-monorepo > ExtensionsService
new ExtensionsService(
options
):ExtensionsService
Parameter | Type |
---|---|
options |
AbstractServiceOptions |
api/src/services/extensions.ts:31
accountability:
any
api/src/services/extensions.ts:24
extensionsItemService:
ItemsService
<ExtensionSettings
>
api/src/services/extensions.ts:26
extensionsManager:
ExtensionManager
api/src/services/extensions.ts:29
helpers:
object
date:
DateHelperMySQL
|DateHelperDefault
|DateHelperSQLite
|DateHelperOracle
|DateHelperMSSQL
schema:
SchemaHelperMySQL
|SchemaHelperDefault
|SchemaHelperCockroachDb
|SchemaHelperSQLite
|SchemaHelperOracle
|SchemaHelperMSSQL
sequence:
AutoIncrementHelperDefault
|AutoIncrementHelperPostgres
st:
GeometryHelperMySQL
|GeometryHelperPostgres
|GeometryHelperSQLite
|GeometryHelperOracle
|GeometryHelperMSSQL
|GeometryHelperRedshift
api/src/services/extensions.ts:28
knex:
Knex
<any
,any
[] >
api/src/services/extensions.ts:21
permissionsService:
PermissionsService
api/src/services/extensions.ts:22
schema:
SchemaOverview
api/src/services/extensions.ts:25
schemaInspector:
SchemaInspector
api/src/services/extensions.ts:23
systemCache:
Keyv
<any
,Record
<string
,unknown
> >
api/src/services/extensions.ts:27
private
getKey(bundle
,name
):string
Parameter | Type |
---|---|
bundle |
null | string |
name |
string |
string
api/src/services/extensions.ts:103
readAll():
Promise
<ApiOutput
[] >
Promise
< ApiOutput
[] >
api/src/services/extensions.ts:49
readOne(
bundle
,name
):Promise
<any
>
Parameter | Type |
---|---|
bundle |
null | string |
name |
string |
Promise
< any
>
api/src/services/extensions.ts:60
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
Parameter | Type |
---|---|
installed |
Extension [] |
configured |
ExtensionSettings [] |
ApiOutput
[]
api/src/services/extensions.ts:111
updateOne(
bundle
,name
,data
):Promise
<void
>
Parameter | Type |
---|---|
bundle |
null | string |
name |
string |
data |
DeepPartial < ApiOutput > |
Promise
< void
>
api/src/services/extensions.ts:77
Generated using TypeDoc and typedoc-plugin-markdown