@digitalculture/ochre-sdk 0.13.8 → 0.13.10
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/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -3
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -651,9 +651,9 @@ type WebElement = {
|
|
|
651
651
|
type WebElementComponent = {
|
|
652
652
|
component: "3d-viewer";
|
|
653
653
|
resourceId: string;
|
|
654
|
+
fileSize: number | null;
|
|
654
655
|
isInteractive: boolean;
|
|
655
656
|
isControlsDisplayed: boolean;
|
|
656
|
-
isLightingDisplayed: boolean;
|
|
657
657
|
} | {
|
|
658
658
|
component: "advanced-search";
|
|
659
659
|
boundElementUuid: string | null;
|
package/dist/index.mjs
CHANGED
|
@@ -1716,10 +1716,8 @@ function parseWebElementProperties(componentProperty, elementResource) {
|
|
|
1716
1716
|
let isControlsDisplayed = true;
|
|
1717
1717
|
const isControlsDisplayedProperty = getPropertyValueByLabel(componentProperty.properties, "controls-displayed");
|
|
1718
1718
|
if (isControlsDisplayedProperty !== null) isControlsDisplayed = isControlsDisplayedProperty === true;
|
|
1719
|
-
let isLightingDisplayed = true;
|
|
1720
|
-
const isLightingDisplayedProperty = getPropertyValueByLabel(componentProperty.properties, "lighting-displayed");
|
|
1721
|
-
if (isLightingDisplayedProperty !== null) isLightingDisplayed = isLightingDisplayedProperty === true;
|
|
1722
1719
|
properties.resourceId = resourceLink.uuid;
|
|
1720
|
+
properties.fileSize = resourceLink.fileSize;
|
|
1723
1721
|
properties.isInteractive = isInteractive;
|
|
1724
1722
|
properties.isControlsDisplayed = isControlsDisplayed;
|
|
1725
1723
|
properties.isLightingDisplayed = isLightingDisplayed;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digitalculture/ochre-sdk",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Node.js library for working with OCHRE (Online Cultural and Historical Research Environment) data",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"zod": "^4.1.13"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@antfu/eslint-config": "^6.
|
|
47
|
-
"@types/node": "^24.10.
|
|
46
|
+
"@antfu/eslint-config": "^6.6.1",
|
|
47
|
+
"@types/node": "^24.10.3",
|
|
48
48
|
"bumpp": "^10.3.2",
|
|
49
49
|
"eslint": "^9.39.1",
|
|
50
50
|
"prettier": "^3.7.4",
|