@nuffieldtechnologies/rugged-schema-types 2.1.32 → 2.1.34
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 +0 -0
- package/README.md +0 -0
- package/dist/index.js +34 -34
- package/dist/index.js.map +0 -0
- package/dist/schemas/events.js +8 -8
- package/dist/schemas/events.js.map +0 -0
- package/dist/schemas/form.js +7 -7
- package/dist/schemas/form.js.map +0 -0
- package/dist/schemas/organisation.js +6 -6
- package/dist/schemas/organisation.js.map +0 -0
- package/dist/schemas/roles.js +6 -6
- package/dist/schemas/roles.js.map +0 -0
- package/dist/schemas/task-identifiers.js +5 -5
- package/dist/schemas/task-identifiers.js.map +0 -0
- package/dist/schemas/task-old.js +4 -4
- package/dist/schemas/task-old.js.map +0 -0
- package/dist/schemas/task.js +12 -12
- package/dist/schemas/task.js.map +0 -0
- package/dist/schemas/template-info.js +5 -5
- package/dist/schemas/template-info.js.map +0 -0
- package/dist/schemas/timestamps.js +5 -5
- package/dist/schemas/timestamps.js.map +0 -0
- package/dist/schemas/user.js +7 -7
- package/dist/schemas/user.js.map +0 -0
- package/index.ts +36 -36
- package/package.json +1 -1
- package/schemas/events.ts +0 -0
- package/schemas/form.ts +0 -0
- package/schemas/organisation.ts +0 -0
- package/schemas/roles.ts +0 -0
- package/schemas/task-identifiers.ts +0 -0
- package/schemas/task-old.ts +0 -0
- package/schemas/task.ts +0 -0
- package/schemas/template-info.ts +0 -0
- package/schemas/timestamps.ts +0 -0
- package/schemas/user.ts +0 -0
- package/tsconfig.json +0 -0
package/.eslintrc.js
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.All = exports.AllOrganisationFields = exports.Organisations = exports.OrganisationInput = exports.Organisation = exports.AllFormFields = exports.Forms = exports.FormFilter = exports.FormInput = exports.Form = exports.AllRolesFields = exports.AllUserFields = exports.Users = exports.UserInput = exports.User = exports.AllTaskFields = exports.Tasks = exports.TaskFilter = exports.TaskInput = exports.Task = void 0;
|
|
4
|
-
const TimeStamps = require("./schemas/timestamps");
|
|
5
|
-
const Events = require("./schemas/events");
|
|
6
|
-
const TemplateInfo = require("./schemas/template-info");
|
|
7
|
-
const UserSchemas = require("./schemas/user");
|
|
8
|
-
const Roles = require("./schemas/roles");
|
|
9
|
-
const FormSchemas = require("./schemas/form");
|
|
10
|
-
const OrganisationSchemas = require("./schemas/organisation");
|
|
11
|
-
const TaskIdentifiers = require("./schemas/task-identifiers");
|
|
12
|
-
const TaskOldSchemas = require("./schemas/task-old");
|
|
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;
|
|
16
|
-
exports.TaskFilter = TaskSchemas._TaskFilter;
|
|
17
|
-
exports.Tasks = exports.Task + exports.TaskInput + exports.TaskFilter + TaskOldSchemas._TaskOld;
|
|
18
|
-
exports.AllTaskFields = TaskSchemas._AllTaskFields;
|
|
19
|
-
exports.User = Roles._Roles + UserSchemas._User;
|
|
20
|
-
exports.UserInput = Roles._RolesInput + UserSchemas._UserInput;
|
|
21
|
-
exports.Users = exports.User + exports.UserInput;
|
|
22
|
-
exports.AllUserFields = UserSchemas._AllUserFields;
|
|
23
|
-
exports.AllRolesFields = Roles._AllRolesFields;
|
|
24
|
-
exports.Form = FormSchemas._Form;
|
|
25
|
-
exports.FormInput = FormSchemas._FormInput;
|
|
26
|
-
exports.FormFilter = FormSchemas._FormFilter;
|
|
27
|
-
exports.Forms = exports.Form + exports.FormInput + exports.FormFilter;
|
|
28
|
-
exports.AllFormFields = FormSchemas._AllFormFields;
|
|
29
|
-
exports.Organisation = OrganisationSchemas._Organisation;
|
|
30
|
-
exports.OrganisationInput = OrganisationSchemas._OrganisationInput;
|
|
31
|
-
exports.Organisations = exports.Organisation + exports.OrganisationInput;
|
|
32
|
-
exports.AllOrganisationFields = OrganisationSchemas._AllOrganisationFields;
|
|
33
|
-
exports.All = exports.Tasks + exports.Users + exports.Forms + exports.Organisations;
|
|
34
|
-
exports.default = exports.All;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.All = exports.AllOrganisationFields = exports.Organisations = exports.OrganisationInput = exports.Organisation = exports.AllFormFields = exports.Forms = exports.FormFilter = exports.FormInput = exports.Form = exports.AllRolesFields = exports.AllUserFields = exports.Users = exports.UserInput = exports.User = exports.AllTaskFields = exports.Tasks = exports.TaskFilter = exports.TaskInput = exports.Task = void 0;
|
|
4
|
+
const TimeStamps = require("./schemas/timestamps");
|
|
5
|
+
const Events = require("./schemas/events");
|
|
6
|
+
const TemplateInfo = require("./schemas/template-info");
|
|
7
|
+
const UserSchemas = require("./schemas/user");
|
|
8
|
+
const Roles = require("./schemas/roles");
|
|
9
|
+
const FormSchemas = require("./schemas/form");
|
|
10
|
+
const OrganisationSchemas = require("./schemas/organisation");
|
|
11
|
+
const TaskIdentifiers = require("./schemas/task-identifiers");
|
|
12
|
+
const TaskOldSchemas = require("./schemas/task-old");
|
|
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;
|
|
16
|
+
exports.TaskFilter = TaskSchemas._TaskFilter;
|
|
17
|
+
exports.Tasks = exports.Task + exports.TaskInput + exports.TaskFilter + TaskOldSchemas._TaskOld;
|
|
18
|
+
exports.AllTaskFields = TaskSchemas._AllTaskFields;
|
|
19
|
+
exports.User = Roles._Roles + UserSchemas._User;
|
|
20
|
+
exports.UserInput = Roles._RolesInput + UserSchemas._UserInput;
|
|
21
|
+
exports.Users = exports.User + exports.UserInput;
|
|
22
|
+
exports.AllUserFields = UserSchemas._AllUserFields;
|
|
23
|
+
exports.AllRolesFields = Roles._AllRolesFields;
|
|
24
|
+
exports.Form = FormSchemas._Form;
|
|
25
|
+
exports.FormInput = FormSchemas._FormInput;
|
|
26
|
+
exports.FormFilter = FormSchemas._FormFilter;
|
|
27
|
+
exports.Forms = exports.Form + exports.FormInput + exports.FormFilter;
|
|
28
|
+
exports.AllFormFields = FormSchemas._AllFormFields;
|
|
29
|
+
exports.Organisation = OrganisationSchemas._Organisation;
|
|
30
|
+
exports.OrganisationInput = OrganisationSchemas._OrganisationInput;
|
|
31
|
+
exports.Organisations = exports.Organisation + exports.OrganisationInput;
|
|
32
|
+
exports.AllOrganisationFields = OrganisationSchemas._AllOrganisationFields;
|
|
33
|
+
exports.All = exports.Tasks + exports.Users + exports.Forms + exports.Organisations;
|
|
34
|
+
exports.default = exports.All;
|
|
35
35
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
File without changes
|
package/dist/schemas/events.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports._AllEventFields = exports._EventsInput = exports._Events = exports._EventInput = exports._Event = void 0;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._AllEventFields = exports._EventsInput = exports._Events = exports._EventInput = exports._Event = void 0;
|
|
4
4
|
exports._Event = `
|
|
5
5
|
type Event {
|
|
6
6
|
appVersion: String,
|
|
@@ -12,7 +12,7 @@ exports._Event = `
|
|
|
12
12
|
user: String,
|
|
13
13
|
userEmail: String
|
|
14
14
|
}
|
|
15
|
-
`;
|
|
15
|
+
`;
|
|
16
16
|
exports._EventInput = `
|
|
17
17
|
input EventInput {
|
|
18
18
|
appVersion: String,
|
|
@@ -24,7 +24,7 @@ exports._EventInput = `
|
|
|
24
24
|
user: String,
|
|
25
25
|
userEmail: String
|
|
26
26
|
}
|
|
27
|
-
`;
|
|
27
|
+
`;
|
|
28
28
|
exports._Events = `
|
|
29
29
|
type Events {
|
|
30
30
|
started: Event,
|
|
@@ -35,7 +35,7 @@ exports._Events = `
|
|
|
35
35
|
discarded: Event,
|
|
36
36
|
reviewed: Event
|
|
37
37
|
}
|
|
38
|
-
`;
|
|
38
|
+
`;
|
|
39
39
|
exports._EventsInput = `
|
|
40
40
|
input EventsInput {
|
|
41
41
|
started: EventInput,
|
|
@@ -46,6 +46,6 @@ exports._EventsInput = `
|
|
|
46
46
|
discarded: EventInput,
|
|
47
47
|
reviewed: EventInput
|
|
48
48
|
}
|
|
49
|
-
`;
|
|
50
|
-
exports._AllEventFields = `{appVersion, at, atForHumans, device, deviceModel, osVersion, user, userEmail}`;
|
|
49
|
+
`;
|
|
50
|
+
exports._AllEventFields = `{appVersion, at, atForHumans, device, deviceModel, osVersion, user, userEmail}`;
|
|
51
51
|
//# sourceMappingURL=events.js.map
|
|
File without changes
|
package/dist/schemas/form.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports._AllFormFields = exports._FormFilter = exports._Form = exports._FormInput = void 0;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._AllFormFields = exports._FormFilter = exports._Form = exports._FormInput = void 0;
|
|
4
4
|
exports._FormInput = `
|
|
5
5
|
|
|
6
6
|
input ParamInput {
|
|
@@ -20,7 +20,7 @@ exports._FormInput = `
|
|
|
20
20
|
resources: String
|
|
21
21
|
body: String
|
|
22
22
|
}
|
|
23
|
-
`;
|
|
23
|
+
`;
|
|
24
24
|
exports._Form = `
|
|
25
25
|
|
|
26
26
|
type Param {
|
|
@@ -40,11 +40,11 @@ exports._Form = `
|
|
|
40
40
|
resources: String
|
|
41
41
|
body: String
|
|
42
42
|
}
|
|
43
|
-
`;
|
|
43
|
+
`;
|
|
44
44
|
exports._FormFilter = `
|
|
45
45
|
input FormFilter {
|
|
46
46
|
status: String
|
|
47
47
|
}
|
|
48
|
-
`;
|
|
49
|
-
exports._AllFormFields = `{id, name, key, definition, status, updated, params {name, value}, resources, body}`;
|
|
48
|
+
`;
|
|
49
|
+
exports._AllFormFields = `{id, name, key, definition, status, updated, params {name, value}, resources, body}`;
|
|
50
50
|
//# sourceMappingURL=form.js.map
|
package/dist/schemas/form.js.map
CHANGED
|
File without changes
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports._AllOrganisationFields = exports._Organisation = exports._OrganisationInput = void 0;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._AllOrganisationFields = exports._Organisation = exports._OrganisationInput = void 0;
|
|
4
4
|
exports._OrganisationInput = `
|
|
5
5
|
input OrganisationInput {
|
|
6
6
|
id: ID
|
|
7
7
|
name: String
|
|
8
8
|
logoUrl: String
|
|
9
9
|
}
|
|
10
|
-
`;
|
|
10
|
+
`;
|
|
11
11
|
exports._Organisation = `
|
|
12
12
|
type Organisation {
|
|
13
13
|
id: ID
|
|
14
14
|
name: String
|
|
15
15
|
logoUrl: String
|
|
16
16
|
}
|
|
17
|
-
`;
|
|
18
|
-
exports._AllOrganisationFields = `{id, name, logoUrl}`;
|
|
17
|
+
`;
|
|
18
|
+
exports._AllOrganisationFields = `{id, name, logoUrl}`;
|
|
19
19
|
//# sourceMappingURL=organisation.js.map
|
|
File without changes
|
package/dist/schemas/roles.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports._AllRolesFields = exports._RolesInput = exports._Roles = void 0;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._AllRolesFields = exports._RolesInput = exports._Roles = void 0;
|
|
4
4
|
exports._Roles = `
|
|
5
5
|
type Roles {
|
|
6
6
|
user: Boolean
|
|
@@ -10,13 +10,13 @@ exports._Roles = `
|
|
|
10
10
|
super: Boolean
|
|
11
11
|
legacyPush: Boolean
|
|
12
12
|
}
|
|
13
|
-
`;
|
|
13
|
+
`;
|
|
14
14
|
exports._RolesInput = `
|
|
15
15
|
input RolesInput {
|
|
16
16
|
user: Boolean
|
|
17
17
|
admin: Boolean
|
|
18
18
|
api: Boolean
|
|
19
19
|
}
|
|
20
|
-
`;
|
|
21
|
-
exports._AllRolesFields = `{user, admin, api, uber, super, legacyPush}`;
|
|
20
|
+
`;
|
|
21
|
+
exports._AllRolesFields = `{user, admin, api, uber, super, legacyPush}`;
|
|
22
22
|
//# sourceMappingURL=roles.js.map
|
|
File without changes
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports._TaskIdentifiersInput = exports._TaskIdentifiers = void 0;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._TaskIdentifiersInput = exports._TaskIdentifiers = void 0;
|
|
4
4
|
exports._TaskIdentifiers = `
|
|
5
5
|
type TaskIdentifiers {
|
|
6
6
|
primary: String
|
|
7
7
|
secondary: String
|
|
8
8
|
}
|
|
9
|
-
`;
|
|
9
|
+
`;
|
|
10
10
|
exports._TaskIdentifiersInput = `
|
|
11
11
|
input TaskIdentifiersInput {
|
|
12
12
|
primary: String
|
|
13
13
|
secondary: String
|
|
14
14
|
}
|
|
15
|
-
`;
|
|
15
|
+
`;
|
|
16
16
|
//# sourceMappingURL=task-identifiers.js.map
|
|
File without changes
|
package/dist/schemas/task-old.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports._TaskOld = void 0;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._TaskOld = void 0;
|
|
4
4
|
exports._TaskOld = `
|
|
5
5
|
type TaskOld {
|
|
6
6
|
id: ID,
|
|
@@ -20,5 +20,5 @@ exports._TaskOld = `
|
|
|
20
20
|
data: String
|
|
21
21
|
refNo: String
|
|
22
22
|
}
|
|
23
|
-
`;
|
|
23
|
+
`;
|
|
24
24
|
//# sourceMappingURL=task-old.js.map
|
|
File without changes
|
package/dist/schemas/task.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports._AllTaskFields = exports._TaskFilter = exports._WorkflowInfoInput = exports._TaskInfoInput = exports._TaskInput = exports._WorkflowInfo = exports._TaskInfo = exports._Task = void 0;
|
|
4
|
-
const Events = require("./events");
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._AllTaskFields = exports._TaskFilter = exports._WorkflowInfoInput = exports._TaskInfoInput = exports._TaskInput = exports._WorkflowInfo = exports._TaskInfo = exports._Task = void 0;
|
|
4
|
+
const Events = require("./events");
|
|
5
5
|
exports._Task = `
|
|
6
6
|
type Task {
|
|
7
7
|
collections: String
|
|
@@ -10,7 +10,7 @@ exports._Task = `
|
|
|
10
10
|
sections: String
|
|
11
11
|
workflow: WorkflowInfo
|
|
12
12
|
}
|
|
13
|
-
`;
|
|
13
|
+
`;
|
|
14
14
|
exports._TaskInfo = `
|
|
15
15
|
type TaskInfo {
|
|
16
16
|
status: String
|
|
@@ -32,14 +32,14 @@ exports._TaskInfo = `
|
|
|
32
32
|
users: String
|
|
33
33
|
timestamps: TimeStamps
|
|
34
34
|
}
|
|
35
|
-
`;
|
|
35
|
+
`;
|
|
36
36
|
exports._WorkflowInfo = `
|
|
37
37
|
type WorkflowInfo {
|
|
38
38
|
slug: String
|
|
39
39
|
step: String
|
|
40
40
|
history: String
|
|
41
41
|
}
|
|
42
|
-
`;
|
|
42
|
+
`;
|
|
43
43
|
exports._TaskInput = `
|
|
44
44
|
input TaskInput {
|
|
45
45
|
collections: String
|
|
@@ -48,7 +48,7 @@ exports._TaskInput = `
|
|
|
48
48
|
sections: String,
|
|
49
49
|
workflow: WorkflowInfoInput
|
|
50
50
|
}
|
|
51
|
-
`;
|
|
51
|
+
`;
|
|
52
52
|
exports._TaskInfoInput = `
|
|
53
53
|
input TaskInfoInput {
|
|
54
54
|
status: String
|
|
@@ -69,14 +69,14 @@ exports._TaskInfoInput = `
|
|
|
69
69
|
users: String
|
|
70
70
|
timestamps: TimeStampsInput
|
|
71
71
|
}
|
|
72
|
-
`;
|
|
72
|
+
`;
|
|
73
73
|
exports._WorkflowInfoInput = `
|
|
74
74
|
input WorkflowInfoInput {
|
|
75
75
|
slug: String
|
|
76
76
|
step: String
|
|
77
77
|
history: String
|
|
78
78
|
}
|
|
79
|
-
`;
|
|
79
|
+
`;
|
|
80
80
|
exports._TaskFilter = `
|
|
81
81
|
input TaskFilter {
|
|
82
82
|
users: [ID]
|
|
@@ -87,6 +87,6 @@ exports._TaskFilter = `
|
|
|
87
87
|
after: String
|
|
88
88
|
before: String
|
|
89
89
|
}
|
|
90
|
-
`;
|
|
91
|
-
exports._AllTaskFields = `{collections, fields, info {status, id, rootEntityId, rootEntityName, rootEntityAncestry, name, refNo, tags, workflowStep, workflow, userIds, users, timestamps {started, updated, submitted, processed, upgraded, discarded}, 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}}`;
|
|
90
|
+
`;
|
|
91
|
+
exports._AllTaskFields = `{collections, fields, info {status, id, rootEntityId, rootEntityName, rootEntityAncestry, name, refNo, tags, workflowStep, workflow, userIds, users, timestamps {started, updated, submitted, processed, upgraded, discarded}, 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}}`;
|
|
92
92
|
//# sourceMappingURL=task.js.map
|
package/dist/schemas/task.js.map
CHANGED
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports._TemplateInfoInput = exports._TemplateInfo = void 0;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._TemplateInfoInput = exports._TemplateInfo = void 0;
|
|
4
4
|
exports._TemplateInfo = `
|
|
5
5
|
type TemplateInfo {
|
|
6
6
|
name: String,
|
|
@@ -9,7 +9,7 @@ exports._TemplateInfo = `
|
|
|
9
9
|
id: String
|
|
10
10
|
version: String
|
|
11
11
|
}
|
|
12
|
-
`;
|
|
12
|
+
`;
|
|
13
13
|
exports._TemplateInfoInput = `
|
|
14
14
|
input TemplateInfoInput {
|
|
15
15
|
name: String,
|
|
@@ -18,5 +18,5 @@ exports._TemplateInfoInput = `
|
|
|
18
18
|
id: String
|
|
19
19
|
version: String
|
|
20
20
|
}
|
|
21
|
-
`;
|
|
21
|
+
`;
|
|
22
22
|
//# sourceMappingURL=template-info.js.map
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports._TimeStampsInput = exports._TimeStamps = void 0;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._TimeStampsInput = exports._TimeStamps = void 0;
|
|
4
4
|
exports._TimeStamps = `
|
|
5
5
|
type TimeStamps {
|
|
6
6
|
started: String,
|
|
@@ -10,7 +10,7 @@ exports._TimeStamps = `
|
|
|
10
10
|
processed: String,
|
|
11
11
|
upgraded: String
|
|
12
12
|
}
|
|
13
|
-
`;
|
|
13
|
+
`;
|
|
14
14
|
exports._TimeStampsInput = `
|
|
15
15
|
input TimeStampsInput {
|
|
16
16
|
started: String,
|
|
@@ -20,5 +20,5 @@ exports._TimeStampsInput = `
|
|
|
20
20
|
processed: String,
|
|
21
21
|
upgraded: String
|
|
22
22
|
}
|
|
23
|
-
`;
|
|
23
|
+
`;
|
|
24
24
|
//# sourceMappingURL=timestamps.js.map
|
|
File without changes
|
package/dist/schemas/user.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports._AllUserFields = exports._UserInput = exports._User = void 0;
|
|
4
|
-
const Roles = require("./roles");
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._AllUserFields = exports._UserInput = exports._User = void 0;
|
|
4
|
+
const Roles = require("./roles");
|
|
5
5
|
exports._User = `
|
|
6
6
|
type User {
|
|
7
7
|
id: ID
|
|
@@ -12,7 +12,7 @@ exports._User = `
|
|
|
12
12
|
roles: Roles
|
|
13
13
|
permissions: String
|
|
14
14
|
}
|
|
15
|
-
`;
|
|
15
|
+
`;
|
|
16
16
|
exports._UserInput = `
|
|
17
17
|
input UserInput {
|
|
18
18
|
id: ID
|
|
@@ -22,6 +22,6 @@ exports._UserInput = `
|
|
|
22
22
|
email: String
|
|
23
23
|
roles: RolesInput
|
|
24
24
|
}
|
|
25
|
-
`;
|
|
26
|
-
exports._AllUserFields = `{id, organisation, name, email, roles ${Roles._AllRolesFields}, permissions}`;
|
|
25
|
+
`;
|
|
26
|
+
exports._AllUserFields = `{id, organisation, name, email, roles ${Roles._AllRolesFields}, permissions}`;
|
|
27
27
|
//# sourceMappingURL=user.js.map
|
package/dist/schemas/user.js.map
CHANGED
|
File without changes
|
package/index.ts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import * as TimeStamps from './schemas/timestamps'
|
|
2
|
-
import * as Events from './schemas/events'
|
|
3
|
-
import * as TemplateInfo from './schemas/template-info'
|
|
4
|
-
import * as UserSchemas from './schemas/user'
|
|
5
|
-
import * as Roles from './schemas/roles'
|
|
6
|
-
import * as FormSchemas from './schemas/form'
|
|
7
|
-
import * as OrganisationSchemas from './schemas/organisation'
|
|
8
|
-
import * as TaskIdentifiers from './schemas/task-identifiers'
|
|
9
|
-
import * as TaskOldSchemas from './schemas/task-old'
|
|
10
|
-
import * as TaskSchemas from './schemas/task'
|
|
11
|
-
|
|
12
|
-
export const Task = TimeStamps._TimeStamps + Events._Event + Events._Events + TemplateInfo._TemplateInfo + TaskSchemas._TaskInfo + TaskSchemas._WorkflowInfo + TaskSchemas._Task + TaskIdentifiers._TaskIdentifiers;
|
|
13
|
-
export const TaskInput = TimeStamps._TimeStampsInput + Events._EventInput + Events._EventsInput + TemplateInfo._TemplateInfoInput + TaskSchemas._TaskInfoInput + TaskSchemas._WorkflowInfoInput + TaskSchemas._TaskInput + TaskIdentifiers._TaskIdentifiersInput;
|
|
14
|
-
export const TaskFilter = TaskSchemas._TaskFilter;
|
|
15
|
-
export const Tasks = Task + TaskInput + TaskFilter + TaskOldSchemas._TaskOld;
|
|
16
|
-
export const AllTaskFields = TaskSchemas._AllTaskFields;
|
|
17
|
-
|
|
18
|
-
export const User = Roles._Roles + UserSchemas._User;
|
|
19
|
-
export const UserInput = Roles._RolesInput + UserSchemas._UserInput;
|
|
20
|
-
export const Users = User + UserInput;
|
|
21
|
-
export const AllUserFields = UserSchemas._AllUserFields;
|
|
22
|
-
export const AllRolesFields = Roles._AllRolesFields;
|
|
23
|
-
|
|
24
|
-
export const Form = FormSchemas._Form;
|
|
25
|
-
export const FormInput = FormSchemas._FormInput;
|
|
26
|
-
export const FormFilter = FormSchemas._FormFilter;
|
|
27
|
-
export const Forms = Form + FormInput + FormFilter;
|
|
28
|
-
export const AllFormFields = FormSchemas._AllFormFields;
|
|
29
|
-
|
|
30
|
-
export const Organisation = OrganisationSchemas._Organisation;
|
|
31
|
-
export const OrganisationInput = OrganisationSchemas._OrganisationInput;
|
|
32
|
-
export const Organisations = Organisation + OrganisationInput;
|
|
33
|
-
export const AllOrganisationFields = OrganisationSchemas._AllOrganisationFields;
|
|
34
|
-
|
|
35
|
-
export const All = Tasks + Users + Forms + Organisations;
|
|
36
|
-
export default All;
|
|
1
|
+
import * as TimeStamps from './schemas/timestamps'
|
|
2
|
+
import * as Events from './schemas/events'
|
|
3
|
+
import * as TemplateInfo from './schemas/template-info'
|
|
4
|
+
import * as UserSchemas from './schemas/user'
|
|
5
|
+
import * as Roles from './schemas/roles'
|
|
6
|
+
import * as FormSchemas from './schemas/form'
|
|
7
|
+
import * as OrganisationSchemas from './schemas/organisation'
|
|
8
|
+
import * as TaskIdentifiers from './schemas/task-identifiers'
|
|
9
|
+
import * as TaskOldSchemas from './schemas/task-old'
|
|
10
|
+
import * as TaskSchemas from './schemas/task'
|
|
11
|
+
|
|
12
|
+
export const Task = TimeStamps._TimeStamps + Events._Event + Events._Events + TemplateInfo._TemplateInfo + TaskSchemas._TaskInfo + TaskSchemas._WorkflowInfo + TaskSchemas._Task + TaskIdentifiers._TaskIdentifiers;
|
|
13
|
+
export const TaskInput = TimeStamps._TimeStampsInput + Events._EventInput + Events._EventsInput + TemplateInfo._TemplateInfoInput + TaskSchemas._TaskInfoInput + TaskSchemas._WorkflowInfoInput + TaskSchemas._TaskInput + TaskIdentifiers._TaskIdentifiersInput;
|
|
14
|
+
export const TaskFilter = TaskSchemas._TaskFilter;
|
|
15
|
+
export const Tasks = Task + TaskInput + TaskFilter + TaskOldSchemas._TaskOld;
|
|
16
|
+
export const AllTaskFields = TaskSchemas._AllTaskFields;
|
|
17
|
+
|
|
18
|
+
export const User = Roles._Roles + UserSchemas._User;
|
|
19
|
+
export const UserInput = Roles._RolesInput + UserSchemas._UserInput;
|
|
20
|
+
export const Users = User + UserInput;
|
|
21
|
+
export const AllUserFields = UserSchemas._AllUserFields;
|
|
22
|
+
export const AllRolesFields = Roles._AllRolesFields;
|
|
23
|
+
|
|
24
|
+
export const Form = FormSchemas._Form;
|
|
25
|
+
export const FormInput = FormSchemas._FormInput;
|
|
26
|
+
export const FormFilter = FormSchemas._FormFilter;
|
|
27
|
+
export const Forms = Form + FormInput + FormFilter;
|
|
28
|
+
export const AllFormFields = FormSchemas._AllFormFields;
|
|
29
|
+
|
|
30
|
+
export const Organisation = OrganisationSchemas._Organisation;
|
|
31
|
+
export const OrganisationInput = OrganisationSchemas._OrganisationInput;
|
|
32
|
+
export const Organisations = Organisation + OrganisationInput;
|
|
33
|
+
export const AllOrganisationFields = OrganisationSchemas._AllOrganisationFields;
|
|
34
|
+
|
|
35
|
+
export const All = Tasks + Users + Forms + Organisations;
|
|
36
|
+
export default All;
|
package/package.json
CHANGED
package/schemas/events.ts
CHANGED
|
File without changes
|
package/schemas/form.ts
CHANGED
|
File without changes
|
package/schemas/organisation.ts
CHANGED
|
File without changes
|
package/schemas/roles.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/schemas/task-old.ts
CHANGED
|
File without changes
|
package/schemas/task.ts
CHANGED
|
File without changes
|
package/schemas/template-info.ts
CHANGED
|
File without changes
|
package/schemas/timestamps.ts
CHANGED
|
File without changes
|
package/schemas/user.ts
CHANGED
|
File without changes
|
package/tsconfig.json
CHANGED
|
File without changes
|