@nuffieldtechnologies/rugged-schema-types 0.3.6 → 0.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,9 +110,29 @@ const _User = `
110
110
  `;
111
111
  const _AllUserFields = `{id, organisation, name, email, roles, permissions}`;
112
112
  const _Form = `
113
+
114
+ type Resource: {
115
+ data: String
116
+ }
117
+
118
+ type Param {
119
+ name: String
120
+ value: String
121
+ }
122
+
123
+ type Resources {
124
+ style: [Resource]
125
+ distribution: [Resource]
126
+ header: [Resource]
127
+ dataset: [Resource]
128
+ }
129
+
113
130
  type Form {
114
131
  id: ID!
115
132
  name: String
133
+ params: [Param]
134
+ resources: Resources
135
+ definition: String
116
136
  key: String
117
137
  updated: String
118
138
  status: TEMPLATESTATUS
@@ -120,9 +140,10 @@ const _Form = `
120
140
  }
121
141
  `;
122
142
  const _FormInput = `
123
- input FormInput {
143
+ type FormInput {
124
144
  id: ID!
125
145
  name: String
146
+ definition: String
126
147
  key: String
127
148
  updated: String
128
149
  status: TEMPLATESTATUS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuffieldtechnologies/rugged-schema-types",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "description": "Graphql schema for rugged data",
5
5
  "main": "./distribution/index.js",
6
6
  "keywords": [