mirror of https://github.com/VERT-sh/VERT.git
17 lines
330 B
TypeScript
17 lines
330 B
TypeScript
class Files {
|
|
public files = $state<
|
|
{
|
|
file: File;
|
|
to: string;
|
|
blobUrl: string;
|
|
}[]
|
|
>([]);
|
|
public conversionTypes = $state<string[]>([]);
|
|
public beenToConverterPage = $state(false);
|
|
public shouldShowAlert = $derived(
|
|
!this.beenToConverterPage && this.files.length > 0,
|
|
);
|
|
}
|
|
|
|
export const files = new Files();
|