@nuffieldtechnologies/rugged-schema-types 0.1.3 → 0.1.4

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.
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.default = exports.All = exports.Tasks = exports.TaskInput = exports.Task = void 0;
6
+ exports.default = exports.All = exports.Tasks = exports.TaskFilter = exports.TaskInput = exports.Task = void 0;
7
7
  const _TimeStamps = `
8
8
  type TimeStamps {
9
9
  updated: String,
@@ -66,11 +66,22 @@ const _TaskInput = `
66
66
  data: String
67
67
  }
68
68
  `;
69
+ const _TaskFilter = `
70
+ input TaskFilter {
71
+ users: [ID]
72
+ userEmails: [String]
73
+ forms: [ID]
74
+ after: String
75
+ before: String
76
+ },
77
+ `;
69
78
  const Task = _TimeStamps + _Task;
70
79
  exports.Task = Task;
71
80
  const TaskInput = _TimeStampsInput + _TaskInput;
72
81
  exports.TaskInput = TaskInput;
73
- const Tasks = Task + TaskInput;
82
+ const TaskFilter = _TaskFilter;
83
+ exports.TaskFilter = TaskFilter;
84
+ const Tasks = Task + TaskInput + TaskFilter;
74
85
  exports.Tasks = Tasks;
75
86
  const All = Tasks;
76
87
  exports.All = All;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuffieldtechnologies/rugged-schema-types",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Graphql schema for rugged data",
5
5
  "main": "./distribution/index.js",
6
6
  "keywords": [