From acafbcc01f64d416514d5ab93d2f81ac2ee8aab2 Mon Sep 17 00:00:00 2001 From: Scott Norton Date: Fri, 14 Jun 2024 12:12:02 -0400 Subject: [PATCH] Remove deprecation from SharedDirectory (#21423) (#21431) Remove the deprecation tag from SharedDirectory, to make it consistent with other SharedObjects Cherry pick of https://github.com/microsoft/FluidFramework/commit/d9ad80d0c3271ccad424efaba22f39eb4eb40a58 Co-authored-by: clarenceli-msft <86381878+clarenceli-msft@users.noreply.github.com> --- packages/dds/map/api-report/map.api.md | 2 +- packages/dds/map/src/directoryFactory.ts | 1 - .../framework/fluid-framework/api-report/fluid-framework.api.md | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/dds/map/api-report/map.api.md b/packages/dds/map/api-report/map.api.md index 716d60261242..f59e55c676d2 100644 --- a/packages/dds/map/api-report/map.api.md +++ b/packages/dds/map/api-report/map.api.md @@ -101,7 +101,7 @@ export class MapFactory implements IChannelFactory { // @alpha @sealed export const SharedDirectory: ISharedObjectKind; -// @alpha @deprecated +// @alpha export type SharedDirectory = ISharedDirectory; // @alpha diff --git a/packages/dds/map/src/directoryFactory.ts b/packages/dds/map/src/directoryFactory.ts index 1e47a0837907..34f08d2b703c 100644 --- a/packages/dds/map/src/directoryFactory.ts +++ b/packages/dds/map/src/directoryFactory.ts @@ -113,7 +113,6 @@ export const SharedDirectory: ISharedObjectKind = { /** * Entrypoint for {@link ISharedDirectory} creation. * @alpha - * @deprecated Use ISharedDirectory instead. * @privateRemarks * This alias is for legacy compat from when the SharedDirectory class was exported as public. */ diff --git a/packages/framework/fluid-framework/api-report/fluid-framework.api.md b/packages/framework/fluid-framework/api-report/fluid-framework.api.md index b64813fee53c..8d20da32bbd0 100644 --- a/packages/framework/fluid-framework/api-report/fluid-framework.api.md +++ b/packages/framework/fluid-framework/api-report/fluid-framework.api.md @@ -2179,7 +2179,7 @@ export type SequencePlace = number | "start" | "end" | InteriorSequencePlace; // @alpha @sealed export const SharedDirectory: ISharedObjectKind; -// @alpha @deprecated +// @alpha export type SharedDirectory = ISharedDirectory; // @alpha