@nuffieldtechnologies/rugged-schema-types 2.1.49 → 2.1.50

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/dist/index.js CHANGED
@@ -11,8 +11,8 @@ const OrganisationSchemas = require("./schemas/organisation");
11
11
  const TaskIdentifiers = require("./schemas/task-identifiers");
12
12
  const TaskOldSchemas = require("./schemas/task-old");
13
13
  const TaskSchemas = require("./schemas/task");
14
- exports.Task = TimeStamps._TimeStamps + Events._Event + Events._Events + TemplateInfo._TemplateInfo + TaskSchemas._TaskInfo + TaskSchemas._WorkflowInfo + TaskSchemas._Task + TaskIdentifiers._TaskIdentifiers;
15
- exports.TaskInput = TimeStamps._TimeStampsInput + Events._EventInput + Events._EventsInput + TemplateInfo._TemplateInfoInput + TaskSchemas._TaskInfoInput + TaskSchemas._WorkflowInfoInput + TaskSchemas._TaskInput + TaskIdentifiers._TaskIdentifiersInput;
14
+ exports.Task = TimeStamps._TimeStamps + Events._Event + Events._Events + TemplateInfo._TemplateInfo + TaskSchemas._EntityHierarchyInfo + TaskSchemas._TestInfo + TaskSchemas._TaskInfo + TaskSchemas._WorkflowInfo + TaskSchemas._Task + TaskIdentifiers._TaskIdentifiers;
15
+ exports.TaskInput = TimeStamps._TimeStampsInput + Events._EventInput + Events._EventsInput + TemplateInfo._TemplateInfoInput + TaskSchemas._EntityHierarchyInput + TaskSchemas._TaskInfoInput + TaskSchemas._WorkflowInfoInput + TaskSchemas._TaskInput + TaskIdentifiers._TaskIdentifiersInput;
16
16
  exports.TaskFilter = TaskSchemas._TaskFilter;
17
17
  exports.Tasks = exports.Task + exports.TaskInput + exports.TaskFilter + TaskOldSchemas._TaskOld;
18
18
  exports.AllTaskFields = TaskSchemas._AllTaskFields;
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,mDAAkD;AAClD,2CAA0C;AAC1C,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CAAC,QAAQ,CAAC;AAChE,QAAA,aAAa,GAAG,WAAW,CAAC,cAAc,CAAC;AAE3C,QAAA,IAAI,GAAG,KAAK,CAAC,MAAM,GAAG,WAAW,CAAC,KAAK,CAAC;AACxC,QAAA,SAAS,GAAG,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC,UAAU,CAAC;AACvD,QAAA,KAAK,GAAG,YAAI,GAAG,iBAAS,CAAC;AACzB,QAAA,aAAa,GAAG,WAAW,CAAC,cAAc,CAAC;AAC3C,QAAA,cAAc,GAAG,KAAK,CAAC,eAAe,CAAC;AAEvC,QAAA,IAAI,GAAG,WAAW,CAAC,KAAK,CAAC;AACzB,QAAA,SAAS,GAAG,WAAW,CAAC,UAAU,CAAC;AACnC,QAAA,UAAU,GAAG,WAAW,CAAC,WAAW,CAAC;AACrC,QAAA,KAAK,GAAG,YAAI,GAAG,iBAAS,GAAG,kBAAU,CAAC;AACtC,QAAA,aAAa,GAAG,WAAW,CAAC,cAAc,CAAC;AAE3C,QAAA,YAAY,GAAG,mBAAmB,CAAC,aAAa,CAAC;AACjD,QAAA,iBAAiB,GAAG,mBAAmB,CAAC,kBAAkB,CAAC;AAC3D,QAAA,aAAa,GAAG,oBAAY,GAAG,yBAAiB,CAAC;AACjD,QAAA,qBAAqB,GAAG,mBAAmB,CAAC,sBAAsB,CAAC;AAEnE,QAAA,GAAG,GAAG,aAAK,GAAG,aAAK,GAAG,aAAK,GAAG,qBAAa,CAAC;AACzD,kBAAe,WAAG,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports._AllTaskFields = exports._TaskFilter = exports._EntityHierarchyInput = exports._WorkflowInfoInput = exports._TaskInfoInput = exports._TaskInput = exports._EntityHierarchyInfo = exports._WorkflowInfo = exports._TaskInfo = exports._Task = void 0;
3
+ exports._AllTaskFields = exports._TaskFilter = exports._EntityHierarchyInput = exports._WorkflowInfoInput = exports._TaskInfoInput = exports._TaskInput = exports._EntityHierarchyInfo = exports._TestInfo = exports._WorkflowInfo = exports._TaskInfo = exports._Task = void 0;
4
4
  const Events = require("./events");
5
5
  exports._Task = `
6
6
  type Task {
@@ -11,7 +11,7 @@ exports._Task = `
11
11
  workflow: WorkflowInfo
12
12
  }
13
13
  `;
14
- exports._TaskInfo = `
14
+ exports._TaskInfo = `#graphql
15
15
  type TaskInfo {
16
16
  status: String
17
17
  statusBeforeEdit: String
@@ -19,6 +19,7 @@ exports._TaskInfo = `
19
19
  rootEntityName: String
20
20
  rootEntityAncestry: String
21
21
  rootEntityHierarchy: [EntityHierarchyInfo]
22
+ testObj: TestInfo
22
23
  id: String
23
24
  refNo: String
24
25
  tags: String
@@ -42,7 +43,13 @@ exports._WorkflowInfo = `
42
43
  history: String
43
44
  }
44
45
  `;
45
- exports._EntityHierarchyInfo = `
46
+ exports._TestInfo = `#graphql
47
+ type TestInfo {
48
+ category: String
49
+ entity: String
50
+ }
51
+ `;
52
+ exports._EntityHierarchyInfo = `#graphql
46
53
  type EntityHierarchyInfo {
47
54
  category: String
48
55
  entity: String
@@ -57,7 +64,7 @@ exports._TaskInput = `
57
64
  workflow: WorkflowInfoInput
58
65
  }
59
66
  `;
60
- exports._TaskInfoInput = `
67
+ exports._TaskInfoInput = `#graphql
61
68
  input TaskInfoInput {
62
69
  status: String
63
70
  statusBeforeEdit: String
@@ -87,13 +94,13 @@ exports._WorkflowInfoInput = `
87
94
  history: String
88
95
  }
89
96
  `;
90
- exports._EntityHierarchyInput = `
91
- type EntityHierarchyInput {
97
+ exports._EntityHierarchyInput = `#graphql
98
+ input EntityHierarchyInput {
92
99
  category: String
93
100
  entity: String
94
101
  }
95
102
  `;
96
- exports._TaskFilter = `
103
+ exports._TaskFilter = `#graphql
97
104
  input TaskFilter {
98
105
  users: [ID]
99
106
  userEmails: [String]
@@ -105,5 +112,5 @@ exports._TaskFilter = `
105
112
  before: String
106
113
  }
107
114
  `;
108
- exports._AllTaskFields = `{collections, fields, info {status, id, rootEntityId, rootEntityName, rootEntityAncestry, name, jobId, refNo, tags, workflowStep, workflow, userIds, users, timestamps {started, updated, submitted, processed, upgraded, discarded, reviewed}, events {started ${Events._AllEventFields}, updated ${Events._AllEventFields}, submitted ${Events._AllEventFields}, discarded ${Events._AllEventFields}, processed ${Events._AllEventFields}, upgraded ${Events._AllEventFields}, reviewed ${Events._AllEventFields}}, template { name, shortName, type, id, version}, identifiers { primary, secondary}}, sections, workflow {slug, step, history}}`;
115
+ exports._AllTaskFields = `{collections, fields, info {status, id, rootEntityId, rootEntityName, rootEntityAncestry, rootEntityHierarchy { category, entity }, name, jobId, refNo, tags, workflowStep, workflow, userIds, users, timestamps {started, updated, submitted, processed, upgraded, discarded, reviewed}, events {started ${Events._AllEventFields}, updated ${Events._AllEventFields}, submitted ${Events._AllEventFields}, discarded ${Events._AllEventFields}, processed ${Events._AllEventFields}, upgraded ${Events._AllEventFields}, reviewed ${Events._AllEventFields}}, template { name, shortName, type, id, version}, identifiers { primary, secondary}}, sections, workflow {slug, step, history}}`;
109
116
  //# sourceMappingURL=task.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"task.js","sourceRoot":"","sources":["../../schemas/task.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AAErB,QAAA,KAAK,GAAG;;;;;;;;CAQpB,CAAC;AAEW,QAAA,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;CAuBxB,CAAC;AACW,QAAA,aAAa,GAAG;;;;;;CAM5B,CAAC;AAEW,QAAA,oBAAoB,GAAG;;;;;CAKnC,CAAA;AAEY,QAAA,UAAU,GAAG;;;;;;;;CAQzB,CAAC;AAEW,QAAA,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;CAsB7B,CAAC;AAEW,QAAA,kBAAkB,GAAG;;;;;;CAMjC,CAAC;AAEW,QAAA,qBAAqB,GAAG;;;;;CAKpC,CAAA;AAEY,QAAA,WAAW,GAAG;;;;;;;;;;;CAW1B,CAAC;AAEW,QAAA,cAAc,GAAG,mQAAmQ,MAAM,CAAC,eAAe,aAAa,MAAM,CAAC,eAAe,eAAe,MAAM,CAAC,eAAe,eAAe,MAAM,CAAC,eAAe,eAAe,MAAM,CAAC,eAAe,cAAc,MAAM,CAAC,eAAe,cAAc,MAAM,CAAC,eAAe,kIAAkI,CAAC"}
1
+ {"version":3,"file":"task.js","sourceRoot":"","sources":["../../schemas/task.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AAErB,QAAA,KAAK,GAAG;;;;;;;;CAQpB,CAAC;AAEW,QAAA,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;CAwBxB,CAAC;AACW,QAAA,aAAa,GAAG;;;;;;CAM5B,CAAC;AAEW,QAAA,SAAS,GAAG;;;;;CAKxB,CAAA;AAEY,QAAA,oBAAoB,GAAG;;;;;CAKnC,CAAA;AAEY,QAAA,UAAU,GAAG;;;;;;;;CAQzB,CAAC;AAEW,QAAA,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;CAsB7B,CAAC;AAEW,QAAA,kBAAkB,GAAG;;;;;;CAMjC,CAAC;AAEW,QAAA,qBAAqB,GAAG;;;;;CAKpC,CAAA;AAEY,QAAA,WAAW,GAAG;;;;;;;;;;;CAW1B,CAAC;AAEW,QAAA,cAAc,GAAG,6SAA6S,MAAM,CAAC,eAAe,aAAa,MAAM,CAAC,eAAe,eAAe,MAAM,CAAC,eAAe,eAAe,MAAM,CAAC,eAAe,eAAe,MAAM,CAAC,eAAe,cAAc,MAAM,CAAC,eAAe,cAAc,MAAM,CAAC,eAAe,kIAAkI,CAAC"}
package/index.ts CHANGED
@@ -9,7 +9,7 @@ import * as TaskIdentifiers from './schemas/task-identifiers'
9
9
  import * as TaskOldSchemas from './schemas/task-old'
10
10
  import * as TaskSchemas from './schemas/task'
11
11
 
12
- export const Task = TimeStamps._TimeStamps + Events._Event + Events._Events + TemplateInfo._TemplateInfo + TaskSchemas._EntityHierarchyInfo + TaskSchemas._TaskInfo + TaskSchemas._WorkflowInfo + TaskSchemas._Task + TaskIdentifiers._TaskIdentifiers;
12
+ export const Task = TimeStamps._TimeStamps + Events._Event + Events._Events + TemplateInfo._TemplateInfo + TaskSchemas._EntityHierarchyInfo + TaskSchemas._TestInfo + TaskSchemas._TaskInfo + TaskSchemas._WorkflowInfo + TaskSchemas._Task + TaskIdentifiers._TaskIdentifiers;
13
13
  export const TaskInput = TimeStamps._TimeStampsInput + Events._EventInput + Events._EventsInput + TemplateInfo._TemplateInfoInput + TaskSchemas._EntityHierarchyInput + TaskSchemas._TaskInfoInput + TaskSchemas._WorkflowInfoInput + TaskSchemas._TaskInput + TaskIdentifiers._TaskIdentifiersInput;
14
14
  export const TaskFilter = TaskSchemas._TaskFilter;
15
15
  export const Tasks = Task + TaskInput + TaskFilter + TaskOldSchemas._TaskOld;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuffieldtechnologies/rugged-schema-types",
3
- "version": "2.1.49",
3
+ "version": "2.1.50",
4
4
  "description": "Graphql schema for rugged data",
5
5
  "main": "dist/index.js",
6
6
  "keywords": [
package/schemas/task.ts CHANGED
@@ -18,6 +18,7 @@ export const _TaskInfo = `#graphql
18
18
  rootEntityName: String
19
19
  rootEntityAncestry: String
20
20
  rootEntityHierarchy: [EntityHierarchyInfo]
21
+ testObj: TestInfo
21
22
  id: String
22
23
  refNo: String
23
24
  tags: String
@@ -42,12 +43,19 @@ export const _WorkflowInfo = `
42
43
  }
43
44
  `;
44
45
 
46
+ export const _TestInfo = `#graphql
47
+ type TestInfo {
48
+ category: String
49
+ entity: String
50
+ }
51
+ `
52
+
45
53
  export const _EntityHierarchyInfo = `#graphql
46
54
  type EntityHierarchyInfo {
47
55
  category: String
48
56
  entity: String
49
57
  }
50
- `;
58
+ `
51
59
 
52
60
  export const _TaskInput = `
53
61
  input TaskInput {
@@ -59,7 +67,7 @@ export const _TaskInput = `
59
67
  }
60
68
  `;
61
69
 
62
- export const _TaskInfoInput = `
70
+ export const _TaskInfoInput = `#graphql
63
71
  input TaskInfoInput {
64
72
  status: String
65
73
  statusBeforeEdit: String
@@ -91,14 +99,14 @@ export const _WorkflowInfoInput = `
91
99
  }
92
100
  `;
93
101
 
94
- export const _EntityHierarchyInput = `
102
+ export const _EntityHierarchyInput = `#graphql
95
103
  input EntityHierarchyInput {
96
104
  category: String
97
105
  entity: String
98
106
  }
99
- `;
107
+ `
100
108
 
101
- export const _TaskFilter = `
109
+ export const _TaskFilter = `#graphql
102
110
  input TaskFilter {
103
111
  users: [ID]
104
112
  userEmails: [String]