@nyteshade/lattice-legacy
Version:
OO Underpinnings for ease of GraphQL Implementation
48 lines (37 loc) • 748 B
JavaScript
import { GQLBase, Schema, Properties, resolver } from 'graphql-lattice'
/**
*
*
* @export
* @class
*/
(/* GraphQL */`
type @@CLASS_NAME@@ {
}
type Query {
}
`)
()
export class @@@ extends GQLBase {
/** @inheritdoc */
static apiDocs(): Object {
const { joinLines } = this;
return {
[this.DOC_CLASS]: joinLines`
TODO Describe @@CLASS_NAME@@ here.
`,
[this.DOC_FIELDS]: {
// fieldName: joinLines`
// fieldDescription
// `,
},
[this.DOC_QUERIES]: {
// queryName: `queryDescription`,
},
[this.DOC_MUTATORS]: {
// mutatorName: `mutatorDescription`
}
}
}
}
export default @@@