1 | export interface FieldMetadata {
|
2 | type: String;
|
3 | name: String;
|
4 | writable: boolean;
|
5 | }
|
6 | export interface EntityMetadata {
|
7 | hasGraphQL: boolean;
|
8 | className: String;
|
9 | fields: FieldMetadata[];
|
10 | }
|
11 | export interface EntityOptions {
|
12 | name?: String;
|
13 | }
|
14 | export declare function GraphQL(options?: EntityOptions): (target: any) => void;
|
15 | export interface FieldOptions {
|
16 | type?: String;
|
17 | writable?: boolean;
|
18 | }
|
19 | export declare function GraphField(options?: FieldOptions): (target: any, key: string) => void;
|