UNPKG

748 BJavaScriptView Raw
1import { GQLBase, Schema, Properties, resolver } from 'graphql-lattice'
2
3/**
4 *
5 *
6 * @export
7 * @class
8 */
9@Schema(/* GraphQL */`
10 type @@CLASS_NAME@@ {
11
12 }
13
14 type Query {
15
16 }
17`)
18@Properties()
19export class @@CLASS_NAME@@ extends GQLBase {
20
21 /** @inheritdoc */
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 // fieldName: joinLines`
32 // fieldDescription
33 // `,
34 },
35
36 [this.DOC_QUERIES]: {
37 // queryName: `queryDescription`,
38 },
39
40 [this.DOC_MUTATORS]: {
41 // mutatorName: `mutatorDescription`
42 }
43 }
44 }
45}
46
47export default @@CLASS_NAME@@