@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.
Files changed (51) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/api-report/{map.legacy.alpha.api.md → map.legacy.beta.api.md} +15 -15
  3. package/dist/directory.d.ts +41 -91
  4. package/dist/directory.d.ts.map +1 -1
  5. package/dist/directory.js +447 -464
  6. package/dist/directory.js.map +1 -1
  7. package/dist/directoryFactory.d.ts +3 -6
  8. package/dist/directoryFactory.d.ts.map +1 -1
  9. package/dist/directoryFactory.js +2 -4
  10. package/dist/directoryFactory.js.map +1 -1
  11. package/dist/interfaces.d.ts +4 -8
  12. package/dist/interfaces.d.ts.map +1 -1
  13. package/dist/interfaces.js.map +1 -1
  14. package/dist/internalInterfaces.d.ts +1 -2
  15. package/dist/internalInterfaces.d.ts.map +1 -1
  16. package/dist/internalInterfaces.js.map +1 -1
  17. package/dist/mapFactory.d.ts +3 -6
  18. package/dist/mapFactory.d.ts.map +1 -1
  19. package/dist/mapFactory.js +2 -4
  20. package/dist/mapFactory.js.map +1 -1
  21. package/dist/packageVersion.d.ts +1 -1
  22. package/dist/packageVersion.js +1 -1
  23. package/dist/packageVersion.js.map +1 -1
  24. package/lib/directory.d.ts +41 -91
  25. package/lib/directory.d.ts.map +1 -1
  26. package/lib/directory.js +440 -457
  27. package/lib/directory.js.map +1 -1
  28. package/lib/directoryFactory.d.ts +3 -6
  29. package/lib/directoryFactory.d.ts.map +1 -1
  30. package/lib/directoryFactory.js +2 -4
  31. package/lib/directoryFactory.js.map +1 -1
  32. package/lib/interfaces.d.ts +4 -8
  33. package/lib/interfaces.d.ts.map +1 -1
  34. package/lib/interfaces.js.map +1 -1
  35. package/lib/internalInterfaces.d.ts +1 -2
  36. package/lib/internalInterfaces.d.ts.map +1 -1
  37. package/lib/internalInterfaces.js.map +1 -1
  38. package/lib/mapFactory.d.ts +3 -6
  39. package/lib/mapFactory.d.ts.map +1 -1
  40. package/lib/mapFactory.js +2 -4
  41. package/lib/mapFactory.js.map +1 -1
  42. package/lib/packageVersion.d.ts +1 -1
  43. package/lib/packageVersion.js +1 -1
  44. package/lib/packageVersion.js.map +1 -1
  45. package/package.json +17 -18
  46. package/src/directory.ts +564 -573
  47. package/src/directoryFactory.ts +3 -6
  48. package/src/interfaces.ts +4 -8
  49. package/src/internalInterfaces.ts +1 -2
  50. package/src/mapFactory.ts +3 -6
  51. package/src/packageVersion.ts +1 -1
@@ -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
@@ -70,8 +70,7 @@ export interface IMapDeleteOperation {
70
70
  * channel ID.
71
71
  *
72
72
  * @deprecated This type is legacy and deprecated(AB#8004).
73
- * @legacy
74
- * @alpha
73
+ * @legacy @beta
75
74
  */
76
75
  export interface ISerializableValue {
77
76
  /**
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
  */
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/map";
9
- export const pkgVersion = "2.53.1";
9
+ export const pkgVersion = "2.60.0";