@nuffieldtechnologies/rugged-schema-types 0.2.2 → 0.2.4
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 +4 -2
- package/package.json +1 -1
package/distribution/index.js
CHANGED
|
@@ -28,7 +28,7 @@ const _TemplateInfo = `
|
|
|
28
28
|
}
|
|
29
29
|
`;
|
|
30
30
|
const _TemplateInfoInput = `
|
|
31
|
-
|
|
31
|
+
input TemplateInfoInput {
|
|
32
32
|
type: String,
|
|
33
33
|
id: String
|
|
34
34
|
version: String
|
|
@@ -97,9 +97,11 @@ const _User = `
|
|
|
97
97
|
organisation: ID
|
|
98
98
|
name: String
|
|
99
99
|
email: String
|
|
100
|
+
roles: [String],
|
|
101
|
+
permissions: String
|
|
100
102
|
}
|
|
101
103
|
`;
|
|
102
|
-
const _AllUserFields = `{id, organisation, name, email}`;
|
|
104
|
+
const _AllUserFields = `{id, organisation, name, email, roles, permissions}`;
|
|
103
105
|
const Task = _TimeStamps + _TemplateInfo + _Task;
|
|
104
106
|
exports.Task = Task;
|
|
105
107
|
const TaskInput = _TimeStampsInput + _TemplateInfoInput + _TaskInput;
|