@nuffieldtechnologies/rugged-schema-types 0.3.18 → 0.3.20
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.
- package/distribution/index.js +5 -12
- package/package.json +1 -1
package/distribution/index.js
CHANGED
|
@@ -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,7 @@ const _FormInput = `
|
|
|
121
114
|
name: String
|
|
122
115
|
key: String
|
|
123
116
|
definition: String
|
|
124
|
-
status:
|
|
117
|
+
status: String
|
|
125
118
|
updated: String
|
|
126
119
|
params: [ParamInput]
|
|
127
120
|
resources: String
|
|
@@ -130,7 +123,7 @@ const _FormInput = `
|
|
|
130
123
|
`;
|
|
131
124
|
const _FormFilter = `
|
|
132
125
|
input FormFilter {
|
|
133
|
-
status:
|
|
126
|
+
status: String
|
|
134
127
|
}
|
|
135
128
|
`;
|
|
136
129
|
const _Form = `
|
|
@@ -145,14 +138,14 @@ const _Form = `
|
|
|
145
138
|
name: String
|
|
146
139
|
key: String
|
|
147
140
|
definition: String
|
|
148
|
-
status:
|
|
141
|
+
status: String
|
|
149
142
|
updated: String
|
|
150
143
|
params: [Param]
|
|
151
144
|
resources: String
|
|
152
145
|
body: String
|
|
153
146
|
}
|
|
154
147
|
`;
|
|
155
|
-
const _AllFormFields = `{id, name, key, definition, status, updated, params {name, value}, resources
|
|
148
|
+
const _AllFormFields = `{id, name, key, definition, status, updated, params {name, value}, resources, body}`;
|
|
156
149
|
const Task = _TimeStamps + _TemplateInfo + _Task;
|
|
157
150
|
exports.Task = Task;
|
|
158
151
|
const TaskInput = _TimeStampsInput + _TemplateInfoInput + _TaskInput;
|
|
@@ -169,7 +162,7 @@ const Users = User;
|
|
|
169
162
|
exports.Users = Users;
|
|
170
163
|
const AllUserFields = _AllUserFields;
|
|
171
164
|
exports.AllUserFields = AllUserFields;
|
|
172
|
-
const Form =
|
|
165
|
+
const Form = _Form;
|
|
173
166
|
exports.Form = Form;
|
|
174
167
|
const FormInput = _FormInput;
|
|
175
168
|
exports.FormInput = FormInput;
|