chore: ⬆️ Upgrade to new @versia/client

This commit is contained in:
Jesse Wierzbinski 2025-05-26 11:19:15 +02:00
parent 0a157d06f6
commit f807b05784
No known key found for this signature in database
71 changed files with 451 additions and 492 deletions

View file

@ -5,10 +5,11 @@
</template>
<script lang="ts" setup>
import type { Attachment } from "@versia/client/types";
import type { Attachment } from "@versia/client/schemas";
import type { z } from "zod";
import Base from "./base.vue";
const { attachment } = defineProps<{
attachment: Attachment;
attachment: z.infer<typeof Attachment>;
}>();
</script>

View file

@ -48,8 +48,9 @@
</template>
<script lang="ts" setup>
import type { Attachment } from "@versia/client/types";
import type { Attachment } from "@versia/client/schemas";
import { Captions, Download, File, X } from "lucide-vue-next";
import type { z } from "zod";
import { Button } from "~/components/ui/button";
import { Card } from "~/components/ui/card";
import {
@ -67,7 +68,7 @@ import {
} from "~/components/ui/popover";
const { attachment, lightbox = false } = defineProps<{
attachment: Attachment;
attachment: z.infer<typeof Attachment>;
lightbox?: boolean;
}>();
</script>

View file

@ -8,11 +8,12 @@
</template>
<script lang="ts" setup>
import type { Attachment } from "@versia/client/types";
import type { Attachment } from "@versia/client/schemas";
import { File } from "lucide-vue-next";
import type { z } from "zod";
import Base from "./base.vue";
const { attachment } = defineProps<{
attachment: Attachment;
attachment: z.infer<typeof Attachment>;
}>();
</script>

View file

@ -5,10 +5,11 @@
</template>
<script lang="ts" setup>
import type { Attachment } from "@versia/client/types";
import type { Attachment } from "@versia/client/schemas";
import type { z } from "zod";
import Base from "./base.vue";
const { attachment } = defineProps<{
attachment: Attachment;
attachment: z.infer<typeof Attachment>;
}>();
</script>

View file

@ -5,10 +5,11 @@
</template>
<script lang="ts" setup>
import type { Attachment } from "@versia/client/types";
import type { Attachment } from "@versia/client/schemas";
import type { z } from "zod";
import Base from "./base.vue";
const { attachment } = defineProps<{
attachment: Attachment;
attachment: z.infer<typeof Attachment>;
}>();
</script>