UNPKG

my-test123

Version:
259 lines 11.6 kB
/* * This class contains mock generator code for iterations. */ var GroupTypesMockGenerator = /** @class */ (function () { function GroupTypesMockGenerator() { } /* * Creates an array of 5 mock iterations plus parent with IDs 'iteration-id0' to * 'iteration-id25'. Other data structures in the mock generator rely on the * id naming, creating a consistent mock data. Keep in mind when changing * this code. */ GroupTypesMockGenerator.prototype.createGroupTypes = function () { var groupTypes = [ { "attributes": { "bucket": "portfolio", "created-at": "0001-01-01T00:00:00Z", "icon": "fa fa-suitcase", "name": "Scenarios", "show-in-sidebar": true, "updated-at": "0001-01-01T00:00:00Z" }, "id": "feb28a28-44a6-43f8-946a-bae987713891", "links": { "related": "https://api.prod-preview.openshift.io/api/workitemtypegroups/feb28a28-44a6-43f8-946a-bae987713891" }, "relationships": { "defaultType": { "data": { "id": "71171e90-6d35-498f-a6a7-2083b5267c18", "type": "workitemtypes" }, "links": { "related": "https://api.prod-preview.openshift.io/api/spaces/2e0698d8-753e-4cef-bb7c-f027634824a2/workitemtypes/71171e90-6d35-498f-a6a7-2083b5267c18" } }, "nextGroup": { "data": { "id": "d4e2c859-f416-4e9a-a3e0-e7bb4e1b454b", "type": "workitemtypegroups" }, "links": { "related": "https://api.prod-preview.openshift.io/api/workitemtypegroups/d4e2c859-f416-4e9a-a3e0-e7bb4e1b454b" } }, "spaceTemplate": { "data": { "id": "2e0698d8-753e-4cef-bb7c-f027634824a2", "type": "spacetemplates" } }, "typeList": { "data": [ { "id": "71171e90-6d35-498f-a6a7-2083b5267c18", "type": "workitemtypes" }, { "id": "ee7ca005-f81d-4eea-9b9b-1965df0988d0", "type": "workitemtypes" }, { "id": "6d603ab4-7c5e-4c5f-bba8-a3ba9d370985", "type": "workitemtypes" } ] } }, "type": "workitemtypegroups" }, { "attributes": { "bucket": "portfolio", "created-at": "0001-01-01T00:00:00Z", "icon": "fa fa-suitcase", "name": "Experiences", "show-in-sidebar": true, "updated-at": "0001-01-01T00:00:00Z" }, "id": "d4e2c859-f416-4e9a-a3e0-e7bb4e1b454b", "links": { "related": "https://api.prod-preview.openshift.io/api/workitemtypegroups/d4e2c859-f416-4e9a-a3e0-e7bb4e1b454b" }, "relationships": { "defaultType": { "data": { "id": "b9a71831-c803-4f66-8774-4193fffd1311", "type": "workitemtypes" }, "links": { "related": "https://api.prod-preview.openshift.io/api/spaces/2e0698d8-753e-4cef-bb7c-f027634824a2/workitemtypes/b9a71831-c803-4f66-8774-4193fffd1311" } }, "nextGroup": { "data": { "id": "bb1de8b6-3175-4821-abe9-50d0a64f19a2", "type": "workitemtypegroups" }, "links": { "related": "https://api.prod-preview.openshift.io/api/workitemtypegroups/bb1de8b6-3175-4821-abe9-50d0a64f19a2" } }, "prevGroup": { "data": { "id": "feb28a28-44a6-43f8-946a-bae987713891", "type": "workitemtypegroups" }, "links": { "related": "https://api.prod-preview.openshift.io/api/workitemtypegroups/feb28a28-44a6-43f8-946a-bae987713891" } }, "spaceTemplate": { "data": { "id": "2e0698d8-753e-4cef-bb7c-f027634824a2", "type": "spacetemplates" } }, "typeList": { "data": [ { "id": "b9a71831-c803-4f66-8774-4193fffd1311", "type": "workitemtypes" }, { "id": "3194ab60-855b-4155-9005-9dce4a05f1eb", "type": "workitemtypes" } ] } }, "type": "workitemtypegroups" }, { "attributes": { "bucket": "requirement", "created-at": "0001-01-01T00:00:00Z", "icon": "fa fa-list-ul", "name": "Requirements", "show-in-sidebar": true, "updated-at": "0001-01-01T00:00:00Z" }, "id": "bb1de8b6-3175-4821-abe9-50d0a64f19a2", "links": { "related": "https://api.prod-preview.openshift.io/api/workitemtypegroups/bb1de8b6-3175-4821-abe9-50d0a64f19a2" }, "relationships": { "defaultType": { "data": { "id": "0a24d3c2-e0a6-4686-8051-ec0ea1915a28", "type": "workitemtypes" }, "links": { "related": "https://api.prod-preview.openshift.io/api/spaces/2e0698d8-753e-4cef-bb7c-f027634824a2/workitemtypes/0a24d3c2-e0a6-4686-8051-ec0ea1915a28" } }, "nextGroup": { "data": { "id": "7fdfde54-9cf2-4098-b33b-30cd505dcfc3", "type": "workitemtypegroups" }, "links": { "related": "https://api.prod-preview.openshift.io/api/workitemtypegroups/7fdfde54-9cf2-4098-b33b-30cd505dcfc3" } }, "prevGroup": { "data": { "id": "d4e2c859-f416-4e9a-a3e0-e7bb4e1b454b", "type": "workitemtypegroups" }, "links": { "related": "https://api.prod-preview.openshift.io/api/workitemtypegroups/d4e2c859-f416-4e9a-a3e0-e7bb4e1b454b" } }, "spaceTemplate": { "data": { "id": "2e0698d8-753e-4cef-bb7c-f027634824a2", "type": "spacetemplates" } }, "typeList": { "data": [ { "id": "0a24d3c2-e0a6-4686-8051-ec0ea1915a28", "type": "workitemtypes" }, { "id": "26787039-b68f-4e28-8814-c2f93be1ef4e", "type": "workitemtypes" } ] } }, "type": "workitemtypegroups" }, { "attributes": { "bucket": "iteration", "created-at": "0001-01-01T00:00:00Z", "icon": "fa fa-repeat", "name": "Execution", "show-in-sidebar": false, "updated-at": "0001-01-01T00:00:00Z" }, "id": "7fdfde54-9cf2-4098-b33b-30cd505dcfc3", "links": { "related": "https://api.prod-preview.openshift.io/api/workitemtypegroups/7fdfde54-9cf2-4098-b33b-30cd505dcfc3" }, "relationships": { "defaultType": { "data": { "id": "bbf35418-04b6-426c-a60b-7f80beb0b624", "type": "workitemtypes" }, "links": { "related": "https://api.prod-preview.openshift.io/api/spaces/2e0698d8-753e-4cef-bb7c-f027634824a2/workitemtypes/bbf35418-04b6-426c-a60b-7f80beb0b624" } }, "prevGroup": { "data": { "id": "bb1de8b6-3175-4821-abe9-50d0a64f19a2", "type": "workitemtypegroups" }, "links": { "related": "https://api.prod-preview.openshift.io/api/workitemtypegroups/bb1de8b6-3175-4821-abe9-50d0a64f19a2" } }, "spaceTemplate": { "data": { "id": "2e0698d8-753e-4cef-bb7c-f027634824a2", "type": "spacetemplates" } }, "typeList": { "data": [ { "id": "bbf35418-04b6-426c-a60b-7f80beb0b624", "type": "workitemtypes" }, { "id": "26787039-b68f-4e28-8814-c2f93be1ef4e", "type": "workitemtypes" }, { "id": "0a24d3c2-e0a6-4686-8051-ec0ea1915a28", "type": "workitemtypes" } ] } }, "type": "workitemtypegroups" } ]; return groupTypes; }; return GroupTypesMockGenerator; }()); export { GroupTypesMockGenerator }; //# sourceMappingURL=group-types-mock-generator.js.map