@nuffieldtechnologies/rugged-schema-types 0.3.7 → 0.3.9
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 +23 -1
- package/package.json +1 -1
package/distribution/index.js
CHANGED
|
@@ -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,8 +140,10 @@ const _Form = `
|
|
|
120
140
|
}
|
|
121
141
|
`;
|
|
122
142
|
const _FormInput = `
|
|
123
|
-
|
|
143
|
+
type FormInput {
|
|
144
|
+
id: ID!
|
|
124
145
|
name: String
|
|
146
|
+
definition: String
|
|
125
147
|
key: String
|
|
126
148
|
updated: String
|
|
127
149
|
status: TEMPLATESTATUS
|