next-flow-interface 0.16.6 → 0.16.8
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.ts +30 -12
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -712,23 +712,32 @@ interface RvAwarenessUser {
|
|
|
712
712
|
avatar: string;
|
|
713
713
|
uuid: string;
|
|
714
714
|
}
|
|
715
|
+
interface RvAwarenessDevice {
|
|
716
|
+
platform: string;
|
|
717
|
+
}
|
|
715
718
|
interface RvAwarenessClick {
|
|
716
719
|
position: V3;
|
|
717
720
|
time: number;
|
|
718
721
|
}
|
|
719
|
-
interface
|
|
720
|
-
clientId: string;
|
|
722
|
+
interface RvAwarenessState {
|
|
721
723
|
timestamp: number;
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
clicks: RvAwarenessClick[];
|
|
724
|
+
sid: string;
|
|
725
|
+
mid: string;
|
|
726
|
+
selected: string[];
|
|
727
|
+
camera: RvCameraLocation;
|
|
728
|
+
clicks: RvAwarenessClick[];
|
|
729
|
+
window: {
|
|
730
|
+
innerWidth: number;
|
|
731
|
+
innerHeight: number;
|
|
731
732
|
};
|
|
733
|
+
cursor: V3;
|
|
734
|
+
openedDrawers: string[];
|
|
735
|
+
}
|
|
736
|
+
interface RvAwareness {
|
|
737
|
+
clientId: number;
|
|
738
|
+
user: RvAwarenessUser;
|
|
739
|
+
device: RvAwarenessDevice;
|
|
740
|
+
state: RvAwarenessState;
|
|
732
741
|
}
|
|
733
742
|
|
|
734
743
|
interface CameraLocationAnimationApi {
|
|
@@ -1654,6 +1663,14 @@ interface ThemeServiceApi {
|
|
|
1654
1663
|
updateBackgroundByColor(color: string): void;
|
|
1655
1664
|
}
|
|
1656
1665
|
|
|
1666
|
+
type AwarenessChangeSubscriber = (allAwareness: Map<number, RvAwareness>) => void;
|
|
1667
|
+
interface AwarenessServiceApi {
|
|
1668
|
+
subscribeChange: (subscriber: AwarenessChangeSubscriber) => (() => void);
|
|
1669
|
+
unsubscribeChange: (subscriber: AwarenessChangeSubscriber) => void;
|
|
1670
|
+
states: Map<number, RvAwareness>;
|
|
1671
|
+
getCurrentRvAwarenessState(): RvAwarenessState;
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1657
1674
|
declare enum RvFileType {
|
|
1658
1675
|
OSS = "OSS",
|
|
1659
1676
|
URL = "URL"
|
|
@@ -2588,6 +2605,7 @@ interface NfpApi {
|
|
|
2588
2605
|
};
|
|
2589
2606
|
sync: {
|
|
2590
2607
|
syncService: SyncServiceApi;
|
|
2608
|
+
awarenessService: AwarenessServiceApi;
|
|
2591
2609
|
historyService: HistoryServiceApi;
|
|
2592
2610
|
rvGlobalService: RvGlobalServiceApi;
|
|
2593
2611
|
rvStepService: RvStepServiceApi;
|
|
@@ -3074,4 +3092,4 @@ declare const VectorUtils: {
|
|
|
3074
3092
|
toArrayWithRound4: typeof toArrayWithRound4;
|
|
3075
3093
|
};
|
|
3076
3094
|
|
|
3077
|
-
export { acceptMime as AcceptMime, type AddLocalDataOptionInterface as AddLocalDataOption, type AnchorProps, type AntCheckboxProps, type AntColorProps, type AntEmptyProps, type AntNumberProps, type AntSelectProps, type AntSwitchProps, type BasePlugin, type BasePluginConfig, type BuiltInPluginConfig, type C3, type C4, type CameraConfigurationAnimationApi, type CameraLocationAnimationApi, ContextMenu, type ContextMenuController, type ContextMenuCreateOptions, type ContextMenuProps, type ContextMenuServiceApi, CryptoUtils, DataUtils, Dialog, type DialogController, type DialogCreateOptions, type DialogPlugin, type DialogProps, type DialogServiceApi, type DivProps, type DivPropsSimple, type DrawerPlugin, type EasyPropertyAnimationApi, type ExternalPluginConfig, type FileData, type FileProgressBarProps, FileUtils, type FirstLoadModelServiceApi, FirstLoadModelServiceEventType, FirstLoadModelServiceStatus, type FirstLoadModelServiceSubscriber, type FirstLoadServiceApi, FirstLoadServiceEventType, FirstLoadServiceStatus, type FirstLoadServiceSubscriber, type FlexGrowProps, FocusMode, type FogAnimationApi, type GroundAnimationApi, type HighLightInfo, type HistoryServiceApi, HistoryServiceEventType, type HistoryServiceStateSubscriber, type HistoryServiceSubscriber, type IconPlugin, IconPluginPosition, type InternationalizationServiceApi, LabelInfo, LabelTheme, type LastSubscriber, type LightAnimationApi, type LocalData, type LocalDataServiceApi, LocalDataServiceEventType, type LocalDataServiceSubscriber, LocalDataStatus, LocalDataType, Locale, type MainPortalProps, type MaterialSymbolFunction, type MaterialSymbolOptions, type MaterialSymbolProps, MathUtils, type Meeting, type MeetingServiceApi, MeetingStatus, MenuLine, type MenuLineCreateOptions, MenuLineType, Message, type MessageServiceApi, type MessageState, type MessageType, type ModulePreloaderApi, type NativeAnyEventSubscriber, type NativeDragEventSubscriber, type NativeEventServiceApi, NativeEventUtils, type NativeFocusEventSubscriber, type NativeKeyboardEventSubscriber, type NativeMouseEventSubscriber, type NativePointerEventSubscriber, type NativeUIEventSubscriber, type NativeWheelEventSubscriber, NetworkUtils, type NfpApi, type NodeMaterialChangeListener, type NodeMaterialInfo, type NodePair, NumberUtils, type OssUploadInstance, OssUploadInstanceStatus, type OssUploadServiceApi, OssUploadServiceEventType, type OssUploadServiceSubscriber, type Page, PageMode, PageType, PageUtils, type PluginConfig, type PluginConnectorApi, type PluginContainerServiceApi, PluginEventType, PluginFrom, type PluginServiceApi, type PluginServiceSubscriber, type PluginState, PluginType, type PluginViewProps, type ProgressBarProps, type ResourcePreviewProps, type ResourceServiceApi, type RsAudioServiceApi, type RsClickApi, type RsEnvironmentApi, type RsEnvironmentServiceApi, type RsLabelServiceApi, type RsLoopAnimationManagerApi, type RsMaterialServiceApi, type RsModel, type RsModelServiceApi, RsModelServiceEventType, type RsModelServiceSubscriber, RsModelStatus, type RsNodeMaterialManagerApi, type RsNodeServiceApi, type RsSelectionMaterialInfo, type RsSelectionNodeInfo, type RsSelectionServiceApi, type RsSelectionState, type RsSeparateServiceApi, type RsServiceApi, type RsTextureServiceApi, type RsTransformGroundApi, type RsdButtonProps, type RsdCheckableButtonProps, type RsdCheckboxProps, type RsdColorProps, type RsdFileSelectProps, type RsdInputProps, type RsdMentionsProps, type RsdNoneProps, type RsdNumberListProps, type RsdNumberProps, type RsdSelectProps, type RsdSwitchProps, type RsdTitleProps, RvAttachType, type RvAttributes, type RvAttributesServiceApi, type RvAudio, type RvAwareness, type RvAwarenessClick, type RvAwarenessUser, type RvBase, type RvBasicConfig, RvBasicType, type RvCamera, type RvCameraLocation, type RvCode, type RvCodeAttributeApi, type RvConfiguration, type RvEnvironment, type RvFile, type RvFileServiceApi, RvFileServiceEventType, type RvFileServiceSubscriber, RvFileType, type RvGlobal, type RvGlobalServiceApi, type RvHistory, type RvLabel, type RvLabelAttributeApi, type RvLocation, type RvLocationAttributeApi, type RvLoop, type RvLoopAttributeApi, type RvMaterial, type RvMaterialAttributeApi, type RvMaterialGeneral, type RvMaterialNode, type RvMaterialNodeInput, type RvMaterialPBR, type RvMaterialTexture, RvMaterialType, type RvMeeting, type RvMeetingCurrent, type RvMeetingServiceApi, type RvMeetingStatistic, type RvModel, RvModelOrigin, type RvModelServiceApi, type RvNative, type RvNativeAttributeApi, type RvNode, type RvNodeMaterialAnalyzerApi, RvPresetType, type RvResource, type RvResourceServiceApi, RvResourceServiceEventType, type RvResourceServiceSubscriber, RvResourceType, type RvSceneNode, type RvSeparate, type RvStep, type RvStepServiceApi, RvUtils, type RvVersion, type SceneServiceApi, type Screen, ScreenSize, type ScrollBarProps, type SelectedSubscriber, type ShadowAnimationApi, ShareMode, type SkyboxAnimationApi, type SpaceServiceApi, type SpanProps, type SpanPropsSimple, type Status, type StatusChangeSubscriber, type StatusServiceApi, type StepChangeSubscriber, type StepOptions, type SupportAnimationTarget, type SyncServiceApi, type TAttributesServiceApi, type TAttributesSubscriber, TChangeType, type TStepServiceApi, type TSubscriber, type TextureInfo, ThemeBackground, ThemeColor, type ThemeProviderProps, type ThemeServiceApi, ThemeShape, type ThemeState, TimeUtils, type Translator, type UploadButtonAndListProps, UrlUtils, type UseBase, type UseStepOptions, type UseTAttributes, type UseTStep, type UserAuth, type UserInfo, type UserServiceApi, type V2, type V3, type V4, VectorUtils, type ViewPlugin, sleep, throttle };
|
|
3095
|
+
export { acceptMime as AcceptMime, type AddLocalDataOptionInterface as AddLocalDataOption, type AnchorProps, type AntCheckboxProps, type AntColorProps, type AntEmptyProps, type AntNumberProps, type AntSelectProps, type AntSwitchProps, type AwarenessChangeSubscriber, type AwarenessServiceApi, type BasePlugin, type BasePluginConfig, type BuiltInPluginConfig, type C3, type C4, type CameraConfigurationAnimationApi, type CameraLocationAnimationApi, ContextMenu, type ContextMenuController, type ContextMenuCreateOptions, type ContextMenuProps, type ContextMenuServiceApi, CryptoUtils, DataUtils, Dialog, type DialogController, type DialogCreateOptions, type DialogPlugin, type DialogProps, type DialogServiceApi, type DivProps, type DivPropsSimple, type DrawerPlugin, type EasyPropertyAnimationApi, type ExternalPluginConfig, type FileData, type FileProgressBarProps, FileUtils, type FirstLoadModelServiceApi, FirstLoadModelServiceEventType, FirstLoadModelServiceStatus, type FirstLoadModelServiceSubscriber, type FirstLoadServiceApi, FirstLoadServiceEventType, FirstLoadServiceStatus, type FirstLoadServiceSubscriber, type FlexGrowProps, FocusMode, type FogAnimationApi, type GroundAnimationApi, type HighLightInfo, type HistoryServiceApi, HistoryServiceEventType, type HistoryServiceStateSubscriber, type HistoryServiceSubscriber, type IconPlugin, IconPluginPosition, type InternationalizationServiceApi, LabelInfo, LabelTheme, type LastSubscriber, type LightAnimationApi, type LocalData, type LocalDataServiceApi, LocalDataServiceEventType, type LocalDataServiceSubscriber, LocalDataStatus, LocalDataType, Locale, type MainPortalProps, type MaterialSymbolFunction, type MaterialSymbolOptions, type MaterialSymbolProps, MathUtils, type Meeting, type MeetingServiceApi, MeetingStatus, MenuLine, type MenuLineCreateOptions, MenuLineType, Message, type MessageServiceApi, type MessageState, type MessageType, type ModulePreloaderApi, type NativeAnyEventSubscriber, type NativeDragEventSubscriber, type NativeEventServiceApi, NativeEventUtils, type NativeFocusEventSubscriber, type NativeKeyboardEventSubscriber, type NativeMouseEventSubscriber, type NativePointerEventSubscriber, type NativeUIEventSubscriber, type NativeWheelEventSubscriber, NetworkUtils, type NfpApi, type NodeMaterialChangeListener, type NodeMaterialInfo, type NodePair, NumberUtils, type OssUploadInstance, OssUploadInstanceStatus, type OssUploadServiceApi, OssUploadServiceEventType, type OssUploadServiceSubscriber, type Page, PageMode, PageType, PageUtils, type PluginConfig, type PluginConnectorApi, type PluginContainerServiceApi, PluginEventType, PluginFrom, type PluginServiceApi, type PluginServiceSubscriber, type PluginState, PluginType, type PluginViewProps, type ProgressBarProps, type ResourcePreviewProps, type ResourceServiceApi, type RsAudioServiceApi, type RsClickApi, type RsEnvironmentApi, type RsEnvironmentServiceApi, type RsLabelServiceApi, type RsLoopAnimationManagerApi, type RsMaterialServiceApi, type RsModel, type RsModelServiceApi, RsModelServiceEventType, type RsModelServiceSubscriber, RsModelStatus, type RsNodeMaterialManagerApi, type RsNodeServiceApi, type RsSelectionMaterialInfo, type RsSelectionNodeInfo, type RsSelectionServiceApi, type RsSelectionState, type RsSeparateServiceApi, type RsServiceApi, type RsTextureServiceApi, type RsTransformGroundApi, type RsdButtonProps, type RsdCheckableButtonProps, type RsdCheckboxProps, type RsdColorProps, type RsdFileSelectProps, type RsdInputProps, type RsdMentionsProps, type RsdNoneProps, type RsdNumberListProps, type RsdNumberProps, type RsdSelectProps, type RsdSwitchProps, type RsdTitleProps, RvAttachType, type RvAttributes, type RvAttributesServiceApi, type RvAudio, type RvAwareness, type RvAwarenessClick, type RvAwarenessDevice, type RvAwarenessState, type RvAwarenessUser, type RvBase, type RvBasicConfig, RvBasicType, type RvCamera, type RvCameraLocation, type RvCode, type RvCodeAttributeApi, type RvConfiguration, type RvEnvironment, type RvFile, type RvFileServiceApi, RvFileServiceEventType, type RvFileServiceSubscriber, RvFileType, type RvGlobal, type RvGlobalServiceApi, type RvHistory, type RvLabel, type RvLabelAttributeApi, type RvLocation, type RvLocationAttributeApi, type RvLoop, type RvLoopAttributeApi, type RvMaterial, type RvMaterialAttributeApi, type RvMaterialGeneral, type RvMaterialNode, type RvMaterialNodeInput, type RvMaterialPBR, type RvMaterialTexture, RvMaterialType, type RvMeeting, type RvMeetingCurrent, type RvMeetingServiceApi, type RvMeetingStatistic, type RvModel, RvModelOrigin, type RvModelServiceApi, type RvNative, type RvNativeAttributeApi, type RvNode, type RvNodeMaterialAnalyzerApi, RvPresetType, type RvResource, type RvResourceServiceApi, RvResourceServiceEventType, type RvResourceServiceSubscriber, RvResourceType, type RvSceneNode, type RvSeparate, type RvStep, type RvStepServiceApi, RvUtils, type RvVersion, type SceneServiceApi, type Screen, ScreenSize, type ScrollBarProps, type SelectedSubscriber, type ShadowAnimationApi, ShareMode, type SkyboxAnimationApi, type SpaceServiceApi, type SpanProps, type SpanPropsSimple, type Status, type StatusChangeSubscriber, type StatusServiceApi, type StepChangeSubscriber, type StepOptions, type SupportAnimationTarget, type SyncServiceApi, type TAttributesServiceApi, type TAttributesSubscriber, TChangeType, type TStepServiceApi, type TSubscriber, type TextureInfo, ThemeBackground, ThemeColor, type ThemeProviderProps, type ThemeServiceApi, ThemeShape, type ThemeState, TimeUtils, type Translator, type UploadButtonAndListProps, UrlUtils, type UseBase, type UseStepOptions, type UseTAttributes, type UseTStep, type UserAuth, type UserInfo, type UserServiceApi, type V2, type V3, type V4, VectorUtils, type ViewPlugin, sleep, throttle };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-flow-interface",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.8",
|
|
4
4
|
"description": "Interface package for NEXT FlOW. You can use this package to build your own plugin that can control anything.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -68,7 +68,6 @@
|
|
|
68
68
|
"prettier": "^3.5.3",
|
|
69
69
|
"react": "19.1.0-canary-ff628334-20250205",
|
|
70
70
|
"react-dom": "19.1.0-canary-ff628334-20250205",
|
|
71
|
-
"rhine-var": "0.10.5",
|
|
72
71
|
"terser": "^5.43.1",
|
|
73
72
|
"tsup": "^8.5.0",
|
|
74
73
|
"typescript": "^5.8.3",
|
|
@@ -84,8 +83,9 @@
|
|
|
84
83
|
"mime": "^4.0.7",
|
|
85
84
|
"react": "19.1.0-canary-ff628334-20250205",
|
|
86
85
|
"react-dom": "19.1.0-canary-ff628334-20250205",
|
|
87
|
-
"rhine-var": "0.9.9",
|
|
88
86
|
"valtio": "2.1.3"
|
|
89
87
|
},
|
|
90
|
-
"dependencies": {
|
|
88
|
+
"dependencies": {
|
|
89
|
+
"rhine-var": "0.11.2"
|
|
90
|
+
}
|
|
91
91
|
}
|