mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-09 20:12:10 +10:00
15 lines
359 B
Vue
15 lines
359 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>
|