import { Ref } from 'vue'; export interface Dataset { [key: string]: string | Ref| boolean | Array | (IErrorMessage | undefined); language: Ref<string>; // licenses: Array<number>; rights: boolean; type: string; creating_corporation: string; titles: Array<Title>; descriptions: Array<Description>; errors?: IErrorMessage; // async (user): Promise<void>; } export interface Title { value: string; type: string; language: string | Ref<string>; } export interface Description { value: string; type: string; language: string | Ref<string>; } interface IErrorMessage { [key: string]: Array<string>; }