@truedat/core 8.10.3 → 8.10.5
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/core",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.5",
|
|
4
4
|
"description": "Truedat Web Core",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"**/*.css",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@testing-library/jest-dom": "^6.6.3",
|
|
58
58
|
"@testing-library/react": "^16.3.0",
|
|
59
59
|
"@testing-library/user-event": "^14.6.1",
|
|
60
|
-
"@truedat/test": "8.10.
|
|
60
|
+
"@truedat/test": "8.10.5",
|
|
61
61
|
"identity-obj-proxy": "^3.0.0",
|
|
62
62
|
"jest": "^29.7.0",
|
|
63
63
|
"redux-saga-test-plan": "^4.0.6"
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"swr": "^2.3.3",
|
|
99
99
|
"turndown": "^7.2.2"
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "59a1ba19e914ae07d503aa2eea46d77ea11f05ab"
|
|
102
102
|
}
|
package/src/components/AiMenu.js
CHANGED
|
@@ -1,20 +1,12 @@
|
|
|
1
1
|
import { useIntl } from "react-intl";
|
|
2
2
|
import { useAuthorized } from "../hooks";
|
|
3
|
-
import {
|
|
4
|
-
ACTIONS,
|
|
5
|
-
AI_SANDBOX,
|
|
6
|
-
RESOURCE_MAPPINGS,
|
|
7
|
-
PROMPTS,
|
|
8
|
-
PROVIDERS,
|
|
9
|
-
} from "../routes";
|
|
3
|
+
import { ACTIONS, PROMPTS, PROVIDERS } from "../routes";
|
|
10
4
|
import Submenu from "./Submenu";
|
|
11
5
|
|
|
12
6
|
export const ITEMS = [
|
|
13
7
|
{ name: "actions", routes: [ACTIONS] },
|
|
14
8
|
{ name: "providers", routes: [PROVIDERS] },
|
|
15
|
-
{ name: "resource_mappings", routes: [RESOURCE_MAPPINGS] },
|
|
16
9
|
{ name: "prompts", routes: [PROMPTS] },
|
|
17
|
-
{ name: "ai_sandbox", routes: [AI_SANDBOX] },
|
|
18
10
|
];
|
|
19
11
|
|
|
20
12
|
export default function AiMenu() {
|
|
@@ -443,13 +443,6 @@ exports[`<SideMenu /> matches the latest snapshot 1`] = `
|
|
|
443
443
|
>
|
|
444
444
|
providers
|
|
445
445
|
</a>
|
|
446
|
-
<a
|
|
447
|
-
class="link item"
|
|
448
|
-
data-discover="true"
|
|
449
|
-
href="/resource_mappings"
|
|
450
|
-
>
|
|
451
|
-
resource_mappings
|
|
452
|
-
</a>
|
|
453
446
|
<a
|
|
454
447
|
class="link item"
|
|
455
448
|
data-discover="true"
|
|
@@ -457,13 +450,6 @@ exports[`<SideMenu /> matches the latest snapshot 1`] = `
|
|
|
457
450
|
>
|
|
458
451
|
prompts
|
|
459
452
|
</a>
|
|
460
|
-
<a
|
|
461
|
-
class="link item"
|
|
462
|
-
data-discover="true"
|
|
463
|
-
href="/aiSandbox"
|
|
464
|
-
>
|
|
465
|
-
ai_sandbox
|
|
466
|
-
</a>
|
|
467
453
|
</div>
|
|
468
454
|
</div>
|
|
469
455
|
<div
|
package/src/routes.js
CHANGED
|
@@ -77,7 +77,9 @@ export const DOMAIN_SUBDOMAINS = "/domains/:id/subdomains";
|
|
|
77
77
|
export const ELASTICINDEXES = "/search/elasticIndexes";
|
|
78
78
|
export const EXECUTION_GROUP = "/executionGroups/:id";
|
|
79
79
|
export const EXECUTION_GROUPS = "/executionGroups";
|
|
80
|
+
export const FUNCTION = "/functions/:id";
|
|
80
81
|
export const FUNCTIONS = "/functions";
|
|
82
|
+
export const FUNCTIONS_NEW = "/functions/new";
|
|
81
83
|
export const GRANT_APPROVAL_RULE = "/grantApproveRules/:id";
|
|
82
84
|
export const GRANT_APPROVAL_RULE_NEW = "/grantApproveRules/new";
|
|
83
85
|
export const GRANT_APPROVAL_RULE_EDIT = "/grantApproveRules/:id/edit";
|
|
@@ -212,7 +214,6 @@ export const REMEDIATION_EDIT =
|
|
|
212
214
|
export const REMEDIATION_NEW =
|
|
213
215
|
"/rules/:id/implementations/:implementation_id/results/:rule_result_id/remediation/new";
|
|
214
216
|
export const REMEDIATION_PLAN = "/rule_results/:rule_result_id/remediation";
|
|
215
|
-
export const RESOURCE_MAPPINGS = "/resource_mappings";
|
|
216
217
|
export const ROLE = "/roles/:id";
|
|
217
218
|
export const ROLES = "/roles";
|
|
218
219
|
export const ROLES_NEW = "/roles/new";
|
|
@@ -456,7 +457,6 @@ const routes = {
|
|
|
456
457
|
REMEDIATION_EDIT,
|
|
457
458
|
REMEDIATION_NEW,
|
|
458
459
|
REMEDIATION_PLAN,
|
|
459
|
-
RESOURCE_MAPPINGS,
|
|
460
460
|
ROLE,
|
|
461
461
|
ROLES,
|
|
462
462
|
ROLES_NEW,
|