Skip to content

Commit 3994e06

Browse files
committed
Presence
1 parent 4d9761d commit 3994e06

File tree

3 files changed

+80
-9
lines changed

3 files changed

+80
-9
lines changed

package-lock.json

Lines changed: 75 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils/drag.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
import {
55
type Presence,
66
StateFactory,
7-
LatestRawEvents,
87
StatesWorkspace,
9-
LatestRaw,
108
AttendeeId,
119
ClientConnectionId,
10+
LatestRaw,
11+
LatestRawEvents,
1212
} from "@fluidframework/presence/alpha";
1313
import { Listenable } from "fluid-framework";
1414
import { DragManager } from "./Interfaces/DragManager.js";

src/utils/selection.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
StateFactory,
1010
LatestRawEvents,
1111
StatesWorkspace,
12-
LatestRaw as LatestState,
12+
LatestRaw,
1313
AttendeeId,
1414
ClientConnectionId,
1515
} from "@fluidframework/presence/alpha";
@@ -28,7 +28,7 @@ export function createTypedSelectionManager(props: {
2828
class SelectionManagerImpl implements SelectionManager<TypedSelection> {
2929
initialState: TypedSelection[] = []; // Default initial state for the selection manager
3030

31-
state: LatestState<TypedSelection[]>;
31+
state: LatestRaw<TypedSelection[]>;
3232

3333
constructor(
3434
name: string,
@@ -163,7 +163,7 @@ export function createSelectionManager(props: {
163163
class SelectionManagerImpl implements SelectionManager {
164164
initialState: Selection[] = []; // Default initial state for the selection manager
165165

166-
state: LatestState<Selection[]>;
166+
state: LatestRaw<Selection[]>;
167167

168168
constructor(
169169
name: string,

0 commit comments

Comments
 (0)