Newer
Older
ServerGenerator / src / types.ts
/* tslint:disable */
/**
 * This file was automatically generated by json-schema-to-typescript.
 * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
 * and run json-schema-to-typescript to regenerate this file.
 */

export interface Description {
  $schema?: "https://infinity.synoikos.de/schemata/server-generator.schema.json";
  collections: Collection[];
}
export interface Collection {
  name: string;
  entities: Entity;
}
export interface Entity {
  name: string;
  properties: Property[];
}
export interface Property {
  key: string;
  isNullable: boolean;
  type: "string";
}