Skip to content

Instantly share code, notes, and snippets.

@pcdavid
Last active August 24, 2023 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pcdavid/aaeb70d0c1bbb919f3249dd49bd0d5d4 to your computer and use it in GitHub Desktop.
Save pcdavid/aaeb70d0c1bbb919f3249dd49bd0d5d4 to your computer and use it in GitHub Desktop.
{
"id": "4",
"type": "start",
"payload": {
"variables": {
"input": {
"id": "adb4bbaa-9a7d-410c-9e16-6a6c388bf94c",
"editingContextId": "5a53503c-cdea-446c-852a-0fade12e5778",
"formDescriptionEditorId": "c7431881-7c7f-4458-bcb1-ee16b5b43ad0"
}
},
"extensions": {},
"operationName": "formDescriptionEditorEvent",
"query": "fragment commonFields on Widget {
id
__typename
diagnostics {
id
kind
message
__typename
}
hasHelpText
readOnly
}
fragment textfieldFields on Textfield {
label
iconURL
stringValue: value
supportsCompletion
style {
backgroundColor
foregroundColor
fontSize
italic
bold
underline
strikeThrough
__typename
}
__typename
}
fragment textareaFields on Textarea {
label
iconURL
stringValue: value
supportsCompletion
style {
backgroundColor
foregroundColor
fontSize
italic
bold
underline
strikeThrough
__typename
}
__typename
}
fragment checkboxFields on Checkbox {
label
iconURL
booleanValue: value
style {
color
labelPlacement
__typename
}
__typename
}
fragment selectFields on Select {
label
iconURL
value
options {
id
label
iconURL
__typename
}
style {
backgroundColor
foregroundColor
fontSize
italic
bold
underline
strikeThrough
__typename
}
__typename
}
fragment multiSelectFields on MultiSelect {
label
iconURL
values
options {
id
label
iconURL
__typename
}
style {
backgroundColor
foregroundColor
fontSize
italic
bold
underline
strikeThrough
__typename
}
__typename
}
fragment radioFields on Radio {
label
iconURL
options {
id
label
selected
__typename
}
style {
color
fontSize
italic
bold
underline
strikeThrough
__typename
}
__typename
}
fragment listFields on List {
label
iconURL
items {
id
label
kind
imageURL
deletable
__typename
}
style {
color
fontSize
italic
bold
underline
strikeThrough
__typename
}
__typename
}
fragment linkFields on Link {
label
iconURL
url
style {
color
fontSize
italic
bold
underline
strikeThrough
__typename
}
__typename
}
fragment buttonFields on Button {
label
buttonLabel
imageURL
style {
backgroundColor
foregroundColor
fontSize
italic
bold
underline
strikeThrough
__typename
}
__typename
}
fragment toolbarActionFields on ToolbarAction {
label
buttonLabel
imageURL
style {
backgroundColor
foregroundColor
fontSize
italic
bold
underline
strikeThrough
__typename
}
__typename
}
fragment chartWidgetFields on ChartWidget {
label
chart {
... on BarChart {
metadata {
label
kind
__typename
}
label
entries {
key
value
__typename
}
style {
barsColor
fontSize
italic
bold
underline
strikeThrough
__typename
}
width
height
__typename
}
... on PieChart {
metadata {
label
kind
__typename
}
label
entries {
key
value
__typename
}
style {
colors
strokeColor
strokeWidth
fontSize
italic
bold
underline
strikeThrough
__typename
}
__typename
}
__typename
}
__typename
}
fragment labelWidgetFields on LabelWidget {
label
stringValue: value
style {
color
fontSize
italic
bold
underline
strikeThrough
__typename
}
__typename
}
fragment treeWidgetFields on TreeWidget {
label
iconURL
expandedNodesIds
nodes {
id
parentId
label
kind
imageURL
selectable
__typename
}
__typename
}
fragment imageFields on Image {
label
iconURL
url
maxWidth
__typename
}
fragment richTextFields on RichText {
label
iconURL
stringValue: value
__typename
}
fragment sliderFields on Slider {
label
iconURL
minValue
maxValue
currentValue
__typename
}
fragment referencewidgetFields on ReferenceWidget {
label
iconURL
reference {
typeName
referenceName
containment
manyValued
__typename
}
referenceValues {
id
label
kind
iconURL
hasClickAction
__typename
}
style {
color
fontSize
italic
bold
underline
strikeThrough
__typename
}
__typename
}
fragment widgetFields on Widget {
...commonFields
... on Textfield {
...textfieldFields
__typename
}
... on Textarea {
...textareaFields
__typename
}
... on Checkbox {
...checkboxFields
__typename
}
... on Select {
...selectFields
__typename
}
... on MultiSelect {
...multiSelectFields
__typename
}
... on Radio {
...radioFields
__typename
}
... on List {
...listFields
__typename
}
... on Link {
...linkFields
__typename
}
... on Button {
...buttonFields
__typename
}
... on ToolbarAction {
...toolbarActionFields
__typename
}
... on LabelWidget {
...labelWidgetFields
__typename
}
... on ChartWidget {
...chartWidgetFields
__typename
}
... on TreeWidget {
...treeWidgetFields
__typename
}
... on Image {
...imageFields
__typename
}
... on RichText {
...richTextFields
__typename
}
... on Slider {
...sliderFields
__typename
}
... on ReferenceWidget {
...referencewidgetFields
__typename
}
__typename
}
fragment flexboxContainerFields on FlexboxContainer {
...commonFields
label
flexDirection
flexWrap
flexGrow
children {
...widgetFields
... on FlexboxContainer {
...commonFields
label
flexDirection
flexWrap
flexGrow
children {
...widgetFields
... on FlexboxContainer {
...commonFields
label
flexDirection
flexWrap
flexGrow
children {
...widgetFields
__typename
}
borderStyle {
color
lineStyle
size
radius
__typename
}
__typename
}
__typename
}
borderStyle {
color
lineStyle
size
radius
__typename
}
__typename
}
__typename
}
borderStyle {
color
lineStyle
size
radius
__typename
}
__typename
}
subscription formDescriptionEditorEvent($input: FormDescriptionEditorEventInput!) {
formDescriptionEditorEvent(input: $input) {
__typename
... on ErrorPayload {
id
message
__typename
}
... on SubscribersUpdatedEventPayload {
id
subscribers {
username
__typename
}
__typename
}
... on FormDescriptionEditorRefreshedEventPayload {
id
formDescriptionEditor {
id
pages {
id
label
toolbarActions {
...commonFields
...toolbarActionFields
__typename
}
groups {
id
label
displayMode
toolbarActions {
...commonFields
...toolbarActionFields
__typename
}
widgets {
...widgetFields
... on FlexboxContainer {
...flexboxContainerFields
__typename
}
... on FormDescriptionEditorFor {
...commonFields
label
__typename
}
... on FormDescriptionEditorIf {
...commonFields
label
__typename
}
__typename
}
borderStyle {
color
lineStyle
size
radius
__typename
}
__typename
}
__typename
}
__typename
}
__typename
}
}
}"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment