chore: split url and file importer steps

This commit is contained in:
liyasthomas
2022-01-11 16:04:42 +05:30
parent f6fc3782b5
commit 04d73a855d
11 changed files with 139 additions and 99 deletions

View File

@@ -3,16 +3,22 @@
* Add an entry here when you define a step
*/
export type StepDefinition = {
FILE_OR_URL_IMPORT: {
FILE_IMPORT: {
returnType: string
metadata: {
acceptedFileTypes: string
}
} // String content of the file/url
} // String content of the file
TARGET_MY_COLLECTION: {
returnType: number
metadata: never
} // folderPath
URL_IMPORT: {
returnType: string
metadata: {
placeholder: string
}
} // String content of the url
}
/**