@nuffieldtechnologies/rugged-schema-types 2.1.17 → 2.1.19

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.
@@ -1,20 +1,20 @@
1
- export const _TimeStamps = `
2
- type TimeStamps {
3
- started: String,
4
- updated: String,
5
- discarded: String,
6
- submitted: String,
7
- processed: String,
8
- upgraded: String
9
- }
10
- `;
11
- export const _TimeStampsInput = `
12
- input TimeStampsInput {
13
- started: String,
14
- updated: String,
15
- discarded: String,
16
- submitted: String,
17
- processed: String,
18
- upgraded: String
19
- }
1
+ export const _TimeStamps = `
2
+ type TimeStamps {
3
+ started: String,
4
+ updated: String,
5
+ discarded: String,
6
+ submitted: String,
7
+ processed: String,
8
+ upgraded: String
9
+ }
10
+ `;
11
+ export const _TimeStampsInput = `
12
+ input TimeStampsInput {
13
+ started: String,
14
+ updated: String,
15
+ discarded: String,
16
+ submitted: String,
17
+ processed: String,
18
+ upgraded: String
19
+ }
20
20
  `;
package/schemas/user.ts CHANGED
@@ -1,26 +1,26 @@
1
- import * as Roles from './roles'
2
-
3
- export const _User = `
4
- type User {
5
- id: ID
6
- organisation: ID
7
- firebaseId: ID
8
- name: String
9
- email: String
10
- roles: Roles
11
- permissions: String
12
- }
13
- `;
14
-
15
- export const _UserInput = `
16
- input UserInput {
17
- id: ID
18
- organisation: ID
19
- firebaseId: ID
20
- name: String
21
- email: String
22
- roles: RolesInput
23
- }
24
- `;
25
-
1
+ import * as Roles from './roles'
2
+
3
+ export const _User = `
4
+ type User {
5
+ id: ID
6
+ organisation: ID
7
+ firebaseId: ID
8
+ name: String
9
+ email: String
10
+ roles: Roles
11
+ permissions: String
12
+ }
13
+ `;
14
+
15
+ export const _UserInput = `
16
+ input UserInput {
17
+ id: ID
18
+ organisation: ID
19
+ firebaseId: ID
20
+ name: String
21
+ email: String
22
+ roles: RolesInput
23
+ }
24
+ `;
25
+
26
26
  export const _AllUserFields = `{id, organisation, name, email, roles ${Roles._AllRolesFields}, permissions}`;
package/tsconfig.json CHANGED
@@ -1,11 +1,11 @@
1
- {
2
- "compilerOptions": {
3
- "lib": ["es6","esnext.asynciterable"],
4
- "module": "commonjs",
5
- "noImplicitReturns": true,
6
- "outDir": "dist",
7
- "sourceMap": true,
8
- "target": "es6"
9
- },
10
- "compileOnSave": true
11
- }
1
+ {
2
+ "compilerOptions": {
3
+ "lib": ["es6","esnext.asynciterable"],
4
+ "module": "commonjs",
5
+ "noImplicitReturns": true,
6
+ "outDir": "dist",
7
+ "sourceMap": true,
8
+ "target": "es6"
9
+ },
10
+ "compileOnSave": true
11
+ }