@nuffieldtechnologies/rugged-schema-types 0.1.2 → 0.1.3

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,70 +1,78 @@
1
- const _TimeStamps = `
2
- type TimeStamps {
3
- updated: String,
4
- submitted: String,
5
- processed: String,
6
- upgraded: String
7
- }
8
- `;
9
- const _TimeStampsInput = `
10
- input TimeStampsInput {
11
- updated: String,
12
- submitted: String,
13
- processed: String,
14
- upgraded: String
15
- }
16
- `;
17
- const _Task = `
18
- type Task {
19
- id: String,
20
- name: String,
21
- definition: String,
22
- user: ID
23
- userEmail: String,
24
- form: ID
25
- key: String
26
- organisation: ID
27
- timestamps: TimeStamps
28
- status: String
29
- fails: [String],
30
- reportUrl: String,
31
- data: String
32
- }
33
- `;
34
-
35
- const _TaskInput = `
36
- input TaskInput {
37
- id : String,
38
-
39
- # The name of the task. TODO does this actually exist?
40
- name: String,
41
-
42
- # A short description of the task
43
- description: String
44
-
45
- # The definition of the task
46
- definition: String!,
47
-
48
- # The id of the user who submitted the task TODO is this right?
49
- user: ID
50
-
51
- # The email of the user who submitted the task
52
- userEmail: String,
53
-
54
- form: ID
55
- key: String
56
- organisation: ID
57
- status: String
58
- fails: [String],
59
- reportUrl: String,
60
- timestamps: TimeStampsInput,
61
- data: String
62
- }
63
- `;
64
-
65
- export const Task = _TimeStamps + _Task;
66
- export const TaskInput = _TimeStampsInput + _TaskInput;
67
- export const Tasks = Task + TaskInput;
68
- export const All = Tasks;
69
- export default All;
70
-
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.All = exports.Tasks = exports.TaskInput = exports.Task = void 0;
7
+ const _TimeStamps = `
8
+ type TimeStamps {
9
+ updated: String,
10
+ submitted: String,
11
+ processed: String,
12
+ upgraded: String
13
+ }
14
+ `;
15
+ const _TimeStampsInput = `
16
+ input TimeStampsInput {
17
+ updated: String,
18
+ submitted: String,
19
+ processed: String,
20
+ upgraded: String
21
+ }
22
+ `;
23
+ const _Task = `
24
+ type Task {
25
+ id: String,
26
+ name: String,
27
+ definition: String,
28
+ user: ID
29
+ userEmail: String,
30
+ form: ID
31
+ key: String
32
+ organisation: ID
33
+ timestamps: TimeStamps
34
+ status: String
35
+ fails: [String],
36
+ reportUrl: String,
37
+ data: String
38
+ }
39
+ `;
40
+ const _TaskInput = `
41
+ input TaskInput {
42
+ id : String,
43
+
44
+ # The name of the task. TODO does this actually exist?
45
+ name: String,
46
+
47
+ # A short description of the task
48
+ description: String
49
+
50
+ # The definition of the task
51
+ definition: String!,
52
+
53
+ # The id of the user who submitted the task TODO is this right?
54
+ user: ID
55
+
56
+ # The email of the user who submitted the task
57
+ userEmail: String,
58
+
59
+ form: ID
60
+ key: String
61
+ organisation: ID
62
+ status: String
63
+ fails: [String],
64
+ reportUrl: String,
65
+ timestamps: TimeStampsInput,
66
+ data: String
67
+ }
68
+ `;
69
+ const Task = _TimeStamps + _Task;
70
+ exports.Task = Task;
71
+ const TaskInput = _TimeStampsInput + _TaskInput;
72
+ exports.TaskInput = TaskInput;
73
+ const Tasks = Task + TaskInput;
74
+ exports.Tasks = Tasks;
75
+ const All = Tasks;
76
+ exports.All = All;
77
+ var _default = All;
78
+ exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuffieldtechnologies/rugged-schema-types",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Graphql schema for rugged data",
5
5
  "main": "./distribution/index.js",
6
6
  "keywords": [