@nuffieldtechnologies/rugged-schema-types 0.7.0 → 0.7.2
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 -1
- package/package.json +1 -1
package/distribution/index.js
CHANGED
|
@@ -141,6 +141,9 @@ const _Roles = `
|
|
|
141
141
|
user: Boolean
|
|
142
142
|
admin: Boolean
|
|
143
143
|
api: Boolean
|
|
144
|
+
uber: Boolean
|
|
145
|
+
super: Boolean
|
|
146
|
+
legacyPush: Boolean
|
|
144
147
|
}
|
|
145
148
|
`;
|
|
146
149
|
const _RolesInput = `
|
|
@@ -171,7 +174,7 @@ const _UserInput = `
|
|
|
171
174
|
roles: RolesInput
|
|
172
175
|
}
|
|
173
176
|
`;
|
|
174
|
-
const _AllRolesFields = `{user, admin, api}`;
|
|
177
|
+
const _AllRolesFields = `{user, admin, api, uber, super, legacyPush}`;
|
|
175
178
|
const _AllUserFields = `{id, organisation, name, email, roles ${_AllRolesFields}, permissions}`;
|
|
176
179
|
const _FormInput = `
|
|
177
180
|
|