@fluidframework/core-interfaces
Advanced tools
Comparing version 2.0.0-rc.4.0.6 to 2.0.0-rc.5.0.0
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", | ||
"extends": "../../../common/build/build-common/api-extractor-base.esm.primary.json" | ||
"extends": "../../../common/build/build-common/api-extractor-base.esm.current.json" | ||
} |
# @fluidframework/core-interfaces | ||
## 2.0.0-rc.5.0.0 | ||
### Minor Changes | ||
- fluid-framework: Type Erase ISharedObjectKind ([#21081](https://github.com/microsoft/FluidFramework/pull/21081)) [78f228e370](https://github.com/microsoft/FluidFramework/commit/78f228e37055bd4d9a8f02b3a1eefebf4da9c59c) | ||
A new type, `SharedObjectKind` is added as a type erased version of `ISharedObjectKind` and `DataObjectClass`. | ||
This type fills the role of both `ISharedObjectKind` and `DataObjectClass` in the `@public` "declarative API" exposed in the `fluid-framework` package. | ||
This allows several types referenced by `ISharedObjectKind` to be made `@alpha` as they should only need to be used by legacy code and users of the unstable/alpha/legacy "encapsulated API". | ||
Access to these now less public types should not be required for users of the `@public` "declarative API" exposed in the `fluid-framework` package, but can still be accessed for those who need them under the `/legacy` import paths. | ||
The full list of such types is: | ||
- `SharedTree` as exported from `@fluidframwork/tree`: It is still exported as `@public` from `fluid-framework` as `SharedObjectKind`. | ||
- `ISharedObjectKind`: See new `SharedObjectKind` type for use in `@public` APIs. | ||
`ISharedObject` | ||
- `IChannel` | ||
- `IChannelAttributes` | ||
- `IChannelFactory` | ||
- `IExperimentalIncrementalSummaryContext` | ||
- `IGarbageCollectionData` | ||
- `ISummaryStats` | ||
- `ISummaryTreeWithStats` | ||
- `ITelemetryContext` | ||
- `IDeltaManagerErased` | ||
- `IFluidDataStoreRuntimeEvents` | ||
- `IFluidHandleContext` | ||
- `IProvideFluidHandleContext` | ||
Removed APIs: | ||
- `DataObjectClass`: Usages replaced with `SharedObjectKind`. | ||
- `LoadableObjectClass`: Replaced with `SharedObjectKind`. | ||
- `LoadableObjectClassRecord`: Replaced with `Record<string, SharedObjectKind>`. | ||
- | ||
- Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6) | ||
Update package implementations to use TypeScript 5.4.5. | ||
- core-interfaces, tree: Unify `IDisposable` interfaces ([#21184](https://github.com/microsoft/FluidFramework/pull/21184)) [cfcb827851](https://github.com/microsoft/FluidFramework/commit/cfcb827851ffc81486db6c718380150189fb95c5) | ||
Public APIs in `@fluidframework/tree` now use `IDisposable` from `@fluidframework/core-interfaces` replacing `disposeSymbol` with "dispose". | ||
`IDisposable` in `@fluidframework/core-interfaces` is now `@sealed` indicating that third parties should not implement it to reserve the ability for Fluid Framework to extend it to include `Symbol.dispose` as a future non-breaking change. | ||
## 2.0.0-rc.4.0.0 | ||
@@ -4,0 +52,0 @@ |
@@ -7,2 +7,7 @@ /*! | ||
* Base interface for objects that require lifetime management via explicit disposal. | ||
* @remarks | ||
* This is sealed to reserve the ability to add `Symbol.dispose` and thus extend | ||
* {@link https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-2.html#using-declarations-and-explicit-resource-management| TypeScript's Disposable} in the future | ||
* as a non breaking change. | ||
* @sealed | ||
* @public | ||
@@ -9,0 +14,0 @@ */ |
@@ -36,3 +36,3 @@ /*! | ||
* Base interface for event providers. | ||
* @public | ||
* @sealed @public | ||
*/ | ||
@@ -39,0 +39,0 @@ export interface IEventProvider<TEvent extends IEvent> { |
@@ -18,6 +18,6 @@ /*! | ||
* A shared FluidObject has a URL from which it can be referenced | ||
* @public | ||
* @sealed @public | ||
*/ | ||
export interface IFluidLoadable extends IProvideFluidLoadable { | ||
handle: IFluidHandle; | ||
readonly handle: IFluidHandle; | ||
} | ||
@@ -24,0 +24,0 @@ /** |
@@ -5,10 +5,10 @@ /*! | ||
*/ | ||
import { type ErasedType } from "./erasedType.js"; | ||
import type { ErasedType } from "./erasedType.js"; | ||
import type { IRequest, IResponse } from "./fluidRouter.js"; | ||
/** | ||
* @public | ||
* @alpha | ||
*/ | ||
export declare const IFluidHandleContext: keyof IProvideFluidHandleContext; | ||
/** | ||
* @public | ||
* @alpha | ||
*/ | ||
@@ -20,3 +20,3 @@ export interface IProvideFluidHandleContext { | ||
* Describes a routing context from which other `IFluidHandleContext`s are defined. | ||
* @public | ||
* @alpha | ||
*/ | ||
@@ -100,3 +100,3 @@ export interface IFluidHandleContext extends IProvideFluidHandleContext { | ||
* Handle to a shared {@link FluidObject}. | ||
* @public | ||
* @sealed @public | ||
*/ | ||
@@ -126,3 +126,3 @@ export interface IFluidHandle<out T = unknown> { | ||
* Created from {@link IFluidHandleInternal} using {@link toFluidHandleErased}. | ||
* @public | ||
* @sealed @public | ||
*/ | ||
@@ -129,0 +129,0 @@ export interface IFluidHandleErased<T> extends ErasedType<readonly ["IFluidHandle", T]> { |
@@ -9,3 +9,3 @@ "use strict"; | ||
/** | ||
* @public | ||
* @alpha | ||
*/ | ||
@@ -12,0 +12,0 @@ exports.IFluidHandleContext = "IFluidHandleContext"; |
@@ -28,6 +28,4 @@ /*! | ||
IFluidHandle, | ||
IFluidHandleContext, | ||
IFluidHandleErased, | ||
IFluidLoadable, | ||
IProvideFluidHandleContext, | ||
IProvideFluidLoadable, | ||
@@ -49,6 +47,8 @@ IRequest, | ||
FluidErrorTypes, | ||
IFluidHandleContext, | ||
IFluidHandleInternal, | ||
ILoggingError, | ||
IProvideFluidHandle, | ||
IProvideFluidHandleContext, | ||
IThrottlingWarning | ||
} from "./index.js"; |
@@ -68,3 +68,12 @@ /*! | ||
export interface ITelemetryBaseLogger { | ||
/** | ||
* Log a telemetry event, if it meets the appropriate log-level threshold (see {@link ITelemetryBaseLogger.minLogLevel}). | ||
* @param event - The event to log. | ||
* @param logLevel - The log level of the event. Default: {@link (LogLevel:variable).default}. | ||
*/ | ||
send(event: ITelemetryBaseEvent, logLevel?: LogLevel): void; | ||
/** | ||
* Minimum log level to be logged. | ||
* @defaultValue {@link (LogLevel:variable).default} | ||
*/ | ||
minLogLevel?: LogLevel; | ||
@@ -71,0 +80,0 @@ } |
@@ -13,6 +13,6 @@ "use strict"; | ||
exports.LogLevel = { | ||
verbose: 10, | ||
default: 20, | ||
verbose: 10, // To log any verbose event for example when you are debugging something. | ||
default: 20, // Default log level | ||
error: 30, // To log errors. | ||
}; | ||
//# sourceMappingURL=logger.js.map |
@@ -28,6 +28,4 @@ /*! | ||
IFluidHandle, | ||
IFluidHandleContext, | ||
IFluidHandleErased, | ||
IFluidLoadable, | ||
IProvideFluidHandleContext, | ||
IProvideFluidLoadable, | ||
@@ -34,0 +32,0 @@ IRequest, |
@@ -7,2 +7,7 @@ /*! | ||
* Base interface for objects that require lifetime management via explicit disposal. | ||
* @remarks | ||
* This is sealed to reserve the ability to add `Symbol.dispose` and thus extend | ||
* {@link https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-2.html#using-declarations-and-explicit-resource-management| TypeScript's Disposable} in the future | ||
* as a non breaking change. | ||
* @sealed | ||
* @public | ||
@@ -9,0 +14,0 @@ */ |
@@ -36,3 +36,3 @@ /*! | ||
* Base interface for event providers. | ||
* @public | ||
* @sealed @public | ||
*/ | ||
@@ -39,0 +39,0 @@ export interface IEventProvider<TEvent extends IEvent> { |
@@ -18,6 +18,6 @@ /*! | ||
* A shared FluidObject has a URL from which it can be referenced | ||
* @public | ||
* @sealed @public | ||
*/ | ||
export interface IFluidLoadable extends IProvideFluidLoadable { | ||
handle: IFluidHandle; | ||
readonly handle: IFluidHandle; | ||
} | ||
@@ -24,0 +24,0 @@ /** |
@@ -5,10 +5,10 @@ /*! | ||
*/ | ||
import { type ErasedType } from "./erasedType.js"; | ||
import type { ErasedType } from "./erasedType.js"; | ||
import type { IRequest, IResponse } from "./fluidRouter.js"; | ||
/** | ||
* @public | ||
* @alpha | ||
*/ | ||
export declare const IFluidHandleContext: keyof IProvideFluidHandleContext; | ||
/** | ||
* @public | ||
* @alpha | ||
*/ | ||
@@ -20,3 +20,3 @@ export interface IProvideFluidHandleContext { | ||
* Describes a routing context from which other `IFluidHandleContext`s are defined. | ||
* @public | ||
* @alpha | ||
*/ | ||
@@ -100,3 +100,3 @@ export interface IFluidHandleContext extends IProvideFluidHandleContext { | ||
* Handle to a shared {@link FluidObject}. | ||
* @public | ||
* @sealed @public | ||
*/ | ||
@@ -126,3 +126,3 @@ export interface IFluidHandle<out T = unknown> { | ||
* Created from {@link IFluidHandleInternal} using {@link toFluidHandleErased}. | ||
* @public | ||
* @sealed @public | ||
*/ | ||
@@ -129,0 +129,0 @@ export interface IFluidHandleErased<T> extends ErasedType<readonly ["IFluidHandle", T]> { |
@@ -6,3 +6,3 @@ /*! | ||
/** | ||
* @public | ||
* @alpha | ||
*/ | ||
@@ -9,0 +9,0 @@ export const IFluidHandleContext = "IFluidHandleContext"; |
@@ -28,6 +28,4 @@ /*! | ||
IFluidHandle, | ||
IFluidHandleContext, | ||
IFluidHandleErased, | ||
IFluidLoadable, | ||
IProvideFluidHandleContext, | ||
IProvideFluidLoadable, | ||
@@ -49,6 +47,8 @@ IRequest, | ||
FluidErrorTypes, | ||
IFluidHandleContext, | ||
IFluidHandleInternal, | ||
ILoggingError, | ||
IProvideFluidHandle, | ||
IProvideFluidHandleContext, | ||
IThrottlingWarning | ||
} from "./index.js"; |
@@ -68,3 +68,12 @@ /*! | ||
export interface ITelemetryBaseLogger { | ||
/** | ||
* Log a telemetry event, if it meets the appropriate log-level threshold (see {@link ITelemetryBaseLogger.minLogLevel}). | ||
* @param event - The event to log. | ||
* @param logLevel - The log level of the event. Default: {@link (LogLevel:variable).default}. | ||
*/ | ||
send(event: ITelemetryBaseEvent, logLevel?: LogLevel): void; | ||
/** | ||
* Minimum log level to be logged. | ||
* @defaultValue {@link (LogLevel:variable).default} | ||
*/ | ||
minLogLevel?: LogLevel; | ||
@@ -71,0 +80,0 @@ } |
@@ -10,6 +10,6 @@ /*! | ||
export const LogLevel = { | ||
verbose: 10, | ||
default: 20, | ||
verbose: 10, // To log any verbose event for example when you are debugging something. | ||
default: 20, // Default log level | ||
error: 30, // To log errors. | ||
}; | ||
//# sourceMappingURL=logger.js.map |
@@ -28,6 +28,4 @@ /*! | ||
IFluidHandle, | ||
IFluidHandleContext, | ||
IFluidHandleErased, | ||
IFluidLoadable, | ||
IProvideFluidHandleContext, | ||
IProvideFluidLoadable, | ||
@@ -34,0 +32,0 @@ IRequest, |
@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard. | ||
"packageName": "@microsoft/api-extractor", | ||
"packageVersion": "7.43.1" | ||
"packageVersion": "7.45.1" | ||
} | ||
] | ||
} |
{ | ||
"name": "@fluidframework/core-interfaces", | ||
"version": "2.0.0-rc.4.0.6", | ||
"version": "2.0.0-rc.5.0.0", | ||
"description": "Fluid object interfaces", | ||
@@ -51,10 +51,11 @@ "homepage": "https://fluidframework.com", | ||
"@arethetypeswrong/cli": "^0.15.2", | ||
"@biomejs/biome": "^1.6.2", | ||
"@fluid-tools/build-cli": "^0.38.0", | ||
"@biomejs/biome": "^1.7.3", | ||
"@fluid-tools/build-cli": "^0.39.0", | ||
"@fluidframework/build-common": "^2.0.3", | ||
"@fluidframework/build-tools": "^0.38.0", | ||
"@fluidframework/core-interfaces-previous": "npm:@fluidframework/core-interfaces@2.0.0-rc.3.0.0", | ||
"@fluidframework/eslint-config-fluid": "^5.1.0", | ||
"@microsoft/api-extractor": "^7.43.1", | ||
"@fluidframework/build-tools": "^0.39.0", | ||
"@fluidframework/core-interfaces-previous": "npm:@fluidframework/core-interfaces@2.0.0-rc.4.0.0", | ||
"@fluidframework/eslint-config-fluid": "^5.3.0", | ||
"@microsoft/api-extractor": "^7.45.1", | ||
"@types/node": "^18.19.0", | ||
"concurrently": "^8.2.1", | ||
"copyfiles": "^2.4.1", | ||
@@ -64,26 +65,6 @@ "eslint": "~8.55.0", | ||
"rimraf": "^4.4.0", | ||
"typescript": "~5.1.6" | ||
"typescript": "~5.4.5" | ||
}, | ||
"typeValidation": { | ||
"broken": { | ||
"RemovedVariableDeclaration_isFluidPackage": { | ||
"backCompat": false, | ||
"forwardCompat": false | ||
}, | ||
"InterfaceDeclaration_IFluidHandle": { | ||
"forwardCompat": false, | ||
"backCompat": false | ||
}, | ||
"InterfaceDeclaration_IProvideFluidHandle": { | ||
"forwardCompat": false | ||
}, | ||
"InterfaceDeclaration_IProvideFluidLoadable": { | ||
"forwardCompat": false, | ||
"backCompat": false | ||
}, | ||
"InterfaceDeclaration_IFluidLoadable": { | ||
"forwardCompat": false, | ||
"backCompat": false | ||
} | ||
} | ||
"broken": {} | ||
}, | ||
@@ -103,4 +84,11 @@ "scripts": { | ||
"check:are-the-types-wrong": "attw --pack .", | ||
"check:biome": "biome check . --formatter-enabled=true", | ||
"check:exports": "concurrently \"npm:check:exports:*\"", | ||
"check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json", | ||
"check:exports:cjs:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.cjs.json", | ||
"check:exports:cjs:public": "api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json", | ||
"check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json", | ||
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json", | ||
"check:format": "npm run check:biome", | ||
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore", | ||
"check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json", | ||
"ci:build": "npm run build:compile", | ||
@@ -113,3 +101,4 @@ "ci:build:docs": "api-extractor run", | ||
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout", | ||
"format": "fluid-build --task format .", | ||
"format": "npm run format:biome", | ||
"format:biome": "biome check . --formatter-enabled=true --apply", | ||
"format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore", | ||
@@ -116,0 +105,0 @@ "lint": "fluid-build . --task lint", |
@@ -10,3 +10,10 @@ /*! | ||
*/ | ||
export type ConfigTypes = string | number | boolean | number[] | string[] | boolean[] | undefined; | ||
export type ConfigTypes = | ||
| string | ||
| number | ||
| boolean | ||
| number[] | ||
| string[] | ||
| boolean[] | ||
| undefined; | ||
@@ -13,0 +20,0 @@ /** |
@@ -8,2 +8,7 @@ /*! | ||
* Base interface for objects that require lifetime management via explicit disposal. | ||
* @remarks | ||
* This is sealed to reserve the ability to add `Symbol.dispose` and thus extend | ||
* {@link https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-2.html#using-declarations-and-explicit-resource-management| TypeScript's Disposable} in the future | ||
* as a non breaking change. | ||
* @sealed | ||
* @public | ||
@@ -10,0 +15,0 @@ */ |
@@ -41,3 +41,3 @@ /*! | ||
* Base interface for event providers. | ||
* @public | ||
* @sealed @public | ||
*/ | ||
@@ -175,267 +175,267 @@ export interface IEventProvider<TEvent extends IEvent> { | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
(event: infer E6, listener: (...args: infer A6) => void); | ||
(event: infer E7, listener: (...args: infer A7) => void); | ||
(event: infer E8, listener: (...args: infer A8) => void); | ||
(event: infer E9, listener: (...args: infer A9) => void); | ||
(event: infer E10, listener: (...args: infer A10) => void); | ||
(event: infer E11, listener: (...args: infer A11) => void); | ||
(event: infer E12, listener: (...args: infer A12) => void); | ||
(event: infer E13, listener: (...args: infer A13) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> & | ||
TransformedEvent<TThis, E6, A6> & | ||
TransformedEvent<TThis, E7, A7> & | ||
TransformedEvent<TThis, E8, A8> & | ||
TransformedEvent<TThis, E9, A9> & | ||
TransformedEvent<TThis, E10, A10> & | ||
TransformedEvent<TThis, E11, A11> & | ||
TransformedEvent<TThis, E12, A12> & | ||
TransformedEvent<TThis, E13, A13> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
(event: infer E6, listener: (...args: infer A6) => void); | ||
(event: infer E7, listener: (...args: infer A7) => void); | ||
(event: infer E8, listener: (...args: infer A8) => void); | ||
(event: infer E9, listener: (...args: infer A9) => void); | ||
(event: infer E10, listener: (...args: infer A10) => void); | ||
(event: infer E11, listener: (...args: infer A11) => void); | ||
(event: infer E12, listener: (...args: infer A12) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> & | ||
TransformedEvent<TThis, E6, A6> & | ||
TransformedEvent<TThis, E7, A7> & | ||
TransformedEvent<TThis, E8, A8> & | ||
TransformedEvent<TThis, E9, A9> & | ||
TransformedEvent<TThis, E10, A10> & | ||
TransformedEvent<TThis, E11, A11> & | ||
TransformedEvent<TThis, E12, A12> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
(event: infer E6, listener: (...args: infer A6) => void); | ||
(event: infer E7, listener: (...args: infer A7) => void); | ||
(event: infer E8, listener: (...args: infer A8) => void); | ||
(event: infer E9, listener: (...args: infer A9) => void); | ||
(event: infer E10, listener: (...args: infer A10) => void); | ||
(event: infer E11, listener: (...args: infer A11) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> & | ||
TransformedEvent<TThis, E6, A6> & | ||
TransformedEvent<TThis, E7, A7> & | ||
TransformedEvent<TThis, E8, A8> & | ||
TransformedEvent<TThis, E9, A9> & | ||
TransformedEvent<TThis, E10, A10> & | ||
TransformedEvent<TThis, E11, A11> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
(event: infer E6, listener: (...args: infer A6) => void); | ||
(event: infer E7, listener: (...args: infer A7) => void); | ||
(event: infer E8, listener: (...args: infer A8) => void); | ||
(event: infer E9, listener: (...args: infer A9) => void); | ||
(event: infer E10, listener: (...args: infer A10) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> & | ||
TransformedEvent<TThis, E6, A6> & | ||
TransformedEvent<TThis, E7, A7> & | ||
TransformedEvent<TThis, E8, A8> & | ||
TransformedEvent<TThis, E9, A9> & | ||
TransformedEvent<TThis, E10, A10> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
(event: infer E6, listener: (...args: infer A6) => void); | ||
(event: infer E7, listener: (...args: infer A7) => void); | ||
(event: infer E8, listener: (...args: infer A8) => void); | ||
(event: infer E9, listener: (...args: infer A9) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> & | ||
TransformedEvent<TThis, E6, A6> & | ||
TransformedEvent<TThis, E7, A7> & | ||
TransformedEvent<TThis, E8, A8> & | ||
TransformedEvent<TThis, E9, A9> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
(event: infer E6, listener: (...args: infer A6) => void); | ||
(event: infer E7, listener: (...args: infer A7) => void); | ||
(event: infer E8, listener: (...args: infer A8) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> & | ||
TransformedEvent<TThis, E6, A6> & | ||
TransformedEvent<TThis, E7, A7> & | ||
TransformedEvent<TThis, E8, A8> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
(event: infer E6, listener: (...args: infer A6) => void); | ||
(event: infer E7, listener: (...args: infer A7) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> & | ||
TransformedEvent<TThis, E6, A6> & | ||
TransformedEvent<TThis, E7, A7> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
(event: infer E6, listener: (...args: infer A6) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> & | ||
TransformedEvent<TThis, E6, A6> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & TransformedEvent<TThis, E1, A1> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> | ||
: // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
TransformedEvent<TThis, string, any[]>; | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
(event: infer E6, listener: (...args: infer A6) => void); | ||
(event: infer E7, listener: (...args: infer A7) => void); | ||
(event: infer E8, listener: (...args: infer A8) => void); | ||
(event: infer E9, listener: (...args: infer A9) => void); | ||
(event: infer E10, listener: (...args: infer A10) => void); | ||
(event: infer E11, listener: (...args: infer A11) => void); | ||
(event: infer E12, listener: (...args: infer A12) => void); | ||
(event: infer E13, listener: (...args: infer A13) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> & | ||
TransformedEvent<TThis, E6, A6> & | ||
TransformedEvent<TThis, E7, A7> & | ||
TransformedEvent<TThis, E8, A8> & | ||
TransformedEvent<TThis, E9, A9> & | ||
TransformedEvent<TThis, E10, A10> & | ||
TransformedEvent<TThis, E11, A11> & | ||
TransformedEvent<TThis, E12, A12> & | ||
TransformedEvent<TThis, E13, A13> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
(event: infer E6, listener: (...args: infer A6) => void); | ||
(event: infer E7, listener: (...args: infer A7) => void); | ||
(event: infer E8, listener: (...args: infer A8) => void); | ||
(event: infer E9, listener: (...args: infer A9) => void); | ||
(event: infer E10, listener: (...args: infer A10) => void); | ||
(event: infer E11, listener: (...args: infer A11) => void); | ||
(event: infer E12, listener: (...args: infer A12) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> & | ||
TransformedEvent<TThis, E6, A6> & | ||
TransformedEvent<TThis, E7, A7> & | ||
TransformedEvent<TThis, E8, A8> & | ||
TransformedEvent<TThis, E9, A9> & | ||
TransformedEvent<TThis, E10, A10> & | ||
TransformedEvent<TThis, E11, A11> & | ||
TransformedEvent<TThis, E12, A12> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
(event: infer E6, listener: (...args: infer A6) => void); | ||
(event: infer E7, listener: (...args: infer A7) => void); | ||
(event: infer E8, listener: (...args: infer A8) => void); | ||
(event: infer E9, listener: (...args: infer A9) => void); | ||
(event: infer E10, listener: (...args: infer A10) => void); | ||
(event: infer E11, listener: (...args: infer A11) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> & | ||
TransformedEvent<TThis, E6, A6> & | ||
TransformedEvent<TThis, E7, A7> & | ||
TransformedEvent<TThis, E8, A8> & | ||
TransformedEvent<TThis, E9, A9> & | ||
TransformedEvent<TThis, E10, A10> & | ||
TransformedEvent<TThis, E11, A11> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
(event: infer E6, listener: (...args: infer A6) => void); | ||
(event: infer E7, listener: (...args: infer A7) => void); | ||
(event: infer E8, listener: (...args: infer A8) => void); | ||
(event: infer E9, listener: (...args: infer A9) => void); | ||
(event: infer E10, listener: (...args: infer A10) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> & | ||
TransformedEvent<TThis, E6, A6> & | ||
TransformedEvent<TThis, E7, A7> & | ||
TransformedEvent<TThis, E8, A8> & | ||
TransformedEvent<TThis, E9, A9> & | ||
TransformedEvent<TThis, E10, A10> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
(event: infer E6, listener: (...args: infer A6) => void); | ||
(event: infer E7, listener: (...args: infer A7) => void); | ||
(event: infer E8, listener: (...args: infer A8) => void); | ||
(event: infer E9, listener: (...args: infer A9) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> & | ||
TransformedEvent<TThis, E6, A6> & | ||
TransformedEvent<TThis, E7, A7> & | ||
TransformedEvent<TThis, E8, A8> & | ||
TransformedEvent<TThis, E9, A9> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
(event: infer E6, listener: (...args: infer A6) => void); | ||
(event: infer E7, listener: (...args: infer A7) => void); | ||
(event: infer E8, listener: (...args: infer A8) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> & | ||
TransformedEvent<TThis, E6, A6> & | ||
TransformedEvent<TThis, E7, A7> & | ||
TransformedEvent<TThis, E8, A8> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
(event: infer E6, listener: (...args: infer A6) => void); | ||
(event: infer E7, listener: (...args: infer A7) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> & | ||
TransformedEvent<TThis, E6, A6> & | ||
TransformedEvent<TThis, E7, A7> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
(event: infer E6, listener: (...args: infer A6) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> & | ||
TransformedEvent<TThis, E6, A6> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
(event: infer E5, listener: (...args: infer A5) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> & | ||
TransformedEvent<TThis, E5, A5> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
(event: infer E4, listener: (...args: infer A4) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> & | ||
TransformedEvent<TThis, E4, A4> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
(event: infer E3, listener: (...args: infer A3) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> & | ||
TransformedEvent<TThis, E3, A3> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
(event: infer E2, listener: (...args: infer A2) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & | ||
TransformedEvent<TThis, E1, A1> & | ||
TransformedEvent<TThis, E2, A2> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
(event: infer E1, listener: (...args: infer A1) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> & TransformedEvent<TThis, E1, A1> | ||
: TEvent extends { | ||
(event: infer E0, listener: (...args: infer A0) => void); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(event: string, listener: (...args: any[]) => void); | ||
} | ||
? TransformedEvent<TThis, E0, A0> | ||
: // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
TransformedEvent<TThis, string, any[]>; |
@@ -21,7 +21,7 @@ /*! | ||
* A shared FluidObject has a URL from which it can be referenced | ||
* @public | ||
* @sealed @public | ||
*/ | ||
export interface IFluidLoadable extends IProvideFluidLoadable { | ||
// Handle to the loadable FluidObject | ||
handle: IFluidHandle; | ||
readonly handle: IFluidHandle; | ||
} | ||
@@ -28,0 +28,0 @@ |
@@ -6,7 +6,7 @@ /*! | ||
import { type ErasedType } from "./erasedType.js"; | ||
import type { ErasedType } from "./erasedType.js"; | ||
import type { IRequest, IResponse } from "./fluidRouter.js"; | ||
/** | ||
* @public | ||
* @alpha | ||
*/ | ||
@@ -16,3 +16,3 @@ export const IFluidHandleContext: keyof IProvideFluidHandleContext = "IFluidHandleContext"; | ||
/** | ||
* @public | ||
* @alpha | ||
*/ | ||
@@ -25,3 +25,3 @@ export interface IProvideFluidHandleContext { | ||
* Describes a routing context from which other `IFluidHandleContext`s are defined. | ||
* @public | ||
* @alpha | ||
*/ | ||
@@ -122,3 +122,3 @@ export interface IFluidHandleContext extends IProvideFluidHandleContext { | ||
* Handle to a shared {@link FluidObject}. | ||
* @public | ||
* @sealed @public | ||
*/ | ||
@@ -151,5 +151,5 @@ export interface IFluidHandle<out T = unknown> { | ||
* Created from {@link IFluidHandleInternal} using {@link toFluidHandleErased}. | ||
* @public | ||
* @sealed @public | ||
*/ | ||
// eslint-disable-next-line @typescript-eslint/no-empty-interface | ||
export interface IFluidHandleErased<T> extends ErasedType<readonly ["IFluidHandle", T]> {} |
@@ -75,4 +75,13 @@ /*! | ||
export interface ITelemetryBaseLogger { | ||
/** | ||
* Log a telemetry event, if it meets the appropriate log-level threshold (see {@link ITelemetryBaseLogger.minLogLevel}). | ||
* @param event - The event to log. | ||
* @param logLevel - The log level of the event. Default: {@link (LogLevel:variable).default}. | ||
*/ | ||
send(event: ITelemetryBaseEvent, logLevel?: LogLevel): void; | ||
/** | ||
* Minimum log level to be logged. | ||
* @defaultValue {@link (LogLevel:variable).default} | ||
*/ | ||
minLogLevel?: LogLevel; | ||
@@ -79,0 +88,0 @@ } |
@@ -35,8 +35,8 @@ /*! | ||
: number extends TProp | ||
? never // exclude indexers [key:string |number]: any | ||
: TProp extends keyof Required<T>[TProp] // TProp is a property of T, and T[TProp] | ||
? Required<T>[TProp] extends Required<Required<T>[TProp]>[TProp] // T[TProp] is the same type as T[TProp][TProp] | ||
? TProp | ||
: never | ||
: never; | ||
? never // exclude indexers [key:string |number]: any | ||
: TProp extends keyof Required<T>[TProp] // TProp is a property of T, and T[TProp] | ||
? Required<T>[TProp] extends Required<Required<T>[TProp]>[TProp] // T[TProp] is the same type as T[TProp][TProp] | ||
? TProp | ||
: never | ||
: never; | ||
@@ -43,0 +43,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
404700
137
3712
15