-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Copy APIs out of common-definitions and remove dependencies (…
…#16638) This PR deprecates the following types and interfaces from the common-definitions package: - interface IErrorEvent - interface IErrorEvent - interface IEvent - interface IEventProvider - type ExtendEventProvider - type IEventThisPlaceHolder - type IEventTransformer - type ReplaceIEventThisPlaceHolder The code has been copied into the core-interfaces package for client use. - All client package uses have been updated to use the core-interfaces implementation instead of common-definitions. - There are no longer any client dependencies on common-definitions. - **However,** there are still _server_ dependencies on common-definitions. It's not clear where the event-related APIs should live for server, so server continues to use the now-deprecated versions from common-definitions. - Also, protocol-definitions still imports and uses IErrorEvent and IEventProvider from common-definitions. I left those uses in place rather than copying the APIs into protocol-definitions.
- Loading branch information
1 parent
649d19d
commit a8c8150
Showing
179 changed files
with
902 additions
and
371 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
--- | ||
"@fluidframework/agent-scheduler": minor | ||
"@fluidframework/aqueduct": minor | ||
"@fluid-experimental/attributable-map": minor | ||
"@fluid-experimental/azure-scenario-runner": minor | ||
"@fluidframework/container-definitions": minor | ||
"@fluidframework/container-loader": minor | ||
"@fluidframework/container-runtime": minor | ||
"@fluidframework/container-runtime-definitions": minor | ||
"@fluidframework/container-utils": minor | ||
"@fluidframework/core-interfaces": minor | ||
"@fluidframework/data-object-base": minor | ||
"@fluid-experimental/data-objects": minor | ||
"@fluidframework/datastore": minor | ||
"@fluidframework/datastore-definitions": minor | ||
"@fluid-experimental/devtools": minor | ||
"@fluid-experimental/devtools-core": minor | ||
"@fluidframework/driver-definitions": minor | ||
"@fluidframework/fluid-runner": minor | ||
"@fluidframework/fluid-static": minor | ||
"@fluid-experimental/last-edited": minor | ||
"@fluidframework/map": minor | ||
"@fluidframework/matrix": minor | ||
"@fluidframework/merge-tree": minor | ||
"@fluidframework/mocha-test-setup": minor | ||
"@fluidframework/odsp-doclib-utils": minor | ||
"@fluidframework/odsp-driver": minor | ||
"@fluid-experimental/oldest-client-observer": minor | ||
"@fluid-experimental/pact-map": minor | ||
"@fluid-experimental/react-inputs": minor | ||
"@fluidframework/replay-driver": minor | ||
"@fluidframework/routerlicious-driver": minor | ||
"@fluidframework/runtime-definitions": minor | ||
"@fluidframework/sequence": minor | ||
"@fluidframework/shared-object-base": minor | ||
"@fluidframework/task-manager": minor | ||
"@fluidframework/telemetry-utils": minor | ||
"@fluidframework/test-runtime-utils": minor | ||
"@fluid-experimental/tree": minor | ||
"@fluid-experimental/tree2": minor | ||
--- | ||
|
||
Remove use of @fluidframework/common-definitions | ||
|
||
The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now | ||
imported from the **@fluidframework/core-interfaces** package: | ||
|
||
- interface IDisposable | ||
- interface IErrorEvent | ||
- interface IErrorEvent | ||
- interface IEvent | ||
- interface IEventProvider | ||
- interface ILoggingError | ||
- interface ITaggedTelemetryPropertyType | ||
- interface ITelemetryBaseEvent | ||
- interface ITelemetryBaseLogger | ||
- interface ITelemetryErrorEvent | ||
- interface ITelemetryGenericEvent | ||
- interface ITelemetryLogger | ||
- interface ITelemetryPerformanceEvent | ||
- interface ITelemetryProperties | ||
- type ExtendEventProvider | ||
- type IEventThisPlaceHolder | ||
- type IEventTransformer | ||
- type ReplaceIEventThisPlaceHolder | ||
- type ReplaceIEventThisPlaceHolder | ||
- type TelemetryEventCategory | ||
- type TelemetryEventPropertyType |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.