@nuffieldtechnologies/rugged-schema-types 0.3.19 → 0.3.21

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.
@@ -34,13 +34,6 @@ const _TemplateInfoInput = `
34
34
  version: String
35
35
  }
36
36
  `;
37
- const _TemplateStatus = `
38
- enum TEMPLATESTATUS {
39
- PUBLISHED,
40
- DRAFT,
41
- DELETED
42
- }
43
- `;
44
37
  const _Task = `
45
38
  type Task {
46
39
  id: ID,
@@ -121,7 +114,8 @@ const _FormInput = `
121
114
  name: String
122
115
  key: String
123
116
  definition: String
124
- status: TEMPLATESTATUS
117
+ version: String
118
+ status: String
125
119
  updated: String
126
120
  params: [ParamInput]
127
121
  resources: String
@@ -130,7 +124,7 @@ const _FormInput = `
130
124
  `;
131
125
  const _FormFilter = `
132
126
  input FormFilter {
133
- status: TEMPLATESTATUS
127
+ status: String
134
128
  }
135
129
  `;
136
130
  const _Form = `
@@ -145,7 +139,8 @@ const _Form = `
145
139
  name: String
146
140
  key: String
147
141
  definition: String
148
- status: TEMPLATESTATUS
142
+ version: String
143
+ status: String
149
144
  updated: String
150
145
  params: [Param]
151
146
  resources: String
@@ -169,7 +164,7 @@ const Users = User;
169
164
  exports.Users = Users;
170
165
  const AllUserFields = _AllUserFields;
171
166
  exports.AllUserFields = AllUserFields;
172
- const Form = _TemplateStatus + _Form;
167
+ const Form = _Form;
173
168
  exports.Form = Form;
174
169
  const FormInput = _FormInput;
175
170
  exports.FormInput = FormInput;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuffieldtechnologies/rugged-schema-types",
3
- "version": "0.3.19",
3
+ "version": "0.3.21",
4
4
  "description": "Graphql schema for rugged data",
5
5
  "main": "./distribution/index.js",
6
6
  "keywords": [