aboutsummaryrefslogtreecommitdiff
path: root/htdocs/js/ace/snippets/graphqlschema.js
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2017-11-07 20:44:10 -0500
committerPaul Duncan <pabs@pablotron.org>2017-11-07 20:44:10 -0500
commit074c8ca2a16bc4849e8ecea5a123d4d9a2995898 (patch)
treeae2597166fb9da56ff34bf8abafc59548bc0cad5 /htdocs/js/ace/snippets/graphqlschema.js
downloadmathy-074c8ca2a16bc4849e8ecea5a123d4d9a2995898.tar.bz2
mathy-074c8ca2a16bc4849e8ecea5a123d4d9a2995898.zip
initial commit
Diffstat (limited to 'htdocs/js/ace/snippets/graphqlschema.js')
-rw-r--r--htdocs/js/ace/snippets/graphqlschema.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/htdocs/js/ace/snippets/graphqlschema.js b/htdocs/js/ace/snippets/graphqlschema.js
new file mode 100644
index 0000000..a6fda86
--- /dev/null
+++ b/htdocs/js/ace/snippets/graphqlschema.js
@@ -0,0 +1 @@
+define("ace/snippets/graphqlschema",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="# Type Snippet\ntrigger type\nsnippet type\n type ${1:type_name} {\n ${2:type_siblings}\n }\n\n# Input Snippet\ntrigger input\nsnippet input\n input ${1:input_name} {\n ${2:input_siblings}\n }\n\n# Interface Snippet\ntrigger interface\nsnippet interface\n interface ${1:interface_name} {\n ${2:interface_siblings}\n }\n\n# Interface Snippet\ntrigger union\nsnippet union\n union ${1:union_name} = ${2:type} | ${3: type}\n\n# Enum Snippet\ntrigger enum\nsnippet enum\n enum ${1:enum_name} {\n ${2:enum_siblings}\n }\n",t.scope="graphqlschema"}) \ No newline at end of file