@truedat/core 6.3.0 → 6.3.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/core",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.1",
|
|
4
4
|
"description": "Truedat Web Core",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"react-dom": ">= 16.8.6 < 17",
|
|
118
118
|
"semantic-ui-react": ">= 2.0.3 < 2.2"
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "0c8183f86f4fe56211b82d2f2427c64f983f0b81"
|
|
121
121
|
}
|
package/src/components/AiMenu.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { useAuthorized } from "../hooks";
|
|
3
|
-
import { RESOURCE_MAPPINGS, PROMPTS } from "../routes";
|
|
3
|
+
import { AI_SANDBOX, RESOURCE_MAPPINGS, PROMPTS, PROVIDERS } from "../routes";
|
|
4
4
|
import Submenu from "./Submenu";
|
|
5
5
|
|
|
6
6
|
export const ITEMS = [
|
|
7
7
|
{ name: "resource_mappings", routes: [RESOURCE_MAPPINGS] },
|
|
8
8
|
{ name: "prompts", routes: [PROMPTS] },
|
|
9
|
+
{ name: "providers", routes: [PROVIDERS] },
|
|
10
|
+
{ name: "ai_sandbox", routes: [AI_SANDBOX] },
|
|
9
11
|
];
|
|
10
12
|
|
|
11
13
|
export default function AiMenu() {
|
|
@@ -361,6 +361,18 @@ exports[`<SideMenu /> matches the latest snapshot 1`] = `
|
|
|
361
361
|
>
|
|
362
362
|
prompts
|
|
363
363
|
</a>
|
|
364
|
+
<a
|
|
365
|
+
class="link item"
|
|
366
|
+
href="/providers"
|
|
367
|
+
>
|
|
368
|
+
providers
|
|
369
|
+
</a>
|
|
370
|
+
<a
|
|
371
|
+
class="link item"
|
|
372
|
+
href="/aiSandbox"
|
|
373
|
+
>
|
|
374
|
+
ai_sandbox
|
|
375
|
+
</a>
|
|
364
376
|
</div>
|
|
365
377
|
</div>
|
|
366
378
|
<div
|
package/src/routes.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
2
|
import { compile } from "path-to-regexp";
|
|
3
3
|
|
|
4
|
+
export const AI_SANDBOX = "/aiSandbox";
|
|
4
5
|
export const CALLBACK = "/callback";
|
|
5
6
|
export const BUCKETS_VIEW = "/buckets/:propertyPath";
|
|
6
7
|
export const BUCKET_VIEW = "/bucketStructures";
|
|
@@ -148,6 +149,7 @@ export const PROFILE_EXECUTION =
|
|
|
148
149
|
"/profileGroups/:group_id/profileExecutions/:id";
|
|
149
150
|
export const PROFILE_GROUP = "/profileGroups/:id";
|
|
150
151
|
export const PROMPTS = "/prompts";
|
|
152
|
+
export const PROVIDERS = "/providers";
|
|
151
153
|
export const QUALITY_CONTROLS = "/qualityControls";
|
|
152
154
|
export const QUALITY_CONTROLS_DEPRECATED = "/qualityControls/deprecated";
|
|
153
155
|
export const QUALITY_CONTROLS_DRAFTS = "/qualityControls/drafts";
|
|
@@ -251,6 +253,7 @@ export const USER_EDIT = "/users/:id/edit";
|
|
|
251
253
|
export const USER_EDIT_PASSWORD = "/users/:id/password";
|
|
252
254
|
|
|
253
255
|
const routes = {
|
|
256
|
+
AI_SANDBOX,
|
|
254
257
|
CALLBACK,
|
|
255
258
|
BUCKETS_VIEW,
|
|
256
259
|
BUCKET_VIEW,
|
|
@@ -365,6 +368,7 @@ const routes = {
|
|
|
365
368
|
PROFILE_EXECUTION,
|
|
366
369
|
PROFILE_GROUP,
|
|
367
370
|
PROMPTS,
|
|
371
|
+
PROVIDERS,
|
|
368
372
|
QUALITY_CONTROLS,
|
|
369
373
|
QUALITY_CONTROLS_DEPRECATED,
|
|
370
374
|
QUALITY_CONTROLS_DRAFTS,
|