Open jrgriffiniii opened 4 years ago
Assigning to @randalldfloyd
Please see a screenshot of the file entries in the current UI:
As modeled within the BrowseEverything API, the properties for this should resemble something along the following:
@Prop() uuid!: string;
@Prop() location!: string;
@Prop() container: Container;
@Prop() name!: string;
@Prop() size: number;
@Prop() mtime: number;
@Prop() mediaType: string
I would have preferred to use @Prop() id!: string;
, but I'm afraid that Stencil does not permit id
to be used.
This should model file resources in BrowseEverything which can be selected within the Upload form. I suspect that they should contain some file metadata and wrap the behavior of https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox (as they are going to be selected by users during the Upload submission process).