@nuffieldtechnologies/rugged-schema-types 0.3.9 → 0.3.11
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 +20 -20
- package/package.json +1 -1
package/distribution/index.js
CHANGED
|
@@ -109,6 +109,22 @@ const _User = `
|
|
|
109
109
|
}
|
|
110
110
|
`;
|
|
111
111
|
const _AllUserFields = `{id, organisation, name, email, roles, permissions}`;
|
|
112
|
+
const _FormInput = `
|
|
113
|
+
input FormInput {
|
|
114
|
+
id: ID!
|
|
115
|
+
name: String
|
|
116
|
+
definition: String
|
|
117
|
+
key: String
|
|
118
|
+
updated: String
|
|
119
|
+
status: TEMPLATESTATUS
|
|
120
|
+
data: String
|
|
121
|
+
}
|
|
122
|
+
`;
|
|
123
|
+
const _FormFilter = `
|
|
124
|
+
input FormFilter {
|
|
125
|
+
status: TEMPLATESTATUS
|
|
126
|
+
}
|
|
127
|
+
`;
|
|
112
128
|
const _Form = `
|
|
113
129
|
|
|
114
130
|
type Resource {
|
|
@@ -130,32 +146,16 @@ const _Form = `
|
|
|
130
146
|
type Form {
|
|
131
147
|
id: ID!
|
|
132
148
|
name: String
|
|
133
|
-
params: [Param]
|
|
134
|
-
resources: Resources
|
|
135
|
-
definition: String
|
|
136
149
|
key: String
|
|
137
|
-
updated: String
|
|
138
|
-
status: TEMPLATESTATUS
|
|
139
|
-
data: String
|
|
140
|
-
}
|
|
141
|
-
`;
|
|
142
|
-
const _FormInput = `
|
|
143
|
-
type FormInput {
|
|
144
|
-
id: ID!
|
|
145
|
-
name: String
|
|
146
150
|
definition: String
|
|
147
|
-
key: String
|
|
148
|
-
updated: String
|
|
149
151
|
status: TEMPLATESTATUS
|
|
152
|
+
updated: String
|
|
153
|
+
params: [Param]
|
|
154
|
+
resources: Resources
|
|
150
155
|
data: String
|
|
151
|
-
}
|
|
152
|
-
`;
|
|
153
|
-
const _FormFilter = `
|
|
154
|
-
input FormFilter {
|
|
155
|
-
status: TEMPLATESTATUS
|
|
156
156
|
}
|
|
157
157
|
`;
|
|
158
|
-
const _AllFormFields = `{id, name, key,
|
|
158
|
+
const _AllFormFields = `{id, name, key, definition, status, updated, params {name, value}, resources {style {data}, distribution {data}, header {data}, dataset {data}}, data}`;
|
|
159
159
|
const Task = _TimeStamps + _TemplateInfo + _Task;
|
|
160
160
|
exports.Task = Task;
|
|
161
161
|
const TaskInput = _TimeStampsInput + _TemplateInfoInput + _TaskInput;
|