mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-13 08:12:40 +10:00
15 lines
358 B
Vue
15 lines
358 B
Vue
<template>
|
|
<div>{{ model }}</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import type { SerializeObject } from "nitropack";
|
|
import type { RedistModel, UserPlatformModel } from "~/prisma/client/models";
|
|
|
|
type ModelType = SerializeObject<
|
|
RedistModel & { platform?: UserPlatformModel }
|
|
>;
|
|
|
|
const model = defineModel<ModelType>({ required: true });
|
|
</script>
|