@microsoft/live-share-react 1.0.0-preview.12 → 1.0.0-preview.14

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.
Files changed (90) hide show
  1. package/README.md +3 -3
  2. package/bin/index.d.ts +6 -6
  3. package/bin/index.js +6 -6
  4. package/bin/interfaces/LiveInterfaceExtensions.d.ts +8 -8
  5. package/bin/interfaces/LiveInterfaceExtensions.js +5 -5
  6. package/bin/interfaces/index.d.ts +1 -1
  7. package/bin/interfaces/index.js +1 -1
  8. package/bin/internal-hooks/index.d.ts +1 -1
  9. package/bin/internal-hooks/index.js +1 -1
  10. package/bin/internal-hooks/useSharedStateRegistry.d.ts +30 -30
  11. package/bin/internal-hooks/useSharedStateRegistry.d.ts.map +1 -1
  12. package/bin/internal-hooks/useSharedStateRegistry.js +101 -99
  13. package/bin/internal-hooks/useSharedStateRegistry.js.map +1 -1
  14. package/bin/live-hooks/index.d.ts +6 -6
  15. package/bin/live-hooks/index.js +6 -6
  16. package/bin/live-hooks/useLiveCanvas.d.ts +27 -27
  17. package/bin/live-hooks/useLiveCanvas.js +158 -158
  18. package/bin/live-hooks/useLiveEvent.d.ts +21 -21
  19. package/bin/live-hooks/useLiveEvent.d.ts.map +1 -1
  20. package/bin/live-hooks/useLiveEvent.js +92 -85
  21. package/bin/live-hooks/useLiveEvent.js.map +1 -1
  22. package/bin/live-hooks/useLivePresence.d.ts +25 -25
  23. package/bin/live-hooks/useLivePresence.d.ts.map +1 -1
  24. package/bin/live-hooks/useLivePresence.js +101 -92
  25. package/bin/live-hooks/useLivePresence.js.map +1 -1
  26. package/bin/live-hooks/useLiveState.d.ts +19 -18
  27. package/bin/live-hooks/useLiveState.d.ts.map +1 -1
  28. package/bin/live-hooks/useLiveState.js +72 -60
  29. package/bin/live-hooks/useLiveState.js.map +1 -1
  30. package/bin/live-hooks/useLiveTimer.d.ts +7 -7
  31. package/bin/live-hooks/useLiveTimer.d.ts.map +1 -1
  32. package/bin/live-hooks/useLiveTimer.js +144 -131
  33. package/bin/live-hooks/useLiveTimer.js.map +1 -1
  34. package/bin/live-hooks/useMediaSynchronizer.d.ts +22 -22
  35. package/bin/live-hooks/useMediaSynchronizer.d.ts.map +1 -1
  36. package/bin/live-hooks/useMediaSynchronizer.js +184 -161
  37. package/bin/live-hooks/useMediaSynchronizer.js.map +1 -1
  38. package/bin/providers/AzureProvider.d.ts +33 -33
  39. package/bin/providers/AzureProvider.d.ts.map +1 -1
  40. package/bin/providers/AzureProvider.js +101 -101
  41. package/bin/providers/AzureProvider.js.map +1 -1
  42. package/bin/providers/LiveShareProvider.d.ts +62 -41
  43. package/bin/providers/LiveShareProvider.d.ts.map +1 -1
  44. package/bin/providers/LiveShareProvider.js +68 -65
  45. package/bin/providers/LiveShareProvider.js.map +1 -1
  46. package/bin/providers/index.d.ts +2 -2
  47. package/bin/providers/index.js +2 -2
  48. package/bin/shared-hooks/index.d.ts +3 -3
  49. package/bin/shared-hooks/index.js +3 -3
  50. package/bin/shared-hooks/useDynamicDDS.d.ts +18 -18
  51. package/bin/shared-hooks/useDynamicDDS.d.ts.map +1 -1
  52. package/bin/shared-hooks/useDynamicDDS.js +67 -67
  53. package/bin/shared-hooks/useDynamicDDS.js.map +1 -1
  54. package/bin/shared-hooks/useSharedMap.d.ts +21 -21
  55. package/bin/shared-hooks/useSharedMap.d.ts.map +1 -1
  56. package/bin/shared-hooks/useSharedMap.js +105 -105
  57. package/bin/shared-hooks/useSharedMap.js.map +1 -1
  58. package/bin/shared-hooks/useSharedState.d.ts +20 -20
  59. package/bin/shared-hooks/useSharedState.d.ts.map +1 -1
  60. package/bin/shared-hooks/useSharedState.js +66 -62
  61. package/bin/shared-hooks/useSharedState.js.map +1 -1
  62. package/bin/types/ActionTypes.d.ts +105 -29
  63. package/bin/types/ActionTypes.d.ts.map +1 -1
  64. package/bin/types/ActionTypes.js +5 -5
  65. package/bin/types/PropTypes.d.ts +7 -7
  66. package/bin/types/PropTypes.d.ts.map +1 -1
  67. package/bin/types/PropTypes.js +5 -5
  68. package/bin/types/ResultTypes.d.ts +174 -162
  69. package/bin/types/ResultTypes.d.ts.map +1 -1
  70. package/bin/types/ResultTypes.js +5 -5
  71. package/bin/types/index.d.ts +3 -3
  72. package/bin/types/index.js +3 -3
  73. package/bin/utils/index.d.ts +1 -1
  74. package/bin/utils/index.js +1 -1
  75. package/bin/utils/type-check.d.ts +14 -14
  76. package/bin/utils/type-check.js +53 -53
  77. package/package.json +13 -13
  78. package/src/internal-hooks/useSharedStateRegistry.ts +6 -5
  79. package/src/live-hooks/useLiveEvent.ts +14 -18
  80. package/src/live-hooks/useLivePresence.ts +13 -7
  81. package/src/live-hooks/useLiveState.ts +8 -6
  82. package/src/live-hooks/useLiveTimer.ts +21 -18
  83. package/src/live-hooks/useMediaSynchronizer.ts +37 -27
  84. package/src/providers/AzureProvider.tsx +2 -7
  85. package/src/providers/LiveShareProvider.tsx +45 -15
  86. package/src/shared-hooks/useDynamicDDS.ts +15 -8
  87. package/src/shared-hooks/useSharedMap.ts +17 -10
  88. package/src/shared-hooks/useSharedState.ts +5 -1
  89. package/src/types/ActionTypes.ts +89 -11
  90. package/src/types/ResultTypes.ts +22 -8
@@ -1,30 +1,106 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the Microsoft Live Share SDK License.
4
- */
5
- import React from "react";
6
- import { IFluidLoadable } from "@fluidframework/core-interfaces";
7
- import { LoadableObjectClass } from "fluid-framework";
8
- import { ITimerConfig, PresenceState } from "@microsoft/live-share";
9
- export declare type SetSharedStateAction<T> = (state: T) => void;
10
- export declare type SetLocalStateAction = React.Dispatch<React.SetStateAction<any>>;
11
- export declare type RegisterDDSSetStateAction = <T extends IFluidLoadable>(uniqueKey: string, componentId: string, objectClass: LoadableObjectClass<T>, setLocalStateAction: SetLocalStateAction, onDidFirstInitialize?: (dds: T) => void) => void;
12
- export declare type UnregisterDDSSetStateAction = (uniqueKey: string, componentId: string) => void;
13
- export declare type RegisterSharedSetStateAction = (uniqueKey: string, componentId: string, setLocalStateAction: SetLocalStateAction) => void;
14
- export declare type UnregisterSharedSetStateAction = (uniqueKey: string, componentId: string) => void;
15
- export declare type UpdateSharedStateAction = (uniqueKey: string, value: any) => void;
16
- export declare type DeleteSharedStateAction = (uniqueKey: string) => void;
17
- export declare type DisposeSharedStateAction = () => void;
18
- export declare type SetLiveStateAction<TState = undefined> = (state: TState) => void;
19
- export declare type SendLiveEventAction<TEvent> = (event: TEvent) => void;
20
- export declare type OnReceivedLiveEventAction<TEvent> = (event: TEvent, local: boolean) => void;
21
- export declare type OnUpdateLivePresenceAction<TData extends object = object> = (data?: TData | undefined, state?: PresenceState | undefined) => void;
22
- export declare type OnStartTimerAction = (duration: number) => void;
23
- export declare type OnPlayTimerAction = () => void;
24
- export declare type OnPauseTimerAction = () => void;
25
- export declare type OnTimerTickAction = (milliRemaining: number) => void;
26
- export declare type OnTimerDidStartAction = (timerConfig: ITimerConfig) => void;
27
- export declare type OnTimerDidPauseAction = (timerConfig: ITimerConfig) => void;
28
- export declare type OnTimerDidPlayAction = (timerConfig: ITimerConfig) => void;
29
- export declare type OnTimerDidFinishAction = (timerConfig: ITimerConfig) => void;
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the Microsoft Live Share SDK License.
4
+ */
5
+ import React from "react";
6
+ import { IFluidLoadable } from "@fluidframework/core-interfaces";
7
+ import { LoadableObjectClass } from "fluid-framework";
8
+ import { ITimerConfig, ILiveEvent, PresenceState } from "@microsoft/live-share";
9
+ export type SetSharedStateAction<T> = (state: T) => void;
10
+ export type SetLocalStateAction = React.Dispatch<React.SetStateAction<any>>;
11
+ /**
12
+ * Callback for UnregisterDDSSetStateAction.
13
+ * <T extends IFluidLoadable>(uniqueKey: string, componentId: string, objectClass: LoadableObjectClass<T>, setLocalStateAction: SetLocalStateAction, onDidFirstInitialize?: (dds: T) => void) => void
14
+ */
15
+ export type RegisterDDSSetStateAction = <T extends IFluidLoadable>(uniqueKey: string, componentId: string, objectClass: LoadableObjectClass<T>, setLocalStateAction: SetLocalStateAction, onDidFirstInitialize?: (dds: T) => void) => void;
16
+ /**
17
+ * Callback for UnregisterDDSSetStateAction.
18
+ * (uniqueKey: string, componentId: string) => void
19
+ */
20
+ export type UnregisterDDSSetStateAction = (uniqueKey: string, componentId: string) => void;
21
+ /**
22
+ * Callback for RegisterSharedSetStateAction.
23
+ * (uniqueKey: string, componentId: string, setLocalStateAction: SetLocalStateAction) => void
24
+ */
25
+ export type RegisterSharedSetStateAction = (uniqueKey: string, componentId: string, setLocalStateAction: SetLocalStateAction) => void;
26
+ /**
27
+ * Callback for UnregisterSharedSetStateAction.
28
+ * (uniqueKey: string, componentId: string) => void
29
+ */
30
+ export type UnregisterSharedSetStateAction = (uniqueKey: string, componentId: string) => void;
31
+ /**
32
+ * Callback for UpdateSharedStateAction.
33
+ * (uniqueKey: string, value: any) => void
34
+ */
35
+ export type UpdateSharedStateAction = (uniqueKey: string, value: any) => void;
36
+ /**
37
+ * Callback for DeleteSharedStateAction.
38
+ * (uniqueKey: string) => void
39
+ */
40
+ export type DeleteSharedStateAction = (uniqueKey: string) => void;
41
+ /**
42
+ * Callback for DisposeSharedStateAction.
43
+ * () => void
44
+ */
45
+ export type DisposeSharedStateAction = () => void;
46
+ /**
47
+ * Callback for SetLiveStateAction<TState = undefined>.
48
+ * (state: TState) => Promise<void>
49
+ */
50
+ export type SetLiveStateAction<TState = undefined> = (state: TState) => Promise<void>;
51
+ /**
52
+ * Callback for SendLiveEventAction<TEvent>.
53
+ * (event: TEvent) => Promise<void>
54
+ */
55
+ export type SendLiveEventAction<TEvent> = (event: TEvent) => Promise<ILiveEvent<TEvent>>;
56
+ /**
57
+ * Callback for OnReceivedLiveEventAction<TEvent>.
58
+ * (event: TEvent, local: boolean) => void
59
+ */
60
+ export type OnReceivedLiveEventAction<TEvent> = (event: TEvent, local: boolean) => void;
61
+ /**
62
+ * Callback for OnUpdateLivePresenceAction<TData extends object = object>.
63
+ * (data?: TData | undefined, state?: PresenceState | undefined) => Promise<void>
64
+ */
65
+ export type OnUpdateLivePresenceAction<TData extends object = object> = (data?: TData | undefined, state?: PresenceState | undefined) => Promise<void>;
66
+ /**
67
+ * Callback for OnStartTimerAction.
68
+ * (duration: number) => Promise<void>
69
+ */
70
+ export type OnStartTimerAction = (duration: number) => Promise<void>;
71
+ /**
72
+ * Callback for OnPlayTimerAction.
73
+ * () => Promise<void>
74
+ */
75
+ export type OnPlayTimerAction = () => Promise<void>;
76
+ /**
77
+ * Callback for OnPauseTimerAction.
78
+ * () => Promise<void>
79
+ */
80
+ export type OnPauseTimerAction = () => Promise<void>;
81
+ /**
82
+ * Callback for OnTimerTickAction.
83
+ * (milliRemaining: number) => void
84
+ */
85
+ export type OnTimerTickAction = (milliRemaining: number) => void;
86
+ /**
87
+ * Callback for OnTimerDidStartAction.
88
+ * (timerConfig: ITimerConfig) => void
89
+ */
90
+ export type OnTimerDidStartAction = (timerConfig: ITimerConfig) => void;
91
+ /**
92
+ * Callback for OnTimerDidPauseAction.
93
+ * (timerConfig: ITimerConfig) => void
94
+ */
95
+ export type OnTimerDidPauseAction = (timerConfig: ITimerConfig) => void;
96
+ /**
97
+ * Callback for OnTimerDidPlayAction.
98
+ * (timerConfig: ITimerConfig) => void
99
+ */
100
+ export type OnTimerDidPlayAction = (timerConfig: ITimerConfig) => void;
101
+ /**
102
+ * Callback for OnTimerDidFinishAction.
103
+ * (timerConfig: ITimerConfig) => void
104
+ */
105
+ export type OnTimerDidFinishAction = (timerConfig: ITimerConfig) => void;
30
106
  //# sourceMappingURL=ActionTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionTypes.d.ts","sourceRoot":"","sources":["../../src/types/ActionTypes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAC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CAAC,CAAC,CAAC;AAEjC;;;GAGG;AACH,MAAM,MAAM,yBAAyB,CAAC,MAAM,IAAI,CAC5C,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,OAAO,KACb,IAAI,CAAC;AAEV;;;GAGG;AACH,MAAM,MAAM,0BAA0B,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,IAAI,CACpE,IAAI,CAAC,EAAE,KAAK,GAAG,SAAS,EACxB,KAAK,CAAC,EAAE,aAAa,GAAG,SAAS,KAChC,OAAO,CAAC,IAAI,CAAC,CAAC;AAEnB;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAErE;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;AAEpD;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;AAErD;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,cAAc,EAAE,MAAM,KAAK,IAAI,CAAC;AACjE;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,WAAW,EAAE,YAAY,KAAK,IAAI,CAAC;AACxE;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,WAAW,EAAE,YAAY,KAAK,IAAI,CAAC;AACxE;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,WAAW,EAAE,YAAY,KAAK,IAAI,CAAC;AACvE;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,WAAW,EAAE,YAAY,KAAK,IAAI,CAAC"}
@@ -1,6 +1,6 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the Microsoft Live Share SDK License.
4
- */
5
- export {};
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the Microsoft Live Share SDK License.
4
+ */
5
+ export {};
6
6
  //# sourceMappingURL=ActionTypes.js.map
@@ -1,8 +1,8 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the Microsoft Live Share SDK License.
4
- */
5
- export declare type SharedMapInitialData<T> = Map<string, T> | readonly (readonly [string, T])[] | {
6
- [key: string]: T;
7
- } | undefined;
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the Microsoft Live Share SDK License.
4
+ */
5
+ export type SharedMapInitialData<T> = Map<string, T> | readonly (readonly [string, T])[] | {
6
+ [key: string]: T;
7
+ } | undefined;
8
8
  //# sourceMappingURL=PropTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PropTypes.d.ts","sourceRoot":"","sources":["../../src/types/PropTypes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,oBAAY,oBAAoB,CAAC,CAAC,IAC5B,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC,GACd,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,GACjC;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAA;CAAE,GACpB,SAAS,CAAC"}
1
+ {"version":3,"file":"PropTypes.d.ts","sourceRoot":"","sources":["../../src/types/PropTypes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,MAAM,oBAAoB,CAAC,CAAC,IAC5B,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC,GACd,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,GACjC;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAA;CAAE,GACpB,SAAS,CAAC"}
@@ -1,6 +1,6 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the Microsoft Live Share SDK License.
4
- */
5
- export {};
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the Microsoft Live Share SDK License.
4
+ */
5
+ export {};
6
6
  //# sourceMappingURL=PropTypes.js.map
@@ -1,163 +1,175 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the Microsoft Live Share SDK License.
4
- */
5
- import { AzureContainerServices } from "@fluidframework/azure-client";
6
- import { ITimerConfig, LivePresenceUser, LiveEvent, LivePresence, LiveTimer } from "@microsoft/live-share";
7
- import { InkingManager, LiveCanvas } from "@microsoft/live-share-canvas";
8
- import { CoordinationWaitPoint, ExtendedMediaMetadata, MediaPlayerSynchronizer } from "@microsoft/live-share-media";
9
- import { IFluidContainer, SharedMap } from "fluid-framework";
10
- import { IReceiveLiveEvent } from "../interfaces";
11
- import { OnPauseTimerAction, OnPlayTimerAction, OnStartTimerAction, OnUpdateLivePresenceAction, SendLiveEventAction } from "./ActionTypes";
12
- export interface IAzureContainerResults {
13
- /**
14
- * Fluid Container.
15
- */
16
- container: IFluidContainer;
17
- /**
18
- * Azure container services which has information such as current socket connections.
19
- */
20
- services: AzureContainerServices;
21
- }
22
- export interface ILiveShareContainerResults extends IAzureContainerResults {
23
- /**
24
- * Whether the local user/client initially created the container.
25
- */
26
- created: boolean;
27
- }
28
- export interface IUseSharedMapResults<TData> {
29
- /**
30
- * Stateful map of most recent values from `SharedMap`.
31
- */
32
- map: ReadonlyMap<string, TData>;
33
- /**
34
- * Callback method to set/replace new entries in the `SharedMap`.
35
- */
36
- setEntry: (key: string, value: TData) => void;
37
- /**
38
- * Callback method to delete an existing entry in the `SharedMap`.
39
- */
40
- deleteEntry: (key: string) => void;
41
- /**
42
- * The Fluid `SharedMap` object, should you want to use it directly.
43
- */
44
- sharedMap: SharedMap | undefined;
45
- }
46
- export interface IUseLiveEventResults<TEvent extends object = object> {
47
- /**
48
- * The most recent event that has been received in the session.
49
- */
50
- latestEvent: IReceiveLiveEvent<TEvent> | undefined;
51
- /**
52
- * All received events since initializing this component, sorted from oldest -> newest.
53
- */
54
- allEvents: IReceiveLiveEvent<TEvent>[];
55
- /**
56
- * Callback method to send a new event to users in the session.
57
- */
58
- sendEvent: SendLiveEventAction<TEvent>;
59
- /**
60
- * The `LiveEvent` object, should you want to use it directly.
61
- */
62
- liveEvent: LiveEvent | undefined;
63
- }
64
- export interface IUseLiveTimerResults {
65
- /**
66
- * The current timer configuration.
67
- */
68
- timerConfig: ITimerConfig | undefined;
69
- /**
70
- * The time remaining in milliseconds.
71
- */
72
- milliRemaining: number | undefined;
73
- /**
74
- * The `LiveTimer` object, should you want to use it directly.
75
- */
76
- liveTimer: LiveTimer | undefined;
77
- /**
78
- * Start timer callback.
79
- */
80
- start: OnStartTimerAction;
81
- /**
82
- * Play timer callback.
83
- */
84
- play: OnPlayTimerAction;
85
- /**
86
- * Pause timer callback.
87
- */
88
- pause: OnPauseTimerAction;
89
- }
90
- export interface IUseLivePresenceResults<TData extends object = object> {
91
- /**
92
- * The local user's presence object.
93
- */
94
- localUser: LivePresenceUser<TData> | undefined;
95
- /**
96
- * List of non-local user's presence objects.
97
- */
98
- otherUsers: LivePresenceUser<TData>[];
99
- /**
100
- * List of all user's presence objects.
101
- */
102
- allUsers: LivePresenceUser<TData>[];
103
- /**
104
- * Live Share `LivePresence` object, should you want to use it directly.
105
- */
106
- livePresence: LivePresence<TData> | undefined;
107
- /**
108
- * Callback method to update the local user's presence.
109
- */
110
- updatePresence: OnUpdateLivePresenceAction<TData>;
111
- }
112
- export interface IUseMediaSynchronizerResults {
113
- /**
114
- * Stateful boolean on whether the session has an active suspension.
115
- */
116
- suspended: boolean;
117
- /**
118
- * Callback to initiate a play action for the group media session.
119
- */
120
- play: () => void;
121
- /**
122
- * Callback to initiate a pause action for the group media session.
123
- */
124
- pause: () => void;
125
- /**
126
- * Callback to initiate a seek action for the group media session.
127
- *
128
- * @param time timestamp of the video in seconds to seek to
129
- */
130
- seekTo: (time: number) => void;
131
- /**
132
- * Callback to change the track for the group media session.
133
- * @param track media metadata object, track src string, or null
134
- */
135
- setTrack: (track: Partial<ExtendedMediaMetadata> | string | null) => void;
136
- /**
137
- * Begin a new suspension. If a wait point is not set, the suspension will only impact the
138
- * local user.
139
- *
140
- * @param waitPoint Optional. Point in track to set the suspension at.
141
- * @see CoordinationWaitPoint
142
- */
143
- beginSuspension: (waitPoint?: CoordinationWaitPoint) => void;
144
- /**
145
- * End the currently active exception.
146
- */
147
- endSuspension: () => void;
148
- /**
149
- * Live Share `MediaPlayerSynchronizer` object, should you want to use it directly.
150
- */
151
- mediaSynchronizer: MediaPlayerSynchronizer | undefined;
152
- }
153
- export interface IUseLiveCanvasResults {
154
- /**
155
- * Inking manager for the canvas, which is synchronized by `liveCanvas`. It is set when loaded and undefined while loading.
156
- */
157
- inkingManager: InkingManager | undefined;
158
- /**
159
- * Live Canvas data object which synchronizes inking & cursors in the session. It is set when loaded and undefined while loading.
160
- */
161
- liveCanvas: LiveCanvas | undefined;
162
- }
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the Microsoft Live Share SDK License.
4
+ */
5
+ import { AzureContainerServices } from "@fluidframework/azure-client";
6
+ import { ITimerConfig, LivePresenceUser, LiveEvent, LivePresence, LiveTimer } from "@microsoft/live-share";
7
+ import { InkingManager, LiveCanvas } from "@microsoft/live-share-canvas";
8
+ import { CoordinationWaitPoint, ExtendedMediaMetadata, MediaPlayerSynchronizer } from "@microsoft/live-share-media";
9
+ import { IFluidContainer, SharedMap } from "fluid-framework";
10
+ import { IReceiveLiveEvent } from "../interfaces";
11
+ import { OnPauseTimerAction, OnPlayTimerAction, OnStartTimerAction, OnUpdateLivePresenceAction, SendLiveEventAction } from "./ActionTypes";
12
+ export interface IAzureContainerResults {
13
+ /**
14
+ * Fluid Container.
15
+ */
16
+ container: IFluidContainer;
17
+ /**
18
+ * Azure container services which has information such as current socket connections.
19
+ */
20
+ services: AzureContainerServices;
21
+ }
22
+ export interface ILiveShareContainerResults extends IAzureContainerResults {
23
+ /**
24
+ * Whether the local user/client initially created the container.
25
+ */
26
+ created: boolean;
27
+ }
28
+ export interface IUseSharedMapResults<TData> {
29
+ /**
30
+ * Stateful map of most recent values from `SharedMap`.
31
+ */
32
+ map: ReadonlyMap<string, TData>;
33
+ /**
34
+ * Callback method to set/replace new entries in the `SharedMap`.
35
+ */
36
+ setEntry: (key: string, value: TData) => void;
37
+ /**
38
+ * Callback method to delete an existing entry in the `SharedMap`.
39
+ */
40
+ deleteEntry: (key: string) => void;
41
+ /**
42
+ * The Fluid `SharedMap` object, should you want to use it directly.
43
+ */
44
+ sharedMap: SharedMap | undefined;
45
+ }
46
+ export interface IUseLiveEventResults<TEvent extends object = object> {
47
+ /**
48
+ * The most recent event that has been received in the session.
49
+ */
50
+ latestEvent: IReceiveLiveEvent<TEvent> | undefined;
51
+ /**
52
+ * All received events since initializing this component, sorted from oldest -> newest.
53
+ */
54
+ allEvents: IReceiveLiveEvent<TEvent>[];
55
+ /**
56
+ * Callback method to send a new event to users in the session.
57
+ * @param TEvent to send.
58
+ * @returns void promise that will throw when user does not have required roles
59
+ */
60
+ sendEvent: SendLiveEventAction<TEvent>;
61
+ /**
62
+ * The `LiveEvent` object, should you want to use it directly.
63
+ */
64
+ liveEvent: LiveEvent | undefined;
65
+ }
66
+ export interface IUseLiveTimerResults {
67
+ /**
68
+ * The current timer configuration.
69
+ */
70
+ timerConfig: ITimerConfig | undefined;
71
+ /**
72
+ * The time remaining in milliseconds.
73
+ */
74
+ milliRemaining: number | undefined;
75
+ /**
76
+ * The `LiveTimer` object, should you want to use it directly.
77
+ */
78
+ liveTimer: LiveTimer | undefined;
79
+ /**
80
+ * Callback to send event through `LiveTimer`
81
+ * @param duration the duration for the timer in milliseconds
82
+ * @returns void promise that will throw when user does not have required roles
83
+ */
84
+ start: OnStartTimerAction;
85
+ /**
86
+ * Callback to send event through `LiveTimer`
87
+ * @returns void promise that will throw when user does not have required roles
88
+ */
89
+ play: OnPlayTimerAction;
90
+ /**
91
+ * Callback to send event through `LiveTimer`
92
+ * @returns void promise that will throw when user does not have required roles
93
+ */
94
+ pause: OnPauseTimerAction;
95
+ }
96
+ export interface IUseLivePresenceResults<TData extends object = object> {
97
+ /**
98
+ * The local user's presence object.
99
+ */
100
+ localUser: LivePresenceUser<TData> | undefined;
101
+ /**
102
+ * List of non-local user's presence objects.
103
+ */
104
+ otherUsers: LivePresenceUser<TData>[];
105
+ /**
106
+ * List of all user's presence objects.
107
+ */
108
+ allUsers: LivePresenceUser<TData>[];
109
+ /**
110
+ * Live Share `LivePresence` object, should you want to use it directly.
111
+ */
112
+ livePresence: LivePresence<TData> | undefined;
113
+ /**
114
+ * Callback method to update the local user's presence.
115
+ * @param data Optional. TData to set for user.
116
+ * @param state Optional. PresenceState to set for user.
117
+ * @returns void promise that will throw when user does not have required roles
118
+ */
119
+ updatePresence: OnUpdateLivePresenceAction<TData>;
120
+ }
121
+ export interface IUseMediaSynchronizerResults {
122
+ /**
123
+ * Stateful boolean on whether the session has an active suspension.
124
+ */
125
+ suspended: boolean;
126
+ /**
127
+ * Callback to initiate a play action for the group media session.
128
+ * @returns void promise that will throw when user does not have required roles
129
+ */
130
+ play: () => Promise<void>;
131
+ /**
132
+ * Callback to initiate a pause action for the group media session.
133
+ * @returns void promise that will throw when user does not have required roles
134
+ */
135
+ pause: () => Promise<void>;
136
+ /**
137
+ * Callback to initiate a seek action for the group media session.
138
+ * @param time timestamp of the video in seconds to seek to
139
+ * @returns void promise that will throw when user does not have required roles
140
+ */
141
+ seekTo: (time: number) => Promise<void>;
142
+ /**
143
+ * Callback to change the track for the group media session.
144
+ * @param track media metadata object, track src string, or null
145
+ * @returns void promise that will throw when user does not have required roles
146
+ */
147
+ setTrack: (track: Partial<ExtendedMediaMetadata> | string | null) => Promise<void>;
148
+ /**
149
+ * Begin a new suspension. If a wait point is not set, the suspension will only impact the
150
+ * local user.
151
+ *
152
+ * @param waitPoint Optional. Point in track to set the suspension at.
153
+ * @see CoordinationWaitPoint
154
+ */
155
+ beginSuspension: (waitPoint?: CoordinationWaitPoint) => void;
156
+ /**
157
+ * End the currently active exception.
158
+ */
159
+ endSuspension: () => void;
160
+ /**
161
+ * Live Share `MediaPlayerSynchronizer` object, should you want to use it directly.
162
+ */
163
+ mediaSynchronizer: MediaPlayerSynchronizer | undefined;
164
+ }
165
+ export interface IUseLiveCanvasResults {
166
+ /**
167
+ * Inking manager for the canvas, which is synchronized by `liveCanvas`. It is set when loaded and undefined while loading.
168
+ */
169
+ inkingManager: InkingManager | undefined;
170
+ /**
171
+ * Live Canvas data object which synchronizes inking & cursors in the session. It is set when loaded and undefined while loading.
172
+ */
173
+ liveCanvas: LiveCanvas | undefined;
174
+ }
163
175
  //# sourceMappingURL=ResultTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ResultTypes.d.ts","sourceRoot":"","sources":["../../src/types/ResultTypes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EACH,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,YAAY,EACZ,SAAS,EACZ,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EACH,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EAC1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EACH,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,0BAA0B,EAC1B,mBAAmB,EACtB,MAAM,eAAe,CAAC;AAEvB,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,QAAQ,EAAE,sBAAsB,CAAC;CACpC;AAED,MAAM,WAAW,0BAA2B,SAA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AqB,KAAK,IAAI,CAAC;IAC7D;;OAEG;IACH,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B;;OAEG;IACH,iBAAiB,EAAE,uBAAuB,GAAG,SAAS,CAAC;CAC1D;AAED,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;IACzC;;OAEG;IACH,UAAU,EAAE,UAAU,GAAG,SAAS,CAAC;CACtC"}
@@ -1,6 +1,6 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the Microsoft Live Share SDK License.
4
- */
5
- export {};
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the Microsoft Live Share SDK License.
4
+ */
5
+ export {};
6
6
  //# sourceMappingURL=ResultTypes.js.map
@@ -1,4 +1,4 @@
1
- export * from "./ActionTypes";
2
- export * from "./ResultTypes";
3
- export * from "./PropTypes";
1
+ export * from "./ActionTypes";
2
+ export * from "./ResultTypes";
3
+ export * from "./PropTypes";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- export * from "./ActionTypes";
2
- export * from "./ResultTypes";
3
- export * from "./PropTypes";
1
+ export * from "./ActionTypes";
2
+ export * from "./ResultTypes";
3
+ export * from "./PropTypes";
4
4
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export * from "./type-check";
1
+ export * from "./type-check";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export * from "./type-check";
1
+ export * from "./type-check";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,15 +1,15 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the Microsoft Live Share SDK License.
4
- */
5
- import { ExtendedMediaMetadata, IMediaPlayer } from "@microsoft/live-share-media";
6
- import React from "react";
7
- export declare function isRefObject<T>(value: any): value is React.RefObject<T>;
8
- export declare function isMediaElement(value: any): value is IMediaPlayer;
9
- export declare function isExtendedMediaMetadata(value: any): value is ExtendedMediaMetadata;
10
- export declare function isMap(value: any): value is Map<string, any>;
11
- export declare function isEntries(value: any): value is readonly (readonly [string, any])[];
12
- export declare function isJSON(value: any): value is {
13
- [key: string]: any;
14
- };
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the Microsoft Live Share SDK License.
4
+ */
5
+ import { ExtendedMediaMetadata, IMediaPlayer } from "@microsoft/live-share-media";
6
+ import React from "react";
7
+ export declare function isRefObject<T>(value: any): value is React.RefObject<T>;
8
+ export declare function isMediaElement(value: any): value is IMediaPlayer;
9
+ export declare function isExtendedMediaMetadata(value: any): value is ExtendedMediaMetadata;
10
+ export declare function isMap(value: any): value is Map<string, any>;
11
+ export declare function isEntries(value: any): value is readonly (readonly [string, any])[];
12
+ export declare function isJSON(value: any): value is {
13
+ [key: string]: any;
14
+ };
15
15
  //# sourceMappingURL=type-check.d.ts.map