@truedat/core 8.10.4 → 8.10.6
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.6",
|
|
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.6",
|
|
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": "62c2090512da9f1456724c7263c446c4a4115a7f"
|
|
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
|
@@ -214,7 +214,6 @@ export const REMEDIATION_EDIT =
|
|
|
214
214
|
export const REMEDIATION_NEW =
|
|
215
215
|
"/rules/:id/implementations/:implementation_id/results/:rule_result_id/remediation/new";
|
|
216
216
|
export const REMEDIATION_PLAN = "/rule_results/:rule_result_id/remediation";
|
|
217
|
-
export const RESOURCE_MAPPINGS = "/resource_mappings";
|
|
218
217
|
export const ROLE = "/roles/:id";
|
|
219
218
|
export const ROLES = "/roles";
|
|
220
219
|
export const ROLES_NEW = "/roles/new";
|
|
@@ -458,7 +457,6 @@ const routes = {
|
|
|
458
457
|
REMEDIATION_EDIT,
|
|
459
458
|
REMEDIATION_NEW,
|
|
460
459
|
REMEDIATION_PLAN,
|
|
461
|
-
RESOURCE_MAPPINGS,
|
|
462
460
|
ROLE,
|
|
463
461
|
ROLES,
|
|
464
462
|
ROLES_NEW,
|