directus-monorepo ( Readme | API )
directus-monorepo > SchemaService
new SchemaService(
options
):SchemaService
Parameter | Type |
---|---|
options |
Omit < AbstractServiceOptions , "schema" > |
accountability:
any
knex:
Knex
<any
,any
[] >
apply(
payload
):Promise
<void
>
Parameter | Type |
---|---|
payload |
SnapshotDiffWithHash |
Promise
< void
>
diff(
snapshot
,options
?):Promise
<null
|SnapshotDiff
>
Parameter | Type |
---|---|
snapshot |
Snapshot |
options ? |
object |
options.currentSnapshot ? |
Snapshot |
options.force ? |
boolean |
Promise
< null
| SnapshotDiff
>
getHashedSnapshot(
snapshot
):SnapshotWithHash
Parameter | Type |
---|---|
snapshot |
Snapshot |
SnapshotWithHash
snapshot():
Promise
<Snapshot
>
Promise
< Snapshot
>
Generated using TypeDoc and typedoc-plugin-markdown