S3 Object Storage
This commit is contained in:
@@ -157,7 +157,7 @@ export function getAusweisartFromUUID(uid: string): Enums.Ausweisart | null {
|
||||
}
|
||||
|
||||
export type UnterlageClient = Omit<Unterlage, "id" | "aufnahme_id">
|
||||
export type BildClient = Omit<Bild, "id" | "aufnahme_id">
|
||||
export type BildClient = Omit<Bild, "id" | "aufnahme_id" | "name">
|
||||
|
||||
export type ObjektKomplettClient = ObjektClient & {
|
||||
aufnahmen: AufnahmeKomplettClient[]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import HelpLabel from "#components/labels/HelpLabel.svelte";
|
||||
import type { Enums } from "#lib/client/prisma";
|
||||
import type { Enums } from "#lib/client/prisma.js";
|
||||
|
||||
export let max: number = 2;
|
||||
export let min: number = 1;
|
||||
@@ -82,7 +82,8 @@
|
||||
|
||||
const { uid } = await api.bild.PUT.fetch({
|
||||
data: dataURL,
|
||||
kategorie
|
||||
kategorie,
|
||||
name: file.name
|
||||
})
|
||||
|
||||
images.push({ uid, kategorie });
|
||||
|
||||
Reference in New Issue
Block a user