@truedat/core 6.13.1 → 6.13.2

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.13.1",
3
+ "version": "6.13.2",
4
4
  "description": "Truedat Web Core",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -118,5 +118,5 @@
118
118
  "react-dom": ">= 16.8.6 < 17",
119
119
  "semantic-ui-react": ">= 2.0.3 < 2.2"
120
120
  },
121
- "gitHead": "3803d8c4a416f1e1f56d88989c6c7503a08467d8"
121
+ "gitHead": "679f512be94669465bd6cb445fc61aa39e903508"
122
122
  }
@@ -10,10 +10,10 @@ import {
10
10
  import Submenu from "./Submenu";
11
11
 
12
12
  export const ITEMS = [
13
+ { name: "actions", routes: [ACTIONS] },
13
14
  { name: "resource_mappings", routes: [RESOURCE_MAPPINGS] },
14
15
  { name: "prompts", routes: [PROMPTS] },
15
16
  { name: "providers", routes: [PROVIDERS] },
16
- { name: "actions", routes: [ACTIONS] },
17
17
  { name: "ai_sandbox", routes: [AI_SANDBOX] },
18
18
  ];
19
19
 
@@ -137,7 +137,7 @@ exports[`<AdminMenu /> matches the latest snapshot 1`] = `
137
137
  <a
138
138
  aria-checked="false"
139
139
  class="item"
140
- href="/tasks"
140
+ href="/reindex"
141
141
  name="tasks"
142
142
  role="option"
143
143
  >
@@ -338,7 +338,7 @@ exports[`<SideMenu /> matches the latest snapshot 1`] = `
338
338
  class="active item selectable"
339
339
  >
340
340
  <a
341
- href="/resource_mappings"
341
+ href="/tasks"
342
342
  >
343
343
  <i
344
344
  aria-hidden="true"
@@ -349,6 +349,12 @@ exports[`<SideMenu /> matches the latest snapshot 1`] = `
349
349
  <div
350
350
  class="menu"
351
351
  >
352
+ <a
353
+ class="link item"
354
+ href="/tasks"
355
+ >
356
+ actions
357
+ </a>
352
358
  <a
353
359
  class="link item"
354
360
  href="/resource_mappings"
@@ -367,12 +373,6 @@ exports[`<SideMenu /> matches the latest snapshot 1`] = `
367
373
  >
368
374
  providers
369
375
  </a>
370
- <a
371
- class="link item"
372
- href="/actions"
373
- >
374
- actions
375
- </a>
376
376
  <a
377
377
  class="link item"
378
378
  href="/aiSandbox"
@@ -488,7 +488,7 @@ exports[`<SideMenu /> matches the latest snapshot 1`] = `
488
488
  </a>
489
489
  <a
490
490
  class="link item"
491
- href="/tasks"
491
+ href="/reindex"
492
492
  >
493
493
  Tasks
494
494
  </a>
package/src/routes.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import _ from "lodash/fp";
2
2
  import { compile } from "path-to-regexp";
3
3
 
4
- export const ACTIONS = "/actions";
5
- export const ACTION = "/actions/:id";
6
- export const ACTION_NEW = "/actions/new";
7
- export const ACTION_EDIT = "/actions/:id/edit";
4
+ export const ACTIONS = "/tasks";
5
+ export const ACTION = "/tasks/:id";
6
+ export const ACTION_NEW = "/tasks/new";
7
+ export const ACTION_EDIT = "/tasks/:id/edit";
8
8
  export const AI_SANDBOX = "/aiSandbox";
9
9
  export const CALLBACK = "/callback";
10
10
  export const BUCKETS_VIEW = "/buckets/:propertyPath";
@@ -246,8 +246,8 @@ export const SYSTEMS = "/systems";
246
246
  export const SYSTEM_EDIT = "/systems/:id/edit";
247
247
  export const SYSTEM_NEW = "/systems/new";
248
248
  export const SYSTEM_STRUCTURES = "/systems/:id/structures";
249
- export const TASKS = "/tasks";
250
- export const TASK = "/tasks/:id";
249
+ export const TASKS = "/reindex";
250
+ export const TASK = "/reindex/:id";
251
251
  export const TEMPLATE = "/templates/:templateId";
252
252
  export const TEMPLATES = "/templates";
253
253
  export const TEMPLATES_NEW = "/templates/new";