@microsoft/live-share-react 1.0.0-preview.9 → 1.0.2-preview.1
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/README.md +99 -35
- package/bin/index.d.ts +6 -6
- package/bin/index.js +6 -6
- package/bin/interfaces/LiveInterfaceExtensions.d.ts +25 -8
- package/bin/interfaces/LiveInterfaceExtensions.d.ts.map +1 -1
- package/bin/interfaces/LiveInterfaceExtensions.js +5 -5
- package/bin/interfaces/index.d.ts +1 -1
- package/bin/interfaces/index.js +1 -1
- package/bin/internal/errors.d.ts +26 -0
- package/bin/internal/errors.d.ts.map +1 -0
- package/bin/internal/errors.js +39 -0
- package/bin/internal/errors.js.map +1 -0
- package/bin/internal/index.d.ts +4 -0
- package/bin/internal/index.d.ts.map +1 -0
- package/bin/internal/index.js +4 -0
- package/bin/internal/index.js.map +1 -0
- package/bin/internal/type-guards.d.ts +6 -0
- package/bin/internal/type-guards.d.ts.map +1 -0
- package/bin/internal/type-guards.js +8 -0
- package/bin/internal/type-guards.js.map +1 -0
- package/bin/{internal-hooks → internal}/useSharedStateRegistry.d.ts +30 -30
- package/bin/internal/useSharedStateRegistry.d.ts.map +1 -0
- package/bin/{internal-hooks → internal}/useSharedStateRegistry.js +101 -99
- package/bin/internal/useSharedStateRegistry.js.map +1 -0
- package/bin/live-hooks/index.d.ts +6 -6
- package/bin/live-hooks/index.js +6 -6
- package/bin/live-hooks/useLiveCanvas.d.ts +27 -27
- package/bin/live-hooks/useLiveCanvas.d.ts.map +1 -1
- package/bin/live-hooks/useLiveCanvas.js +158 -166
- package/bin/live-hooks/useLiveCanvas.js.map +1 -1
- package/bin/live-hooks/useLiveEvent.d.ts +21 -21
- package/bin/live-hooks/useLiveEvent.d.ts.map +1 -1
- package/bin/live-hooks/useLiveEvent.js +100 -85
- package/bin/live-hooks/useLiveEvent.js.map +1 -1
- package/bin/live-hooks/useLivePresence.d.ts +25 -25
- package/bin/live-hooks/useLivePresence.d.ts.map +1 -1
- package/bin/live-hooks/useLivePresence.js +106 -92
- package/bin/live-hooks/useLivePresence.js.map +1 -1
- package/bin/live-hooks/useLiveState.d.ts +19 -19
- package/bin/live-hooks/useLiveState.d.ts.map +1 -1
- package/bin/live-hooks/useLiveState.js +79 -70
- package/bin/live-hooks/useLiveState.js.map +1 -1
- package/bin/live-hooks/useLiveTimer.d.ts +7 -7
- package/bin/live-hooks/useLiveTimer.d.ts.map +1 -1
- package/bin/live-hooks/useLiveTimer.js +150 -131
- package/bin/live-hooks/useLiveTimer.js.map +1 -1
- package/bin/live-hooks/useMediaSynchronizer.d.ts +22 -22
- package/bin/live-hooks/useMediaSynchronizer.d.ts.map +1 -1
- package/bin/live-hooks/useMediaSynchronizer.js +206 -161
- package/bin/live-hooks/useMediaSynchronizer.js.map +1 -1
- package/bin/providers/AzureProvider.d.ts +33 -33
- package/bin/providers/AzureProvider.d.ts.map +1 -1
- package/bin/providers/AzureProvider.js +101 -101
- package/bin/providers/AzureProvider.js.map +1 -1
- package/bin/providers/LiveShareProvider.d.ts +62 -41
- package/bin/providers/LiveShareProvider.d.ts.map +1 -1
- package/bin/providers/LiveShareProvider.js +68 -65
- package/bin/providers/LiveShareProvider.js.map +1 -1
- package/bin/providers/index.d.ts +2 -2
- package/bin/providers/index.js +2 -2
- package/bin/shared-hooks/index.d.ts +3 -4
- package/bin/shared-hooks/index.d.ts.map +1 -1
- package/bin/shared-hooks/index.js +3 -4
- package/bin/shared-hooks/index.js.map +1 -1
- package/bin/shared-hooks/useDynamicDDS.d.ts +18 -18
- package/bin/shared-hooks/useDynamicDDS.d.ts.map +1 -1
- package/bin/shared-hooks/useDynamicDDS.js +67 -67
- package/bin/shared-hooks/useDynamicDDS.js.map +1 -1
- package/bin/shared-hooks/useSharedMap.d.ts +21 -21
- package/bin/shared-hooks/useSharedMap.d.ts.map +1 -1
- package/bin/shared-hooks/useSharedMap.js +112 -105
- package/bin/shared-hooks/useSharedMap.js.map +1 -1
- package/bin/shared-hooks/useSharedState.d.ts +20 -20
- package/bin/shared-hooks/useSharedState.d.ts.map +1 -1
- package/bin/shared-hooks/useSharedState.js +72 -62
- package/bin/shared-hooks/useSharedState.js.map +1 -1
- package/bin/types/ActionTypes.d.ts +111 -29
- package/bin/types/ActionTypes.d.ts.map +1 -1
- package/bin/types/ActionTypes.js +5 -5
- package/bin/types/PropTypes.d.ts +7 -7
- package/bin/types/PropTypes.d.ts.map +1 -1
- package/bin/types/PropTypes.js +5 -5
- package/bin/types/ResultTypes.d.ts +174 -162
- package/bin/types/ResultTypes.d.ts.map +1 -1
- package/bin/types/ResultTypes.js +5 -5
- package/bin/types/index.d.ts +3 -3
- package/bin/types/index.js +3 -3
- package/bin/utils/index.d.ts +1 -1
- package/bin/utils/index.js +1 -1
- package/bin/utils/type-check.d.ts +14 -14
- package/bin/utils/type-check.js +53 -53
- package/package.json +18 -14
- package/src/interfaces/LiveInterfaceExtensions.ts +19 -2
- package/src/internal/errors.ts +48 -0
- package/src/internal/index.ts +3 -0
- package/src/internal/type-guards.ts +9 -0
- package/src/{internal-hooks → internal}/useSharedStateRegistry.ts +6 -5
- package/src/live-hooks/useLiveCanvas.ts +12 -20
- package/src/live-hooks/useLiveEvent.ts +41 -22
- package/src/live-hooks/useLivePresence.ts +52 -33
- package/src/live-hooks/useLiveState.ts +48 -53
- package/src/live-hooks/useLiveTimer.ts +50 -41
- package/src/live-hooks/useMediaSynchronizer.ts +108 -41
- package/src/providers/AzureProvider.tsx +3 -8
- package/src/providers/LiveShareProvider.tsx +46 -16
- package/src/shared-hooks/index.ts +0 -1
- package/src/shared-hooks/useDynamicDDS.ts +15 -8
- package/src/shared-hooks/useSharedMap.ts +48 -22
- package/src/shared-hooks/useSharedState.ts +15 -5
- package/src/types/ActionTypes.ts +100 -15
- package/src/types/ResultTypes.ts +23 -9
- package/bin/internal-hooks/index.d.ts +0 -2
- package/bin/internal-hooks/index.d.ts.map +0 -1
- package/bin/internal-hooks/index.js +0 -2
- package/bin/internal-hooks/index.js.map +0 -1
- package/bin/internal-hooks/useDynamicDDSRegistry.d.ts +0 -14
- package/bin/internal-hooks/useDynamicDDSRegistry.d.ts.map +0 -1
- package/bin/internal-hooks/useDynamicDDSRegistry.js +0 -142
- package/bin/internal-hooks/useDynamicDDSRegistry.js.map +0 -1
- package/bin/internal-hooks/useSharedStateRegistry.d.ts.map +0 -1
- package/bin/internal-hooks/useSharedStateRegistry.js.map +0 -1
- package/bin/internal-hooks/useStateRef.d.ts +0 -7
- package/bin/internal-hooks/useStateRef.d.ts.map +0 -1
- package/bin/internal-hooks/useStateRef.js +0 -15
- package/bin/internal-hooks/useStateRef.js.map +0 -1
- package/bin/live-hooks/useLiveAICompletion.d.ts +0 -29
- package/bin/live-hooks/useLiveAICompletion.d.ts.map +0 -1
- package/bin/live-hooks/useLiveAICompletion.js +0 -186
- package/bin/live-hooks/useLiveAICompletion.js.map +0 -1
- package/bin/live-hooks/useLiveCoPilot.d.ts +0 -28
- package/bin/live-hooks/useLiveCoPilot.d.ts.map +0 -1
- package/bin/live-hooks/useLiveCoPilot.js +0 -178
- package/bin/live-hooks/useLiveCoPilot.js.map +0 -1
- package/bin/live-share-turbo/AzureTurboClient.d.ts +0 -39
- package/bin/live-share-turbo/AzureTurboClient.d.ts.map +0 -1
- package/bin/live-share-turbo/AzureTurboClient.js +0 -56
- package/bin/live-share-turbo/AzureTurboClient.js.map +0 -1
- package/bin/live-share-turbo/LiveShareTurboClient.d.ts +0 -53
- package/bin/live-share-turbo/LiveShareTurboClient.d.ts.map +0 -1
- package/bin/live-share-turbo/LiveShareTurboClient.js +0 -69
- package/bin/live-share-turbo/LiveShareTurboClient.js.map +0 -1
- package/bin/live-share-turbo/dds-objects/TurboDataObject.d.ts +0 -31
- package/bin/live-share-turbo/dds-objects/TurboDataObject.d.ts.map +0 -1
- package/bin/live-share-turbo/dds-objects/TurboDataObject.js +0 -75
- package/bin/live-share-turbo/dds-objects/TurboDataObject.js.map +0 -1
- package/bin/live-share-turbo/dds-objects/TurboLiveCanvas.d.ts +0 -48
- package/bin/live-share-turbo/dds-objects/TurboLiveCanvas.d.ts.map +0 -1
- package/bin/live-share-turbo/dds-objects/TurboLiveCanvas.js +0 -104
- package/bin/live-share-turbo/dds-objects/TurboLiveCanvas.js.map +0 -1
- package/bin/live-share-turbo/dds-objects/TurboLiveEvent.d.ts +0 -28
- package/bin/live-share-turbo/dds-objects/TurboLiveEvent.d.ts.map +0 -1
- package/bin/live-share-turbo/dds-objects/TurboLiveEvent.js +0 -68
- package/bin/live-share-turbo/dds-objects/TurboLiveEvent.js.map +0 -1
- package/bin/live-share-turbo/dds-objects/TurboLiveMediaSession.d.ts +0 -60
- package/bin/live-share-turbo/dds-objects/TurboLiveMediaSession.d.ts.map +0 -1
- package/bin/live-share-turbo/dds-objects/TurboLiveMediaSession.js +0 -111
- package/bin/live-share-turbo/dds-objects/TurboLiveMediaSession.js.map +0 -1
- package/bin/live-share-turbo/dds-objects/TurboLivePresence.d.ts +0 -77
- package/bin/live-share-turbo/dds-objects/TurboLivePresence.d.ts.map +0 -1
- package/bin/live-share-turbo/dds-objects/TurboLivePresence.js +0 -137
- package/bin/live-share-turbo/dds-objects/TurboLivePresence.js.map +0 -1
- package/bin/live-share-turbo/dds-objects/TurboLiveState.d.ts +0 -30
- package/bin/live-share-turbo/dds-objects/TurboLiveState.d.ts.map +0 -1
- package/bin/live-share-turbo/dds-objects/TurboLiveState.js +0 -74
- package/bin/live-share-turbo/dds-objects/TurboLiveState.js.map +0 -1
- package/bin/live-share-turbo/dds-objects/TurboSharedMap.d.ts +0 -61
- package/bin/live-share-turbo/dds-objects/TurboSharedMap.d.ts.map +0 -1
- package/bin/live-share-turbo/dds-objects/TurboSharedMap.js +0 -108
- package/bin/live-share-turbo/dds-objects/TurboSharedMap.js.map +0 -1
- package/bin/live-share-turbo/dds-objects/index.d.ts +0 -8
- package/bin/live-share-turbo/dds-objects/index.d.ts.map +0 -1
- package/bin/live-share-turbo/dds-objects/index.js +0 -8
- package/bin/live-share-turbo/dds-objects/index.js.map +0 -1
- package/bin/live-share-turbo/index.d.ts +0 -5
- package/bin/live-share-turbo/index.d.ts.map +0 -1
- package/bin/live-share-turbo/index.js +0 -5
- package/bin/live-share-turbo/index.js.map +0 -1
- package/bin/live-share-turbo/interfaces/IFluidTurboClient.d.ts +0 -15
- package/bin/live-share-turbo/interfaces/IFluidTurboClient.d.ts.map +0 -1
- package/bin/live-share-turbo/interfaces/IFluidTurboClient.js +0 -2
- package/bin/live-share-turbo/interfaces/IFluidTurboClient.js.map +0 -1
- package/bin/live-share-turbo/interfaces/index.d.ts +0 -3
- package/bin/live-share-turbo/interfaces/index.d.ts.map +0 -1
- package/bin/live-share-turbo/interfaces/index.js +0 -3
- package/bin/live-share-turbo/interfaces/index.js.map +0 -1
- package/bin/live-share-turbo/internals/FluidTurboClient.d.ts +0 -39
- package/bin/live-share-turbo/internals/FluidTurboClient.d.ts.map +0 -1
- package/bin/live-share-turbo/internals/FluidTurboClient.js +0 -121
- package/bin/live-share-turbo/internals/FluidTurboClient.js.map +0 -1
- package/bin/live-share-turbo/internals/index.d.ts +0 -2
- package/bin/live-share-turbo/internals/index.d.ts.map +0 -1
- package/bin/live-share-turbo/internals/index.js +0 -2
- package/bin/live-share-turbo/internals/index.js.map +0 -1
- package/bin/live-share-turbo/internals/types.d.ts +0 -4
- package/bin/live-share-turbo/internals/types.d.ts.map +0 -1
- package/bin/live-share-turbo/internals/types.js +0 -2
- package/bin/live-share-turbo/internals/types.js.map +0 -1
- package/bin/providers/FluidContextProvider.d.ts +0 -34
- package/bin/providers/FluidContextProvider.d.ts.map +0 -1
- package/bin/providers/FluidContextProvider.js +0 -99
- package/bin/providers/FluidContextProvider.js.map +0 -1
- package/bin/providers/LiveShareContextProvider.d.ts +0 -42
- package/bin/providers/LiveShareContextProvider.d.ts.map +0 -1
- package/bin/providers/LiveShareContextProvider.js +0 -63
- package/bin/providers/LiveShareContextProvider.js.map +0 -1
- package/bin/shared-hooks/useLockedTask.d.ts +0 -11
- package/bin/shared-hooks/useLockedTask.d.ts.map +0 -1
- package/bin/shared-hooks/useLockedTask.js +0 -82
- package/bin/shared-hooks/useLockedTask.js.map +0 -1
- package/bin/shared-hooks/useTaskManager.d.ts +0 -13
- package/bin/shared-hooks/useTaskManager.d.ts.map +0 -1
- package/bin/shared-hooks/useTaskManager.js +0 -86
- package/bin/shared-hooks/useTaskManager.js.map +0 -1
- package/bin/utils/getContainerSchema.d.ts +0 -8
- package/bin/utils/getContainerSchema.d.ts.map +0 -1
- package/bin/utils/getContainerSchema.js +0 -41
- package/bin/utils/getContainerSchema.js.map +0 -1
- package/src/internal-hooks/index.ts +0 -1
- package/src/shared-hooks/useTaskManager.ts +0 -82
- package/tinylicious.log +0 -4
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { IFluidContainer, LoadableObjectClass } from "fluid-framework";
|
|
2
|
-
import { ILiveShareClientOptions, ILiveShareHost } from "@microsoft/live-share";
|
|
3
|
-
import { AzureContainerServices } from "@fluidframework/azure-client";
|
|
4
|
-
import { FluidTurboClient } from "./internals";
|
|
5
|
-
export declare class LiveShareTurboClient extends FluidTurboClient {
|
|
6
|
-
private _client;
|
|
7
|
-
private _results;
|
|
8
|
-
/**
|
|
9
|
-
* Creates a new `LiveShareTurbo` instance.
|
|
10
|
-
* @param host Host for the current Live Share session.
|
|
11
|
-
* @param options Optional. Configuration options for the client.
|
|
12
|
-
*/
|
|
13
|
-
constructor(host: ILiveShareHost, options?: ILiveShareClientOptions);
|
|
14
|
-
/**
|
|
15
|
-
* If true the client is configured to use a local test server.
|
|
16
|
-
*/
|
|
17
|
-
get isTesting(): boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Number of times the client should attempt to get the ID of the container to join for the
|
|
20
|
-
* current context.
|
|
21
|
-
*/
|
|
22
|
-
get maxContainerLookupTries(): number;
|
|
23
|
-
/**
|
|
24
|
-
* Set number of times the client should attempt to get the ID of the container to join for the
|
|
25
|
-
* current context.
|
|
26
|
-
*/
|
|
27
|
-
set maxContainerLookupTries(value: number);
|
|
28
|
-
/**
|
|
29
|
-
* Get the Fluid join container results
|
|
30
|
-
*/
|
|
31
|
-
get results(): {
|
|
32
|
-
container: IFluidContainer;
|
|
33
|
-
services: AzureContainerServices;
|
|
34
|
-
created: boolean;
|
|
35
|
-
} | undefined;
|
|
36
|
-
/**
|
|
37
|
-
* Connects to the fluid container for the current teams context.
|
|
38
|
-
*
|
|
39
|
-
* @remarks
|
|
40
|
-
* The first client joining the container will create the container resulting in the
|
|
41
|
-
* `onContainerFirstCreated` callback being called. This callback can be used to set the initial
|
|
42
|
-
* state of of the containers object prior to the container being attached.
|
|
43
|
-
* @param fluidContainerSchema Fluid objects to create.
|
|
44
|
-
* @param onContainerFirstCreated Optional. Callback that's called when the container is first created.
|
|
45
|
-
* @returns The fluid `container` and `services` objects to use along with a `created` flag that if true means the container had to be created.
|
|
46
|
-
*/
|
|
47
|
-
join(additionalDynamicObjectTypes?: LoadableObjectClass<any>[], onContainerFirstCreated?: (container: IFluidContainer) => void): Promise<{
|
|
48
|
-
container: IFluidContainer;
|
|
49
|
-
services: AzureContainerServices;
|
|
50
|
-
created: boolean;
|
|
51
|
-
}>;
|
|
52
|
-
}
|
|
53
|
-
//# sourceMappingURL=LiveShareTurboClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LiveShareTurboClient.d.ts","sourceRoot":"","sources":["../../src/live-share-turbo/LiveShareTurboClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAEH,uBAAuB,EACvB,cAAc,EACjB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,qBAAa,oBAAqB,SAAQ,gBAAgB;IACtD,OAAO,CAAC,OAAO,CAAkB;IACjC,OAAO,CAAC,QAAQ,CAMA;IAEhB;;;;OAIG;gBACS,IAAI,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,uBAAuB;IAKnE;;OAEG;IACH,IAAW,SAAS,IAAI,OAAO,CAE9B;IAED;;;OAGG;IACH,IAAW,uBAAuB,IAAI,MAAM,CAE3C;IAED;;;OAGG;IACH,IAAW,uBAAuB,CAAC,KAAK,EAAE,MAAM,EAE/C;IAED;;OAEG;IACH,IAAoB,OAAO,IACrB;QACI,SAAS,EAAE,eAAe,CAAC;QAC3B,QAAQ,EAAE,sBAAsB,CAAC;QACjC,OAAO,EAAE,OAAO,CAAC;KACpB,GACD,SAAS,CAEd;IAED;;;;;;;;;;OAUG;IACU,IAAI,CACb,4BAA4B,CAAC,EAAE,mBAAmB,CAAC,GAAG,CAAC,EAAE,EACzD,uBAAuB,CAAC,EAAE,CAAC,SAAS,EAAE,eAAe,KAAK,IAAI,GAC/D,OAAO,CAAC;QACP,SAAS,EAAE,eAAe,CAAC;QAC3B,QAAQ,EAAE,sBAAsB,CAAC;QACjC,OAAO,EAAE,OAAO,CAAC;KACpB,CAAC;CAWL"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
import { LiveShareClient, } from "@microsoft/live-share";
|
|
11
|
-
import { getLiveShareContainerSchema } from "../utils";
|
|
12
|
-
import { FluidTurboClient } from "./internals";
|
|
13
|
-
export class LiveShareTurboClient extends FluidTurboClient {
|
|
14
|
-
/**
|
|
15
|
-
* Creates a new `LiveShareTurbo` instance.
|
|
16
|
-
* @param host Host for the current Live Share session.
|
|
17
|
-
* @param options Optional. Configuration options for the client.
|
|
18
|
-
*/
|
|
19
|
-
constructor(host, options) {
|
|
20
|
-
super();
|
|
21
|
-
this._client = new LiveShareClient(host, options);
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* If true the client is configured to use a local test server.
|
|
25
|
-
*/
|
|
26
|
-
get isTesting() {
|
|
27
|
-
return this._client.isTesting;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Number of times the client should attempt to get the ID of the container to join for the
|
|
31
|
-
* current context.
|
|
32
|
-
*/
|
|
33
|
-
get maxContainerLookupTries() {
|
|
34
|
-
return this._client.maxContainerLookupTries;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Set number of times the client should attempt to get the ID of the container to join for the
|
|
38
|
-
* current context.
|
|
39
|
-
*/
|
|
40
|
-
set maxContainerLookupTries(value) {
|
|
41
|
-
this._client.maxContainerLookupTries = value;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Get the Fluid join container results
|
|
45
|
-
*/
|
|
46
|
-
get results() {
|
|
47
|
-
return this._results;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Connects to the fluid container for the current teams context.
|
|
51
|
-
*
|
|
52
|
-
* @remarks
|
|
53
|
-
* The first client joining the container will create the container resulting in the
|
|
54
|
-
* `onContainerFirstCreated` callback being called. This callback can be used to set the initial
|
|
55
|
-
* state of of the containers object prior to the container being attached.
|
|
56
|
-
* @param fluidContainerSchema Fluid objects to create.
|
|
57
|
-
* @param onContainerFirstCreated Optional. Callback that's called when the container is first created.
|
|
58
|
-
* @returns The fluid `container` and `services` objects to use along with a `created` flag that if true means the container had to be created.
|
|
59
|
-
*/
|
|
60
|
-
join(additionalDynamicObjectTypes, onContainerFirstCreated) {
|
|
61
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
-
const schema = getLiveShareContainerSchema(additionalDynamicObjectTypes);
|
|
63
|
-
this._results = yield this._client.joinContainer(schema, onContainerFirstCreated);
|
|
64
|
-
this.registerDynamicObjectListeners();
|
|
65
|
-
return this._results;
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
//# sourceMappingURL=LiveShareTurboClient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LiveShareTurboClient.js","sourceRoot":"","sources":["../../src/live-share-turbo/LiveShareTurboClient.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EACH,eAAe,GAGlB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AAEvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,OAAO,oBAAqB,SAAQ,gBAAgB;IAUtD;;;;OAIG;IACH,YAAY,IAAoB,EAAE,OAAiC;QAC/D,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,OAAO,GAAG,IAAI,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAED;;OAEG;IACH,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC;IAClC,CAAC;IAED;;;OAGG;IACH,IAAW,uBAAuB;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,uBAAuB,CAAC;IAChD,CAAC;IAED;;;OAGG;IACH,IAAW,uBAAuB,CAAC,KAAa;QAC5C,IAAI,CAAC,OAAO,CAAC,uBAAuB,GAAG,KAAK,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,IAAoB,OAAO;QAOvB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IAED;;;;;;;;;;OAUG;IACU,IAAI,CACb,4BAAyD,EACzD,uBAA8D;;YAM9D,MAAM,MAAM,GAAG,2BAA2B,CACtC,4BAA4B,CAC/B,CAAC;YACF,IAAI,CAAC,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,aAAa,CAC5C,MAAM,EACN,uBAAuB,CAC1B,CAAC;YACF,IAAI,CAAC,8BAA8B,EAAE,CAAC;YACtC,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;KAAA;CACJ"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { IEvent } from "@fluidframework/common-definitions";
|
|
2
|
-
import { TypedEventEmitter } from "@fluidframework/common-utils";
|
|
3
|
-
import { IFluidLoadable } from "@fluidframework/core-interfaces";
|
|
4
|
-
import { ISharedObjectEvents } from "@fluidframework/shared-object-base";
|
|
5
|
-
import { SharedDataObject } from "../../live-share-react/bin/live-share-turbo/interfaces";
|
|
6
|
-
interface ITurboDataObject {
|
|
7
|
-
get disposed(): boolean;
|
|
8
|
-
get id(): string;
|
|
9
|
-
dispose(): void;
|
|
10
|
-
}
|
|
11
|
-
export declare class TurboDataObject<I extends ISharedObjectEvents = ISharedObjectEvents, T extends SharedDataObject = SharedDataObject> extends TypedEventEmitter<I & IEvent> implements ITurboDataObject {
|
|
12
|
-
private _dataObject;
|
|
13
|
-
private _eventNames;
|
|
14
|
-
private _onDidOverrideDataObject?;
|
|
15
|
-
constructor(dataObject: T, eventNames: string[], onDidOverrideDataObject?: () => void);
|
|
16
|
-
get disposed(): boolean;
|
|
17
|
-
get id(): string;
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
set dataObject(value: T);
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
get dataObject(): T;
|
|
26
|
-
get IFluidLoadable(): IFluidLoadable;
|
|
27
|
-
dispose(): void;
|
|
28
|
-
private setupEventListeners;
|
|
29
|
-
}
|
|
30
|
-
export {};
|
|
31
|
-
//# sourceMappingURL=TurboDataObject.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TurboDataObject.d.ts","sourceRoot":"","sources":["../../../src/live-share-turbo/dds-objects/TurboDataObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,UAAU,gBAAgB;IACtB,IAAI,QAAQ,IAAI,OAAO,CAAC;IACxB,IAAI,EAAE,IAAI,MAAM,CAAC;IACjB,OAAO,IAAI,IAAI,CAAC;CACnB;AAED,qBAAa,eAAe,CACpB,CAAC,SAAS,mBAAmB,GAAG,mBAAmB,EACnD,CAAC,SAAS,gBAAgB,GAAG,gBAAgB,CAEjD,SAAQ,iBAAiB,CAAC,CAAC,GAAG,MAAM,CACpC,YAAW,gBAAgB;IAE3B,OAAO,CAAC,WAAW,CAAI;IACvB,OAAO,CAAC,WAAW,CAAW;IAC9B,OAAO,CAAC,wBAAwB,CAAC,CAAa;gBAElC,UAAU,EAAE,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,uBAAuB,CAAC,EAAE,MAAM,IAAI;IAQrF,IAAI,QAAQ,IAAI,OAAO,CAKtB;IACD,IAAI,EAAE,IAAI,MAAM,CAEf;IACD;;OAEG;IACH,IAAI,UAAU,CAAC,KAAK,EAAE,CAAC,EAMtB;IACD;;OAEG;IACH,IAAI,UAAU,IAAI,CAAC,CAElB;IAKD,IAAI,cAAc,IAAI,cAAc,CAEnC;IAuBD,OAAO,IAAI,IAAI;IAIf,OAAO,CAAC,mBAAmB;CAO9B"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { TypedEventEmitter } from "@fluidframework/common-utils";
|
|
2
|
-
export class TurboDataObject extends TypedEventEmitter {
|
|
3
|
-
constructor(dataObject, eventNames, onDidOverrideDataObject) {
|
|
4
|
-
super();
|
|
5
|
-
this._dataObject = dataObject;
|
|
6
|
-
this._eventNames = eventNames;
|
|
7
|
-
this._onDidOverrideDataObject = onDidOverrideDataObject;
|
|
8
|
-
this.setupEventListeners();
|
|
9
|
-
}
|
|
10
|
-
get disposed() {
|
|
11
|
-
if (this._dataObject.disposed !== undefined) {
|
|
12
|
-
return this._dataObject.disposed;
|
|
13
|
-
}
|
|
14
|
-
return false;
|
|
15
|
-
}
|
|
16
|
-
get id() {
|
|
17
|
-
return this._dataObject.id;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
set dataObject(value) {
|
|
23
|
-
var _a, _b, _c;
|
|
24
|
-
this._dataObject.removeAllListeners();
|
|
25
|
-
(_b = (_a = this._dataObject).dispose) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
26
|
-
this._dataObject = value;
|
|
27
|
-
this.setupEventListeners();
|
|
28
|
-
(_c = this._onDidOverrideDataObject) === null || _c === void 0 ? void 0 : _c.call(this);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
get dataObject() {
|
|
34
|
-
return this._dataObject;
|
|
35
|
-
}
|
|
36
|
-
// get IFluidRouter(): this {
|
|
37
|
-
// return this;
|
|
38
|
-
// }
|
|
39
|
-
get IFluidLoadable() {
|
|
40
|
-
return this._dataObject.IFluidLoadable;
|
|
41
|
-
}
|
|
42
|
-
// finishInitialization(existing: boolean): Promise<void> {
|
|
43
|
-
// throw new Error("Method not implemented.");
|
|
44
|
-
// }
|
|
45
|
-
// getFluidObjectFromDirectory<T extends IFluidLoadable>(key: string, directory: IDirectory, getObjectFromDirectory?: ((id: string, directory: IDirectory) => IFluidHandle<FluidObject<unknown> & IFluidLoadable> | undefined) | undefined): Promise<T | undefined> {
|
|
46
|
-
// throw new Error("Method not implemented.");
|
|
47
|
-
// }
|
|
48
|
-
// protected getService<T extends FluidObject<unknown>>(id: string): Promise<T> {
|
|
49
|
-
// throw new Error("Method not implemented.");
|
|
50
|
-
// }
|
|
51
|
-
// protected preInitialize(): Promise<void> {
|
|
52
|
-
// throw new Error("Method not implemented.");
|
|
53
|
-
// }
|
|
54
|
-
// protected initializingFirstTime(props?: I["InitialState"] | undefined): Promise<void> {
|
|
55
|
-
// throw new Error("Method not implemented.");
|
|
56
|
-
// }
|
|
57
|
-
// protected initializingFromExisting(): Promise<void> {
|
|
58
|
-
// throw new Error("Method not implemented.");
|
|
59
|
-
// }
|
|
60
|
-
// protected hasInitialized(): Promise<void> {
|
|
61
|
-
// throw new Error("Method not implemented.");
|
|
62
|
-
// }
|
|
63
|
-
dispose() {
|
|
64
|
-
var _a, _b;
|
|
65
|
-
(_b = (_a = this._dataObject).dispose) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
66
|
-
}
|
|
67
|
-
setupEventListeners() {
|
|
68
|
-
this._eventNames.forEach((eventName) => {
|
|
69
|
-
this._dataObject.on(eventName, (...args) => {
|
|
70
|
-
this.emit(eventName, ...args);
|
|
71
|
-
});
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
//# sourceMappingURL=TurboDataObject.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TurboDataObject.js","sourceRoot":"","sources":["../../../src/live-share-turbo/dds-objects/TurboDataObject.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAWjE,MAAM,OAAO,eAIT,SAAQ,iBAA6B;IAOrC,YAAY,UAAa,EAAE,UAAoB,EAAE,uBAAoC;QACjF,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9B,IAAI,CAAC,WAAW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1C,CAAC;IAEO,mBAAmB;QACvB,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE;YACnC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,GAAG,IAAI,EAAE,EAAE;gBACvC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,IAAI,CAAC,CAAC;YAClC,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { IFluidTurboClient } from "../../live-share-react/bin/live-share-turbo/interfaces";
|
|
2
|
-
import { TurboDataObject } from "./TurboDataObject";
|
|
3
|
-
import { InkingManager, IUserInfo, LiveCanvas, LiveCursor } from "@microsoft/live-share-canvas";
|
|
4
|
-
import { UserMeetingRole } from "@microsoft/live-share";
|
|
5
|
-
export declare class TurboLiveCanvas extends TurboDataObject<any, LiveCanvas> {
|
|
6
|
-
private _isInitialized;
|
|
7
|
-
private _inkingManager?;
|
|
8
|
-
constructor(dataObject: LiveCanvas);
|
|
9
|
-
get isInitialized(): boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Gets the current cursor sharing status of this client.
|
|
12
|
-
*/
|
|
13
|
-
get isCursorShared(): boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Sets the current cursor sharing status of this client.
|
|
16
|
-
*/
|
|
17
|
-
set isCursorShared(value: boolean);
|
|
18
|
-
/**
|
|
19
|
-
* Gets the list of roles that are allowed to emit wet stroke events.
|
|
20
|
-
*/
|
|
21
|
-
get allowedRoles(): UserMeetingRole[];
|
|
22
|
-
/**
|
|
23
|
-
* Sets the list of roles that are allowed to emit wet stroke events.
|
|
24
|
-
*/
|
|
25
|
-
set allowedRoles(value: UserMeetingRole[]);
|
|
26
|
-
/**
|
|
27
|
-
* Optional callback that allows the consuming application to provide a
|
|
28
|
-
* friendly display name and/or a picture that will be used on remote devices
|
|
29
|
-
* to render shared cursors.
|
|
30
|
-
*/
|
|
31
|
-
get onGetLocalUserInfo(): (() => IUserInfo | undefined) | undefined;
|
|
32
|
-
set onGetLocalUserInfo(value: (() => IUserInfo | undefined) | undefined);
|
|
33
|
-
/**
|
|
34
|
-
* Optional callback that allows the consuming application to provide its own
|
|
35
|
-
* live cursor visual representation by extending the abstract `LiveCursor`
|
|
36
|
-
* class. The callback is passed the user information retrieved via the
|
|
37
|
-
* `onGetLocalUserInfo` calback, if provided.
|
|
38
|
-
*/
|
|
39
|
-
get onCreateLiveCursor(): ((clientId: string, userInfo?: IUserInfo) => LiveCursor) | undefined;
|
|
40
|
-
set onCreateLiveCursor(value: ((clientId: string, userInfo?: IUserInfo) => LiveCursor) | undefined);
|
|
41
|
-
/**
|
|
42
|
-
* initialize the object.
|
|
43
|
-
* @param allowedRoles Optional. List of roles allowed to send events.
|
|
44
|
-
*/
|
|
45
|
-
initialize(inkingManager: InkingManager): Promise<void>;
|
|
46
|
-
static create(turboClient: IFluidTurboClient, uniqueKey: string, onDidFirstInitialize?: (dds: TurboLiveCanvas) => void): Promise<TurboLiveCanvas>;
|
|
47
|
-
}
|
|
48
|
-
//# sourceMappingURL=TurboLiveCanvas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TurboLiveCanvas.d.ts","sourceRoot":"","sources":["../../../src/live-share-turbo/dds-objects/TurboLiveCanvas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAChG,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,qBAAa,eAAgB,SAAQ,eAAe,CAChD,GAAG,EACH,UAAU,CACb;IACG,OAAO,CAAC,cAAc,CAAkB;IACxC,OAAO,CAAC,cAAc,CAAC,CAAgB;gBAE3B,UAAU,EAAE,UAAU;IAelC,IAAW,aAAa,IAAI,OAAO,CAElC;IAED;;OAEG;IACH,IAAI,cAAc,IAAI,OAAO,CAE5B;IAED;;OAEG;IACH,IAAI,cAAc,CAAC,KAAK,EAAE,OAAO,EAEhC;IAED;;OAEG;IACH,IAAI,YAAY,IAAI,eAAe,EAAE,CAEpC;IAED;;OAEG;IACH,IAAI,YAAY,CAAC,KAAK,EAAE,eAAe,EAAE,EAExC;IAED;;;;OAIG;IACH,IAAW,kBAAkB,IAAI,CAAC,MAAM,SAAS,GAAG,SAAS,CAAC,GAAG,SAAS,CAEzE;IAED,IAAW,kBAAkB,CAAC,KAAK,EAAE,CAAC,MAAM,SAAS,GAAG,SAAS,CAAC,GAAG,SAAS,EAE7E;IAED;;;;;OAKG;IACH,IAAW,kBAAkB,IAAI,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,SAAS,KAAK,UAAU,CAAC,GAAG,SAAS,CAEpG;IAED,IAAW,kBAAkB,CAAC,KAAK,EAAE,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,SAAS,KAAK,UAAU,CAAC,GAAG,SAAS,EAExG;IAED;;;OAGG;IACU,UAAU,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;WAMhD,MAAM,CACtB,WAAW,EAAE,iBAAiB,EAC9B,SAAS,EAAE,MAAM,EACjB,oBAAoB,CAAC,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,IAAI,GACtD,OAAO,CAAC,eAAe,CAAC;CAiB9B"}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
import { TurboDataObject } from "./TurboDataObject";
|
|
11
|
-
import { LiveCanvas } from "@microsoft/live-share-canvas";
|
|
12
|
-
export class TurboLiveCanvas extends TurboDataObject {
|
|
13
|
-
constructor(dataObject) {
|
|
14
|
-
const onDidOverrideDataObject = () => __awaiter(this, void 0, void 0, function* () {
|
|
15
|
-
var _a, _b;
|
|
16
|
-
if (this._isInitialized && this._inkingManager) {
|
|
17
|
-
(_a = this._inkingManager) === null || _a === void 0 ? void 0 : _a.clear();
|
|
18
|
-
(_b = this._inkingManager) === null || _b === void 0 ? void 0 : _b.removeAllListeners();
|
|
19
|
-
try {
|
|
20
|
-
yield this.dataObject.initialize(this._inkingManager);
|
|
21
|
-
}
|
|
22
|
-
catch (error) {
|
|
23
|
-
console.error(error);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
super(dataObject, [], onDidOverrideDataObject);
|
|
28
|
-
this._isInitialized = false;
|
|
29
|
-
}
|
|
30
|
-
get isInitialized() {
|
|
31
|
-
return this._isInitialized;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Gets the current cursor sharing status of this client.
|
|
35
|
-
*/
|
|
36
|
-
get isCursorShared() {
|
|
37
|
-
return this.dataObject.isCursorShared;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Sets the current cursor sharing status of this client.
|
|
41
|
-
*/
|
|
42
|
-
set isCursorShared(value) {
|
|
43
|
-
this.dataObject.isCursorShared = value;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Gets the list of roles that are allowed to emit wet stroke events.
|
|
47
|
-
*/
|
|
48
|
-
get allowedRoles() {
|
|
49
|
-
return this.dataObject.allowedRoles;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Sets the list of roles that are allowed to emit wet stroke events.
|
|
53
|
-
*/
|
|
54
|
-
set allowedRoles(value) {
|
|
55
|
-
this.dataObject.allowedRoles = value;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Optional callback that allows the consuming application to provide a
|
|
59
|
-
* friendly display name and/or a picture that will be used on remote devices
|
|
60
|
-
* to render shared cursors.
|
|
61
|
-
*/
|
|
62
|
-
get onGetLocalUserInfo() {
|
|
63
|
-
return this.dataObject.onGetLocalUserInfo;
|
|
64
|
-
}
|
|
65
|
-
set onGetLocalUserInfo(value) {
|
|
66
|
-
this.dataObject.onGetLocalUserInfo = value;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Optional callback that allows the consuming application to provide its own
|
|
70
|
-
* live cursor visual representation by extending the abstract `LiveCursor`
|
|
71
|
-
* class. The callback is passed the user information retrieved via the
|
|
72
|
-
* `onGetLocalUserInfo` calback, if provided.
|
|
73
|
-
*/
|
|
74
|
-
get onCreateLiveCursor() {
|
|
75
|
-
return this.dataObject.onCreateLiveCursor;
|
|
76
|
-
}
|
|
77
|
-
set onCreateLiveCursor(value) {
|
|
78
|
-
this.dataObject.onCreateLiveCursor = value;
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* initialize the object.
|
|
82
|
-
* @param allowedRoles Optional. List of roles allowed to send events.
|
|
83
|
-
*/
|
|
84
|
-
initialize(inkingManager) {
|
|
85
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
86
|
-
yield this.dataObject.initialize(inkingManager);
|
|
87
|
-
this._inkingManager = inkingManager;
|
|
88
|
-
this._isInitialized = true;
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
static create(turboClient, uniqueKey, onDidFirstInitialize) {
|
|
92
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
93
|
-
const results = yield turboClient.getDDS(`<LiveCanvas>:${uniqueKey}`, LiveCanvas, (dds) => {
|
|
94
|
-
return new TurboLiveCanvas(dds);
|
|
95
|
-
});
|
|
96
|
-
const dds = results.dds;
|
|
97
|
-
if (results.created) {
|
|
98
|
-
onDidFirstInitialize === null || onDidFirstInitialize === void 0 ? void 0 : onDidFirstInitialize(dds);
|
|
99
|
-
}
|
|
100
|
-
return dds;
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
//# sourceMappingURL=TurboLiveCanvas.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TurboLiveCanvas.js","sourceRoot":"","sources":["../../../src/live-share-turbo/dds-objects/TurboLiveCanvas.ts"],"names":[],"mappings":";;;;;;;;;AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAA4B,UAAU,EAAc,MAAM,8BAA8B,CAAC;AAGhG,MAAM,OAAO,eAAgB,SAAQ,eAGpC;IAIG,YAAY,UAAsB;QAC9B,MAAM,uBAAuB,GAAG,GAAS,EAAE;;YACvC,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,cAAc,EAAE;gBAC5C,MAAA,IAAI,CAAC,cAAc,0CAAE,KAAK,EAAE,CAAC;gBAC7B,MAAA,IAAI,CAAC,cAAc,0CAAE,kBAAkB,EAAE,CAAC;gBAC1C,IAAI;oBACA,MAAM,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;iBACzD;gBAAC,OAAO,KAAU,EAAE;oBACjB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAA,CAAC;QACF,KAAK,CAAC,UAAU,EAAE,EAAE,EAAE,uBAAuB,CAAC,CAAC;QAf3C,mBAAc,GAAY,KAAK,CAAC;IAgBxC,CAAC;IAED,IAAW,aAAa;QACpB,OAAO,IAAI,CAAC,c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AAI,eAAe,CAAC,GAAiB,CAAC,CAAC;YAClD,CAAC,CACJ,CAAC;YACF,MAAM,GAAG,GAAG,OAAO,CAAC,GAAsB,CAAC;YAC3C,IAAI,OAAO,CAAC,OAAO,EAAE;gBACjB,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAG,GAAG,CAAC,CAAC;aAC/B;YACD,OAAO,GAAG,CAAC;QACf,CAAC;KAAA;CACJ"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ILiveEvent, ILiveEventEvents, LiveEvent, UserMeetingRole } from "@microsoft/live-share";
|
|
2
|
-
import { IFluidTurboClient } from "../../live-share-react/bin/live-share-turbo/interfaces";
|
|
3
|
-
import { TurboDataObject } from "./TurboDataObject";
|
|
4
|
-
export declare class TurboLiveEvent<TEvent extends ILiveEvent = ILiveEvent> extends TurboDataObject<ILiveEventEvents<TEvent>, LiveEvent<TEvent>> {
|
|
5
|
-
private _isInitialized;
|
|
6
|
-
private _allowedRoles?;
|
|
7
|
-
constructor(dataObject: LiveEvent<TEvent>);
|
|
8
|
-
get isInitialized(): boolean;
|
|
9
|
-
/**
|
|
10
|
-
* initialize the object.
|
|
11
|
-
* @param allowedRoles Optional. List of roles allowed to send events.
|
|
12
|
-
*/
|
|
13
|
-
initialize(allowedRoles?: UserMeetingRole[]): Promise<void>;
|
|
14
|
-
/**
|
|
15
|
-
* Broadcasts an event to all other clients.
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* The event will be queued for delivery if the client isn't currently connected.
|
|
19
|
-
* @param evt Optional. Event to send. If omitted, an event will still be sent but it won't
|
|
20
|
-
* include any custom event data.
|
|
21
|
-
* @returns The full event object that was sent, including the timestamp of when the event
|
|
22
|
-
* was sent and the clientId if known. The clientId will be `undefined` if the client is
|
|
23
|
-
* disconnected at time of delivery.
|
|
24
|
-
*/
|
|
25
|
-
sendEvent(evt?: Partial<TEvent>): TEvent;
|
|
26
|
-
static create<TEvent extends ILiveEvent = ILiveEvent>(turboClient: IFluidTurboClient, uniqueKey: string, onDidFirstInitialize?: (dds: TurboLiveEvent<TEvent>) => void): Promise<TurboLiveEvent<TEvent>>;
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=TurboLiveEvent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TurboLiveEvent.d.ts","sourceRoot":"","sources":["../../../src/live-share-turbo/dds-objects/TurboLiveEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,SAAS,EAAE,eAAe,EAAmB,MAAM,uBAAuB,CAAC;AAElH,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,cAAc,CACvB,MAAM,SAAS,UAAU,GAAG,UAAU,CACxC,SAAQ,eAAe,CACrB,gBAAgB,CAAC,MAAM,CAAC,EACxB,SAAS,CAAC,MAAM,CAAC,CACpB;IACG,OAAO,CAAC,cAAc,CAAkB;IACxC,OAAO,CAAC,aAAa,CAAC,CAAoB;gBAE9B,UAAU,EAAE,SAAS,CAAC,MAAM,CAAC;IAazC,IAAW,aAAa,IAAI,OAAO,CAElC;IAED;;;OAGG;IACU,UAAU,CAAC,YAAY,CAAC,EAAE,eAAe,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAMxE;;;;;;;;;;OAUG;IACI,SAAS,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM;WAI3B,MAAM,CAAC,MAAM,SAAS,UAAU,GAAG,UAAU,EAC7D,WAAW,EAAE,iBAAiB,EAC9B,SAAS,EAAE,MAAM,EACjB,oBAAoB,CAAC,EAAE,CAAC,GAAG,EAAE,cAAc,CAAC,MAAM,CAAC,KAAK,IAAI,GAC7D,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;CAiBrC"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
import { LiveEvent, LiveEventEvents } from "@microsoft/live-share";
|
|
11
|
-
import { TurboDataObject } from "./TurboDataObject";
|
|
12
|
-
export class TurboLiveEvent extends TurboDataObject {
|
|
13
|
-
constructor(dataObject) {
|
|
14
|
-
const onDidOverrideDataObject = () => __awaiter(this, void 0, void 0, function* () {
|
|
15
|
-
if (this._isInitialized) {
|
|
16
|
-
try {
|
|
17
|
-
yield this.dataObject.initialize(this._allowedRoles);
|
|
18
|
-
}
|
|
19
|
-
catch (error) {
|
|
20
|
-
console.error(error);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
super(dataObject, Object.keys(LiveEventEvents), onDidOverrideDataObject);
|
|
25
|
-
this._isInitialized = false;
|
|
26
|
-
}
|
|
27
|
-
get isInitialized() {
|
|
28
|
-
return this._isInitialized;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* initialize the object.
|
|
32
|
-
* @param allowedRoles Optional. List of roles allowed to send events.
|
|
33
|
-
*/
|
|
34
|
-
initialize(allowedRoles) {
|
|
35
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
-
yield this.dataObject.initialize(allowedRoles);
|
|
37
|
-
this._allowedRoles = allowedRoles;
|
|
38
|
-
this._isInitialized = true;
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Broadcasts an event to all other clients.
|
|
43
|
-
*
|
|
44
|
-
* @remarks
|
|
45
|
-
* The event will be queued for delivery if the client isn't currently connected.
|
|
46
|
-
* @param evt Optional. Event to send. If omitted, an event will still be sent but it won't
|
|
47
|
-
* include any custom event data.
|
|
48
|
-
* @returns The full event object that was sent, including the timestamp of when the event
|
|
49
|
-
* was sent and the clientId if known. The clientId will be `undefined` if the client is
|
|
50
|
-
* disconnected at time of delivery.
|
|
51
|
-
*/
|
|
52
|
-
sendEvent(evt) {
|
|
53
|
-
return this.dataObject.sendEvent(evt);
|
|
54
|
-
}
|
|
55
|
-
static create(turboClient, uniqueKey, onDidFirstInitialize) {
|
|
56
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
-
const results = yield turboClient.getDDS(`<LiveEvent>:${uniqueKey}`, (LiveEvent), (dds) => {
|
|
58
|
-
return new TurboLiveEvent(dds);
|
|
59
|
-
});
|
|
60
|
-
const dds = results.dds;
|
|
61
|
-
if (results.created) {
|
|
62
|
-
onDidFirstInitialize === null || onDidFirstInitialize === void 0 ? void 0 : onDidFirstInitialize(dds);
|
|
63
|
-
}
|
|
64
|
-
return dds;
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
//# sourceMappingURL=TurboLiveEvent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TurboLiveEvent.js","sourceRoot":"","sources":["../../../src/live-share-turbo/dds-objects/TurboLiveEvent.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAgC,SAAS,EAAmB,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGlH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,OAAO,cAEX,SAAQ,eAGT;IAIG,YAAY,UAA6B;QACrC,MAAM,uBAAuB,GAAG,GAAS,EAAE;YACvC,IAAI,IAAI,CAAC,cAAc,EAAE;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
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { LiveTelemetryLogger, UserMeetingRole } from "@microsoft/live-share";
|
|
2
|
-
import { IFluidTurboClient } from "../../live-share-react/bin/live-share-turbo/interfaces";
|
|
3
|
-
import { TurboDataObject } from "./TurboDataObject";
|
|
4
|
-
import { ExtendedMediaSessionAction, IMediaPlayer, IMediaPlayerState, LiveMediaSession, LiveMediaSessionCoordinator, MediaPlayerSynchronizer, MediaSessionActionThrottler } from "@microsoft/live-share-media";
|
|
5
|
-
export declare class TurboLiveMediaSession extends TurboDataObject<any, LiveMediaSession> {
|
|
6
|
-
private _isInitialized;
|
|
7
|
-
private _allowedRoles?;
|
|
8
|
-
constructor(dataObject: LiveMediaSession);
|
|
9
|
-
get isInitialized(): boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Extension point that lets applications replace the default logic for throttling the sessions
|
|
12
|
-
* local sync behavior.
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* The `LiveMediaCoordinator` is fairly aggressive at wanting to keep the local media player
|
|
16
|
-
* in sync with the rest of the group. This aggressiveness can result in the coordinator sending
|
|
17
|
-
* new sync actions before the local player has finished responding to the previous sync action.
|
|
18
|
-
* The `ActionThrottler` gives apps fine grain control over how aggressive they want sync to be.
|
|
19
|
-
*
|
|
20
|
-
* By default, a `RepeatedAction` throttler is used which prevents the same sync action from
|
|
21
|
-
* being sent within an adjustable time period.
|
|
22
|
-
*/
|
|
23
|
-
get actionThrottler(): MediaSessionActionThrottler;
|
|
24
|
-
set actionThrottler(value: MediaSessionActionThrottler);
|
|
25
|
-
/**
|
|
26
|
-
* The group coordinator for the session.
|
|
27
|
-
*/
|
|
28
|
-
get coordinator(): LiveMediaSessionCoordinator;
|
|
29
|
-
/**
|
|
30
|
-
* Returns the logger used by the session and coordinator.
|
|
31
|
-
*
|
|
32
|
-
* @remarks
|
|
33
|
-
* This is used by the `MediaPlayerSynchronizer` to log events.
|
|
34
|
-
*/
|
|
35
|
-
get logger(): LiveTelemetryLogger;
|
|
36
|
-
/**
|
|
37
|
-
* initialize the object.
|
|
38
|
-
* @param allowedRoles Optional. List of roles allowed to send events.
|
|
39
|
-
*/
|
|
40
|
-
initialize(allowedRoles?: UserMeetingRole[]): Promise<void>;
|
|
41
|
-
/**
|
|
42
|
-
* Registers an action handler with the session.
|
|
43
|
-
* @param action Name of the action to register a handler for.
|
|
44
|
-
* @param handler Function called when the action is triggered.
|
|
45
|
-
*/
|
|
46
|
-
setActionHandler(action: ExtendedMediaSessionAction, handler: MediaSessionActionHandler | null): void;
|
|
47
|
-
/**
|
|
48
|
-
* Registers a handler that will be queried anytime the group coordinate needs to know the
|
|
49
|
-
* local players transport state and position.
|
|
50
|
-
*/
|
|
51
|
-
setRequestPlayerStateHandler(handler: () => IMediaPlayerState): void;
|
|
52
|
-
/**
|
|
53
|
-
* Begins synchronizing the playback of a media element.
|
|
54
|
-
* @param player Something that "looks like" and HTML Media Element.
|
|
55
|
-
* @returns A new synchronizer instance. Call `synchronizer.end()` to stop synchronizing the elements playback.
|
|
56
|
-
*/
|
|
57
|
-
synchronize(player: IMediaPlayer): MediaPlayerSynchronizer;
|
|
58
|
-
static create(turboClient: IFluidTurboClient, uniqueKey: string, onDidFirstInitialize?: (dds: TurboLiveMediaSession) => void): Promise<TurboLiveMediaSession>;
|
|
59
|
-
}
|
|
60
|
-
//# sourceMappingURL=TurboLiveMediaSession.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TurboLiveMediaSession.d.ts","sourceRoot":"","sources":["../../../src/live-share-turbo/dds-objects/TurboLiveMediaSession.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EACH,0BAA0B,EAC1B,YAAY,EAC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