@nuffieldtechnologies/rugged-schema-types 0.3.0 → 0.3.2
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/distribution/index.js +25 -14
- package/package.json +1 -1
package/distribution/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.default = exports.All = exports.AllFormFields = exports.Forms = exports.FormInput = exports.Form = exports.AllUserFields = exports.Users = exports.User = exports.AllTaskFields = exports.Tasks = exports.TaskFilter = exports.TaskInput = exports.Task = void 0;
|
|
6
|
+
exports.default = exports.All = exports.AllFormFields = exports.Forms = exports.FormFilter = exports.FormInput = exports.Form = exports.AllUserFields = exports.Users = exports.User = exports.AllTaskFields = exports.Tasks = exports.TaskFilter = exports.TaskInput = exports.Task = void 0;
|
|
7
7
|
const _TimeStamps = `
|
|
8
8
|
type TimeStamps {
|
|
9
9
|
updated: String,
|
|
@@ -110,20 +110,29 @@ const _User = `
|
|
|
110
110
|
`;
|
|
111
111
|
const _AllUserFields = `{id, organisation, name, email, roles, permissions}`;
|
|
112
112
|
const _Form = `
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
113
|
+
type Form {
|
|
114
|
+
id: ID!
|
|
115
|
+
name: String
|
|
116
|
+
key: String
|
|
117
|
+
updated: String
|
|
118
|
+
status: TEMPLATESTATUS
|
|
119
|
+
data: String
|
|
120
|
+
}
|
|
119
121
|
`;
|
|
120
122
|
const _FormInput = `
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
123
|
+
type FormInput {
|
|
124
|
+
id: ID!
|
|
125
|
+
name: String
|
|
126
|
+
key: String
|
|
127
|
+
updated: String
|
|
128
|
+
status: TEMPLATESTATUS
|
|
129
|
+
data: String
|
|
130
|
+
}
|
|
131
|
+
`;
|
|
132
|
+
const _FormFilter = `
|
|
133
|
+
input FormFilter {
|
|
134
|
+
status: _TemplateStatus
|
|
135
|
+
},
|
|
127
136
|
`;
|
|
128
137
|
const _AllFormFields = `{id, name, key, updated, status, data}`;
|
|
129
138
|
const Task = _TimeStamps + _TemplateInfo + _Task;
|
|
@@ -146,7 +155,9 @@ const Form = _TemplateStatus + _Form;
|
|
|
146
155
|
exports.Form = Form;
|
|
147
156
|
const FormInput = _FormInput;
|
|
148
157
|
exports.FormInput = FormInput;
|
|
149
|
-
const
|
|
158
|
+
const FormFilter = _FormFilter;
|
|
159
|
+
exports.FormFilter = FormFilter;
|
|
160
|
+
const Forms = Form + FormInput + FormFilter;
|
|
150
161
|
exports.Forms = Forms;
|
|
151
162
|
const AllFormFields = _AllFormFields;
|
|
152
163
|
exports.AllFormFields = AllFormFields;
|