initial commit

This commit is contained in:
Christian Beutel
2024-01-27 20:39:12 +01:00
parent 7ab2f1c7e6
commit b302ccded0
85 changed files with 5991 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
import { pb } from "$lib/constants";
import type { FileOptions } from "pocketbase";
export function getFileURL(record: { [key: string]: any; }, filename: string, options?: FileOptions) {
return pb.files.getUrl(record, filename, options);
}