@truedat/core 7.0.1 → 7.0.3
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 +3 -3
- package/src/routes.js +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/core",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.3",
|
|
4
4
|
"description": "Truedat Web Core",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@testing-library/react": "^12.0.0",
|
|
37
37
|
"@testing-library/react-hooks": "^8.0.1",
|
|
38
38
|
"@testing-library/user-event": "^13.2.1",
|
|
39
|
-
"@truedat/test": "7.0.
|
|
39
|
+
"@truedat/test": "7.0.3",
|
|
40
40
|
"babel-jest": "^28.1.0",
|
|
41
41
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
42
42
|
"babel-plugin-lodash": "^3.3.4",
|
|
@@ -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": "
|
|
121
|
+
"gitHead": "871005135545e304fa6ba9a5d49fa31b46e28a7c"
|
|
122
122
|
}
|
package/src/routes.js
CHANGED
|
@@ -211,6 +211,9 @@ export const STRUCTURES = "/structures";
|
|
|
211
211
|
export const STRUCTURES_BULK_UPDATE = "/structures/bulkUpdate";
|
|
212
212
|
export const STRUCTURES_UPLOAD_EVENTS = "/bulkUpdateTemplateContentEvents";
|
|
213
213
|
export const STRUCTURE_CHILDREN = "/structures/:id/children";
|
|
214
|
+
export const STRUCTURE_FIELDS = "/structures/:id/fields";
|
|
215
|
+
export const STRUCTURE_VERSION_FIELDS =
|
|
216
|
+
"/structures/:id/versions/:version/fields";
|
|
214
217
|
export const STRUCTURE_EVENTS = "/structures/:id/events";
|
|
215
218
|
export const STRUCTURE_GRANTS = "/structures/:id/grants";
|
|
216
219
|
export const STRUCTURE_IMPACT = "/structures/:id/impact";
|
|
@@ -432,6 +435,8 @@ const routes = {
|
|
|
432
435
|
STRUCTURES_BULK_UPDATE,
|
|
433
436
|
STRUCTURES_UPLOAD_EVENTS,
|
|
434
437
|
STRUCTURE_CHILDREN,
|
|
438
|
+
STRUCTURE_FIELDS,
|
|
439
|
+
STRUCTURE_VERSION_FIELDS,
|
|
435
440
|
STRUCTURE_EVENTS,
|
|
436
441
|
STRUCTURE_GRANTS,
|
|
437
442
|
STRUCTURE_IMPACT,
|