platform/angel_serialize_generator/test/models/book.d.ts

40 lines
816 B
TypeScript
Raw Normal View History

2018-12-09 22:55:52 +00:00
// GENERATED CODE - DO NOT MODIFY BY HAND
declare module 'angel_serialize_generator' {
interface Book {
id?: string;
2019-07-04 18:30:45 +00:00
created_at?: any;
updated_at?: any;
2019-04-08 04:41:58 +00:00
author?: string;
title?: string;
description?: string;
page_count?: number;
not_models?: number[];
2018-12-09 22:55:52 +00:00
camelCase?: string;
}
2019-04-08 04:41:58 +00:00
interface Author {
id?: string;
2019-07-04 18:30:45 +00:00
created_at?: any;
updated_at?: any;
2019-04-08 04:41:58 +00:00
name: string;
age: number;
books?: Book[];
newest_book?: Book;
}
interface Library {
id?: string;
created_at?: any;
updated_at?: any;
2019-07-04 18:30:45 +00:00
collection?: LibraryCollection;
2019-04-08 04:41:58 +00:00
}
interface LibraryCollection {
[key: string]: Book;
}
interface Bookmark {
id?: string;
2019-07-04 18:30:45 +00:00
created_at?: any;
updated_at?: any;
2019-04-08 04:41:58 +00:00
history?: number[];
page: number;
comment?: string;
}
2018-12-09 22:55:52 +00:00
}