Skip to content

Commit

Permalink
[1139] Add GraphQL Schema definitions
Browse files Browse the repository at this point in the history
Bug: #1139
Signed-off-by: Pierre-Charles David <[email protected]>
  • Loading branch information
pcdavid committed Apr 22, 2022
1 parent 1a31a05 commit 7852e02
Showing 1 changed file with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ type RadioOption {
selected: Boolean!
}


type Select implements Widget {
id: ID!
diagnostics: [Diagnostic!]!
Expand Down Expand Up @@ -145,6 +144,23 @@ type Link implements Widget {
url: String!
}

type TreeWidget implements Widget {
id: ID!
diagnostics: [Diagnostic!]!
label: String!
nodes: [TreeNode!]!
expandedNodesIds: [ID!]!
}

type TreeNode {
id: ID!
parentId: ID
label: String!
kind: String!
imageURL: String!
selectable: Boolean!
}

type FormDescription implements RepresentationDescription {
id: ID!
label: String!
Expand Down

0 comments on commit 7852e02

Please sign in to comment.