@qoretechnologies/reqraft 0.2.0 → 0.2.1

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.
Files changed (151) hide show
  1. package/dist/components/form/fields/Field.d.ts.map +1 -0
  2. package/dist/components/form/fields/Field.js.map +1 -0
  3. package/dist/components/form/fields/string/String.d.ts.map +1 -0
  4. package/dist/components/form/fields/string/String.js.map +1 -0
  5. package/dist/components/menu/Menu.d.ts.map +1 -0
  6. package/dist/components/menu/Menu.js.map +1 -0
  7. package/dist/contexts/FetchContext.d.ts.map +1 -0
  8. package/dist/contexts/FetchContext.js.map +1 -0
  9. package/dist/contexts/ReqraftContext.d.ts.map +1 -0
  10. package/dist/contexts/ReqraftContext.js.map +1 -0
  11. package/dist/contexts/StorageContext.d.ts.map +1 -0
  12. package/dist/contexts/StorageContext.js.map +1 -0
  13. package/dist/hooks/useFetch/useFetch.d.ts.map +1 -0
  14. package/dist/hooks/useFetch/useFetch.js.map +1 -0
  15. package/dist/hooks/useReqraftProperty.d.ts.map +1 -0
  16. package/dist/hooks/useReqraftProperty.js.map +1 -0
  17. package/dist/hooks/useStorage/useStorage.d.ts.map +1 -0
  18. package/dist/hooks/useStorage/useStorage.js.map +1 -0
  19. package/dist/hooks/useValidation.d.ts.map +1 -0
  20. package/dist/hooks/useValidation.js.map +1 -0
  21. package/dist/index.d.ts.map +1 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/providers/FetchProvider.d.ts.map +1 -0
  24. package/dist/providers/FetchProvider.js.map +1 -0
  25. package/dist/providers/ReqraftProvider.d.ts.map +1 -0
  26. package/dist/providers/ReqraftProvider.js.map +1 -0
  27. package/dist/providers/StorageProvider.d.ts.map +1 -0
  28. package/dist/providers/StorageProvider.js.map +1 -0
  29. package/dist/types/Form.d.ts.map +1 -0
  30. package/dist/{src/types → types}/Form.js.map +1 -1
  31. package/dist/types.d.ts.map +1 -0
  32. package/dist/types.js.map +1 -0
  33. package/dist/utils/fetch.d.ts.map +1 -0
  34. package/dist/utils/fetch.js.map +1 -0
  35. package/package.json +1 -1
  36. package/.eslintrc.js +0 -40
  37. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
  38. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  39. package/.github/ISSUE_TEMPLATE/new-component.md +0 -20
  40. package/.github/ISSUE_TEMPLATE/visual-bug-report.md +0 -38
  41. package/.github/workflows/beta_release.yml +0 -108
  42. package/.github/workflows/tests.yml +0 -120
  43. package/.prettierrc +0 -7
  44. package/build-storybook.log +0 -28
  45. package/dist/__tests__/ mock.d.ts +0 -23
  46. package/dist/__tests__/ mock.d.ts.map +0 -1
  47. package/dist/__tests__/ mock.js +0 -44
  48. package/dist/__tests__/ mock.js.map +0 -1
  49. package/dist/__tests__/utils.d.ts +0 -3
  50. package/dist/__tests__/utils.d.ts.map +0 -1
  51. package/dist/__tests__/utils.js +0 -60
  52. package/dist/__tests__/utils.js.map +0 -1
  53. package/dist/mock/interfaceCategories.json +0 -155
  54. package/dist/mock/menu.d.ts +0 -70
  55. package/dist/mock/menu.d.ts.map +0 -1
  56. package/dist/mock/menu.js +0 -301
  57. package/dist/mock/menu.js.map +0 -1
  58. package/dist/src/components/form/fields/Field.d.ts.map +0 -1
  59. package/dist/src/components/form/fields/Field.js.map +0 -1
  60. package/dist/src/components/form/fields/string/String.d.ts.map +0 -1
  61. package/dist/src/components/form/fields/string/String.js.map +0 -1
  62. package/dist/src/components/form/fields/string/String.stories.d.ts +0 -10
  63. package/dist/src/components/form/fields/string/String.stories.d.ts.map +0 -1
  64. package/dist/src/components/form/fields/string/String.stories.js +0 -21
  65. package/dist/src/components/form/fields/string/String.stories.js.map +0 -1
  66. package/dist/src/components/menu/Menu.d.ts.map +0 -1
  67. package/dist/src/components/menu/Menu.js.map +0 -1
  68. package/dist/src/components/menu/Menu.stories.d.ts +0 -12
  69. package/dist/src/components/menu/Menu.stories.d.ts.map +0 -1
  70. package/dist/src/components/menu/Menu.stories.js +0 -159
  71. package/dist/src/components/menu/Menu.stories.js.map +0 -1
  72. package/dist/src/contexts/FetchContext.d.ts.map +0 -1
  73. package/dist/src/contexts/FetchContext.js.map +0 -1
  74. package/dist/src/contexts/ReqraftContext.d.ts.map +0 -1
  75. package/dist/src/contexts/ReqraftContext.js.map +0 -1
  76. package/dist/src/contexts/StorageContext.d.ts.map +0 -1
  77. package/dist/src/contexts/StorageContext.js.map +0 -1
  78. package/dist/src/hooks/useFetch/useFetch.d.ts.map +0 -1
  79. package/dist/src/hooks/useFetch/useFetch.js.map +0 -1
  80. package/dist/src/hooks/useFetch/useFetch.stories.d.ts +0 -9
  81. package/dist/src/hooks/useFetch/useFetch.stories.d.ts.map +0 -1
  82. package/dist/src/hooks/useFetch/useFetch.stories.js +0 -177
  83. package/dist/src/hooks/useFetch/useFetch.stories.js.map +0 -1
  84. package/dist/src/hooks/useReqraftProperty.d.ts.map +0 -1
  85. package/dist/src/hooks/useReqraftProperty.js.map +0 -1
  86. package/dist/src/hooks/useStorage/useStorage.d.ts.map +0 -1
  87. package/dist/src/hooks/useStorage/useStorage.js.map +0 -1
  88. package/dist/src/hooks/useStorage/useStorage.stories.d.ts +0 -9
  89. package/dist/src/hooks/useStorage/useStorage.stories.d.ts.map +0 -1
  90. package/dist/src/hooks/useStorage/useStorage.stories.js +0 -162
  91. package/dist/src/hooks/useStorage/useStorage.stories.js.map +0 -1
  92. package/dist/src/hooks/useValidation.d.ts.map +0 -1
  93. package/dist/src/hooks/useValidation.js.map +0 -1
  94. package/dist/src/index.d.ts.map +0 -1
  95. package/dist/src/index.js.map +0 -1
  96. package/dist/src/providers/FetchProvider.d.ts.map +0 -1
  97. package/dist/src/providers/FetchProvider.js.map +0 -1
  98. package/dist/src/providers/ReqraftProvider.d.ts.map +0 -1
  99. package/dist/src/providers/ReqraftProvider.js.map +0 -1
  100. package/dist/src/providers/StorageProvider.d.ts.map +0 -1
  101. package/dist/src/providers/StorageProvider.js.map +0 -1
  102. package/dist/src/types/Form.d.ts.map +0 -1
  103. package/dist/src/types.d.ts.map +0 -1
  104. package/dist/src/types.js.map +0 -1
  105. package/dist/src/utils/fetch.d.ts.map +0 -1
  106. package/dist/src/utils/fetch.js.map +0 -1
  107. package/mock/interfaceCategories.json +0 -155
  108. package/mock/menu.ts +0 -301
  109. package/public/logo-dark.png +0 -0
  110. package/public/logo.png +0 -0
  111. package/public/q-symbol-small.png +0 -0
  112. package/public/q-symbol.png +0 -0
  113. package/public/qoreLogo-dark.png +0 -0
  114. package/public/qoreLogo.png +0 -0
  115. package/src/icons.json +0 -2295
  116. package/tests.json +0 -1
  117. package/tsconfig.prod.json +0 -26
  118. /package/dist/{src/components → components}/form/fields/Field.d.ts +0 -0
  119. /package/dist/{src/components → components}/form/fields/Field.js +0 -0
  120. /package/dist/{src/components → components}/form/fields/string/String.d.ts +0 -0
  121. /package/dist/{src/components → components}/form/fields/string/String.js +0 -0
  122. /package/dist/{src/components → components}/menu/Menu.d.ts +0 -0
  123. /package/dist/{src/components → components}/menu/Menu.js +0 -0
  124. /package/dist/{src/contexts → contexts}/FetchContext.d.ts +0 -0
  125. /package/dist/{src/contexts → contexts}/FetchContext.js +0 -0
  126. /package/dist/{src/contexts → contexts}/ReqraftContext.d.ts +0 -0
  127. /package/dist/{src/contexts → contexts}/ReqraftContext.js +0 -0
  128. /package/dist/{src/contexts → contexts}/StorageContext.d.ts +0 -0
  129. /package/dist/{src/contexts → contexts}/StorageContext.js +0 -0
  130. /package/dist/{src/hooks → hooks}/useFetch/useFetch.d.ts +0 -0
  131. /package/dist/{src/hooks → hooks}/useFetch/useFetch.js +0 -0
  132. /package/dist/{src/hooks → hooks}/useReqraftProperty.d.ts +0 -0
  133. /package/dist/{src/hooks → hooks}/useReqraftProperty.js +0 -0
  134. /package/dist/{src/hooks → hooks}/useStorage/useStorage.d.ts +0 -0
  135. /package/dist/{src/hooks → hooks}/useStorage/useStorage.js +0 -0
  136. /package/dist/{src/hooks → hooks}/useValidation.d.ts +0 -0
  137. /package/dist/{src/hooks → hooks}/useValidation.js +0 -0
  138. /package/dist/{src/index.d.ts → index.d.ts} +0 -0
  139. /package/dist/{src/index.js → index.js} +0 -0
  140. /package/dist/{src/providers → providers}/FetchProvider.d.ts +0 -0
  141. /package/dist/{src/providers → providers}/FetchProvider.js +0 -0
  142. /package/dist/{src/providers → providers}/ReqraftProvider.d.ts +0 -0
  143. /package/dist/{src/providers → providers}/ReqraftProvider.js +0 -0
  144. /package/dist/{src/providers → providers}/StorageProvider.d.ts +0 -0
  145. /package/dist/{src/providers → providers}/StorageProvider.js +0 -0
  146. /package/dist/{src/types → types}/Form.d.ts +0 -0
  147. /package/dist/{src/types → types}/Form.js +0 -0
  148. /package/dist/{src/types.d.ts → types.d.ts} +0 -0
  149. /package/dist/{src/types.js → types.js} +0 -0
  150. /package/dist/{src/utils → utils}/fetch.d.ts +0 -0
  151. /package/dist/{src/utils → utils}/fetch.js +0 -0
@@ -1,23 +0,0 @@
1
- export declare const storiesStorageMockEmpty: {
2
- url: string;
3
- method: string;
4
- status: number;
5
- response: {};
6
- }[];
7
- export declare const storiesStorageMock: ({
8
- url: string;
9
- method: string;
10
- status: number;
11
- response: {
12
- 'sidebar-size': number;
13
- storybook: {
14
- 'some-path': string;
15
- };
16
- };
17
- } | {
18
- url: string;
19
- method: string;
20
- status: number;
21
- response: (request: any) => any;
22
- })[];
23
- //# sourceMappingURL=%20mock.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":" mock.d.ts","sourceRoot":"","sources":["../../__tests__/ mock.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;;;;;GAOnC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;IAgC9B,CAAC"}
@@ -1,44 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.storiesStorageMock = exports.storiesStorageMockEmpty = void 0;
4
- var lodash_1 = require("lodash");
5
- exports.storiesStorageMockEmpty = [
6
- {
7
- url: 'https://hq.qoretechnologies.com:8092/api/latest/users/_current_/storage',
8
- method: 'GET',
9
- status: 200,
10
- response: {},
11
- },
12
- ];
13
- exports.storiesStorageMock = [
14
- {
15
- url: 'https://hq.qoretechnologies.com:8092/api/latest/users/_current_/storage',
16
- method: 'GET',
17
- status: 200,
18
- response: {
19
- 'sidebar-size': 350,
20
- storybook: {
21
- 'some-path': 'This is a storage value',
22
- },
23
- },
24
- },
25
- {
26
- url: 'https://hq.qoretechnologies.com:8092/api/latest/users/_current_/',
27
- method: 'PUT',
28
- status: 200,
29
- response: function (request) {
30
- var body = JSON.parse(request.body);
31
- if (body.storage_path && !body.value) {
32
- body.storage = {
33
- 'sidebar-size': 350,
34
- storybook: {
35
- 'some-path': 'This is a NEW value',
36
- },
37
- };
38
- (0, lodash_1.set)(body.storage, body.storage_path, null);
39
- }
40
- return body.storage;
41
- },
42
- },
43
- ];
44
- //# sourceMappingURL=%20mock.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":" mock.js","sourceRoot":"","sources":["../../__tests__/ mock.ts"],"names":[],"mappings":";;;AAAA,iCAA6B;AAEhB,QAAA,uBAAuB,GAAG;IACrC;QACE,GAAG,EAAE,yEAAyE;QAC9E,MAAM,EAAE,KAAK;QACb,MAAM,EAAE,GAAG;QACX,QAAQ,EAAE,EAAE;KACb;CACF,CAAC;AAEW,QAAA,kBAAkB,GAAG;IAChC;QACE,GAAG,EAAE,yEAAyE;QAC9E,MAAM,EAAE,KAAK;QACb,MAAM,EAAE,GAAG;QACX,QAAQ,EAAE;YACR,cAAc,EAAE,GAAG;YACnB,SAAS,EAAE;gBACT,WAAW,EAAE,yBAAyB;aACvC;SACF;KACF;IACD;QACE,GAAG,EAAE,kEAAkE;QACvE,MAAM,EAAE,KAAK;QACb,MAAM,EAAE,GAAG;QACX,QAAQ,EAAE,UAAC,OAAO;YAChB,IAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YAEtC,IAAI,IAAI,CAAC,YAAY,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;gBACrC,IAAI,CAAC,OAAO,GAAG;oBACb,cAAc,EAAE,GAAG;oBACnB,SAAS,EAAE;wBACT,WAAW,EAAE,qBAAqB;qBACnC;iBACF,CAAC;gBACF,IAAA,YAAG,EAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;YAC7C,CAAC;YAED,OAAO,IAAI,CAAC,OAAO,CAAC;QACtB,CAAC;KACF;CACF,CAAC"}
@@ -1,3 +0,0 @@
1
- export declare const sleep: (ms: number) => Promise<unknown>;
2
- export declare function testsWaitForText(text: string, selector?: string): Promise<void>;
3
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../__tests__/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,OAAQ,MAAM,qBAE/B,CAAC;AAEF,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,iBAIrE"}
@@ -1,60 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __generator = (this && this.__generator) || function (thisArg, body) {
12
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
- function verb(n) { return function (v) { return step([n, v]); }; }
15
- function step(op) {
16
- if (f) throw new TypeError("Generator is already executing.");
17
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
- if (y = 0, t) op = [op[0] & 2, t.value];
20
- switch (op[0]) {
21
- case 0: case 1: t = op; break;
22
- case 4: _.label++; return { value: op[1], done: false };
23
- case 5: _.label++; y = op[1]; op = [0]; continue;
24
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
25
- default:
26
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30
- if (t[2]) _.ops.pop();
31
- _.trys.pop(); continue;
32
- }
33
- op = body.call(thisArg, _);
34
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
36
- }
37
- };
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.testsWaitForText = exports.sleep = void 0;
40
- var test_1 = require("@storybook/test");
41
- var sleep = function (ms) {
42
- return new Promise(function (resolve) { return setTimeout(resolve, ms); });
43
- };
44
- exports.sleep = sleep;
45
- function testsWaitForText(text, selector) {
46
- return __awaiter(this, void 0, void 0, function () {
47
- return __generator(this, function (_a) {
48
- switch (_a.label) {
49
- case 0: return [4 /*yield*/, (0, test_1.waitFor)(function () { return (0, test_1.expect)(test_1.screen.queryAllByText(text, { selector: selector })[0]).toBeInTheDocument(); }, {
50
- timeout: 10000,
51
- })];
52
- case 1:
53
- _a.sent();
54
- return [2 /*return*/];
55
- }
56
- });
57
- });
58
- }
59
- exports.testsWaitForText = testsWaitForText;
60
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../__tests__/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wCAA0D;AAEnD,IAAM,KAAK,GAAG,UAAC,EAAU;IAC9B,OAAO,IAAI,OAAO,CAAC,UAAC,OAAO,IAAK,OAAA,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,EAAvB,CAAuB,CAAC,CAAC;AAC3D,CAAC,CAAC;AAFW,QAAA,KAAK,SAEhB;AAEF,SAAsB,gBAAgB,CAAC,IAAY,EAAE,QAAiB;;;;wBACpE,qBAAM,IAAA,cAAO,EAAC,cAAM,OAAA,IAAA,aAAM,EAAC,aAAM,CAAC,cAAc,CAAC,IAAI,EAAE,EAAE,QAAQ,UAAA,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,EAAxE,CAAwE,EAAE;wBAC5F,OAAO,EAAE,KAAK;qBACf,CAAC,EAAA;;oBAFF,SAEE,CAAC;;;;;CACJ;AAJD,4CAIC"}
@@ -1,155 +0,0 @@
1
- {
2
- "fsm": {
3
- "singular_display_name": "Qog",
4
- "display_name": "Qogs",
5
- "short_desc": "Qogs are no-code logic elements based on finite state machines; they can be used anywhere in Qorus as an alternative to coding",
6
- "supports_code": false,
7
- "url_root": "fsms",
8
- "drafts": 2,
9
- "items": 49
10
- },
11
- "connection": {
12
- "singular_display_name": "Connection",
13
- "display_name": "Connections",
14
- "short_desc": "Connections to remote systems",
15
- "supports_code": false,
16
- "url_root": "connections",
17
- "drafts": 0,
18
- "items": 25
19
- },
20
- "class": {
21
- "singular_display_name": "Class",
22
- "display_name": "Classes",
23
- "short_desc": "Classes that can be used in Qorus interface code",
24
- "supports_code": true,
25
- "url_root": "classes",
26
- "drafts": 0,
27
- "items": 192
28
- },
29
- "errors": {
30
- "singular_display_name": "Error",
31
- "display_name": "Errors",
32
- "short_desc": "Workflow error set definitions",
33
- "supports_code": false,
34
- "url_root": "error-sets",
35
- "drafts": 0,
36
- "items": 14
37
- },
38
- "event": {
39
- "singular_display_name": "Workflow Sync Event",
40
- "display_name": "Workflow Sync Events",
41
- "short_desc": "Workflow synchronization events",
42
- "supports_code": false,
43
- "url_root": "events",
44
- "drafts": 0,
45
- "items": 9
46
- },
47
- "group": {
48
- "singular_display_name": "Interface Group",
49
- "display_name": "Interface Groups",
50
- "short_desc": "Interface groups allow interfaces to be enabled and disabled together as well as enabling views on interfaces to be restricted for certain users",
51
- "supports_code": false,
52
- "url_root": "groups",
53
- "drafts": 0,
54
- "items": 102
55
- },
56
- "job": {
57
- "singular_display_name": "Scheduled Job",
58
- "display_name": "Scheduled Jobs",
59
- "short_desc": "Jobs execute logic on a user-defined schedule",
60
- "supports_code": true,
61
- "url_root": "jobs",
62
- "drafts": 0,
63
- "items": 91
64
- },
65
- "mapper": {
66
- "singular_display_name": "Mapper",
67
- "display_name": "Mappers",
68
- "short_desc": "Mappers are visual data transformation elements",
69
- "supports_code": false,
70
- "url_root": "mappers",
71
- "drafts": 0,
72
- "items": 37
73
- },
74
- "mapper-code": {
75
- "singular_display_name": "Mapper Code Object",
76
- "display_name": "Mapper Code",
77
- "short_desc": "Mapper code elements are classes with methods that can be directly used in mappers for complex data transformation logic",
78
- "supports_code": true,
79
- "url_root": "classes",
80
- "drafts": 0,
81
- "items": 3
82
- },
83
- "pipeline": {
84
- "singular_display_name": "Data Pipeline",
85
- "display_name": "Data Pipelines",
86
- "short_desc": "Data pipelines enable large volumes of data to be processed efficiently",
87
- "supports_code": false,
88
- "url_root": "pipelines",
89
- "drafts": 0,
90
- "items": 15
91
- },
92
- "queue": {
93
- "singular_display_name": "Asynchronous Step Queue",
94
- "display_name": "Asynchronous Step Queues",
95
- "short_desc": "Asynchronous step queues connect the front end to the back end of asynchronous workflow steps",
96
- "supports_code": false,
97
- "url_root": "queues",
98
- "drafts": 0,
99
- "items": 13
100
- },
101
- "service": {
102
- "singular_display_name": "Service",
103
- "display_name": "Services",
104
- "short_desc": "Services are a top-level interfacing object in Qorus",
105
- "supports_code": true,
106
- "url_root": "services",
107
- "drafts": 0,
108
- "items": 117
109
- },
110
- "sla": {
111
- "singular_display_name": "SLA",
112
- "display_name": "SLAs",
113
- "short_desc": "SLAs track technical performance metrics with business impact",
114
- "supports_code": false,
115
- "url_root": "slas",
116
- "drafts": 0,
117
- "items": 5
118
- },
119
- "step": {
120
- "singular_display_name": "Step",
121
- "display_name": "Steps",
122
- "short_desc": "Steps are an atomic execution element in a workflow",
123
- "supports_code": true,
124
- "url_root": "steps",
125
- "drafts": 0,
126
- "items": 233
127
- },
128
- "type": {
129
- "singular_display_name": "Type",
130
- "display_name": "Types",
131
- "short_desc": "Data types",
132
- "supports_code": false,
133
- "url_root": "types",
134
- "drafts": 0,
135
- "items": 97
136
- },
137
- "value-map": {
138
- "singular_display_name": "Value Map",
139
- "display_name": "Value Maps",
140
- "short_desc": "Value maps provide simple mappings from one value to another",
141
- "supports_code": false,
142
- "url_root": "valuemaps",
143
- "drafts": 0,
144
- "items": 10
145
- },
146
- "workflow": {
147
- "singular_display_name": "Workflow",
148
- "display_name": "Workflows",
149
- "short_desc": "Workflows are the primary stateful orchestration interface type in Qorus",
150
- "supports_code": true,
151
- "url_root": "workflows",
152
- "drafts": 0,
153
- "items": 112
154
- }
155
- }
@@ -1,70 +0,0 @@
1
- import { IReqoreIconName } from '@qoretechnologies/reqore/dist/types/icons';
2
- import { TReqraftMenuItem } from '../src';
3
- export declare const interfaceIcons: Record<string, IReqoreIconName>;
4
- declare const _default: ({
5
- label: string;
6
- icon: string;
7
- to: string;
8
- activePaths: string[];
9
- id: string;
10
- as: string;
11
- submenu: TReqraftMenuItem[];
12
- divider?: undefined;
13
- href?: undefined;
14
- } | {
15
- divider: boolean;
16
- label?: undefined;
17
- icon?: undefined;
18
- to?: undefined;
19
- activePaths?: undefined;
20
- id?: undefined;
21
- as?: undefined;
22
- submenu?: undefined;
23
- href?: undefined;
24
- } | {
25
- label: string;
26
- icon: string;
27
- href: string;
28
- activePaths: string[];
29
- id: string;
30
- as: string;
31
- to?: undefined;
32
- submenu?: undefined;
33
- divider?: undefined;
34
- } | {
35
- label: string;
36
- id: string;
37
- icon: string;
38
- submenu: {
39
- label: string;
40
- icon: string;
41
- href: string;
42
- activePaths: string[];
43
- id: string;
44
- as: string;
45
- }[];
46
- to?: undefined;
47
- activePaths?: undefined;
48
- as?: undefined;
49
- divider?: undefined;
50
- href?: undefined;
51
- } | {
52
- label: string;
53
- icon: string;
54
- activePaths: string[];
55
- id: string;
56
- submenu: {
57
- label: string;
58
- icon: string;
59
- href: string;
60
- activePaths: string[];
61
- id: string;
62
- as: string;
63
- }[];
64
- to?: undefined;
65
- as?: undefined;
66
- divider?: undefined;
67
- href?: undefined;
68
- })[];
69
- export default _default;
70
- //# sourceMappingURL=menu.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../mock/menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAE5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAG1C,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAsB1D,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,wBA+QE"}
package/dist/mock/menu.js DELETED
@@ -1,301 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.interfaceIcons = void 0;
7
- var lodash_1 = require("lodash");
8
- var interfaceCategories_json_1 = __importDefault(require("./interfaceCategories.json"));
9
- exports.interfaceIcons = {
10
- service: 'ServerLine',
11
- step: 'StickyNoteLine',
12
- 'mapper-code': 'FunctionLine',
13
- errors: 'ErrorWarningLine',
14
- workflow: 'GitBranchLine',
15
- job: 'CalendarLine',
16
- mapper: 'MindMap',
17
- group: 'GridFill',
18
- event: 'GitCommitLine',
19
- 'sync-event': 'GitCommitLine',
20
- queue: 'StackLine',
21
- connection: 'Plug2Line',
22
- fsm: 'DashboardLine',
23
- pipeline: 'NodeTree',
24
- 'value-map': 'BringToFront',
25
- type: 'Asterisk',
26
- class: 'CodeSLine',
27
- 'schema-modules': 'Database2Line',
28
- scripts: 'FileCodeLine',
29
- tests: 'FilterLine',
30
- sla: 'TimerLine',
31
- };
32
- exports.default = [
33
- {
34
- label: 'Developer Portal',
35
- icon: 'CodeBoxLine',
36
- to: '/',
37
- activePaths: ['', '/ide'],
38
- id: 'ide',
39
- as: 'a',
40
- submenu: (0, lodash_1.map)(interfaceCategories_json_1.default, function (item, id) { return ({
41
- label: item.display_name,
42
- icon: exports.interfaceIcons[id],
43
- minimal: false,
44
- to: "/Interfaces/".concat(id),
45
- badge: [{ label: item.items + item.drafts, align: 'right' }],
46
- tooltip: {
47
- content: item.short_desc,
48
- maxWidth: '400px',
49
- delay: 300,
50
- },
51
- wrap: false,
52
- activePaths: ["/Interfaces/".concat(id), "/CreateInterface/".concat(id)],
53
- as: 'a',
54
- id: id,
55
- rightIcon: 'AddLine',
56
- }); }),
57
- },
58
- {
59
- divider: true,
60
- },
61
- {
62
- label: 'Operational Dashboard',
63
- icon: 'Home2Fill',
64
- href: '/dashboard',
65
- activePaths: ['/dashboard'],
66
- id: 'dashboard',
67
- as: 'a',
68
- },
69
- {
70
- label: 'Operational Interfaces',
71
- id: 'interfaces',
72
- icon: 'LayoutMasonryFill',
73
- submenu: [
74
- {
75
- label: 'Workflows',
76
- icon: 'ExchangeLine',
77
- href: '/workflows',
78
- activePaths: ['/workflow', '/order'],
79
- id: 'workflows',
80
- as: 'a',
81
- },
82
- {
83
- label: 'Services',
84
- icon: 'GitMergeLine',
85
- href: '/services',
86
- activePaths: ['/service'],
87
- id: 'services',
88
- as: 'a',
89
- },
90
- {
91
- label: 'Jobs',
92
- icon: 'CalendarLine',
93
- href: '/jobs',
94
- activePaths: ['/job'],
95
- id: 'jobs',
96
- as: 'a',
97
- },
98
- {
99
- label: 'Groups',
100
- icon: 'BubbleChartFill',
101
- href: '/groups',
102
- activePaths: ['/groups'],
103
- id: 'groups',
104
- as: 'a',
105
- },
106
- {
107
- label: 'Connections',
108
- icon: 'StackshareLine',
109
- href: '/remote',
110
- activePaths: ['/remote'],
111
- id: 'remote',
112
- as: 'a',
113
- },
114
- {
115
- label: 'Search',
116
- icon: 'SearchLine',
117
- href: '/search',
118
- activePaths: ['/search'],
119
- id: 'search',
120
- as: 'a',
121
- },
122
- ],
123
- },
124
- {
125
- label: 'Global',
126
- icon: 'LayoutGridFill',
127
- activePaths: ['/rbac', '/valuemaps', '/slas', '/sla', '/releases', '/errors'],
128
- id: 'global',
129
- submenu: [
130
- {
131
- label: 'RBAC',
132
- icon: 'GroupLine',
133
- href: '/rbac',
134
- activePaths: ['/rbac'],
135
- id: 'rbac',
136
- as: 'a',
137
- },
138
- {
139
- label: 'Valuemaps',
140
- icon: 'MapLine',
141
- href: '/valuemaps',
142
- activePaths: ['/valuemaps'],
143
- id: 'valuemaps',
144
- as: 'a',
145
- },
146
- {
147
- label: 'SLAs',
148
- icon: 'TimeLine',
149
- href: '/slas',
150
- activePaths: ['/slas', '/sla'],
151
- id: 'slas',
152
- as: 'a',
153
- },
154
- {
155
- label: 'Releases',
156
- icon: 'InstallLine',
157
- href: '/releases',
158
- activePaths: ['/releases'],
159
- id: 'releases',
160
- as: 'a',
161
- },
162
- {
163
- label: 'Errors',
164
- icon: 'ErrorWarningLine',
165
- href: '/errors',
166
- activePaths: ['/errors'],
167
- id: 'errors',
168
- as: 'a',
169
- },
170
- {
171
- label: 'Types',
172
- icon: 'Key2Fill',
173
- href: '/types',
174
- activePaths: ['/types'],
175
- id: 'types',
176
- as: 'a',
177
- },
178
- ],
179
- },
180
- {
181
- label: 'System',
182
- icon: 'Settings2Line',
183
- activePaths: ['/system'],
184
- id: 'system',
185
- submenu: [
186
- {
187
- label: 'Alerts',
188
- icon: 'AlarmWarningLine',
189
- href: '/system/alerts',
190
- activePaths: ['/system/alerts'],
191
- id: 'alerts',
192
- as: 'a',
193
- },
194
- {
195
- label: 'Cluster',
196
- icon: 'GridFill',
197
- href: '/system/cluster',
198
- activePaths: ['/system/cluster'],
199
- id: 'cluster',
200
- as: 'a',
201
- },
202
- {
203
- label: 'Order Stats',
204
- icon: 'PieChartLine',
205
- href: '/system/orderStats',
206
- activePaths: ['/system/orderStats'],
207
- id: 'orderstats',
208
- as: 'a',
209
- },
210
- {
211
- label: 'Options',
212
- icon: 'SettingsLine',
213
- href: '/system/options',
214
- activePaths: ['/system/options'],
215
- id: 'options',
216
- as: 'a',
217
- },
218
- {
219
- label: 'Properties',
220
- icon: 'StackLine',
221
- href: '/system/props',
222
- activePaths: ['/system/props'],
223
- id: 'props',
224
- as: 'a',
225
- },
226
- {
227
- label: 'Cache',
228
- icon: 'DatabaseLine',
229
- href: '/system/sqlcache',
230
- activePaths: ['/system/sqlcache'],
231
- id: 'sqlcache',
232
- as: 'a',
233
- },
234
- {
235
- label: 'HTTP Services',
236
- icon: 'GlobeLine',
237
- href: '/system/http',
238
- activePaths: ['/system/http'],
239
- id: 'http',
240
- as: 'a',
241
- },
242
- {
243
- label: 'Config Items',
244
- icon: 'Settings6Line',
245
- href: '/system/config-items',
246
- activePaths: ['/system/config-items'],
247
- id: 'config-items',
248
- as: 'a',
249
- },
250
- ],
251
- },
252
- {
253
- label: 'More',
254
- icon: 'MoreFill',
255
- activePaths: ['/ocmd', '/library', '/extensions', '/logs', '/info'],
256
- id: 'more',
257
- submenu: [
258
- {
259
- label: 'OCMD',
260
- icon: 'TerminalLine',
261
- href: '/ocmd',
262
- activePaths: ['/ocmd'],
263
- id: 'ocmd',
264
- as: 'a',
265
- },
266
- {
267
- label: 'Library',
268
- icon: 'Book3Line',
269
- href: '/library',
270
- activePaths: ['/library'],
271
- id: 'library',
272
- as: 'a',
273
- },
274
- {
275
- label: 'Extensions',
276
- icon: 'AppsLine',
277
- href: '/extensions',
278
- activePaths: ['/extensions'],
279
- id: 'extensions',
280
- as: 'a',
281
- },
282
- {
283
- label: 'Logs',
284
- icon: 'FileTextLine',
285
- href: '/logs',
286
- activePaths: ['/logs'],
287
- id: 'logs',
288
- as: 'a',
289
- },
290
- {
291
- label: 'Info',
292
- icon: 'InformationLine',
293
- href: '/info',
294
- activePaths: ['/info'],
295
- id: 'info',
296
- as: 'a',
297
- },
298
- ],
299
- },
300
- ];
301
- //# sourceMappingURL=menu.js.map