Socket
Socket
Sign inDemoInstall

@shapediver/viewer.shared.types

Package Overview
Dependencies
Maintainers
0
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shapediver/viewer.shared.types - npm Package Compare versions

Comparing version 3.1.2 to 3.2.0

dist/interfaces/parameter/IGumballParameterSettings.d.ts

8

dist/index.d.ts

@@ -15,2 +15,3 @@ import { AbstractMaterialData } from './implementation/material/AbstractMaterialData';

import { ICustomData } from './interfaces/data/ICustomData';
import { IGeneralInteractionParameterSettings, IGumballParameterJsonSchema, IInteractionParameterJsonSchema, IInteractionParameterSettings, InteractionParameterSettingsType, ISelectionParameterJsonSchema, validateGumballParameterSettings, validateInteractionParameterSettings, validateSelectionParameterSettings } from './interfaces/parameter/IInteractionParameterSettings';
import { IMapData, TEXTURE_FILTERING, TEXTURE_WRAPPING } from './interfaces/data/material/IMapData';

@@ -28,2 +29,4 @@ import { IMaterialAbstractData, IMaterialAbstractDataProperties, MATERIAL_ALPHA, MATERIAL_SHADING, MATERIAL_SIDE, MATERIAL_TYPE } from './interfaces/data/material/IMaterialAbstractData';

import { IOutputEvent } from './interfaces/events/IOutputEvent';
import { IParameterEvent } from './interfaces/events/IParameterEvent';
import { IRenderingEvent } from './interfaces/events/IRenderingEvent';
import { ISceneEvent } from './interfaces/events/ISceneEvent';

@@ -34,2 +37,3 @@ import { ISDTFAttributeData, ISDTFAttributesData } from './interfaces/sdtf/ISDTFAttributesData';

import { ISDTFOverview, ISDTFOverviewData } from './interfaces/sdtf/ISDTFOverviewData';
import { ISelectionParameterSettings, isInteractionSelectionParameterSettings, SelectionParameterValue } from './interfaces/parameter/ISelectionParameterSettings';
import { ISessionEvent } from './interfaces/events/ISessionEvent';

@@ -53,4 +57,3 @@ import { ITaskEvent, TASK_TYPE } from './interfaces/events/ITaskEvent';

import { MaterialStandardData } from './implementation/material/MaterialStandardData';
import { IRenderingEvent } from './interfaces/events/IRenderingEvent';
import { IParameterEvent } from './interfaces/events/IParameterEvent';
import { IGumballParameterSettings, GumballParameterValue, isInteractionGumballParameterSettings } from './interfaces/parameter/IGumballParameterSettings';
export { IMaterialStandardData, MaterialStandardData, IMaterialStandardDataProperties, IMaterialAbstractData, IMaterialAbstractDataProperties, AbstractMaterialData, IMaterialUnlitData, MaterialUnlitData, IMaterialUnlitDataProperties, IMaterialShadowData, MaterialShadowData, IMaterialShadowDataProperties, IMaterialSpecularGlossinessData, MaterialSpecularGlossinessData, IMaterialSpecularGlossinessDataProperties, IMaterialGemData, MaterialGemData, IMaterialGemDataProperties, IMaterialPointData, MaterialPointData, IMaterialPointDataProperties, IMaterialMultiPointData, MaterialMultiPointData, IMaterialMultiPointDataProperties, IMaterialBasicLineData, MaterialBasicLineData, IMaterialBasicLineDataProperties, IMapData, MapData, MATERIAL_SIDE, MATERIAL_ALPHA, MATERIAL_SHADING, MATERIAL_TYPE, TEXTURE_WRAPPING, TEXTURE_FILTERING };

@@ -63,2 +66,3 @@ export { IAnimationData, AnimationData, IAnimationTrack, IGeometryData, IAttributeData, IPrimitiveData, IMaterialVariantsData, GeometryData, AttributeData, PrimitiveData, MaterialVariantsData, PRIMITIVE_MODE };

export { Color, PARAMETER_TYPE, PARAMETER_VISUALIZATION, ISettingsSections, ISessionSettingsSections, IViewportSettingsSections };
export { InteractionParameterSettingsType, IGeneralInteractionParameterSettings, IInteractionParameterSettings, IInteractionParameterJsonSchema, validateInteractionParameterSettings, ISelectionParameterSettings, SelectionParameterValue, isInteractionSelectionParameterSettings, ISelectionParameterJsonSchema, validateSelectionParameterSettings, IGumballParameterSettings, GumballParameterValue, isInteractionGumballParameterSettings, IGumballParameterJsonSchema, validateGumballParameterSettings };
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PARAMETER_VISUALIZATION = exports.PARAMETER_TYPE = exports.SdtfPrimitiveTypeGuard = exports.SDTF_TYPEHINT = exports.SDTFItemData = exports.SDTFAttributeData = exports.SDTFAttributesData = exports.SDTFOverviewData = exports.TASK_TYPE = exports.BoneData = exports.CustomData = exports.HTMLElementAnchorData = exports.HTMLElementAnchorImageData = exports.HTMLElementAnchorTextData = exports.HTMLElementAnchorCustomData = exports.PRIMITIVE_MODE = exports.MaterialVariantsData = exports.PrimitiveData = exports.AttributeData = exports.GeometryData = exports.AnimationData = exports.TEXTURE_FILTERING = exports.TEXTURE_WRAPPING = exports.MATERIAL_TYPE = exports.MATERIAL_SHADING = exports.MATERIAL_ALPHA = exports.MATERIAL_SIDE = exports.MapData = exports.MaterialBasicLineData = exports.MaterialMultiPointData = exports.MaterialPointData = exports.MaterialGemData = exports.MaterialSpecularGlossinessData = exports.MaterialShadowData = exports.MaterialUnlitData = exports.AbstractMaterialData = exports.MaterialStandardData = void 0;
exports.validateGumballParameterSettings = exports.IGumballParameterJsonSchema = exports.isInteractionGumballParameterSettings = exports.validateSelectionParameterSettings = exports.ISelectionParameterJsonSchema = exports.isInteractionSelectionParameterSettings = exports.validateInteractionParameterSettings = exports.IInteractionParameterJsonSchema = exports.PARAMETER_VISUALIZATION = exports.PARAMETER_TYPE = exports.SdtfPrimitiveTypeGuard = exports.SDTF_TYPEHINT = exports.SDTFItemData = exports.SDTFAttributeData = exports.SDTFAttributesData = exports.SDTFOverviewData = exports.TASK_TYPE = exports.BoneData = exports.CustomData = exports.HTMLElementAnchorData = exports.HTMLElementAnchorImageData = exports.HTMLElementAnchorTextData = exports.HTMLElementAnchorCustomData = exports.PRIMITIVE_MODE = exports.MaterialVariantsData = exports.PrimitiveData = exports.AttributeData = exports.GeometryData = exports.AnimationData = exports.TEXTURE_FILTERING = exports.TEXTURE_WRAPPING = exports.MATERIAL_TYPE = exports.MATERIAL_SHADING = exports.MATERIAL_ALPHA = exports.MATERIAL_SIDE = exports.MapData = exports.MaterialBasicLineData = exports.MaterialMultiPointData = exports.MaterialPointData = exports.MaterialGemData = exports.MaterialSpecularGlossinessData = exports.MaterialShadowData = exports.MaterialUnlitData = exports.AbstractMaterialData = exports.MaterialStandardData = void 0;
const AbstractMaterialData_1 = require("./implementation/material/AbstractMaterialData");

@@ -26,2 +26,9 @@ Object.defineProperty(exports, "AbstractMaterialData", { enumerable: true, get: function () { return AbstractMaterialData_1.AbstractMaterialData; } });

Object.defineProperty(exports, "PRIMITIVE_MODE", { enumerable: true, get: function () { return IGeometryData_1.PRIMITIVE_MODE; } });
const IInteractionParameterSettings_1 = require("./interfaces/parameter/IInteractionParameterSettings");
Object.defineProperty(exports, "IGumballParameterJsonSchema", { enumerable: true, get: function () { return IInteractionParameterSettings_1.IGumballParameterJsonSchema; } });
Object.defineProperty(exports, "IInteractionParameterJsonSchema", { enumerable: true, get: function () { return IInteractionParameterSettings_1.IInteractionParameterJsonSchema; } });
Object.defineProperty(exports, "ISelectionParameterJsonSchema", { enumerable: true, get: function () { return IInteractionParameterSettings_1.ISelectionParameterJsonSchema; } });
Object.defineProperty(exports, "validateGumballParameterSettings", { enumerable: true, get: function () { return IInteractionParameterSettings_1.validateGumballParameterSettings; } });
Object.defineProperty(exports, "validateInteractionParameterSettings", { enumerable: true, get: function () { return IInteractionParameterSettings_1.validateInteractionParameterSettings; } });
Object.defineProperty(exports, "validateSelectionParameterSettings", { enumerable: true, get: function () { return IInteractionParameterSettings_1.validateSelectionParameterSettings; } });
const IMapData_1 = require("./interfaces/data/material/IMapData");

@@ -35,2 +42,4 @@ Object.defineProperty(exports, "TEXTURE_FILTERING", { enumerable: true, get: function () { return IMapData_1.TEXTURE_FILTERING; } });

Object.defineProperty(exports, "MATERIAL_TYPE", { enumerable: true, get: function () { return IMaterialAbstractData_1.MATERIAL_TYPE; } });
const ISelectionParameterSettings_1 = require("./interfaces/parameter/ISelectionParameterSettings");
Object.defineProperty(exports, "isInteractionSelectionParameterSettings", { enumerable: true, get: function () { return ISelectionParameterSettings_1.isInteractionSelectionParameterSettings; } });
const ITaskEvent_1 = require("./interfaces/events/ITaskEvent");

@@ -69,2 +78,4 @@ Object.defineProperty(exports, "TASK_TYPE", { enumerable: true, get: function () { return ITaskEvent_1.TASK_TYPE; } });

Object.defineProperty(exports, "MaterialStandardData", { enumerable: true, get: function () { return MaterialStandardData_1.MaterialStandardData; } });
const IGumballParameterSettings_1 = require("./interfaces/parameter/IGumballParameterSettings");
Object.defineProperty(exports, "isInteractionGumballParameterSettings", { enumerable: true, get: function () { return IGumballParameterSettings_1.isInteractionGumballParameterSettings; } });
//# sourceMappingURL=index.js.map
{
"name": "@shapediver/viewer.shared.types",
"version": "3.1.2",
"version": "3.2.0",
"description": "",

@@ -42,10 +42,11 @@ "keywords": [],

"dependencies": {
"@shapediver/sdk.geometry-api-sdk-v2": "1.8.2",
"@shapediver/sdk.sdtf-v1": "1.5.0",
"@shapediver/viewer.shared.math": "3.1.2",
"@shapediver/viewer.shared.node-tree": "3.1.2",
"@shapediver/viewer.shared.services": "3.1.2",
"gl-matrix": "3.3.0"
"@shapediver/sdk.geometry-api-sdk-v2": "1.9.1",
"@shapediver/sdk.sdtf-v1": "1.5.1",
"@shapediver/viewer.shared.math": "3.2.0",
"@shapediver/viewer.shared.node-tree": "3.2.0",
"@shapediver/viewer.shared.services": "3.2.0",
"gl-matrix": "3.3.0",
"zod": "^3.23.8"
},
"gitHead": "b777b52622744784ca90b32c2008f24653e57c76"
"gitHead": "36007f976342f0390133d7e5cecf4ebf79905c8a"
}

@@ -12,3 +12,3 @@ import { AbstractMaterialData } from './implementation/material/AbstractMaterialData';

PARAMETER_VISUALIZATION
} from './types';
} from './types';
import { CustomData } from './implementation/data/CustomData';

@@ -21,3 +21,3 @@ import { EventResponseMapping } from './interfaces/events/EventResponseMapping';

HTMLElementAnchorTextData
} from './implementation/data/HTMLElementAnchorData';
} from './implementation/data/HTMLElementAnchorData';
import { IAnchorDataImage, IAnchorDataText, IHTMLElementAnchorData } from './interfaces/data/IHTMLElementAnchorData';

@@ -30,6 +30,7 @@ import { IAnimationData, IAnimationTrack } from './interfaces/data/IAnimationData';

PRIMITIVE_MODE
} from './interfaces/data/IGeometryData';
} from './interfaces/data/IGeometryData';
import { IBoneData } from './interfaces/data/IBoneData';
import { ICameraEvent } from './interfaces/events/ICameraEvent';
import { ICustomData } from './interfaces/data/ICustomData';
import { IGeneralInteractionParameterSettings, IGumballParameterJsonSchema, IInteractionParameterJsonSchema, IInteractionParameterSettings, InteractionParameterSettingsType, ISelectionParameterJsonSchema, validateGumballParameterSettings, validateInteractionParameterSettings, validateSelectionParameterSettings } from './interfaces/parameter/IInteractionParameterSettings';
import { IMapData, TEXTURE_FILTERING, TEXTURE_WRAPPING } from './interfaces/data/material/IMapData';

@@ -43,3 +44,3 @@ import {

MATERIAL_TYPE
} from './interfaces/data/material/IMaterialAbstractData';
} from './interfaces/data/material/IMaterialAbstractData';
import { IMaterialBasicLineData, IMaterialBasicLineDataProperties } from './interfaces/data/material/IMaterialBasicLineData';

@@ -55,2 +56,4 @@ import { IMaterialGemData, IMaterialGemDataProperties } from './interfaces/data/material/IMaterialGemDataProperties';

import { IOutputEvent } from './interfaces/events/IOutputEvent';
import { IParameterEvent } from './interfaces/events/IParameterEvent';
import { IRenderingEvent } from './interfaces/events/IRenderingEvent';
import { ISceneEvent } from './interfaces/events/ISceneEvent';

@@ -61,2 +64,3 @@ import { ISDTFAttributeData, ISDTFAttributesData } from './interfaces/sdtf/ISDTFAttributesData';

import { ISDTFOverview, ISDTFOverviewData } from './interfaces/sdtf/ISDTFOverviewData';
import { ISelectionParameterSettings, isInteractionSelectionParameterSettings, SelectionParameterValue } from './interfaces/parameter/ISelectionParameterSettings';
import { ISessionEvent } from './interfaces/events/ISessionEvent';

@@ -82,4 +86,3 @@ import { ITaskEvent, TASK_TYPE } from './interfaces/events/ITaskEvent';

} from './implementation/material/MaterialStandardData';
import { IRenderingEvent } from './interfaces/events/IRenderingEvent';
import { IParameterEvent } from './interfaces/events/IParameterEvent';
import { IGumballParameterSettings, GumballParameterValue, isInteractionGumballParameterSettings } from './interfaces/parameter/IGumballParameterSettings';

@@ -122,2 +125,8 @@ export {

Color, PARAMETER_TYPE, PARAMETER_VISUALIZATION, ISettingsSections, ISessionSettingsSections, IViewportSettingsSections
};
export {
InteractionParameterSettingsType, IGeneralInteractionParameterSettings, IInteractionParameterSettings, IInteractionParameterJsonSchema, validateInteractionParameterSettings,
ISelectionParameterSettings, SelectionParameterValue, isInteractionSelectionParameterSettings, ISelectionParameterJsonSchema, validateSelectionParameterSettings,
IGumballParameterSettings, GumballParameterValue, isInteractionGumballParameterSettings, IGumballParameterJsonSchema, validateGumballParameterSettings
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc