Skip to content

feat(uploadFile): allow for upload meta to be written to a single firestore doc instead of just collections #665

Open
@wildfrontend

Description

@wildfrontend

when i upload file
like

firebase.uploadFiles('images/avatar',files,'images/avatar')

it will produce new uuid and my database are ugly

firebase structure like

images:{
     avatar:{
          GzTbSpMI7fL1m4ae9IFY:{ 
              fullPath:"/doc/image"
              downURL:"https://www.google.com/picture"
          }
     }
}

but i want a single file structure

like

images:{
     avatar:{
              fullPath:"/doc/image"
              downURL:"https://www.google.com/picture"
          }
     }
}

could I ?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions