Function createFile

  • A fsaFile factory function used to create each file as it is added to the database.

    Returns

    Promise that resolves to 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>

Generated using TypeDoc