- Preparing search index...
- The search index is not available
browser-fsa
- createFile(handle: FileSystemFileHandle, parentId: string, rootId: string, path: string, type: string, name?: string, creator?: string, printed?: boolean, tags: string[], description?: string, imageUrl?: string, userCollectionIds?: string[]): Promise<fsaFile>
-
Parameters
-
handle: FileSystemFileHandle
-
parentId: string
-
rootId: string
-
path: string
-
type: string
-
name: string = handle.name
-
creator: string = 'UserId'
-
printed: boolean = false
-
tags: string[]
-
description: string = ''
-
imageUrl: string = ''
-
userCollectionIds: string[] = []
Returns Promise<fsaFile>
A fsaFile factory function used to create each file as it is added to the database.
Returns
Promise that resolves to fsaFile