big-moving.ru/api/soft/Ace/lib/ace/snippets/graphqlschema.snippets

33 lines
488 B
Plaintext
Raw Normal View History

2022-06-24 15:29:23 +05:00
# Type Snippet
trigger type
snippet type
type ${1:type_name} {
${2:type_siblings}
}
# Input Snippet
trigger input
snippet input
input ${1:input_name} {
${2:input_siblings}
}
# Interface Snippet
trigger interface
snippet interface
interface ${1:interface_name} {
${2:interface_siblings}
}
# Interface Snippet
trigger union
snippet union
union ${1:union_name} = ${2:type} | ${3: type}
# Enum Snippet
trigger enum
snippet enum
enum ${1:enum_name} {
${2:enum_siblings}
}