@nuffieldtechnologies/rugged-schema-types 2.1.54 → 3.0.0

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/.eslintrc.js CHANGED
File without changes
package/README.md CHANGED
File without changes
package/dist/index.js CHANGED
File without changes
package/dist/index.js.map CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -8,6 +8,7 @@ exports._Task = `
8
8
  fields: String
9
9
  info: TaskInfo
10
10
  sections: String
11
+ pages: String
11
12
  workflow: WorkflowInfo
12
13
  }
13
14
  `;
@@ -48,6 +49,7 @@ exports._TaskInput = `
48
49
  fields: String
49
50
  info: TaskInfoInput
50
51
  sections: String,
52
+ pages: String,
51
53
  workflow: WorkflowInfoInput
52
54
  }
53
55
  `;
@@ -93,5 +95,5 @@ exports._TaskFilter = `
93
95
  before: String
94
96
  }
95
97
  `;
96
- exports._AllTaskFields = `{collections, fields, info {status, id, rootEntityId, rootEntityName, rootEntityAncestry, rootEntityHierarchy, 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}}`;
98
+ exports._AllTaskFields = `{collections, fields, info {status, id, rootEntityId, rootEntityName, rootEntityAncestry, rootEntityHierarchy, 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, pages, workflow {slug, step, history}}`;
97
99
  //# 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,UAAU,GAAG;;;;;;;;CAQzB,CAAC;AAEW,QAAA,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;CAsB7B,CAAC;AAEW,QAAA,kBAAkB,GAAG;;;;;;CAMjC,CAAC;AAEW,QAAA,WAAW,GAAG;;;;;;;;;;;CAW1B,CAAC;AAEW,QAAA,cAAc,GAAG,wRAAwR,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;;;;;;;;;CASpB,CAAC;AAEW,QAAA,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;CAuBxB,CAAC;AACW,QAAA,aAAa,GAAG;;;;;;CAM5B,CAAC;AAEW,QAAA,UAAU,GAAG;;;;;;;;;CASzB,CAAC;AAEW,QAAA,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;CAsB7B,CAAC;AAEW,QAAA,kBAAkB,GAAG;;;;;;CAMjC,CAAC;AAEW,QAAA,WAAW,GAAG;;;;;;;;;;;CAW1B,CAAC;AAEW,QAAA,cAAc,GAAG,wRAAwR,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,yIAAyI,CAAC"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/index.ts CHANGED
File without changes
package/package.json CHANGED
@@ -1,30 +1,31 @@
1
1
  {
2
2
  "name": "@nuffieldtechnologies/rugged-schema-types",
3
- "version": "2.1.54",
3
+ "version": "3.0.0",
4
4
  "description": "Graphql schema for rugged data",
5
5
  "main": "dist/index.js",
6
- "keywords": [
7
- "graphql",
8
- "schema"
9
- ],
10
- "devDependencies": {
11
- "@types/chai": "^4.3.4",
12
- "@types/mocha": "^10.0.1",
13
- "chai": "^4.3.7",
14
- "mocha": "^10.2.0",
15
- "ts-node": "^10.9.1",
16
- "@typescript-eslint/eslint-plugin": "^5.48.2",
17
- "@typescript-eslint/parser": "^5.48.2",
18
- "eslint": "^8.32.0",
19
- "typescript": "^4.9.4"
20
- },
21
- "author": "Tom Edge",
22
- "license": "UNLICENSED",
23
6
  "scripts": {
24
7
  "test": "echo \"Error: no test specified\" && exit 1",
25
8
  "lint": "eslint --fix \"./**/*.ts\"",
26
9
  "prebuild": "npm run lint",
27
10
  "build": "tsc",
28
11
  "push": "npm run build && npm publish"
29
- }
12
+ },
13
+ "devDependencies": {
14
+ "@types/chai": "^5.2.3",
15
+ "@types/mocha": "^10.0.10",
16
+ "@types/node": "^24.10.1",
17
+ "@typescript-eslint/eslint-plugin": "^8.48.1",
18
+ "@typescript-eslint/parser": "^8.48.1",
19
+ "chai": "^6.2.1",
20
+ "eslint": "^8.57.0",
21
+ "mocha": "^11.7.5",
22
+ "ts-node": "^10.9.2",
23
+ "typescript": "^5.9.3"
24
+ },
25
+ "keywords": [
26
+ "graphql",
27
+ "schema"
28
+ ],
29
+ "author": "Tom Edge",
30
+ "license": "UNLICENSED"
30
31
  }
package/schemas/events.ts CHANGED
File without changes
package/schemas/form.ts CHANGED
File without changes
File without changes
package/schemas/roles.ts CHANGED
File without changes
File without changes
File without changes
package/schemas/task.ts CHANGED
@@ -6,6 +6,7 @@ export const _Task = `
6
6
  fields: String
7
7
  info: TaskInfo
8
8
  sections: String
9
+ pages: String
9
10
  workflow: WorkflowInfo
10
11
  }
11
12
  `;
@@ -48,6 +49,7 @@ export const _TaskInput = `
48
49
  fields: String
49
50
  info: TaskInfoInput
50
51
  sections: String,
52
+ pages: String,
51
53
  workflow: WorkflowInfoInput
52
54
  }
53
55
  `;
@@ -97,4 +99,4 @@ export const _TaskFilter = `
97
99
  }
98
100
  `;
99
101
 
100
- export const _AllTaskFields = `{collections, fields, info {status, id, rootEntityId, rootEntityName, rootEntityAncestry, rootEntityHierarchy, 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}}`;
102
+ export const _AllTaskFields = `{collections, fields, info {status, id, rootEntityId, rootEntityName, rootEntityAncestry, rootEntityHierarchy, 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, pages, workflow {slug, step, history}}`;
File without changes
File without changes
package/schemas/user.ts CHANGED
File without changes
package/tsconfig.json CHANGED
File without changes