directus-monorepo ( Readme | API )
directus-monorepo > ImportService
new ImportService(
options
):ImportService
Parameter | Type |
---|---|
options |
AbstractServiceOptions |
api/src/services/import-export/index.ts:40
accountability:
any
api/src/services/import-export/index.ts:37
knex:
Knex
<any
,any
[] >
api/src/services/import-export/index.ts:36
schema:
SchemaOverview
api/src/services/import-export/index.ts:38
import(
collection
,mimetype
,stream
):Promise
<void
>
Parameter | Type |
---|---|
collection |
string |
mimetype |
string |
stream |
Readable |
Promise
< void
>
api/src/services/import-export/index.ts:46
importCSV(
collection
,stream
):Promise
<void
>
Parameter | Type |
---|---|
collection |
string |
stream |
Readable |
Promise
< void
>
api/src/services/import-export/index.ts:118
importJSON(
collection
,stream
):Promise
<void
>
Parameter | Type |
---|---|
collection |
string |
stream |
Readable |
Promise
< void
>
api/src/services/import-export/index.ts:72
Generated using TypeDoc and typedoc-plugin-markdown