@fluidframework/map 2.53.1 → 2.60.0
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/CHANGELOG.md +4 -0
- package/api-report/{map.legacy.alpha.api.md → map.legacy.beta.api.md} +15 -15
- package/dist/directory.d.ts +41 -91
- package/dist/directory.d.ts.map +1 -1
- package/dist/directory.js +447 -464
- package/dist/directory.js.map +1 -1
- package/dist/directoryFactory.d.ts +3 -6
- package/dist/directoryFactory.d.ts.map +1 -1
- package/dist/directoryFactory.js +2 -4
- package/dist/directoryFactory.js.map +1 -1
- package/dist/interfaces.d.ts +4 -8
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/interfaces.js.map +1 -1
- package/dist/internalInterfaces.d.ts +1 -2
- package/dist/internalInterfaces.d.ts.map +1 -1
- package/dist/internalInterfaces.js.map +1 -1
- package/dist/mapFactory.d.ts +3 -6
- package/dist/mapFactory.d.ts.map +1 -1
- package/dist/mapFactory.js +2 -4
- package/dist/mapFactory.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/directory.d.ts +41 -91
- package/lib/directory.d.ts.map +1 -1
- package/lib/directory.js +440 -457
- package/lib/directory.js.map +1 -1
- package/lib/directoryFactory.d.ts +3 -6
- package/lib/directoryFactory.d.ts.map +1 -1
- package/lib/directoryFactory.js +2 -4
- package/lib/directoryFactory.js.map +1 -1
- package/lib/interfaces.d.ts +4 -8
- package/lib/interfaces.d.ts.map +1 -1
- package/lib/interfaces.js.map +1 -1
- package/lib/internalInterfaces.d.ts +1 -2
- package/lib/internalInterfaces.d.ts.map +1 -1
- package/lib/internalInterfaces.js.map +1 -1
- package/lib/mapFactory.d.ts +3 -6
- package/lib/mapFactory.d.ts.map +1 -1
- package/lib/mapFactory.js +2 -4
- package/lib/mapFactory.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +17 -18
- package/src/directory.ts +564 -573
- package/src/directoryFactory.ts +3 -6
- package/src/interfaces.ts +4 -8
- package/src/internalInterfaces.ts +1 -2
- package/src/mapFactory.ts +3 -6
- package/src/packageVersion.ts +1 -1
package/src/directoryFactory.ts
CHANGED
|
@@ -20,8 +20,7 @@ import { pkgVersion } from "./packageVersion.js";
|
|
|
20
20
|
* @privateRemarks
|
|
21
21
|
* TODO: AB#35245: Deprecate and stop exporting this class.
|
|
22
22
|
* @sealed
|
|
23
|
-
* @legacy
|
|
24
|
-
* @alpha
|
|
23
|
+
* @legacy @beta
|
|
25
24
|
*/
|
|
26
25
|
export class DirectoryFactory implements IChannelFactory<ISharedDirectory> {
|
|
27
26
|
/**
|
|
@@ -80,15 +79,13 @@ export class DirectoryFactory implements IChannelFactory<ISharedDirectory> {
|
|
|
80
79
|
|
|
81
80
|
/**
|
|
82
81
|
* Entrypoint for {@link ISharedDirectory} creation.
|
|
83
|
-
* @legacy
|
|
84
|
-
* @alpha
|
|
82
|
+
* @legacy @beta
|
|
85
83
|
*/
|
|
86
84
|
export const SharedDirectory = createSharedObjectKind<ISharedDirectory>(DirectoryFactory);
|
|
87
85
|
|
|
88
86
|
/**
|
|
89
87
|
* Entrypoint for {@link ISharedDirectory} creation.
|
|
90
|
-
* @legacy
|
|
91
|
-
* @alpha
|
|
88
|
+
* @legacy @beta
|
|
92
89
|
* @privateRemarks
|
|
93
90
|
* This alias is for legacy compat from when the SharedDirectory class was exported as public.
|
|
94
91
|
*/
|
package/src/interfaces.ts
CHANGED
|
@@ -125,8 +125,7 @@ export interface IDirectory
|
|
|
125
125
|
* @remarks
|
|
126
126
|
* These events only emit on the {@link ISharedDirectory} itself, and not on subdirectories.
|
|
127
127
|
* @sealed
|
|
128
|
-
* @legacy
|
|
129
|
-
* @alpha
|
|
128
|
+
* @legacy @beta
|
|
130
129
|
*/
|
|
131
130
|
export interface ISharedDirectoryEvents extends ISharedObjectEvents {
|
|
132
131
|
/**
|
|
@@ -283,8 +282,7 @@ export interface IDirectoryEvents extends IEvent {
|
|
|
283
282
|
* The values stored within can be accessed like a map, and the hierarchy can be navigated using path syntax.
|
|
284
283
|
* SubDirectories can be retrieved for use as working directories.
|
|
285
284
|
* @sealed
|
|
286
|
-
* @legacy
|
|
287
|
-
* @alpha
|
|
285
|
+
* @legacy @beta
|
|
288
286
|
*/
|
|
289
287
|
export interface ISharedDirectory
|
|
290
288
|
extends ISharedObject<ISharedDirectoryEvents & IDirectoryEvents>,
|
|
@@ -316,8 +314,7 @@ export interface IDirectoryValueChanged extends IValueChanged {
|
|
|
316
314
|
/**
|
|
317
315
|
* Events emitted in response to changes to the {@link ISharedMap | map} data.
|
|
318
316
|
* @sealed
|
|
319
|
-
* @legacy
|
|
320
|
-
* @alpha
|
|
317
|
+
* @legacy @beta
|
|
321
318
|
*/
|
|
322
319
|
export interface ISharedMapEvents extends ISharedObjectEvents {
|
|
323
320
|
/**
|
|
@@ -361,8 +358,7 @@ export interface ISharedMapEvents extends ISharedObjectEvents {
|
|
|
361
358
|
*
|
|
362
359
|
* For more information, including example usages, see {@link https://fluidframework.com/docs/data-structures/map/}.
|
|
363
360
|
* @sealed
|
|
364
|
-
* @legacy
|
|
365
|
-
* @alpha
|
|
361
|
+
* @legacy @beta
|
|
366
362
|
*/
|
|
367
363
|
// TODO: Use `unknown` instead (breaking change).
|
|
368
364
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
package/src/mapFactory.ts
CHANGED
|
@@ -20,8 +20,7 @@ import { pkgVersion } from "./packageVersion.js";
|
|
|
20
20
|
* @privateRemarks
|
|
21
21
|
* TODO: AB#35245: Deprecate and stop exporting this class.
|
|
22
22
|
* @sealed
|
|
23
|
-
* @legacy
|
|
24
|
-
* @alpha
|
|
23
|
+
* @legacy @beta
|
|
25
24
|
*/
|
|
26
25
|
export class MapFactory implements IChannelFactory<ISharedMap> {
|
|
27
26
|
/**
|
|
@@ -80,15 +79,13 @@ export class MapFactory implements IChannelFactory<ISharedMap> {
|
|
|
80
79
|
|
|
81
80
|
/**
|
|
82
81
|
* Entrypoint for {@link ISharedMap} creation.
|
|
83
|
-
* @legacy
|
|
84
|
-
* @alpha
|
|
82
|
+
* @legacy @beta
|
|
85
83
|
*/
|
|
86
84
|
export const SharedMap = createSharedObjectKind<ISharedMap>(MapFactory);
|
|
87
85
|
|
|
88
86
|
/**
|
|
89
87
|
* Entrypoint for {@link ISharedMap} creation.
|
|
90
|
-
* @legacy
|
|
91
|
-
* @alpha
|
|
88
|
+
* @legacy @beta
|
|
92
89
|
* @privateRemarks
|
|
93
90
|
* This alias is for legacy compat from when the SharedMap class was exported as public.
|
|
94
91
|
*/
|
package/src/packageVersion.ts
CHANGED