File tree Expand file tree Collapse file tree 4 files changed +15
-20
lines changed
Expand file tree Collapse file tree 4 files changed +15
-20
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " next-flow-interface" ,
3- "version" : " 0.16.8 " ,
3+ "version" : " 0.16.9 " ,
44 "description" : " Interface package for NEXT FlOW. You can use this package to build your own plugin that can control anything." ,
55 "type" : " module" ,
66 "module" : " dist/index.js" ,
Original file line number Diff line number Diff line change 1- import RvAwareness , {
2- RvAwarenessState ,
3- } from '@/api/service/sync/interface/awareness/rv-awareness.interface'
1+ import RvAwareness from '@/api/service/sync/interface/awareness/rv-awareness.interface'
42
53export type AwarenessChangeSubscriber = ( allAwareness : Map < number , RvAwareness > ) => void
64
@@ -12,6 +10,6 @@ export default interface AwarenessServiceApi {
1210
1311 states : Map < number , RvAwareness >
1412
15- getCurrentRvAwarenessState ( ) : RvAwarenessState
13+ getCurrentRvAwareness ( ) : RvAwareness
1614
1715}
Original file line number Diff line number Diff line change @@ -17,24 +17,21 @@ export interface RvAwarenessClick {
1717 time : number
1818}
1919
20- export interface RvAwarenessState {
21- timestamp : number
20+ export interface RvAwarenessWindow {
21+ innerWidth : number
22+ innerHeight : number
23+ }
24+
25+ export default interface RvAwareness {
26+ clientId : number
27+ user : RvAwarenessUser
28+ device : RvAwarenessDevice
2229 sid : string
2330 mid : string
2431 selected : string [ ]
2532 camera : RvCameraLocation
2633 clicks : RvAwarenessClick [ ]
27- window : {
28- innerWidth : number
29- innerHeight : number
30- }
34+ window : RvAwarenessWindow
3135 cursor : V3
3236 openedDrawers : string [ ]
3337}
34-
35- export default interface RvAwareness {
36- clientId : number
37- user : RvAwarenessUser
38- device : RvAwarenessDevice
39- state : RvAwarenessState
40- }
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ import HistoryServiceApi from './api/service/sync/history/history-service-api'
203203import RvAwareness , {
204204 RvAwarenessClick ,
205205 RvAwarenessDevice ,
206- RvAwarenessState ,
206+ RvAwarenessWindow ,
207207 RvAwarenessUser ,
208208} from './api/service/sync/interface/awareness/rv-awareness.interface'
209209import { RvFileType } from './api/service/sync/interface/file/rv-file-type.enum'
@@ -462,7 +462,7 @@ export type {
462462 RvAwarenessClick ,
463463 RvAwareness ,
464464 RvAwarenessDevice ,
465- RvAwarenessState ,
465+ RvAwarenessWindow ,
466466 FogAnimationApi ,
467467 GroundAnimationApi ,
468468 LightAnimationApi ,
You can’t perform that action at this time.
0 commit comments