platform/angel_serialize_generator/test/models/author.d.ts
2018-12-09 17:55:52 -05:00

30 lines
No EOL
626 B
TypeScript

/// <reference path="./book.d.ts" />
// GENERATED CODE - DO NOT MODIFY BY HAND
declare module 'angel_serialize_generator' {
interface Author {
id?: string;
name: string;
age: number;
books?: Book[];
newest_book?: Book;
created_at?: any;
updated_at?: any;
}
interface Library {
id?: string;
collection?: LibraryCollection;
created_at?: any;
updated_at?: any;
}
interface LibraryCollection {
[key: string]: Book;
}
interface Bookmark {
id?: string;
history?: number[];
page: number;
comment?: string;
created_at?: any;
updated_at?: any;
}
}