From 15ff63bde80930ad7559d2e8c09ed088062f6b21 Mon Sep 17 00:00:00 2001 From: Matt Rakow Date: Thu, 13 Jun 2024 12:37:50 -0700 Subject: [PATCH] Reexport CompatibilityMode from azure-client and tinylicious-client packages (#21416) --- .../azure-client/api-report/azure-client.alpha.api.md | 2 ++ .../azure-client/api-report/azure-client.beta.api.md | 2 ++ .../azure-client/api-report/azure-client.public.api.md | 2 ++ packages/service-clients/azure-client/src/index.ts | 3 +++ .../api-report/tinylicious-client.alpha.api.md | 2 ++ .../api-report/tinylicious-client.beta.api.md | 2 ++ .../api-report/tinylicious-client.public.api.md | 2 ++ packages/service-clients/tinylicious-client/src/index.ts | 3 +++ 8 files changed, 18 insertions(+) diff --git a/packages/service-clients/azure-client/api-report/azure-client.alpha.api.md b/packages/service-clients/azure-client/api-report/azure-client.alpha.api.md index f50be5ea8e5f..2c64e4b7a869 100644 --- a/packages/service-clients/azure-client/api-report/azure-client.alpha.api.md +++ b/packages/service-clients/azure-client/api-report/azure-client.alpha.api.md @@ -88,6 +88,8 @@ export interface AzureRemoteConnectionConfig extends AzureConnectionConfig { type: "remote"; } +export { CompatibilityMode } + // @public export type IAzureAudience = IServiceAudience; diff --git a/packages/service-clients/azure-client/api-report/azure-client.beta.api.md b/packages/service-clients/azure-client/api-report/azure-client.beta.api.md index 99aa5dbb4650..b62794c94ed3 100644 --- a/packages/service-clients/azure-client/api-report/azure-client.beta.api.md +++ b/packages/service-clients/azure-client/api-report/azure-client.beta.api.md @@ -88,6 +88,8 @@ export interface AzureRemoteConnectionConfig extends AzureConnectionConfig { type: "remote"; } +export { CompatibilityMode } + // @public export type IAzureAudience = IServiceAudience; diff --git a/packages/service-clients/azure-client/api-report/azure-client.public.api.md b/packages/service-clients/azure-client/api-report/azure-client.public.api.md index 7c28160ed89d..7836016097c2 100644 --- a/packages/service-clients/azure-client/api-report/azure-client.public.api.md +++ b/packages/service-clients/azure-client/api-report/azure-client.public.api.md @@ -88,6 +88,8 @@ export interface AzureRemoteConnectionConfig extends AzureConnectionConfig { type: "remote"; } +export { CompatibilityMode } + // @public export type IAzureAudience = IServiceAudience; diff --git a/packages/service-clients/azure-client/src/index.ts b/packages/service-clients/azure-client/src/index.ts index 2decdf9a3592..04cb98ad27a1 100644 --- a/packages/service-clients/azure-client/src/index.ts +++ b/packages/service-clients/azure-client/src/index.ts @@ -31,3 +31,6 @@ export { type ITokenClaims, ScopeType } from "@fluidframework/driver-definitions // Re-export so developers can build loggers without pulling in core-interfaces export type { ITelemetryBaseEvent, ITelemetryBaseLogger } from "@fluidframework/core-interfaces"; + +// Re-export so developers have access to parameter types for createContainer/getContainer without pulling in fluid-static +export type { CompatibilityMode } from "@fluidframework/fluid-static"; diff --git a/packages/service-clients/tinylicious-client/api-report/tinylicious-client.alpha.api.md b/packages/service-clients/tinylicious-client/api-report/tinylicious-client.alpha.api.md index c31345ba31e0..64b032f8cf56 100644 --- a/packages/service-clients/tinylicious-client/api-report/tinylicious-client.alpha.api.md +++ b/packages/service-clients/tinylicious-client/api-report/tinylicious-client.alpha.api.md @@ -13,6 +13,8 @@ import type { ITelemetryBaseLogger } from '@fluidframework/core-interfaces'; import type { ITokenProvider } from '@fluidframework/routerlicious-driver'; import type { IUser } from '@fluidframework/driver-definitions'; +export { CompatibilityMode } + // @beta export type ITinyliciousAudience = IServiceAudience; diff --git a/packages/service-clients/tinylicious-client/api-report/tinylicious-client.beta.api.md b/packages/service-clients/tinylicious-client/api-report/tinylicious-client.beta.api.md index cd510f771a48..954ff51cd9e8 100644 --- a/packages/service-clients/tinylicious-client/api-report/tinylicious-client.beta.api.md +++ b/packages/service-clients/tinylicious-client/api-report/tinylicious-client.beta.api.md @@ -13,6 +13,8 @@ import type { ITelemetryBaseLogger } from '@fluidframework/core-interfaces'; import type { ITokenProvider } from '@fluidframework/routerlicious-driver'; import type { IUser } from '@fluidframework/driver-definitions'; +export { CompatibilityMode } + // @beta export type ITinyliciousAudience = IServiceAudience; diff --git a/packages/service-clients/tinylicious-client/api-report/tinylicious-client.public.api.md b/packages/service-clients/tinylicious-client/api-report/tinylicious-client.public.api.md index 6d4cf4a259bd..60868561cde6 100644 --- a/packages/service-clients/tinylicious-client/api-report/tinylicious-client.public.api.md +++ b/packages/service-clients/tinylicious-client/api-report/tinylicious-client.public.api.md @@ -13,4 +13,6 @@ import type { ITelemetryBaseLogger } from '@fluidframework/core-interfaces'; import type { ITokenProvider } from '@fluidframework/routerlicious-driver'; import type { IUser } from '@fluidframework/driver-definitions'; +export { CompatibilityMode } + ``` diff --git a/packages/service-clients/tinylicious-client/src/index.ts b/packages/service-clients/tinylicious-client/src/index.ts index ffdc44559fdb..a01183146377 100644 --- a/packages/service-clients/tinylicious-client/src/index.ts +++ b/packages/service-clients/tinylicious-client/src/index.ts @@ -23,3 +23,6 @@ export { type TinyliciousUser, } from "./interfaces.js"; export { TinyliciousClient } from "./TinyliciousClient.js"; + +// Re-export so developers have access to parameter types for createContainer/getContainer without pulling in fluid-static +export type { CompatibilityMode } from "@fluidframework/fluid-static";