1 | import { GQLBase, Schema, Properties, resolver } from 'graphql-lattice'
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | @Schema(`
|
10 | type @@CLASS_NAME@@ {
|
11 |
|
12 | }
|
13 |
|
14 | type Query {
|
15 |
|
16 | }
|
17 | `)
|
18 | @Properties()
|
19 | export class @@CLASS_NAME@@ extends GQLBase {
|
20 |
|
21 |
|
22 | static apiDocs(): Object {
|
23 | const { joinLines } = this;
|
24 |
|
25 | return {
|
26 | [this.DOC_CLASS]: joinLines`
|
27 | TODO Describe @@CLASS_NAME@@ here.
|
28 | `,
|
29 |
|
30 | [this.DOC_FIELDS]: {
|
31 |
|
32 |
|
33 |
|
34 | },
|
35 |
|
36 | [this.DOC_QUERIES]: {
|
37 |
|
38 | },
|
39 |
|
40 | [this.DOC_MUTATORS]: {
|
41 |
|
42 | }
|
43 | }
|
44 | }
|
45 | }
|
46 |
|
47 | export default @@CLASS_NAME@@
|