<template>
  <div>{{ character }}</div>
  <JsonEditorVue v-model="value" v-bind="{}" />
  <v-btn>Save Character</v-btn>
</template>

<style></style>

<script setup lang="ts">
import { ref } from 'vue'
import JsonEditorVue from 'json-editor-vue'

import { Character } from '../proto/character'

const value = ref({})
const character: Character = {
  playerName: '',
  characterName: '',
  characterAlias: [],
  version: '',
  sourceTable: '',
  json: '{}',
}
</script>
