From 5681a5854c898c3d537905516340880eb6b7c948 Mon Sep 17 00:00:00 2001 From: Tony Murphy Date: Thu, 31 Mar 2022 11:19:24 -0700 Subject: [PATCH] Enable type validation for all client packages (#9673) This change uses a new improved version of the type validation tool to generate validation tests for all packages (#9674). Generally this change in all done via automation, but there are a couple other changes. Remove type validation from existing packages, and move to new model Fix fluid-build non-conformant packages All automatic type validation generation is removed. It is to slow to run on every build. It should only need to be run after release, and in the presence of new breaking changes that must be suppressed --- lerna-package-lock.json | 3286 +++++++++++------ package-lock.json | 87 +- package.json | 4 +- packages/dds/cell/package.json | 9 +- .../src/test/types/validateCellPrevious.ts | 87 + packages/dds/counter/package.json | 9 +- .../src/test/types/validateCounterPrevious.ts | 87 + packages/dds/ink/package.json | 9 +- .../ink/src/test/types/validateInkPrevious.ts | 327 ++ packages/dds/map/package.json | 13 +- .../map/src/test/types/validateMapPrevious.ts | 448 +++ packages/dds/matrix/package.json | 7 +- .../src/test/types/validateMatrixPrevious.ts | 135 + packages/dds/merge-tree/package.json | 10 +- packages/dds/ordered-collection/package.json | 9 +- .../validateOrderedCollectionPrevious.ts | 279 ++ packages/dds/register-collection/package.json | 9 +- .../validateRegisterCollectionPrevious.ts | 159 + packages/dds/sequence/package.json | 8 +- packages/dds/shared-object-base/package.json | 9 +- .../types/validateSharedObjectBasePrevious.ts | 351 ++ .../dds/shared-summary-block/package.json | 9 +- .../validateSharedSummaryBlockPrevious.ts | 87 + packages/dds/task-manager/package.json | 9 +- .../test/types/validateTaskManagerPrevious.ts | 207 ++ packages/drivers/debugger/package.json | 7 +- .../test/types/validateDebuggerPrevious.ts | 183 + packages/drivers/driver-base/package.json | 7 +- .../test/types/validateDriverBasePrevious.ts | 39 + packages/drivers/file-driver/package.json | 7 +- .../test/types/validateFileDriverPrevious.ts | 279 ++ .../fluidapp-odsp-urlResolver/package.json | 9 +- ...validateFluidappOdspUrlresolverPrevious.ts | 39 + packages/drivers/iframe-driver/package.json | 7 +- .../types/validateIframeDriverPrevious.ts | 303 ++ packages/drivers/local-driver/package.json | 9 +- .../test/types/validateLocalDriverPrevious.ts | 207 ++ .../odsp-driver-definitions/.eslintrc.js | 2 +- .../odsp-driver-definitions/package.json | 10 +- .../src/test/tsconfig.json | 19 + .../validateOdspDriverDefinitionsPrevious.ts | 615 +++ packages/drivers/odsp-driver/package.json | 9 +- .../test/types/validateOdspDriverPrevious.ts | 663 ++++ .../drivers/odsp-urlResolver/package.json | 9 +- .../types/validateOdspUrlresolverPrevious.ts | 63 + packages/drivers/replay-driver/package.json | 7 +- .../types/validateReplayDriverPrevious.ts | 255 ++ .../drivers/routerlicious-driver/package.json | 9 +- .../validateRouterliciousDriverPrevious.ts | 279 ++ .../drivers/routerlicious-host/package.json | 7 +- .../validateRouterliciousHostPrevious.ts | 39 + .../routerlicious-urlResolver/package.json | 9 +- ...alidateRouterliciousUrlresolverPrevious.ts | 87 + .../drivers/tinylicious-driver/package.json | 7 +- .../validateTinyliciousDriverPrevious.ts | 135 + packages/framework/aqueduct/package.json | 11 +- .../test/types/validateAqueductPrevious.ts | 495 +++ packages/framework/azure-client/package.json | 7 +- .../test/types/validateAzureClientPrevious.ts | 399 ++ .../azure-service-utils/.eslintrc.js | 2 +- .../azure-service-utils/package.json | 10 +- .../src/test/tsconfig.json | 19 + .../validateAzureServiceUtilsPrevious.ts | 63 + .../framework/data-object-base/package.json | 9 +- .../types/validateDataObjectBasePrevious.ts | 87 + .../framework/dds-interceptions/package.json | 7 +- .../types/validateDdsInterceptionsPrevious.ts | 87 + .../framework/fluid-framework/.eslintrc.js | 2 +- .../framework/fluid-framework/package.json | 11 +- .../fluid-framework/src/test/tsconfig.json | 19 + packages/framework/fluid-static/package.json | 7 +- .../test/types/validateFluidStaticPrevious.ts | 447 +++ .../framework/request-handler/package.json | 9 +- .../types/validateRequestHandlerPrevious.ts | 159 + packages/framework/synthesize/package.json | 9 +- .../test/types/validateSynthesizePrevious.ts | 231 ++ .../framework/test-client-utils/.eslintrc.js | 2 +- .../framework/test-client-utils/package.json | 10 +- .../test-client-utils/src/test/tsconfig.json | 19 + .../types/validateTestClientUtilsPrevious.ts | 63 + .../framework/tinylicious-client/package.json | 7 +- .../validateTinyliciousClientPrevious.ts | 231 ++ packages/framework/undo-redo/package.json | 9 +- .../test/types/validateUndoRedoPrevious.ts | 159 + packages/framework/view-adapters/package.json | 7 +- .../types/validateViewAdaptersPrevious.ts | 111 + .../framework/view-interfaces/package.json | 7 +- .../types/validateViewInterfacesPrevious.ts | 207 ++ packages/loader/container-loader/package.json | 13 +- .../types/validateContainerLoaderPrevious.ts | 328 ++ packages/loader/container-utils/package.json | 9 +- .../types/validateContainerUtilsPrevious.ts | 183 + packages/loader/driver-utils/package.json | 9 +- .../test/types/validateDriverUtilsPrevious.ts | 1071 ++++++ .../loader/test-loader-utils/package.json | 7 +- .../types/validateTestLoaderUtilsPrevious.ts | 87 + packages/loader/web-code-loader/package.json | 7 +- .../types/validateWebCodeLoaderPrevious.ts | 159 + packages/runtime/agent-scheduler/package.json | 7 +- .../types/validateAgentSchedulerPrevious.ts | 183 + .../package.json | 114 +- .../src/test/types/validate0.51.1.ts | 136 - .../src/test/types/validate0.52.0.ts | 136 - .../src/test/types/validate0.53.0.ts | 136 - .../src/test/types/validate0.54.0.ts | 136 - .../src/test/types/validate0.55.0.ts | 136 - .../src/test/types/validate0.56.0.ts | 136 - .../src/test/types/validate0.57.0.ts | 133 - ...ateContainerRuntimeDefinitionsPrevious.ts} | 79 +- .../runtime/container-runtime/package.json | 9 +- .../types/validateContainerRuntimePrevious.ts | 1599 ++++++++ .../datastore-definitions/package.json | 115 +- .../src/test/types/validate0.51.1.ts | 280 -- .../src/test/types/validate0.52.0.ts | 280 -- .../src/test/types/validate0.53.0.ts | 280 -- .../src/test/types/validate0.55.0.ts | 284 -- .../src/test/types/validate0.56.0.ts | 278 -- .../src/test/types/validate0.57.0.ts | 274 -- .../src/test/types/validate0.58.1000.ts | 274 -- ...> validateDatastoreDefinitionsPrevious.ts} | 149 +- packages/runtime/datastore/package.json | 9 +- .../test/types/validateDatastorePrevious.ts | 159 + .../runtime/garbage-collector/package.json | 9 +- .../types/validateGarbageCollectorPrevious.ts | 231 ++ .../runtime/runtime-definitions/package.json | 326 +- .../src/test/types/validate0.51.1.ts | 918 ----- .../src/test/types/validate0.52.0.ts | 918 ----- .../src/test/types/validate0.53.0.ts | 966 ----- .../src/test/types/validate0.54.0.ts | 966 ----- .../src/test/types/validate0.55.0.ts | 990 ----- .../src/test/types/validate0.56.0.ts | 990 ----- .../src/test/types/validate0.57.0.ts | 990 ----- ... => validateRuntimeDefinitionsPrevious.ts} | 511 +-- packages/runtime/runtime-utils/package.json | 9 +- .../types/validateRuntimeUtilsPrevious.ts | 783 ++++ .../runtime/test-runtime-utils/package.json | 9 +- .../types/validateTestRuntimeUtilsPrevious.ts | 423 +++ packages/test/functional-tests/package.json | 2 +- packages/test/mocha-test-setup/package.json | 7 +- .../types/validateMochaTestSetupPrevious.ts | 39 + .../test/test-driver-definitions/.eslintrc.js | 5 +- .../test/test-driver-definitions/package.json | 10 +- .../src/test/tsconfig.json | 19 + .../validateTestDriverDefinitionsPrevious.ts | 87 + .../test-driver-definitions/tsconfig.json | 9 +- packages/test/test-drivers/.eslintrc.js | 5 +- packages/test/test-drivers/package.json | 10 +- .../test/test-drivers/src/test/tsconfig.json | 19 + .../test/types/validateTestDriversPrevious.ts | 399 ++ packages/test/test-drivers/tsconfig.json | 6 +- .../test/test-end-to-end-tests/package.json | 6 +- .../src/test/sharedStringLoading.spec.ts | 3 +- .../test/test-pairwise-generator/package.json | 7 +- .../validateTestPairwiseGeneratorPrevious.ts | 111 + packages/test/test-utils/.eslintrc.js | 5 +- packages/test/test-utils/package.json | 10 +- .../test/test-utils/src/test/tsconfig.json | 19 + .../test/types/validateTestUtilsPrevious.ts | 663 ++++ packages/test/test-utils/tsconfig.json | 8 +- packages/test/test-version-utils/.eslintrc.js | 3 + packages/test/test-version-utils/package.json | 15 +- packages/test/test-version-utils/src/index.ts | 1 - .../test-version-utils/src/test/tsconfig.json | 19 + .../types/validateTestVersionUtilsPrevious.ts | 475 +++ .../tools/webpack-fluid-loader/package.json | 9 +- .../validateWebpackFluidLoaderPrevious.ts | 63 + packages/utils/odsp-doclib-utils/package.json | 9 +- .../types/validateOdspDoclibUtilsPrevious.ts | 999 +++++ packages/utils/telemetry-utils/package.json | 9 +- .../types/validateTelemetryUtilsPrevious.ts | 1071 ++++++ packages/utils/tool-utils/package.json | 9 +- .../test/types/validateToolUtilsPrevious.ts | 327 ++ 172 files changed, 20767 insertions(+), 11821 deletions(-) create mode 100644 packages/dds/cell/src/test/types/validateCellPrevious.ts create mode 100644 packages/dds/counter/src/test/types/validateCounterPrevious.ts create mode 100644 packages/dds/ink/src/test/types/validateInkPrevious.ts create mode 100644 packages/dds/map/src/test/types/validateMapPrevious.ts create mode 100644 packages/dds/matrix/src/test/types/validateMatrixPrevious.ts create mode 100644 packages/dds/ordered-collection/src/test/types/validateOrderedCollectionPrevious.ts create mode 100644 packages/dds/register-collection/src/test/types/validateRegisterCollectionPrevious.ts create mode 100644 packages/dds/shared-object-base/src/test/types/validateSharedObjectBasePrevious.ts create mode 100644 packages/dds/shared-summary-block/src/test/types/validateSharedSummaryBlockPrevious.ts create mode 100644 packages/dds/task-manager/src/test/types/validateTaskManagerPrevious.ts create mode 100644 packages/drivers/debugger/src/test/types/validateDebuggerPrevious.ts create mode 100644 packages/drivers/driver-base/src/test/types/validateDriverBasePrevious.ts create mode 100644 packages/drivers/file-driver/src/test/types/validateFileDriverPrevious.ts create mode 100644 packages/drivers/fluidapp-odsp-urlResolver/src/test/types/validateFluidappOdspUrlresolverPrevious.ts create mode 100644 packages/drivers/iframe-driver/src/test/types/validateIframeDriverPrevious.ts create mode 100644 packages/drivers/local-driver/src/test/types/validateLocalDriverPrevious.ts create mode 100644 packages/drivers/odsp-driver-definitions/src/test/tsconfig.json create mode 100644 packages/drivers/odsp-driver-definitions/src/test/types/validateOdspDriverDefinitionsPrevious.ts create mode 100644 packages/drivers/odsp-driver/src/test/types/validateOdspDriverPrevious.ts create mode 100644 packages/drivers/odsp-urlResolver/src/test/types/validateOdspUrlresolverPrevious.ts create mode 100644 packages/drivers/replay-driver/src/test/types/validateReplayDriverPrevious.ts create mode 100644 packages/drivers/routerlicious-driver/src/test/types/validateRouterliciousDriverPrevious.ts create mode 100644 packages/drivers/routerlicious-host/src/test/types/validateRouterliciousHostPrevious.ts create mode 100644 packages/drivers/routerlicious-urlResolver/src/test/types/validateRouterliciousUrlresolverPrevious.ts create mode 100644 packages/drivers/tinylicious-driver/src/test/types/validateTinyliciousDriverPrevious.ts create mode 100644 packages/framework/aqueduct/src/test/types/validateAqueductPrevious.ts create mode 100644 packages/framework/azure-client/src/test/types/validateAzureClientPrevious.ts create mode 100644 packages/framework/azure-service-utils/src/test/tsconfig.json create mode 100644 packages/framework/azure-service-utils/src/test/types/validateAzureServiceUtilsPrevious.ts create mode 100644 packages/framework/data-object-base/src/test/types/validateDataObjectBasePrevious.ts create mode 100644 packages/framework/dds-interceptions/src/test/types/validateDdsInterceptionsPrevious.ts create mode 100644 packages/framework/fluid-framework/src/test/tsconfig.json create mode 100644 packages/framework/fluid-static/src/test/types/validateFluidStaticPrevious.ts create mode 100644 packages/framework/request-handler/src/test/types/validateRequestHandlerPrevious.ts create mode 100644 packages/framework/synthesize/src/test/types/validateSynthesizePrevious.ts create mode 100644 packages/framework/test-client-utils/src/test/tsconfig.json create mode 100644 packages/framework/test-client-utils/src/test/types/validateTestClientUtilsPrevious.ts create mode 100644 packages/framework/tinylicious-client/src/test/types/validateTinyliciousClientPrevious.ts create mode 100644 packages/framework/undo-redo/src/test/types/validateUndoRedoPrevious.ts create mode 100644 packages/framework/view-adapters/src/test/types/validateViewAdaptersPrevious.ts create mode 100644 packages/framework/view-interfaces/src/test/types/validateViewInterfacesPrevious.ts create mode 100644 packages/loader/container-loader/src/test/types/validateContainerLoaderPrevious.ts create mode 100644 packages/loader/container-utils/src/test/types/validateContainerUtilsPrevious.ts create mode 100644 packages/loader/driver-utils/src/test/types/validateDriverUtilsPrevious.ts create mode 100644 packages/loader/test-loader-utils/src/test/types/validateTestLoaderUtilsPrevious.ts create mode 100644 packages/loader/web-code-loader/src/test/types/validateWebCodeLoaderPrevious.ts create mode 100644 packages/runtime/agent-scheduler/src/test/types/validateAgentSchedulerPrevious.ts delete mode 100644 packages/runtime/container-runtime-definitions/src/test/types/validate0.51.1.ts delete mode 100644 packages/runtime/container-runtime-definitions/src/test/types/validate0.52.0.ts delete mode 100644 packages/runtime/container-runtime-definitions/src/test/types/validate0.53.0.ts delete mode 100644 packages/runtime/container-runtime-definitions/src/test/types/validate0.54.0.ts delete mode 100644 packages/runtime/container-runtime-definitions/src/test/types/validate0.55.0.ts delete mode 100644 packages/runtime/container-runtime-definitions/src/test/types/validate0.56.0.ts delete mode 100644 packages/runtime/container-runtime-definitions/src/test/types/validate0.57.0.ts rename packages/runtime/container-runtime-definitions/src/test/types/{validate0.58.1000.ts => validateContainerRuntimeDefinitionsPrevious.ts} (78%) create mode 100644 packages/runtime/container-runtime/src/test/types/validateContainerRuntimePrevious.ts delete mode 100644 packages/runtime/datastore-definitions/src/test/types/validate0.51.1.ts delete mode 100644 packages/runtime/datastore-definitions/src/test/types/validate0.52.0.ts delete mode 100644 packages/runtime/datastore-definitions/src/test/types/validate0.53.0.ts delete mode 100644 packages/runtime/datastore-definitions/src/test/types/validate0.55.0.ts delete mode 100644 packages/runtime/datastore-definitions/src/test/types/validate0.56.0.ts delete mode 100644 packages/runtime/datastore-definitions/src/test/types/validate0.57.0.ts delete mode 100644 packages/runtime/datastore-definitions/src/test/types/validate0.58.1000.ts rename packages/runtime/datastore-definitions/src/test/types/{validate0.54.0.ts => validateDatastoreDefinitionsPrevious.ts} (80%) create mode 100644 packages/runtime/datastore/src/test/types/validateDatastorePrevious.ts create mode 100644 packages/runtime/garbage-collector/src/test/types/validateGarbageCollectorPrevious.ts delete mode 100644 packages/runtime/runtime-definitions/src/test/types/validate0.51.1.ts delete mode 100644 packages/runtime/runtime-definitions/src/test/types/validate0.52.0.ts delete mode 100644 packages/runtime/runtime-definitions/src/test/types/validate0.53.0.ts delete mode 100644 packages/runtime/runtime-definitions/src/test/types/validate0.54.0.ts delete mode 100644 packages/runtime/runtime-definitions/src/test/types/validate0.55.0.ts delete mode 100644 packages/runtime/runtime-definitions/src/test/types/validate0.56.0.ts delete mode 100644 packages/runtime/runtime-definitions/src/test/types/validate0.57.0.ts rename packages/runtime/runtime-definitions/src/test/types/{validate0.58.1000.ts => validateRuntimeDefinitionsPrevious.ts} (79%) create mode 100644 packages/runtime/runtime-utils/src/test/types/validateRuntimeUtilsPrevious.ts create mode 100644 packages/runtime/test-runtime-utils/src/test/types/validateTestRuntimeUtilsPrevious.ts create mode 100644 packages/test/mocha-test-setup/src/test/types/validateMochaTestSetupPrevious.ts create mode 100644 packages/test/test-driver-definitions/src/test/tsconfig.json create mode 100644 packages/test/test-driver-definitions/src/test/types/validateTestDriverDefinitionsPrevious.ts create mode 100644 packages/test/test-drivers/src/test/tsconfig.json create mode 100644 packages/test/test-drivers/src/test/types/validateTestDriversPrevious.ts create mode 100644 packages/test/test-pairwise-generator/src/test/types/validateTestPairwiseGeneratorPrevious.ts create mode 100644 packages/test/test-utils/src/test/tsconfig.json create mode 100644 packages/test/test-utils/src/test/types/validateTestUtilsPrevious.ts create mode 100644 packages/test/test-version-utils/src/test/tsconfig.json create mode 100644 packages/test/test-version-utils/src/test/types/validateTestVersionUtilsPrevious.ts create mode 100644 packages/tools/webpack-fluid-loader/src/test/types/validateWebpackFluidLoaderPrevious.ts create mode 100644 packages/utils/odsp-doclib-utils/src/test/types/validateOdspDoclibUtilsPrevious.ts create mode 100644 packages/utils/telemetry-utils/src/test/types/validateTelemetryUtilsPrevious.ts create mode 100644 packages/utils/tool-utils/src/test/types/validateToolUtilsPrevious.ts diff --git a/lerna-package-lock.json b/lerna-package-lock.json index 9e0349c1000b..13850719525c 100644 --- a/lerna-package-lock.json +++ b/lerna-package-lock.json @@ -1909,6 +1909,209 @@ "tslib": "^1.10.0" } }, + "@fluid-experimental/task-manager-previous": { + "version": "npm:@fluid-experimental/task-manager@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluid-experimental/task-manager/-/task-manager-0.58.2000.tgz", + "integrity": "sha512-R4mu+FK5qk3BhxzZ3uJ/xdCDVfeVbi37RvKHr8ppEjcZXwqtEIsK58BHdzC6UforvE8YRfVfpd41nRBMxjHOTA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-runtime-definitions": "^0.58.2000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/shared-object-base": "^0.58.2000" + } + }, + "@fluid-tools/fluidapp-odsp-urlresolver-previous": { + "version": "npm:@fluid-tools/fluidapp-odsp-urlresolver@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluid-tools/fluidapp-odsp-urlresolver/-/fluidapp-odsp-urlresolver-0.58.2000.tgz", + "integrity": "sha512-xj+bgHfnTxUe6wEp0tTZ+/gl39f1Hxu4uQifjqPCXnvUa4qe+YJ+yMIXRF31h6NuDjETkNPkag7zMbDKwD2DKw==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/odsp-driver": "^0.58.2000", + "@fluidframework/odsp-driver-definitions": "^0.58.2000" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluid-tools/webpack-fluid-loader-previous": { + "version": "npm:@fluid-tools/webpack-fluid-loader@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluid-tools/webpack-fluid-loader/-/webpack-fluid-loader-0.58.2000.tgz", + "integrity": "sha512-eqppS1y/NUbIJG5mbyYNQG5iUOHkmQ+kIjoon/1l3TohMNC9ZY1s+KtAGrudNlMDFZHfupiys3DnpsCk2D5Y5w==", + "requires": { + "@fluidframework/aqueduct": "^0.58.2000", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-loader": "^0.58.2000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/local-driver": "^0.58.2000", + "@fluidframework/odsp-doclib-utils": "^0.58.2000", + "@fluidframework/odsp-driver": "^0.58.2000", + "@fluidframework/odsp-driver-definitions": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/routerlicious-driver": "^0.58.2000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000", + "@fluidframework/server-local-server": "^0.1035.1000", + "@fluidframework/server-services-client": "^0.1035.1000", + "@fluidframework/test-runtime-utils": "^0.58.2000", + "@fluidframework/tool-utils": "^0.58.2000", + "@fluidframework/view-adapters": "^0.58.2000", + "@fluidframework/view-interfaces": "^0.58.2000", + "@fluidframework/web-code-loader": "^0.58.2000", + "axios": "^0.26.0", + "express": "^4.16.3", + "nconf": "^0.11.0", + "sillyname": "^0.1.0", + "uuid": "^8.3.1", + "webpack-dev-server": "^3.8.0" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluidframework/agent-scheduler": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/agent-scheduler/-/agent-scheduler-0.58.2002.tgz", + "integrity": "sha512-sviGfF4I+sd4rifpgiARhBqsUJrfEMH5RosrZuJVIlnduIxiHr0uurS5aidF8pRcM/5os53oucd8waMZXsNzmQ==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore": "^0.58.2002", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/map": "^0.58.2002", + "@fluidframework/register-collection": "^0.58.2002", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "uuid": "^8.3.1" + } + }, + "@fluidframework/agent-scheduler-previous": { + "version": "npm:@fluidframework/agent-scheduler@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/agent-scheduler/-/agent-scheduler-0.58.2000.tgz", + "integrity": "sha512-1TdZ88EPQLpvFV87Ggcvv/YiPuYfztTVXhoixxEHEQcYSb1f61jB7Gb1MHKfLPAyKTJR0a7FbwZvl9nY/vARkg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore": "^0.58.2000", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/map": "^0.58.2000", + "@fluidframework/register-collection": "^0.58.2000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000", + "uuid": "^8.3.1" + } + }, + "@fluidframework/aqueduct": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/aqueduct/-/aqueduct-0.58.2002.tgz", + "integrity": "sha512-8ntWVn01djjJZq9OOzc/lBz3ZKbT5W3W9ttBSqIDajZ/fHNG18uvIV1TiPGesnHqlkjzUmpYV+3qYzIEjvo78A==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-loader": "^0.58.2002", + "@fluidframework/container-runtime": "^0.58.2002", + "@fluidframework/container-runtime-definitions": "^0.58.2002", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore": "^0.58.2002", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/map": "^0.58.2002", + "@fluidframework/request-handler": "^0.58.2002", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/synthesize": "^0.58.2002", + "@fluidframework/view-interfaces": "^0.58.2002", + "uuid": "^8.3.1" + } + }, + "@fluidframework/aqueduct-previous": { + "version": "npm:@fluidframework/aqueduct@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/aqueduct/-/aqueduct-0.58.2000.tgz", + "integrity": "sha512-UOWEeiPyVD6hz6hizOoKPNN86z9+wsopsQntVVY85Qb+0//zKfwHeqCFxhL8yBi7quMYYX1NWmBSl/heZE6f4A==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-loader": "^0.58.2000", + "@fluidframework/container-runtime": "^0.58.2000", + "@fluidframework/container-runtime-definitions": "^0.58.2000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore": "^0.58.2000", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/map": "^0.58.2000", + "@fluidframework/request-handler": "^0.58.2000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000", + "@fluidframework/synthesize": "^0.58.2000", + "@fluidframework/view-interfaces": "^0.58.2000", + "uuid": "^8.3.1" + } + }, + "@fluidframework/azure-client-previous": { + "version": "npm:@fluidframework/azure-client@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/azure-client/-/azure-client-0.58.2000.tgz", + "integrity": "sha512-kXm41PfrYbBvIoPT3IVrMgwnMy2RMVqasED6lFvGisF0CB0E0cjqecN8regay5ZndPbDOIlM4GgDWxYzx9v8/A==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-loader": "^0.58.2000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/fluid-static": "^0.58.2000", + "@fluidframework/map": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/routerlicious-driver": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000", + "@fluidframework/server-services-client": "^0.1035.1000", + "axios": "^0.26.0", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, "@fluidframework/azure-local-service": { "version": "0.1.38773", "resolved": "https://registry.npmjs.org/@fluidframework/azure-local-service/-/azure-local-service-0.1.38773.tgz", @@ -1917,15 +2120,33 @@ "tinylicious": "^0.4.38350" } }, + "@fluidframework/azure-service-utils": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/azure-service-utils/-/azure-service-utils-0.58.2002.tgz", + "integrity": "sha512-2KrKPi0ua0GWMAoCRAOc5SHkW1WgcQycmKAAICe6VfiReb1bWwgPSdIUj4NNdmDFM2ulq6p5iuilvMcahoNk9w==", + "requires": { + "@fluidframework/protocol-definitions": "^0.1027.1000", + "jsrsasign": "^10.2.0" + } + }, + "@fluidframework/azure-service-utils-previous": { + "version": "npm:@fluidframework/azure-service-utils@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/azure-service-utils/-/azure-service-utils-0.58.2000.tgz", + "integrity": "sha512-/8xZ/DC3PDb/uh7+fGT1D9m1oxeZycGnvxP+JMT40MA+0M4KTjaAhGa0xaYAVUxgvO2RGp7lNFPZSiE2q3XrIQ==", + "requires": { + "@fluidframework/protocol-definitions": "^0.1027.1000", + "jsrsasign": "^10.2.0" + } + }, "@fluidframework/build-common": { "version": "0.23.0", "resolved": "https://registry.npmjs.org/@fluidframework/build-common/-/build-common-0.23.0.tgz", "integrity": "sha512-2Uz+rKTApwDIez+e9mx+UDAFK74Rh1r+emsHVpo0t29jECqa0f5NlkdmFREpjjexRS4+W/uLTKB5wN3fgN/f9w==" }, "@fluidframework/build-tools": { - "version": "0.2.58041", - "resolved": "https://registry.npmjs.org/@fluidframework/build-tools/-/build-tools-0.2.58041.tgz", - "integrity": "sha512-gEClFUJjyD4SmGUQXtECZ5ihiGEuDF1QEmga3Dn4omjBbiBFLuZCRtdc1robdtUPMy+8sJT/kmOaqvd7jOGWig==", + "version": "0.2.59529", + "resolved": "https://registry.npmjs.org/@fluidframework/build-tools/-/build-tools-0.2.59529.tgz", + "integrity": "sha512-YxXdjoVGVKp3cnLtFccsfeVf6niN1n0jBJ5DiZIPLloQnceFKA94e3tO4k68rVEYXxTm8/SfdD0s56cowWwmhw==", "dev": true, "requires": { "@fluidframework/bundle-size-tools": "^0.0.8505", @@ -2008,6 +2229,34 @@ } } }, + "@fluidframework/cell": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/cell/-/cell-0.58.2002.tgz", + "integrity": "sha512-oXFAxnnsXGv6AMWD10MJs7UCwz2dLkDcqQzbYoO82CyH1XN1fi9MXC4R9QiLWVQ+yewJaGNhA8Eo04fbbmlyFA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/shared-object-base": "^0.58.2002" + } + }, + "@fluidframework/cell-previous": { + "version": "npm:@fluidframework/cell@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/cell/-/cell-0.58.2000.tgz", + "integrity": "sha512-ufJZRsGhxB8s+bFAPOb6y27YGfcaJOAm16NuWmyzSmiWD+TUS00jedrRGZETfjXzcXg2UB/ul+ZXWUmNiNvjKQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/shared-object-base": "^0.58.2000" + } + }, "@fluidframework/common-definitions": { "version": "0.20.1", "resolved": "https://registry.npmjs.org/@fluidframework/common-definitions/-/common-definitions-0.20.1.tgz", @@ -2056,457 +2305,417 @@ } } }, - "@fluidframework/container-runtime-definitions-0.51.1": { - "version": "npm:@fluidframework/container-runtime-definitions@0.51.1", - "resolved": "https://registry.npmjs.org/@fluidframework/container-runtime-definitions/-/container-runtime-definitions-0.51.1.tgz", - "integrity": "sha512-dH8Wr/Vl2XD951XKrPT4LMB0e55bun8pveJyp0NfA0n6MzoOmrMFvfauVHn5314Nx9jRzx3aCc/UJLTZ0T6NNA==", + "@fluidframework/container-loader": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/container-loader/-/container-loader-0.58.2002.tgz", + "integrity": "sha512-riFqNG464njaMsToWdxwmDaw+Wy0oTzs2VDHRps08KsbYdk4gpP3/zbRiDYzMQIHWq9eYH2PdyhQhCKOTBx5pA==", "requires": { "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/container-definitions": "^0.41.0", - "@fluidframework/core-interfaces": "^0.40.0", - "@fluidframework/driver-definitions": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1025.0", - "@fluidframework/runtime-definitions": "^0.51.1", - "@types/node": "^12.19.0" + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-utils": "^0.58.2002", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/telemetry-utils": "^0.58.2002", + "abort-controller": "^3.0.0", + "double-ended-queue": "^2.1.0-0", + "lodash": "^4.17.21", + "uuid": "^8.3.1" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.41.0.tgz", - "integrity": "sha512-3MrM3RA82azqJ9gHELCVjYm6uxRB5KJRxWhY0d/oYrj2OAme3MS3PI/mlHbpghlCt2pMpRaghV0m4NILYP/fmw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.40.0", - "@fluidframework/driver-definitions": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1025.0" - } - }, - "@fluidframework/core-interfaces": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.40.0.tgz", - "integrity": "sha512-/QC26qfNamlHox3+YkfWz7q14cp4SA5CEcdi7vxytuDXlhrWOpNTCLT+BLXI4AxTO3KDTSqrYJTUTMgNGOfYng==" - }, "@fluidframework/driver-definitions": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.41.0.tgz", - "integrity": "sha512-EwZEjHxNp9uQiNZTJhf0TQjsCNCYs4s14aIVC21vh3YtI2j2mh3Aeektzed/wwS+wcVc61qgmfOXBF18GnrK4Q==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.40.0", - "@fluidframework/protocol-definitions": "^0.1025.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1025.1", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1025.1.tgz", - "integrity": "sha512-xlMWlDb+5xYzxEN2Z2SxOy0a8Im7IOWhBEYfaXCroHUrjn6yXw2BbVqGK4D97loyBdLhWYAqUnIErwJEciezPw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, - "@types/node": { - "version": "12.20.47", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.47.tgz", - "integrity": "sha512-BzcaRsnFuznzOItW1WpQrDHM7plAa7GIDMZ6b5pnMbkqEtM/6WCOhvZar39oeMQP79gwvFUWjjptE7/KGcNqFg==" } } }, - "@fluidframework/container-runtime-definitions-0.52.0": { - "version": "npm:@fluidframework/container-runtime-definitions@0.52.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-runtime-definitions/-/container-runtime-definitions-0.52.0.tgz", - "integrity": "sha512-piBQQRPRmSjXWfPyTr67DDJY6q6QG8lb4z4SV+dRjwTgWv/vAAi9BmAgn8lh2Pclc1rqSg+xT0B/8utGZ03nvA==", + "@fluidframework/container-loader-previous": { + "version": "npm:@fluidframework/container-loader@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-loader/-/container-loader-0.58.2000.tgz", + "integrity": "sha512-e1BLYWVQSUhN1zMw/idtwq+qe9G7htIOF3FbQ4naDVH6WSgFSJ9ynn6LlnfmbgYYNN3dt5dfhUxEzjxAsE5jgQ==", "requires": { "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/container-definitions": "^0.42.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@fluidframework/runtime-definitions": "^0.52.0", - "@types/node": "^12.19.0" + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-utils": "^0.58.2000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/telemetry-utils": "^0.58.2000", + "abort-controller": "^3.0.0", + "double-ended-queue": "^2.1.0-0", + "lodash": "^4.17.21", + "uuid": "^8.3.1" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.42.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.42.0.tgz", - "integrity": "sha512-xSGoZMJ6dFF9Y+oiuG2Vi9N/7VR1pHNYMSkumVmhX9hGp7cLqqYKA+stugEpb14g4GL3jTz5mx0taXEMUo1LSw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/core-interfaces": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.41.0.tgz", - "integrity": "sha512-1mA1W6brtWbBelQLFHIhcPQBW1GCHRQd+MnnhONV9v8ThF0yfK2lSQGTCEncGdSq0tkgEJKCP2gI9+jWrClNHw==" - }, "@fluidframework/driver-definitions": { - "version": "0.42.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.42.0.tgz", - "integrity": "sha512-9582VbtrToFvBZslCMglGP6UvM3QhEqt1dVC2McT54q3RLNvmiNLXcXDyToJxds3/+0jhRdgtAvA7Hlr1Fw5tg==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" - } - }, - "@fluidframework/runtime-definitions": { - "version": "0.52.1", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.52.1.tgz", - "integrity": "sha512-faQLxWWzrbjhv3X3pDFSRgB5nTXTElnFDTfF/KpC1+OH6WixToIAli41IbIsrNoitrD3GzrrtOruEhPsew/xTw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.42.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^12.19.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, - "@types/node": { - "version": "12.20.47", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.47.tgz", - "integrity": "sha512-BzcaRsnFuznzOItW1WpQrDHM7plAa7GIDMZ6b5pnMbkqEtM/6WCOhvZar39oeMQP79gwvFUWjjptE7/KGcNqFg==" } } }, - "@fluidframework/container-runtime-definitions-0.53.0": { - "version": "npm:@fluidframework/container-runtime-definitions@0.53.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-runtime-definitions/-/container-runtime-definitions-0.53.0.tgz", - "integrity": "sha512-d8aEZaXP20dmh98Bm2V7f3qrP8brEyEliL7+joZ1YIyhX4+II9lv/MnWf/zUtPcJ/ye8VL735uueAOECJpNq+A==", + "@fluidframework/container-runtime": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/container-runtime/-/container-runtime-0.58.2002.tgz", + "integrity": "sha512-90gUUEunrbD8kjOs13NEliGnSdikZPZh+FZF7MibHC77hI0ZusmcXJh+JTENVo4OYJVc0SHidfN8QiyuECJ4gg==", "requires": { "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/container-definitions": "^0.43.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@fluidframework/runtime-definitions": "^0.53.0", - "@types/node": "^12.19.0" + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-runtime-definitions": "^0.58.2002", + "@fluidframework/container-utils": "^0.58.2002", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore": "^0.58.2002", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/garbage-collector": "^0.58.2002", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/telemetry-utils": "^0.58.2002", + "double-ended-queue": "^2.1.0-0", + "uuid": "^8.3.1" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.43.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.43.0.tgz", - "integrity": "sha512-MzVGTRJ2WxiCXmLTlCmkrLjizRDC2Dht6fFYEvyYGw+92xt3QZHe3D0Sjd389dZe1kyMRlhsFAyuKytEPf7N4w==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/core-interfaces": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.41.0.tgz", - "integrity": "sha512-1mA1W6brtWbBelQLFHIhcPQBW1GCHRQd+MnnhONV9v8ThF0yfK2lSQGTCEncGdSq0tkgEJKCP2gI9+jWrClNHw==" - }, "@fluidframework/driver-definitions": { - "version": "0.43.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.43.0.tgz", - "integrity": "sha512-71RblJOfO1oDBEV0U6eiKRdSu4sqECRzoNgfEG336o0qkW/Z7jCymb7R7BO6CxNfrSD2JRjAZFcPLxV6i4/brA==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" - } - }, - "@fluidframework/runtime-definitions": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.53.0.tgz", - "integrity": "sha512-+CpPTiNuWh+gSteC/UtN9AT06zzvfue5ogYjC+IME3hcayCzMZdJcb9kLfpsn/IoyDqWq66Vtr5pEhxcHz0t6Q==", - "requires": { - "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.43.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^12.19.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, - "@types/node": { - "version": "12.20.47", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.47.tgz", - "integrity": "sha512-BzcaRsnFuznzOItW1WpQrDHM7plAa7GIDMZ6b5pnMbkqEtM/6WCOhvZar39oeMQP79gwvFUWjjptE7/KGcNqFg==" } } }, - "@fluidframework/container-runtime-definitions-0.54.0": { - "version": "npm:@fluidframework/container-runtime-definitions@0.54.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-runtime-definitions/-/container-runtime-definitions-0.54.0.tgz", - "integrity": "sha512-RnKw36KuJTiPA/XbC/Hksd6NvGc6u051GyDTfQCmsu2CxCYylgy4b74H0S2snGgdsxO8M2eK6JVx8p7Uosh2dw==", + "@fluidframework/container-runtime-definitions": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/container-runtime-definitions/-/container-runtime-definitions-0.58.2002.tgz", + "integrity": "sha512-f7BKafg7LTB4R9qkzrliqWeQycrlg9UGZVi1OL7EY737vp1BScx0IGPjPwitDZ4b3L5VpjIvhsoF6JWQFKskLA==", "requires": { "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/container-definitions": "^0.44.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@fluidframework/runtime-definitions": "^0.54.0", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", "@types/node": "^14.18.0" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.44.0.tgz", - "integrity": "sha512-aoKjRwEeIQ1IH38QfAYAO7pqA5vknUItl2mF2/EWhCVZaWoyBsMXU5SkC3u2d7OmtkyjSvqFzMmR+BVunehhsw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/core-interfaces": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.41.0.tgz", - "integrity": "sha512-1mA1W6brtWbBelQLFHIhcPQBW1GCHRQd+MnnhONV9v8ThF0yfK2lSQGTCEncGdSq0tkgEJKCP2gI9+jWrClNHw==" - }, "@fluidframework/driver-definitions": { - "version": "0.43.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.43.0.tgz", - "integrity": "sha512-71RblJOfO1oDBEV0U6eiKRdSu4sqECRzoNgfEG336o0qkW/Z7jCymb7R7BO6CxNfrSD2JRjAZFcPLxV6i4/brA==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" - } - }, - "@fluidframework/runtime-definitions": { - "version": "0.54.3", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.54.3.tgz", - "integrity": "sha512-bNrolt1xAgTP3Dt4QksAqxnBOZNix7niJnn+gAASPpk9OdVndYVArkgupgPXp3C4B0enzDzyFHCOtQe0AAs5aQ==", - "requires": { - "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.44.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^14.18.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } } } }, - "@fluidframework/container-runtime-definitions-0.55.0": { - "version": "npm:@fluidframework/container-runtime-definitions@0.55.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-runtime-definitions/-/container-runtime-definitions-0.55.0.tgz", - "integrity": "sha512-+xpmsUsc+UV5BQzmDaANsrBqDeejd4YowRHHzpqY4Z+Y7c4Xj5bY6NmYrnfg3yxdjL4uOtDJwg7NkND2VU1qdQ==", + "@fluidframework/container-runtime-definitions-previous": { + "version": "npm:@fluidframework/container-runtime-definitions@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-runtime-definitions/-/container-runtime-definitions-0.58.2000.tgz", + "integrity": "sha512-OXadEYp+IdJrcM7KmTMutwkNbxrW87bLnt9gBz/MPUG83jpJLl/WYiTAsf+drOhmmtAWH9bn6uOSUgHU+vgixw==", "requires": { "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/container-definitions": "^0.44.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@fluidframework/runtime-definitions": "^0.55.0", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2000", "@types/node": "^14.18.0" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.44.0.tgz", - "integrity": "sha512-aoKjRwEeIQ1IH38QfAYAO7pqA5vknUItl2mF2/EWhCVZaWoyBsMXU5SkC3u2d7OmtkyjSvqFzMmR+BVunehhsw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/core-interfaces": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.41.0.tgz", - "integrity": "sha512-1mA1W6brtWbBelQLFHIhcPQBW1GCHRQd+MnnhONV9v8ThF0yfK2lSQGTCEncGdSq0tkgEJKCP2gI9+jWrClNHw==" - }, "@fluidframework/driver-definitions": { - "version": "0.43.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.43.0.tgz", - "integrity": "sha512-71RblJOfO1oDBEV0U6eiKRdSu4sqECRzoNgfEG336o0qkW/Z7jCymb7R7BO6CxNfrSD2JRjAZFcPLxV6i4/brA==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" - } - }, - "@fluidframework/runtime-definitions": { - "version": "0.55.4", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.55.4.tgz", - "integrity": "sha512-FughDXN1Bd0IN7VCgeAdJ2rW1krIWmyWlWI/6OJhSxBHeAVUWrGWhzn+LSN1VpbwlOT1LUeAH8nZfqYlaaUTxQ==", - "requires": { - "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.44.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^14.18.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } } } }, - "@fluidframework/container-runtime-definitions-0.56.0": { - "version": "npm:@fluidframework/container-runtime-definitions@0.56.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-runtime-definitions/-/container-runtime-definitions-0.56.0.tgz", - "integrity": "sha512-DLh06zD2AGs4CSG4jZmn0tW99RZgxb6LMlQQSgsD65k57sNksx/EKgGJwPY96dfWGlkfypAdE+7ZC+A8YCUB9A==", + "@fluidframework/container-runtime-previous": { + "version": "npm:@fluidframework/container-runtime@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-runtime/-/container-runtime-0.58.2000.tgz", + "integrity": "sha512-DsuK12Zfi3AytkHn1gEpIGGjGz60UTX37kNu7QBWHtexuQHNfUfPu/h5GNNbgfnx4GN/URyRyPYF53SjzHyRBw==", "requires": { "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/container-definitions": "^0.45.0", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-runtime-definitions": "^0.58.2000", + "@fluidframework/container-utils": "^0.58.2000", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.44.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@fluidframework/runtime-definitions": "^0.56.0", - "@types/node": "^14.18.0" + "@fluidframework/datastore": "^0.58.2000", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/garbage-collector": "^0.58.2000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000", + "@fluidframework/telemetry-utils": "^0.58.2000", + "double-ended-queue": "^2.1.0-0", + "uuid": "^8.3.1" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.45.0.tgz", - "integrity": "sha512-juwnf5uyTiya9ZupsF29xxrBZ4sWQ5YVctoacwu/44s98a+zctc2rChmakl26pmdk8i6dvLZzx7EVISWnNn4Kw==", + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.44.0", - "@fluidframework/protocol-definitions": "^0.1026.0" + "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, + } + } + }, + "@fluidframework/container-utils": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/container-utils/-/container-utils-0.58.2002.tgz", + "integrity": "sha512-YygE+Qnc/Z15MwdgS2pFp6c1FTN1CYQblylUCTFMZyJBr2vMtJ7GybRYHEQeHJIrQq3irGeV+/jXW5Uy7HTmPg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/telemetry-utils": "^0.58.2002" + } + }, + "@fluidframework/container-utils-previous": { + "version": "npm:@fluidframework/container-utils@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-utils/-/container-utils-0.58.2000.tgz", + "integrity": "sha512-9D7FzFrmFbZilAau1HAfJILtPydLtqgYuvGsAPSKjL75WedPhbI0xUBvw5oXDCMy5G9EID6ZnaYOqUMJ1885xA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/telemetry-utils": "^0.58.2000" + } + }, + "@fluidframework/core-interfaces": { + "version": "0.42.0", + "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.42.0.tgz", + "integrity": "sha512-++hCu5X6e2CL2swrhXoGaJanGjvaHZNmTT/cSYI8tfnX4cW7eRJuIy8Kcg6K3nMn4thxbVPW7+QG4VPRNuGlMQ==" + }, + "@fluidframework/counter": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/counter/-/counter-0.58.2002.tgz", + "integrity": "sha512-bqyadYw+3LlghHI91T9zkZQoHNk/0ujgk95HP/v+HVeUWPFsnEQJr8FXrD9tgliHkhuG6z7zaiw20JnVmymeaw==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/shared-object-base": "^0.58.2002" + } + }, + "@fluidframework/counter-previous": { + "version": "npm:@fluidframework/counter@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/counter/-/counter-0.58.2000.tgz", + "integrity": "sha512-R0HEblGElvCDJxg9tXXbruI80DhQGupEt6ca6Znjgle/Bp9qJh7XAoj9pO2Tj52tfAU1yvn335zrdOIzbvk4Dw==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/shared-object-base": "^0.58.2000" + } + }, + "@fluidframework/data-object-base-previous": { + "version": "npm:@fluidframework/data-object-base@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/data-object-base/-/data-object-base-0.58.2000.tgz", + "integrity": "sha512-Y5B0KZv+5oeFKYojbObc//vwFc4w6hktZSo0Xv8UODDOGcT7MyOkZFO0M8xzEFND4asS+pTQ4i53TkDJXfkE8g==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-runtime": "^0.58.2000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore": "^0.58.2000", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/request-handler": "^0.58.2000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000", + "@fluidframework/shared-object-base": "^0.58.2000" + } + }, + "@fluidframework/datastore": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/datastore/-/datastore-0.58.2002.tgz", + "integrity": "sha512-rxICizwBgjLdlM8yhp7f+MW5Yj4RjxyWu9oSw1XIAbEq+Se+rfQQnwHO12XvO/zT/nvBSDkyUU2Gt3RP77TYHA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-utils": "^0.58.2002", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/garbage-collector": "^0.58.2002", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/telemetry-utils": "^0.58.2002", + "lodash": "^4.17.21", + "uuid": "^8.3.1" + }, + "dependencies": { "@fluidframework/driver-definitions": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.44.0.tgz", - "integrity": "sha512-ru8rcc1qkKZz/76MVwSjF1c/uzSD2Rq5512fCv6VxvNJW6SUYUbmKcRHIMchxnEDpIFJVpsAruyK2aHZUdR2eA==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" - } - }, - "@fluidframework/runtime-definitions": { - "version": "0.56.11", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.56.11.tgz", - "integrity": "sha512-3bZpZK7OrBugfrXWCTfyFROCYEphy1Sne4pIjHlZPi3KwXsPyEynSvln5NObaT1IYRMEDyvUEFwvyZa63sOlwg==", - "requires": { - "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.45.0", - "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.44.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^14.18.0" + "@fluidframework/protocol-definitions": "^0.1027.1000" } } } }, - "@fluidframework/container-runtime-definitions-0.57.0": { - "version": "npm:@fluidframework/container-runtime-definitions@0.57.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-runtime-definitions/-/container-runtime-definitions-0.57.0.tgz", - "integrity": "sha512-eWfJZdcdzDhLj93+yQsSj8rwZTgZcJgfi6AUGSJYV84nkFD/2bs3VX+ozqmSPX99O/bOW3jbt1RLkN0NfkOC3w==", + "@fluidframework/datastore-definitions": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/datastore-definitions/-/datastore-definitions-0.58.2002.tgz", + "integrity": "sha512-UBjBgaWKdW77oykAVrEJnEFGuQ827vHPWCO878vks44Zc3mpOcjfADGA4nqvVlV2NP8euldxJZJVeuIf/wj4xQ==", "requires": { "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/container-definitions": "^0.46.0", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.44.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@fluidframework/runtime-definitions": "^0.57.0", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", "@types/node": "^14.18.0" + } + }, + "@fluidframework/datastore-definitions-previous": { + "version": "npm:@fluidframework/datastore-definitions@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/datastore-definitions/-/datastore-definitions-0.58.2000.tgz", + "integrity": "sha512-lRH9qhFnq49AolRgItdkJSN3zq52SBXqWqXYE2BLdCe0NX0neHMTNXIkCL2s3vP5CTXuHZ4BHMtANVQbNwxGyA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@types/node": "^14.18.0" + } + }, + "@fluidframework/datastore-previous": { + "version": "npm:@fluidframework/datastore@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/datastore/-/datastore-0.58.2000.tgz", + "integrity": "sha512-M66ZM6b+YgDlO7T8q580EGEE6ea1s4XWOETRlDhi2dJMjAEYHaIPFY6lZOQztA4emVbRzHyiNrkihAFRmWDAhQ==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-utils": "^0.58.2000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/garbage-collector": "^0.58.2000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000", + "@fluidframework/telemetry-utils": "^0.58.2000", + "lodash": "^4.17.21", + "uuid": "^8.3.1" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.46.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.46.0.tgz", - "integrity": "sha512-wp1X1Qt9vNDlYKlBtDQvi2QtrL3EnRzeSj/M728ShdLT4ntkPlsKCeYTCUicKNzI5XQ340aLnxayU6/l0n7NiA==", + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.44.0", - "@fluidframework/protocol-definitions": "^0.1026.0" + "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, + } + } + }, + "@fluidframework/dds-interceptions-previous": { + "version": "npm:@fluidframework/dds-interceptions@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/dds-interceptions/-/dds-interceptions-0.58.2000.tgz", + "integrity": "sha512-/wxcBIy1fxRLfLP2CosouTzdOFvY0APi4S7YxiOjgRoIaxxa9PWCctAVhVB+ktwxIbHDYHsz/IPcBlRaRK5VhA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/map": "^0.58.2000", + "@fluidframework/merge-tree": "^0.58.2000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/sequence": "^0.58.2000" + } + }, + "@fluidframework/debugger-previous": { + "version": "npm:@fluidframework/debugger@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/debugger/-/debugger-0.58.2000.tgz", + "integrity": "sha512-erO5XWEu7srkxAUQtjRtik6hNz9aIUnfBSdjaZtbJ0qZGxyEZbtSlILZPwQds77DYnf0s+HGNKpcB/t8W3P+OQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/replay-driver": "^0.58.2000", + "jsonschema": "^1.2.6" + }, + "dependencies": { "@fluidframework/driver-definitions": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.44.0.tgz", - "integrity": "sha512-ru8rcc1qkKZz/76MVwSjF1c/uzSD2Rq5512fCv6VxvNJW6SUYUbmKcRHIMchxnEDpIFJVpsAruyK2aHZUdR2eA==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" - } - }, - "@fluidframework/runtime-definitions": { - "version": "0.57.2", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.57.2.tgz", - "integrity": "sha512-zgtsOlcOShZmqnHWl5++8RvsZsYz0YfYDFFlqUxJeWATwgriowPLnuKbBpfKhowORg++mIXXkB2QKero295qzg==", - "requires": { - "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.46.0", - "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.44.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^14.18.0" + "@fluidframework/protocol-definitions": "^0.1027.1000" } } } }, - "@fluidframework/container-runtime-definitions-0.58.1000": { - "version": "npm:@fluidframework/container-runtime-definitions@0.58.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/container-runtime-definitions/-/container-runtime-definitions-0.58.1000.tgz", - "integrity": "sha512-ppXHJILEJc0xWHdPwZkzeHSqm6SVmmMVWgxVDfEHKbb3FKNqqnNfHdiVO2xlQciMcKJgnC8WviujoAXudu8mYw==", + "@fluidframework/driver-base": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-base/-/driver-base-0.58.2002.tgz", + "integrity": "sha512-iXQQH4QWr7E6oNmmpBmcneeNbSsjaMfZsqx8qebjB6+HgqqZCRgdXzCpp+A7cdq2hAthOCDfKqrQ7DLauG+u1g==", "requires": { "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/container-definitions": "^0.47.1000", - "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/common-utils": "^0.32.1", "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", "@fluidframework/protocol-definitions": "^0.1027.1000", - "@fluidframework/runtime-definitions": "^0.58.1000", - "@types/node": "^14.18.0" + "@fluidframework/telemetry-utils": "^0.58.2002" }, "dependencies": { "@fluidframework/driver-definitions": { @@ -2518,479 +2727,605 @@ "@fluidframework/core-interfaces": "^0.42.0", "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, - "@fluidframework/runtime-definitions": { - "version": "0.58.2002", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.58.2002.tgz", - "integrity": "sha512-6a/P130KbBGFZ2mqRT7GhDQG3vLqyIO9fth+gFDMVHm8OjP7xmjgl1rOtfKHfqf0+PbBHl0S1zIpohLo27M3qg==", + } + } + }, + "@fluidframework/driver-base-previous": { + "version": "npm:@fluidframework/driver-base@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-base/-/driver-base-0.58.2000.tgz", + "integrity": "sha512-51u0iDl+J9RBeRrld83Htuta5JwCDT8QEtZwSgfbog10NoqbfqNwjM2G9fuhiq6wXo73xAQ7ozQ4e/Cwa1BdTg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/telemetry-utils": "^0.58.2000" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { - "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/common-definitions": "^0.20.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.45.1000", - "@fluidframework/protocol-definitions": "^0.1027.1000", - "@types/node": "^14.18.0" + "@fluidframework/protocol-definitions": "^0.1027.1000" } } } }, - "@fluidframework/core-interfaces": { - "version": "0.42.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.42.0.tgz", - "integrity": "sha512-++hCu5X6e2CL2swrhXoGaJanGjvaHZNmTT/cSYI8tfnX4cW7eRJuIy8Kcg6K3nMn4thxbVPW7+QG4VPRNuGlMQ==" + "@fluidframework/driver-definitions": { + "version": "0.45.2000-58205", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.2000-58205.tgz", + "integrity": "sha512-ZFTryk6WqZTGVaoqTjjMCU4PDj8P0YGF/kTYSFZU/ST1hnk8ZdUdBkIwYRH5ROVXqAfyW5AeKoW/0xm0kWNugA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } }, - "@fluidframework/datastore-definitions-0.51.1": { - "version": "npm:@fluidframework/datastore-definitions@0.51.1", - "resolved": "https://registry.npmjs.org/@fluidframework/datastore-definitions/-/datastore-definitions-0.51.1.tgz", - "integrity": "sha512-+01MXmrbb+1XPPxoknKUMEKdM9EAhVX2tslIQksx0lflaDVpSn75s9wfsoDLzHGSuX9jrMRUYFZL2ageK6SZNg==", + "@fluidframework/driver-utils": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-utils/-/driver-utils-0.58.2002.tgz", + "integrity": "sha512-75SoHl7XTwObW8XVT4CusYiXbnldvdf1DNAMRuaMe00ntymC+uHydbIvs9U9gKWzsl+r1YbKkWoFBZaI6imZeQ==", "requires": { "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.41.0", - "@fluidframework/core-interfaces": "^0.40.0", - "@fluidframework/protocol-definitions": "^0.1025.0", - "@fluidframework/runtime-definitions": "^0.51.1", - "@types/node": "^12.19.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/telemetry-utils": "^0.58.2002", + "axios": "^0.26.0", + "uuid": "^8.3.1" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.41.0.tgz", - "integrity": "sha512-3MrM3RA82azqJ9gHELCVjYm6uxRB5KJRxWhY0d/oYrj2OAme3MS3PI/mlHbpghlCt2pMpRaghV0m4NILYP/fmw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.40.0", - "@fluidframework/driver-definitions": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1025.0" - } - }, - "@fluidframework/core-interfaces": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.40.0.tgz", - "integrity": "sha512-/QC26qfNamlHox3+YkfWz7q14cp4SA5CEcdi7vxytuDXlhrWOpNTCLT+BLXI4AxTO3KDTSqrYJTUTMgNGOfYng==" - }, "@fluidframework/driver-definitions": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.41.0.tgz", - "integrity": "sha512-EwZEjHxNp9uQiNZTJhf0TQjsCNCYs4s14aIVC21vh3YtI2j2mh3Aeektzed/wwS+wcVc61qgmfOXBF18GnrK4Q==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.40.0", - "@fluidframework/protocol-definitions": "^0.1025.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1025.1", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1025.1.tgz", - "integrity": "sha512-xlMWlDb+5xYzxEN2Z2SxOy0a8Im7IOWhBEYfaXCroHUrjn6yXw2BbVqGK4D97loyBdLhWYAqUnIErwJEciezPw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, - "@types/node": { - "version": "12.20.47", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.47.tgz", - "integrity": "sha512-BzcaRsnFuznzOItW1WpQrDHM7plAa7GIDMZ6b5pnMbkqEtM/6WCOhvZar39oeMQP79gwvFUWjjptE7/KGcNqFg==" } } }, - "@fluidframework/datastore-definitions-0.52.0": { - "version": "npm:@fluidframework/datastore-definitions@0.52.0", - "resolved": "https://registry.npmjs.org/@fluidframework/datastore-definitions/-/datastore-definitions-0.52.0.tgz", - "integrity": "sha512-NnU9xUDZK36oBCew3n/8DVO8a3jdu5e+nGAJQ4xqUeZILNnjWZFcEFsN7fTMiIZgzXoSeqLq+DIoRmFsv0mPZA==", + "@fluidframework/driver-utils-previous": { + "version": "npm:@fluidframework/driver-utils@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-utils/-/driver-utils-0.58.2000.tgz", + "integrity": "sha512-ofJcx4J5zm3JQGktJD3uLnuXFsUakmPeuO4r+1xF+WTk9D3QeeEmsg12OV6HDC/yLnrOGsRL741wsIZ7YA7zZg==", "requires": { "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.42.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@fluidframework/runtime-definitions": "^0.52.0", - "@types/node": "^12.19.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/telemetry-utils": "^0.58.2000", + "axios": "^0.26.0", + "uuid": "^8.3.1" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.42.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.42.0.tgz", - "integrity": "sha512-xSGoZMJ6dFF9Y+oiuG2Vi9N/7VR1pHNYMSkumVmhX9hGp7cLqqYKA+stugEpb14g4GL3jTz5mx0taXEMUo1LSw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/core-interfaces": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.41.0.tgz", - "integrity": "sha512-1mA1W6brtWbBelQLFHIhcPQBW1GCHRQd+MnnhONV9v8ThF0yfK2lSQGTCEncGdSq0tkgEJKCP2gI9+jWrClNHw==" - }, "@fluidframework/driver-definitions": { - "version": "0.42.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.42.0.tgz", - "integrity": "sha512-9582VbtrToFvBZslCMglGP6UvM3QhEqt1dVC2McT54q3RLNvmiNLXcXDyToJxds3/+0jhRdgtAvA7Hlr1Fw5tg==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" - } - }, - "@fluidframework/runtime-definitions": { - "version": "0.52.1", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.52.1.tgz", - "integrity": "sha512-faQLxWWzrbjhv3X3pDFSRgB5nTXTElnFDTfF/KpC1+OH6WixToIAli41IbIsrNoitrD3GzrrtOruEhPsew/xTw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.42.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^12.19.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, - "@types/node": { - "version": "12.20.47", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.47.tgz", - "integrity": "sha512-BzcaRsnFuznzOItW1WpQrDHM7plAa7GIDMZ6b5pnMbkqEtM/6WCOhvZar39oeMQP79gwvFUWjjptE7/KGcNqFg==" } } }, - "@fluidframework/datastore-definitions-0.53.0": { - "version": "npm:@fluidframework/datastore-definitions@0.53.0", - "resolved": "https://registry.npmjs.org/@fluidframework/datastore-definitions/-/datastore-definitions-0.53.0.tgz", - "integrity": "sha512-QZArN2BbxgOfiB3WTONkjWt+jt+SJ23bQs4jbRZlCKPLAhr8zUG6soK4fZb1iLDjx0cC9WRJtzYahUSPzEllLw==", + "@fluidframework/eslint-config-fluid": { + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/@fluidframework/eslint-config-fluid/-/eslint-config-fluid-0.27.0.tgz", + "integrity": "sha512-wNc1E43pFYTW397CMPxtF8NrYzcY8N+QpHTcwTHnlMWbzAhd8Hq7frPhLmbny3biUwppKv6dI6ZY5k5CQ6B4qw==", + "requires": { + "@rushstack/eslint-config": "^2.5.1", + "@rushstack/eslint-patch": "^1.1.0", + "@typescript-eslint/eslint-plugin": "~5.9.0", + "@typescript-eslint/parser": "~5.9.0", + "eslint-plugin-editorconfig": "~3.2.0", + "eslint-plugin-eslint-comments": "~3.2.0", + "eslint-plugin-import": "~2.25.4", + "eslint-plugin-react": "~7.28.0", + "eslint-plugin-unicorn": "~40.0.0" + } + }, + "@fluidframework/file-driver-previous": { + "version": "npm:@fluidframework/file-driver@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/file-driver/-/file-driver-0.58.2000.tgz", + "integrity": "sha512-x5PelBT6BHshFk6VThSmafKtTpmkTdNPNIjDNXrda+tx3nIcWl+RRqD/Br6Ui4p7Bk7j4rRClT2xHh1Pe4RO9w==", "requires": { "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.43.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@fluidframework/runtime-definitions": "^0.53.0", - "@types/node": "^12.19.0" + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/replay-driver": "^0.58.2000" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.43.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.43.0.tgz", - "integrity": "sha512-MzVGTRJ2WxiCXmLTlCmkrLjizRDC2Dht6fFYEvyYGw+92xt3QZHe3D0Sjd389dZe1kyMRlhsFAyuKytEPf7N4w==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/core-interfaces": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.41.0.tgz", - "integrity": "sha512-1mA1W6brtWbBelQLFHIhcPQBW1GCHRQd+MnnhONV9v8ThF0yfK2lSQGTCEncGdSq0tkgEJKCP2gI9+jWrClNHw==" - }, "@fluidframework/driver-definitions": { - "version": "0.43.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.43.0.tgz", - "integrity": "sha512-71RblJOfO1oDBEV0U6eiKRdSu4sqECRzoNgfEG336o0qkW/Z7jCymb7R7BO6CxNfrSD2JRjAZFcPLxV6i4/brA==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" - } - }, - "@fluidframework/runtime-definitions": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.53.0.tgz", - "integrity": "sha512-+CpPTiNuWh+gSteC/UtN9AT06zzvfue5ogYjC+IME3hcayCzMZdJcb9kLfpsn/IoyDqWq66Vtr5pEhxcHz0t6Q==", - "requires": { - "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.43.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^12.19.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, - "@types/node": { - "version": "12.20.47", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.47.tgz", - "integrity": "sha512-BzcaRsnFuznzOItW1WpQrDHM7plAa7GIDMZ6b5pnMbkqEtM/6WCOhvZar39oeMQP79gwvFUWjjptE7/KGcNqFg==" } } }, - "@fluidframework/datastore-definitions-0.54.0": { - "version": "npm:@fluidframework/datastore-definitions@0.54.0", - "resolved": "https://registry.npmjs.org/@fluidframework/datastore-definitions/-/datastore-definitions-0.54.0.tgz", - "integrity": "sha512-KrKGh2NNhnU/5JaARddKhD+tlI9CvQoT0Mbnaga80KQtfyTYvSIuwoTwEXT+FpPi6zvB6AeYImfRcujCTlxcCA==", + "@fluidframework/fluid-static": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/fluid-static/-/fluid-static-0.58.2002.tgz", + "integrity": "sha512-9ZMwd4dYQ7M7Ch/S9X/ZyYrdcUIdC0J7uV59kBGa1NOMaEy7lRhjasFroGt6xiG6KpNTdKTQBmSMk8vTdgFkLw==", "requires": { + "@fluidframework/aqueduct": "^0.58.2002", "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.44.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@fluidframework/runtime-definitions": "^0.54.0", - "@types/node": "^14.18.0" + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-loader": "^0.58.2002", + "@fluidframework/container-runtime-definitions": "^0.58.2002", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/request-handler": "^0.58.2002", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002" + } + }, + "@fluidframework/fluid-static-previous": { + "version": "npm:@fluidframework/fluid-static@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/fluid-static/-/fluid-static-0.58.2000.tgz", + "integrity": "sha512-fq4dspE04jsk74KHUaoyM9KTWpck8ZDqtzwerjqnrRH5i23XS6T9j8VqVr1HDZsWbIkg/A3JYInt67j7B9EgMA==", + "requires": { + "@fluidframework/aqueduct": "^0.58.2000", + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-loader": "^0.58.2000", + "@fluidframework/container-runtime-definitions": "^0.58.2000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/request-handler": "^0.58.2000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000" + } + }, + "@fluidframework/garbage-collector": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/garbage-collector/-/garbage-collector-0.58.2002.tgz", + "integrity": "sha512-j/uV4T6Akt/el3OgjpsSdW46kc+07N48oYFpUFXyO7/skXobW2o29bIXHVBbRuDTtX24wjTVxNWfr05ZpHny3w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/runtime-definitions": "^0.58.2002" + } + }, + "@fluidframework/garbage-collector-previous": { + "version": "npm:@fluidframework/garbage-collector@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/garbage-collector/-/garbage-collector-0.58.2000.tgz", + "integrity": "sha512-mCj548ge/BjlveFMhINgqYB0Ef/eTEkDiAUE6NhJYFP7OUl4s7SO7u1vhgXIrqYsOZOh5rthqsVXX9OphLbWpA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/runtime-definitions": "^0.58.2000" + } + }, + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/iframe-driver-previous": { + "version": "npm:@fluidframework/iframe-driver@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/iframe-driver/-/iframe-driver-0.58.2000.tgz", + "integrity": "sha512-xxaONKDSpAEOIlEldUhHL9MZ8tjw+xk9vBBdMbq9zDDJDTAttfnhiIgUaCJmMdozsArlDs7AnvzQOH1f/U01ng==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/telemetry-utils": "^0.58.2000", + "comlink": "^4.3.0" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.44.0.tgz", - "integrity": "sha512-aoKjRwEeIQ1IH38QfAYAO7pqA5vknUItl2mF2/EWhCVZaWoyBsMXU5SkC3u2d7OmtkyjSvqFzMmR+BVunehhsw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/core-interfaces": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.41.0.tgz", - "integrity": "sha512-1mA1W6brtWbBelQLFHIhcPQBW1GCHRQd+MnnhONV9v8ThF0yfK2lSQGTCEncGdSq0tkgEJKCP2gI9+jWrClNHw==" - }, "@fluidframework/driver-definitions": { - "version": "0.43.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.43.0.tgz", - "integrity": "sha512-71RblJOfO1oDBEV0U6eiKRdSu4sqECRzoNgfEG336o0qkW/Z7jCymb7R7BO6CxNfrSD2JRjAZFcPLxV6i4/brA==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" - } - }, - "@fluidframework/runtime-definitions": { - "version": "0.54.3", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.54.3.tgz", - "integrity": "sha512-bNrolt1xAgTP3Dt4QksAqxnBOZNix7niJnn+gAASPpk9OdVndYVArkgupgPXp3C4B0enzDzyFHCOtQe0AAs5aQ==", - "requires": { - "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.44.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^14.18.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } } } }, - "@fluidframework/datastore-definitions-0.55.0": { - "version": "npm:@fluidframework/datastore-definitions@0.55.0", - "resolved": "https://registry.npmjs.org/@fluidframework/datastore-definitions/-/datastore-definitions-0.55.0.tgz", - "integrity": "sha512-UUhXRw4gUExO1si9wwXBoSFm1ea2t17DW5w4J9rWJ2i/Ey0sLjK0kqzXOkUpYdjfhGLWICku5cyOWwhaFAVvwQ==", + "@fluidframework/ink": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/ink/-/ink-0.58.2002.tgz", + "integrity": "sha512-pqucAVzR/HAe5JjHZrZiNI7QwXHUeqqZxNx8fh31oBFTZo+DlSigsjQ0RgB8/ad7uJaUtPHfBUYii1C+jWsPXg==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/shared-object-base": "^0.58.2002", + "uuid": "^8.3.1" + } + }, + "@fluidframework/ink-previous": { + "version": "npm:@fluidframework/ink@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/ink/-/ink-0.58.2000.tgz", + "integrity": "sha512-/NCVeQvRYTkB7696vWhq4wEh6fSf0Kgz/X7RFxHDEgWIMWOG8SThBmcHUlKKbwHafQgj4e3EhKR4L2H5/0IZEg==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/shared-object-base": "^0.58.2000", + "uuid": "^8.3.1" + } + }, + "@fluidframework/local-driver": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/local-driver/-/local-driver-0.58.2002.tgz", + "integrity": "sha512-isWt9q+0cj4uQosWU23qlh5xxYPX0XDOJjCWbSZ66bpAaSMUXRXUtq+SBSPcdU/u+H2bN/fKkBM5U5d6VPfc0A==", "requires": { "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.44.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@fluidframework/runtime-definitions": "^0.55.0", - "@types/node": "^14.18.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-base": "^0.58.2002", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/routerlicious-driver": "^0.58.2002", + "@fluidframework/server-local-server": "^0.1035.1000", + "@fluidframework/server-services-client": "^0.1035.1000", + "@fluidframework/server-services-core": "^0.1035.1000", + "@fluidframework/server-test-utils": "^0.1035.1000", + "jsrsasign": "^10.2.0", + "uuid": "^8.3.1" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.44.0.tgz", - "integrity": "sha512-aoKjRwEeIQ1IH38QfAYAO7pqA5vknUItl2mF2/EWhCVZaWoyBsMXU5SkC3u2d7OmtkyjSvqFzMmR+BVunehhsw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/core-interfaces": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.41.0.tgz", - "integrity": "sha512-1mA1W6brtWbBelQLFHIhcPQBW1GCHRQd+MnnhONV9v8ThF0yfK2lSQGTCEncGdSq0tkgEJKCP2gI9+jWrClNHw==" - }, "@fluidframework/driver-definitions": { - "version": "0.43.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.43.0.tgz", - "integrity": "sha512-71RblJOfO1oDBEV0U6eiKRdSu4sqECRzoNgfEG336o0qkW/Z7jCymb7R7BO6CxNfrSD2JRjAZFcPLxV6i4/brA==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" - } - }, - "@fluidframework/runtime-definitions": { - "version": "0.55.4", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.55.4.tgz", - "integrity": "sha512-FughDXN1Bd0IN7VCgeAdJ2rW1krIWmyWlWI/6OJhSxBHeAVUWrGWhzn+LSN1VpbwlOT1LUeAH8nZfqYlaaUTxQ==", - "requires": { - "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.44.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^14.18.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } } } }, - "@fluidframework/datastore-definitions-0.56.0": { - "version": "npm:@fluidframework/datastore-definitions@0.56.0", - "resolved": "https://registry.npmjs.org/@fluidframework/datastore-definitions/-/datastore-definitions-0.56.0.tgz", - "integrity": "sha512-FDyWDM6ukIUWR5PJLNo18ELsEsW8kk3uQDoo3VSf0i+7ZgVhfp3QD8zz3szZBeSqeU2/OFTXAGR2LhKazd5Wrg==", + "@fluidframework/local-driver-previous": { + "version": "npm:@fluidframework/local-driver@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/local-driver/-/local-driver-0.58.2000.tgz", + "integrity": "sha512-0pX+qSRzLX4fkwou0ek+Nd/pDpayCj20kdBBZDlKc0AJJWq7l0L1k0YnAqjaE6tQQAlQEo6uQMawM0/lQ9q97A==", "requires": { "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.45.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@fluidframework/runtime-definitions": "^0.56.0", - "@types/node": "^14.18.0" + "@fluidframework/driver-base": "^0.58.2000", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/routerlicious-driver": "^0.58.2000", + "@fluidframework/server-local-server": "^0.1035.1000", + "@fluidframework/server-services-client": "^0.1035.1000", + "@fluidframework/server-services-core": "^0.1035.1000", + "@fluidframework/server-test-utils": "^0.1035.1000", + "jsrsasign": "^10.2.0", + "uuid": "^8.3.1" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.45.0.tgz", - "integrity": "sha512-juwnf5uyTiya9ZupsF29xxrBZ4sWQ5YVctoacwu/44s98a+zctc2rChmakl26pmdk8i6dvLZzx7EVISWnNn4Kw==", + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.44.0", - "@fluidframework/protocol-definitions": "^0.1026.0" + "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, + } + } + }, + "@fluidframework/map": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/map/-/map-0.58.2002.tgz", + "integrity": "sha512-SSV4EJpeU0pbAoJxk0v8d1uMwSr2uWWvRU62Lhu65Yy7X+y4fJKB0QlItLOFKah5eqQKVlBrI1ZgMErIB0ibWA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/shared-object-base": "^0.58.2002", + "path-browserify": "^1.0.1" + } + }, + "@fluidframework/map-previous": { + "version": "npm:@fluidframework/map@0.58.1001", + "resolved": "https://registry.npmjs.org/@fluidframework/map/-/map-0.58.1001.tgz", + "integrity": "sha512-dl9/y1qbT5YR0QxibnXU58sc4hoVDd9bYBOZ8tipYZagJ6Z1is+eOq8bRoJx//dF7nGTjk650KRjLE798gRdhA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.1001", + "@fluidframework/driver-utils": "^0.58.1001", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.1001", + "@fluidframework/runtime-utils": "^0.58.1001", + "@fluidframework/shared-object-base": "^0.58.1001", + "path-browserify": "^1.0.1" + } + }, + "@fluidframework/matrix": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/matrix/-/matrix-0.58.2002.tgz", + "integrity": "sha512-60lSl2t5FTcZuF8u2EWSMqxzLWQTTt0ut4eQOc8eAwfZ4QRIgGUQp2qDq4mnUiANB4w6in8HSI+oQrB0UQvOJA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/merge-tree": "^0.58.2002", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/shared-object-base": "^0.58.2002", + "@fluidframework/telemetry-utils": "^0.58.2002", + "@tiny-calc/nano": "0.0.0-alpha.5", + "tslib": "^1.10.0" + } + }, + "@fluidframework/matrix-previous": { + "version": "npm:@fluidframework/matrix@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/matrix/-/matrix-0.58.2000.tgz", + "integrity": "sha512-v+me0KKb9gxx2qTdrjczahqixTewtCzhq84KlLwUMIhuvxDyRAkXSbnbUE9lAgiNg6oL2LTysJfwcv0u6evpUQ==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/merge-tree": "^0.58.2000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000", + "@fluidframework/shared-object-base": "^0.58.2000", + "@fluidframework/telemetry-utils": "^0.58.2000", + "@tiny-calc/nano": "0.0.0-alpha.5", + "tslib": "^1.10.0" + } + }, + "@fluidframework/merge-tree": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/merge-tree/-/merge-tree-0.58.2002.tgz", + "integrity": "sha512-phVUFtfDSo0z3xU5wQCYhZ9/DdFR/38kQYaiYRGa8SEb4rbWOOBq15FcXDs7omrJEff+JeWw7EjK0gI5W5P9YA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/shared-object-base": "^0.58.2002", + "@fluidframework/telemetry-utils": "^0.58.2002" + } + }, + "@fluidframework/merge-tree-previous": { + "version": "npm:@fluidframework/merge-tree@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/merge-tree/-/merge-tree-0.58.2000.tgz", + "integrity": "sha512-QHD0SlsCrp2wy6WvOwtJFf6ko0SLrMIJGNZOzlgh+Ljy06aEHH+tBt3Aej9kgxj19DrVnjhKBcDNhvNOvggRQQ==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000", + "@fluidframework/shared-object-base": "^0.58.2000", + "@fluidframework/telemetry-utils": "^0.58.2000" + } + }, + "@fluidframework/mocha-test-setup": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/mocha-test-setup/-/mocha-test-setup-0.58.2002.tgz", + "integrity": "sha512-PW5iUG8V696FkA/QjANxcrZvlDDMsqkls099c1E6pWkM5QcbYRafOjpvlCqjeuxkHI4y58XWxdvcnSyWng+4nw==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/test-driver-definitions": "^0.58.2002", + "mocha": "^8.4.0" + } + }, + "@fluidframework/mocha-test-setup-previous": { + "version": "npm:@fluidframework/mocha-test-setup@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/mocha-test-setup/-/mocha-test-setup-0.58.2000.tgz", + "integrity": "sha512-L2Dauas+BRml774Fz9NECbDYy1Tu/ALZYQXwdxg5E/03R3tUtbEfbPPzQYKxD7JjVzl2kpYs9mFgkjLApYfvWA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/test-driver-definitions": "^0.58.2000", + "mocha": "^8.4.0" + } + }, + "@fluidframework/odsp-doclib-utils": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/odsp-doclib-utils/-/odsp-doclib-utils-0.58.2002.tgz", + "integrity": "sha512-nR5fkmMyrCtJAa2eBYpBl89lNWKtgo1TQ0aVRg0jhkfV22ew6C56BxZq3r//pFtzpSoY3vAA6faxRr72ibGl9w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/odsp-driver-definitions": "^0.58.2002", + "@fluidframework/telemetry-utils": "^0.58.2002", + "node-fetch": "^2.6.1" + }, + "dependencies": { "@fluidframework/driver-definitions": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.44.0.tgz", - "integrity": "sha512-ru8rcc1qkKZz/76MVwSjF1c/uzSD2Rq5512fCv6VxvNJW6SUYUbmKcRHIMchxnEDpIFJVpsAruyK2aHZUdR2eA==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" + "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, - "@fluidframework/runtime-definitions": { - "version": "0.56.11", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.56.11.tgz", - "integrity": "sha512-3bZpZK7OrBugfrXWCTfyFROCYEphy1Sne4pIjHlZPi3KwXsPyEynSvln5NObaT1IYRMEDyvUEFwvyZa63sOlwg==", + } + } + }, + "@fluidframework/odsp-doclib-utils-previous": { + "version": "npm:@fluidframework/odsp-doclib-utils@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/odsp-doclib-utils/-/odsp-doclib-utils-0.58.2000.tgz", + "integrity": "sha512-fB1Nqjq+BYMa5rUzJ6cPA85mMuRmaO3+7SLvTKkxZCiGQh3fq1o71uddNs9NRthYc/BG9phiaeslG5ew40+vwA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/odsp-driver-definitions": "^0.58.2000", + "@fluidframework/telemetry-utils": "^0.58.2000", + "node-fetch": "^2.6.1" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { - "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.45.0", + "@fluidframework/common-definitions": "^0.20.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.44.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^14.18.0" + "@fluidframework/protocol-definitions": "^0.1027.1000" } } } }, - "@fluidframework/datastore-definitions-0.57.0": { - "version": "npm:@fluidframework/datastore-definitions@0.57.0", - "resolved": "https://registry.npmjs.org/@fluidframework/datastore-definitions/-/datastore-definitions-0.57.0.tgz", - "integrity": "sha512-ItOZsrjwEuJTAz9Btfim7V/zB8Q1wSuAEf6l9GiSbDmR/jqAgx6ESQDi77Wta4Gt2F3S6MbMIXlgMnDiF754Hg==", + "@fluidframework/odsp-driver": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/odsp-driver/-/odsp-driver-0.58.2002.tgz", + "integrity": "sha512-e+WS5EEufE8XhRC+KlMQsQHSCY2OTkIwj07YKWZb+q5PK2zLXoCDHa5gc3hP17OVzqLasZZEIWfaNInM28IG4A==", "requires": { "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.46.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@fluidframework/runtime-definitions": "^0.57.0", - "@types/node": "^14.18.0" + "@fluidframework/driver-base": "^0.58.2002", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/odsp-doclib-utils": "^0.58.2002", + "@fluidframework/odsp-driver-definitions": "^0.58.2002", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/telemetry-utils": "^0.58.2002", + "abort-controller": "^3.0.0", + "node-fetch": "^2.6.1", + "socket.io-client": "^4.4.1", + "uuid": "^8.3.1" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.46.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.46.0.tgz", - "integrity": "sha512-wp1X1Qt9vNDlYKlBtDQvi2QtrL3EnRzeSj/M728ShdLT4ntkPlsKCeYTCUicKNzI5XQ340aLnxayU6/l0n7NiA==", + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.44.0", - "@fluidframework/protocol-definitions": "^0.1026.0" + "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, + } + } + }, + "@fluidframework/odsp-driver-definitions": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/odsp-driver-definitions/-/odsp-driver-definitions-0.58.2002.tgz", + "integrity": "sha512-OD0KRyHrXrHfZB3W4+D+ai1wTId0U5iuCNC1wsD4bvgvK23sLQSEV/q02b04g4GrMQCPLYHf6Vm/QpjTodu6xA==", + "requires": { + "@fluidframework/driver-definitions": "^0.45.1000" + }, + "dependencies": { "@fluidframework/driver-definitions": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.44.0.tgz", - "integrity": "sha512-ru8rcc1qkKZz/76MVwSjF1c/uzSD2Rq5512fCv6VxvNJW6SUYUbmKcRHIMchxnEDpIFJVpsAruyK2aHZUdR2eA==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" + "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, - "@fluidframework/runtime-definitions": { - "version": "0.57.2", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.57.2.tgz", - "integrity": "sha512-zgtsOlcOShZmqnHWl5++8RvsZsYz0YfYDFFlqUxJeWATwgriowPLnuKbBpfKhowORg++mIXXkB2QKero295qzg==", + } + } + }, + "@fluidframework/odsp-driver-definitions-previous": { + "version": "npm:@fluidframework/odsp-driver-definitions@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/odsp-driver-definitions/-/odsp-driver-definitions-0.58.2000.tgz", + "integrity": "sha512-rncwQYQC01fH/A8/Gho/EOOv8vasqfzI+40w0qB4eux5gYEvPuN6nYW4baJlINNfeBHahNnas3nSyJv3WtLNzg==", + "requires": { + "@fluidframework/driver-definitions": "^0.45.1000" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { - "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.46.0", + "@fluidframework/common-definitions": "^0.20.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.44.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^14.18.0" + "@fluidframework/protocol-definitions": "^0.1027.1000" } } } }, - "@fluidframework/datastore-definitions-0.58.1000": { - "version": "npm:@fluidframework/datastore-definitions@0.58.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/datastore-definitions/-/datastore-definitions-0.58.1000.tgz", - "integrity": "sha512-+VrQ+XkMGEFRyrOEy1nfCmhJMQs60GJOCe1TvSaTD+nBMiL3iotnjmYzD+vj9UyHavAXD3O06rv1DWB1xf5J1w==", + "@fluidframework/odsp-driver-previous": { + "version": "npm:@fluidframework/odsp-driver@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/odsp-driver/-/odsp-driver-0.58.2000.tgz", + "integrity": "sha512-RQF4xI+fgYOKXSJnuQ4GueFcUA4gdo1zq+vcStcElipajqJfpkYcqtPHws5kMqb0kdtJ2UpjEz4yAvHl4UqTsQ==", "requires": { "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.47.1000", "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-base": "^0.58.2000", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/odsp-doclib-utils": "^0.58.2000", + "@fluidframework/odsp-driver-definitions": "^0.58.2000", + "@fluidframework/protocol-base": "^0.1035.1000", "@fluidframework/protocol-definitions": "^0.1027.1000", - "@fluidframework/runtime-definitions": "^0.58.1000", - "@types/node": "^14.18.0" + "@fluidframework/telemetry-utils": "^0.58.2000", + "abort-controller": "^3.0.0", + "node-fetch": "^2.6.1", + "socket.io-client": "^4.4.1", + "uuid": "^8.3.1" }, "dependencies": { "@fluidframework/driver-definitions": { @@ -3002,53 +3337,84 @@ "@fluidframework/core-interfaces": "^0.42.0", "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, - "@fluidframework/runtime-definitions": { - "version": "0.58.2002", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.58.2002.tgz", - "integrity": "sha512-6a/P130KbBGFZ2mqRT7GhDQG3vLqyIO9fth+gFDMVHm8OjP7xmjgl1rOtfKHfqf0+PbBHl0S1zIpohLo27M3qg==", + } + } + }, + "@fluidframework/odsp-urlresolver": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/odsp-urlresolver/-/odsp-urlresolver-0.58.2002.tgz", + "integrity": "sha512-0Fsejx1cw5qDWxEGTehsOaCXSZCk1korTPLQMmeQ4UGLYOIy19ZHarmSRZAs9EsnFc22UHYuGjnzCjhTPXMJHA==", + "requires": { + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/odsp-driver": "^0.58.2002", + "@fluidframework/odsp-driver-definitions": "^0.58.2002" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { - "@fluidframework/common-definitions": "^0.20.1", - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/common-definitions": "^0.20.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.45.1000", - "@fluidframework/protocol-definitions": "^0.1027.1000", - "@types/node": "^14.18.0" + "@fluidframework/protocol-definitions": "^0.1027.1000" } } } }, - "@fluidframework/driver-definitions": { - "version": "0.45.2000-58205", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.2000-58205.tgz", - "integrity": "sha512-ZFTryk6WqZTGVaoqTjjMCU4PDj8P0YGF/kTYSFZU/ST1hnk8ZdUdBkIwYRH5ROVXqAfyW5AeKoW/0xm0kWNugA==", + "@fluidframework/odsp-urlresolver-previous": { + "version": "npm:@fluidframework/odsp-urlresolver@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/odsp-urlresolver/-/odsp-urlresolver-0.58.2000.tgz", + "integrity": "sha512-Jx2CBefQmbldo+xTkzU1xgVVJiG7kP+F694cEPsLatqDNPtTve2vaXizX19waanOQtGfki2xC/GuX7G6DGthtg==", "requires": { - "@fluidframework/common-definitions": "^0.20.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1027.1000" + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/odsp-driver": "^0.58.2000", + "@fluidframework/odsp-driver-definitions": "^0.58.2000" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } } }, - "@fluidframework/eslint-config-fluid": { - "version": "0.27.0", - "resolved": "https://registry.npmjs.org/@fluidframework/eslint-config-fluid/-/eslint-config-fluid-0.27.0.tgz", - "integrity": "sha512-wNc1E43pFYTW397CMPxtF8NrYzcY8N+QpHTcwTHnlMWbzAhd8Hq7frPhLmbny3biUwppKv6dI6ZY5k5CQ6B4qw==", + "@fluidframework/ordered-collection": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/ordered-collection/-/ordered-collection-0.58.2002.tgz", + "integrity": "sha512-9/6DTEslue86YqpV+DPI1S0/D2ug5IOdlBPhT+8sd5HE7psN0Q2RAmi/uWTsCiqOlp9yViVxYsVHhGnVfklqVA==", "requires": { - "@rushstack/eslint-config": "^2.5.1", - "@rushstack/eslint-patch": "^1.1.0", - "@typescript-eslint/eslint-plugin": "~5.9.0", - "@typescript-eslint/parser": "~5.9.0", - "eslint-plugin-editorconfig": "~3.2.0", - "eslint-plugin-eslint-comments": "~3.2.0", - "eslint-plugin-import": "~2.25.4", - "eslint-plugin-react": "~7.28.0", - "eslint-plugin-unicorn": "~40.0.0" + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/shared-object-base": "^0.58.2002", + "uuid": "^8.3.1" } }, - "@fluidframework/gitresources": { - "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", - "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + "@fluidframework/ordered-collection-previous": { + "version": "npm:@fluidframework/ordered-collection@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/ordered-collection/-/ordered-collection-0.58.2000.tgz", + "integrity": "sha512-IjFmtDNHp8HiDcGwUop0+9pamc/Y1kA6pyK+oQ2bB8/8XRMpMsqwhSOrJnqX6VrtzUUF9iMj+hNJ5b42cvL6eQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000", + "@fluidframework/shared-object-base": "^0.58.2000", + "uuid": "^8.3.1" + } }, "@fluidframework/protocol-base": { "version": "0.1035.1000", @@ -3069,420 +3435,253 @@ "@fluidframework/common-definitions": "^0.20.0" } }, - "@fluidframework/runtime-definitions": { - "version": "0.51.3", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.51.3.tgz", - "integrity": "sha512-f//lYnlhc+3ZtzPkiFyGA8jvP3ipKInHTC4yXwcbuRGNk18MMzfu7d0ZuLWy2n4cZa9EymzGc5v1e7RvPKqIYA==", + "@fluidframework/register-collection": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/register-collection/-/register-collection-0.58.2002.tgz", + "integrity": "sha512-mHiFqpaviHapsCr4Fn0lxQTMQoRi4UVhAArUFMMyq8SfblFxLGADPzAxWfHJtJFi7UWclFwmRh6OvMM0lffXIg==", "requires": { - "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.41.0", - "@fluidframework/core-interfaces": "^0.40.0", - "@fluidframework/driver-definitions": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1025.0", - "@types/node": "^12.19.0" - }, - "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.41.0.tgz", - "integrity": "sha512-3MrM3RA82azqJ9gHELCVjYm6uxRB5KJRxWhY0d/oYrj2OAme3MS3PI/mlHbpghlCt2pMpRaghV0m4NILYP/fmw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.40.0", - "@fluidframework/driver-definitions": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1025.0" - } - }, - "@fluidframework/core-interfaces": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.40.0.tgz", - "integrity": "sha512-/QC26qfNamlHox3+YkfWz7q14cp4SA5CEcdi7vxytuDXlhrWOpNTCLT+BLXI4AxTO3KDTSqrYJTUTMgNGOfYng==" - }, - "@fluidframework/driver-definitions": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.41.0.tgz", - "integrity": "sha512-EwZEjHxNp9uQiNZTJhf0TQjsCNCYs4s14aIVC21vh3YtI2j2mh3Aeektzed/wwS+wcVc61qgmfOXBF18GnrK4Q==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.40.0", - "@fluidframework/protocol-definitions": "^0.1025.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1025.1", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1025.1.tgz", - "integrity": "sha512-xlMWlDb+5xYzxEN2Z2SxOy0a8Im7IOWhBEYfaXCroHUrjn6yXw2BbVqGK4D97loyBdLhWYAqUnIErwJEciezPw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" - } - }, - "@types/node": { - "version": "12.20.47", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.47.tgz", - "integrity": "sha512-BzcaRsnFuznzOItW1WpQrDHM7plAa7GIDMZ6b5pnMbkqEtM/6WCOhvZar39oeMQP79gwvFUWjjptE7/KGcNqFg==" - } + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/shared-object-base": "^0.58.2002" } }, - "@fluidframework/runtime-definitions-0.51.1": { - "version": "npm:@fluidframework/runtime-definitions@0.51.1", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.51.1.tgz", - "integrity": "sha512-TuXInf3kk4e/MOKdtGfGiJ/CalTaQMv22n/m7jWG5n1Kchmh7vcw0AIYhUnDwGXYOaV0OLwq4f3Np4qkEI1F3g==", + "@fluidframework/register-collection-previous": { + "version": "npm:@fluidframework/register-collection@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/register-collection/-/register-collection-0.58.2000.tgz", + "integrity": "sha512-fh2za2JyLg+jIuh6wTBfRPGkHdLegz9qKIMujNA0uJjsdQ7thOJAYDlT4oJxOTIDGpy8jkeVslCapFTMvZqoxg==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/shared-object-base": "^0.58.2000" + } + }, + "@fluidframework/replay-driver": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/replay-driver/-/replay-driver-0.58.2002.tgz", + "integrity": "sha512-/jxq71S3Cs+siDkUSxRXqZ216aXgTJP/tZ2bYFW6APD9WWN0A7S81KBAfmqBCVgpUSOMKiRpSmh6sBNUV4Ystw==", "requires": { "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.41.0", - "@fluidframework/core-interfaces": "^0.40.0", - "@fluidframework/driver-definitions": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1025.0", - "@types/node": "^12.19.0" + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/telemetry-utils": "^0.58.2002" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.41.0.tgz", - "integrity": "sha512-3MrM3RA82azqJ9gHELCVjYm6uxRB5KJRxWhY0d/oYrj2OAme3MS3PI/mlHbpghlCt2pMpRaghV0m4NILYP/fmw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.40.0", - "@fluidframework/driver-definitions": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1025.0" - } - }, - "@fluidframework/core-interfaces": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.40.0.tgz", - "integrity": "sha512-/QC26qfNamlHox3+YkfWz7q14cp4SA5CEcdi7vxytuDXlhrWOpNTCLT+BLXI4AxTO3KDTSqrYJTUTMgNGOfYng==" - }, "@fluidframework/driver-definitions": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.41.0.tgz", - "integrity": "sha512-EwZEjHxNp9uQiNZTJhf0TQjsCNCYs4s14aIVC21vh3YtI2j2mh3Aeektzed/wwS+wcVc61qgmfOXBF18GnrK4Q==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.40.0", - "@fluidframework/protocol-definitions": "^0.1025.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1025.1", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1025.1.tgz", - "integrity": "sha512-xlMWlDb+5xYzxEN2Z2SxOy0a8Im7IOWhBEYfaXCroHUrjn6yXw2BbVqGK4D97loyBdLhWYAqUnIErwJEciezPw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, - "@types/node": { - "version": "12.20.47", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.47.tgz", - "integrity": "sha512-BzcaRsnFuznzOItW1WpQrDHM7plAa7GIDMZ6b5pnMbkqEtM/6WCOhvZar39oeMQP79gwvFUWjjptE7/KGcNqFg==" } } }, - "@fluidframework/runtime-definitions-0.52.0": { - "version": "npm:@fluidframework/runtime-definitions@0.52.0", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.52.0.tgz", - "integrity": "sha512-UW6w7SCqEulqASF8iNPHIEe/ws3WXwh/KY93QyXYEe/qndAjCE0lh0bmJxfpHxstQW49FbfRc6sfiDcMBlGSQg==", + "@fluidframework/replay-driver-previous": { + "version": "npm:@fluidframework/replay-driver@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/replay-driver/-/replay-driver-0.58.2000.tgz", + "integrity": "sha512-jRhDXFMf2x/FYTzFILaMumFwmVFUMdkg7YHwizr+TFB74gSiYepwLhx0b/2At9Y2ekzf+rqUseh2ezDNW6tRgA==", "requires": { "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.42.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^12.19.0" + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/telemetry-utils": "^0.58.2000" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.42.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.42.0.tgz", - "integrity": "sha512-xSGoZMJ6dFF9Y+oiuG2Vi9N/7VR1pHNYMSkumVmhX9hGp7cLqqYKA+stugEpb14g4GL3jTz5mx0taXEMUo1LSw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/core-interfaces": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.41.0.tgz", - "integrity": "sha512-1mA1W6brtWbBelQLFHIhcPQBW1GCHRQd+MnnhONV9v8ThF0yfK2lSQGTCEncGdSq0tkgEJKCP2gI9+jWrClNHw==" - }, "@fluidframework/driver-definitions": { - "version": "0.42.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.42.0.tgz", - "integrity": "sha512-9582VbtrToFvBZslCMglGP6UvM3QhEqt1dVC2McT54q3RLNvmiNLXcXDyToJxds3/+0jhRdgtAvA7Hlr1Fw5tg==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, - "@types/node": { - "version": "12.20.47", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.47.tgz", - "integrity": "sha512-BzcaRsnFuznzOItW1WpQrDHM7plAa7GIDMZ6b5pnMbkqEtM/6WCOhvZar39oeMQP79gwvFUWjjptE7/KGcNqFg==" } } }, - "@fluidframework/runtime-definitions-0.53.0": { - "version": "npm:@fluidframework/runtime-definitions@0.53.0", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.53.0.tgz", - "integrity": "sha512-+CpPTiNuWh+gSteC/UtN9AT06zzvfue5ogYjC+IME3hcayCzMZdJcb9kLfpsn/IoyDqWq66Vtr5pEhxcHz0t6Q==", + "@fluidframework/request-handler": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/request-handler/-/request-handler-0.58.2002.tgz", + "integrity": "sha512-d0/CGHOuAwSA6UhI7WpHnxrkV7DDNJ9vbFpG/1fUh4ovBtd7D65am0Ah7gD2h9NfYoLOapTk6BUJtZ9/qr1hiw==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-runtime-definitions": "^0.58.2002", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002" + } + }, + "@fluidframework/request-handler-previous": { + "version": "npm:@fluidframework/request-handler@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/request-handler/-/request-handler-0.58.2000.tgz", + "integrity": "sha512-dyTY2tAGpUGzDDuBwY3qdLVvqM0Yp7KS63ny3eTFctSYu0+NaoRpQfa48pxZ8gMhfDLA5t2NpWS6vb1/m57pow==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-runtime-definitions": "^0.58.2000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000" + } + }, + "@fluidframework/routerlicious-driver": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/routerlicious-driver/-/routerlicious-driver-0.58.2002.tgz", + "integrity": "sha512-/WEm5uHC46TWRHJ90kopG/AE+Uz9R1va5AIGlQrD4iFDdRA4JXHbgD+QJmlt93eF9YRqOgd2sQKRAu8U0zwmTg==", "requires": { "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.43.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^12.19.0" + "@fluidframework/driver-base": "^0.58.2002", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/server-services-client": "^0.1035.1000", + "@fluidframework/telemetry-utils": "^0.58.2002", + "cross-fetch": "^3.1.5", + "json-stringify-safe": "5.0.1", + "socket.io-client": "^4.4.1", + "url-parse": "^1.5.8", + "uuid": "^8.3.1" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.43.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.43.0.tgz", - "integrity": "sha512-MzVGTRJ2WxiCXmLTlCmkrLjizRDC2Dht6fFYEvyYGw+92xt3QZHe3D0Sjd389dZe1kyMRlhsFAyuKytEPf7N4w==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/core-interfaces": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.41.0.tgz", - "integrity": "sha512-1mA1W6brtWbBelQLFHIhcPQBW1GCHRQd+MnnhONV9v8ThF0yfK2lSQGTCEncGdSq0tkgEJKCP2gI9+jWrClNHw==" - }, "@fluidframework/driver-definitions": { - "version": "0.43.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.43.0.tgz", - "integrity": "sha512-71RblJOfO1oDBEV0U6eiKRdSu4sqECRzoNgfEG336o0qkW/Z7jCymb7R7BO6CxNfrSD2JRjAZFcPLxV6i4/brA==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } - }, - "@types/node": { - "version": "12.20.47", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.47.tgz", - "integrity": "sha512-BzcaRsnFuznzOItW1WpQrDHM7plAa7GIDMZ6b5pnMbkqEtM/6WCOhvZar39oeMQP79gwvFUWjjptE7/KGcNqFg==" } } }, - "@fluidframework/runtime-definitions-0.54.0": { - "version": "npm:@fluidframework/runtime-definitions@0.54.0", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.54.0.tgz", - "integrity": "sha512-HTR1X1IB4GptPH0MiKhyyWd8eAGlyj74d3Me1KohU8EuB2J/YQgpKAUJCAqEtHCngjgqgPZj2Skz7c7W8jPuxw==", + "@fluidframework/routerlicious-driver-previous": { + "version": "npm:@fluidframework/routerlicious-driver@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/routerlicious-driver/-/routerlicious-driver-0.58.2000.tgz", + "integrity": "sha512-SX+I+M91YsYvgBqaEMSoNTS0/DGieRTUDMzbyEIYV4l8F7hy/sUQyKkA6wSyk028I0L60qFpHuvff79BvbcQvA==", "requires": { "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.44.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^14.18.0" + "@fluidframework/driver-base": "^0.58.2000", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/server-services-client": "^0.1035.1000", + "@fluidframework/telemetry-utils": "^0.58.2000", + "cross-fetch": "^3.1.5", + "json-stringify-safe": "5.0.1", + "socket.io-client": "^4.4.1", + "url-parse": "^1.5.8", + "uuid": "^8.3.1" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.44.0.tgz", - "integrity": "sha512-aoKjRwEeIQ1IH38QfAYAO7pqA5vknUItl2mF2/EWhCVZaWoyBsMXU5SkC3u2d7OmtkyjSvqFzMmR+BVunehhsw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/core-interfaces": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.41.0.tgz", - "integrity": "sha512-1mA1W6brtWbBelQLFHIhcPQBW1GCHRQd+MnnhONV9v8ThF0yfK2lSQGTCEncGdSq0tkgEJKCP2gI9+jWrClNHw==" - }, "@fluidframework/driver-definitions": { - "version": "0.43.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.43.0.tgz", - "integrity": "sha512-71RblJOfO1oDBEV0U6eiKRdSu4sqECRzoNgfEG336o0qkW/Z7jCymb7R7BO6CxNfrSD2JRjAZFcPLxV6i4/brA==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } } } }, - "@fluidframework/runtime-definitions-0.55.0": { - "version": "npm:@fluidframework/runtime-definitions@0.55.0", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.55.0.tgz", - "integrity": "sha512-sqrveJ/09N/cAPBM+0lrxFz3+O545kAh/iLMLLoDtAbNpJAPcZUL78Jep/Zd9aYcN4IeqA+mGUD9tTDKrsT7AQ==", + "@fluidframework/routerlicious-host-previous": { + "version": "npm:@fluidframework/routerlicious-host@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/routerlicious-host/-/routerlicious-host-0.58.2000.tgz", + "integrity": "sha512-jvYyVyYDAh0VqShKlPMn/EtNse0tIxS696DEe4cHtAGEt3FTQHDQCycQpumASJn4aLQJuobvXZL4LelHFuWx8g==", "requires": { - "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.44.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^14.18.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "axios": "^0.26.0" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.44.0.tgz", - "integrity": "sha512-aoKjRwEeIQ1IH38QfAYAO7pqA5vknUItl2mF2/EWhCVZaWoyBsMXU5SkC3u2d7OmtkyjSvqFzMmR+BVunehhsw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/driver-definitions": "^0.43.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/core-interfaces": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/core-interfaces/-/core-interfaces-0.41.0.tgz", - "integrity": "sha512-1mA1W6brtWbBelQLFHIhcPQBW1GCHRQd+MnnhONV9v8ThF0yfK2lSQGTCEncGdSq0tkgEJKCP2gI9+jWrClNHw==" - }, "@fluidframework/driver-definitions": { - "version": "0.43.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.43.0.tgz", - "integrity": "sha512-71RblJOfO1oDBEV0U6eiKRdSu4sqECRzoNgfEG336o0qkW/Z7jCymb7R7BO6CxNfrSD2JRjAZFcPLxV6i4/brA==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } } } }, - "@fluidframework/runtime-definitions-0.56.0": { - "version": "npm:@fluidframework/runtime-definitions@0.56.0", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.56.0.tgz", - "integrity": "sha512-IDSeCG7rWCa/IKpJRQ9h+irHmqxyml6IwpbuyCAd92QAi46po0Q6cN4fKn09iR+NXmkXMp2AYRnMhI+FIX3Dkw==", + "@fluidframework/routerlicious-urlresolver-previous": { + "version": "npm:@fluidframework/routerlicious-urlresolver@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/routerlicious-urlresolver/-/routerlicious-urlresolver-0.58.2000.tgz", + "integrity": "sha512-djheGUfuMO3tJ//pAAXWLZrR2vM8vhoC23LR0GRhhCsU6DkzhHApiXSbcFnaYh5lLZ61M7J4N1FUwDhPGGfGUg==", "requires": { - "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.45.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.44.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^14.18.0" + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "nconf": "^0.11.0" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.45.0.tgz", - "integrity": "sha512-juwnf5uyTiya9ZupsF29xxrBZ4sWQ5YVctoacwu/44s98a+zctc2rChmakl26pmdk8i6dvLZzx7EVISWnNn4Kw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.44.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, "@fluidframework/driver-definitions": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.44.0.tgz", - "integrity": "sha512-ru8rcc1qkKZz/76MVwSjF1c/uzSD2Rq5512fCv6VxvNJW6SUYUbmKcRHIMchxnEDpIFJVpsAruyK2aHZUdR2eA==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" + "@fluidframework/protocol-definitions": "^0.1027.1000" } } } }, - "@fluidframework/runtime-definitions-0.57.0": { - "version": "npm:@fluidframework/runtime-definitions@0.57.0", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.57.0.tgz", - "integrity": "sha512-KVVyITvE/+mumkcMSjgobju2NGLkfMuBdB5rxJ0g3ce4/wkuFI5+eU06+kFwPGsHF8p6JKxqWCFtpAfrgZln6A==", + "@fluidframework/runtime-definitions": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.58.2002.tgz", + "integrity": "sha512-6a/P130KbBGFZ2mqRT7GhDQG3vLqyIO9fth+gFDMVHm8OjP7xmjgl1rOtfKHfqf0+PbBHl0S1zIpohLo27M3qg==", "requires": { "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.46.0", + "@fluidframework/container-definitions": "^0.47.1000", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.44.0", - "@fluidframework/protocol-definitions": "^0.1026.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", "@types/node": "^14.18.0" }, "dependencies": { - "@fluidframework/container-definitions": { - "version": "0.46.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.46.0.tgz", - "integrity": "sha512-wp1X1Qt9vNDlYKlBtDQvi2QtrL3EnRzeSj/M728ShdLT4ntkPlsKCeYTCUicKNzI5XQ340aLnxayU6/l0n7NiA==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.44.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, "@fluidframework/driver-definitions": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.44.0.tgz", - "integrity": "sha512-ru8rcc1qkKZz/76MVwSjF1c/uzSD2Rq5512fCv6VxvNJW6SUYUbmKcRHIMchxnEDpIFJVpsAruyK2aHZUdR2eA==", + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", "requires": { "@fluidframework/common-definitions": "^0.20.0", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1026.0", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1026.0.tgz", - "integrity": "sha512-dDjLGrpZd02NU9oXEzgQlW50EDt75v2CSU90xhg4S1VkHHuNrQfc/jEEeYNAVqac9duPutcDK4pP1n4AESYjlw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0" + "@fluidframework/protocol-definitions": "^0.1027.1000" } } } }, - "@fluidframework/runtime-definitions-0.58.1000": { - "version": "npm:@fluidframework/runtime-definitions@0.58.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.58.1000.tgz", - "integrity": "sha512-UoM3rBvE3AracYuEYdvgM4LrBVpPE0D2FiI05K4rCllhkrlfTWfHCOSqSVWskBiqCPhYt3xWnsSTiaTFgqQ79A==", + "@fluidframework/runtime-definitions-previous": { + "version": "npm:@fluidframework/runtime-definitions@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/runtime-definitions/-/runtime-definitions-0.58.2000.tgz", + "integrity": "sha512-ZVfQHlLw95KGd73AAQpLzcHvBbF3TdjbSKmdV9KlPXLRdwHVvdhjoOoq6sUZq0EWRRgAaelkJldg9nfIyjFhsw==", "requires": { "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/common-utils": "^0.32.1", @@ -3505,6 +3704,78 @@ } } }, + "@fluidframework/runtime-utils": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/runtime-utils/-/runtime-utils-0.58.2002.tgz", + "integrity": "sha512-Ixrqq/Gxq2OuPYDLszdPZXd1B9TtiofPjpGxiQcRknOiGNEdRUhOcLdv/+j7gRB2b1LoX7J+xw/93arboD3KdA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-runtime-definitions": "^0.58.2002", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/garbage-collector": "^0.58.2002", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/telemetry-utils": "^0.58.2002" + } + }, + "@fluidframework/runtime-utils-previous": { + "version": "npm:@fluidframework/runtime-utils@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/runtime-utils/-/runtime-utils-0.58.2000.tgz", + "integrity": "sha512-lcXaGomihIYoR7lg11L/Ay531KP5U0RHr7ePp7dprjVpsRNXhwezoJA47SR/CFdNqsTFBps+Um2Z3fFFjlFyAw==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-runtime-definitions": "^0.58.2000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/garbage-collector": "^0.58.2000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/telemetry-utils": "^0.58.2000" + } + }, + "@fluidframework/sequence": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/sequence/-/sequence-0.58.2002.tgz", + "integrity": "sha512-pOGvIRy1zQr9wtX60QUbwsxNiXnkWql4hVyBHVbv7JBbJD8vSfmyblVyD+ddUm2VPXyAaKLOQFWRpngTQBzUgw==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/merge-tree": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/shared-object-base": "^0.58.2002", + "@fluidframework/telemetry-utils": "^0.58.2002", + "uuid": "^8.3.1" + } + }, + "@fluidframework/sequence-previous": { + "version": "npm:@fluidframework/sequence@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/sequence/-/sequence-0.58.2000.tgz", + "integrity": "sha512-UTDDLq4O0awxr8Nd5boanOihSdh+cAO9DwJXGCMLfd4G9McpJIz4hfHAn4oYNkB9aBiv5/S0hyjP0IcNyYQEWA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/merge-tree": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000", + "@fluidframework/shared-object-base": "^0.58.2000", + "@fluidframework/telemetry-utils": "^0.58.2000", + "uuid": "^8.3.1" + } + }, "@fluidframework/server-lambdas": { "version": "0.1035.1000", "resolved": "https://registry.npmjs.org/@fluidframework/server-lambdas/-/server-lambdas-0.1035.1000.tgz", @@ -3798,12 +4069,810 @@ "uuid": "^8.3.1" } }, + "@fluidframework/shared-object-base": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/shared-object-base/-/shared-object-base-0.58.2002.tgz", + "integrity": "sha512-z7oSqc9G34C4nZHnag38zDoe0T4hbh3QcvghJALjEDxdRJJWeHNYMVucOhaAz2WOaCC8uKxPZ4F0XSxWRIeXzw==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-runtime": "^0.58.2002", + "@fluidframework/container-utils": "^0.58.2002", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore": "^0.58.2002", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/telemetry-utils": "^0.58.2002", + "uuid": "^8.3.1" + } + }, + "@fluidframework/shared-object-base-previous": { + "version": "npm:@fluidframework/shared-object-base@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/shared-object-base/-/shared-object-base-0.58.2000.tgz", + "integrity": "sha512-dAlx7Qz1yZ5Bwd2nWLIsvJwxcYqq2TQSC+r1SzATZIAlvoPvsR0PU+nNz/PLh+tTjweb6OoS91RQ6jdTTuWPRQ==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-runtime": "^0.58.2000", + "@fluidframework/container-utils": "^0.58.2000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore": "^0.58.2000", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000", + "@fluidframework/telemetry-utils": "^0.58.2000", + "uuid": "^8.3.1" + } + }, + "@fluidframework/shared-summary-block-previous": { + "version": "npm:@fluidframework/shared-summary-block@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/shared-summary-block/-/shared-summary-block-0.58.2000.tgz", + "integrity": "sha512-xlyisI2FpMs1kQTGHzkAHV9bSHLYr0vgdxjz9mDi7eoCDJXZKtIC5qOA2qkZagRXKAJXblfUwxOXyNEqpWj+Zw==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/shared-object-base": "^0.58.2000" + } + }, + "@fluidframework/synthesize": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/synthesize/-/synthesize-0.58.2002.tgz", + "integrity": "sha512-8eHyC6YyZMxlghKZy2EE3jETr5jYsaXqTOveYqBvSf0iAUC/rIPSHhNkNnDM3L1/ljaLwo2KhGYxj4nuKODBYA==" + }, + "@fluidframework/synthesize-previous": { + "version": "npm:@fluidframework/synthesize@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/synthesize/-/synthesize-0.58.2000.tgz", + "integrity": "sha512-EMUz8EmEyuT+fHr875kqFhot1QB9E5Cn/dD/l5ifM7Zm1MRxLYDJQaX/e3Nb54aXKsYjHwWx7T1DLhmvsrNrhA==" + }, + "@fluidframework/telemetry-utils": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/telemetry-utils/-/telemetry-utils-0.58.2002.tgz", + "integrity": "sha512-8JQhGvO+vf/G6mYK0fbgD4mcDe1afLkCOuAnfLD+pZgaxV1Gz2FpjLam0enjXI4/9/1ORRqvVg1MDEYatyN7MA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "debug": "^4.1.1", + "events": "^3.1.0", + "uuid": "^8.3.1" + } + }, + "@fluidframework/telemetry-utils-previous": { + "version": "npm:@fluidframework/telemetry-utils@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/telemetry-utils/-/telemetry-utils-0.58.2000.tgz", + "integrity": "sha512-QwftYjaNIzqkK1SKvF9XXjmpOal30Us0fO+X8Idoga4Zz3xSl4ReJxC+U99nFbkSzeLDsURaDNYcqMzSHXMLLw==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "debug": "^4.1.1", + "events": "^3.1.0", + "uuid": "^8.3.1" + } + }, + "@fluidframework/test-client-utils-previous": { + "version": "npm:@fluidframework/test-client-utils@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/test-client-utils/-/test-client-utils-0.58.2000.tgz", + "integrity": "sha512-lWyyk/ewD0ZQmwpU95tarzac41kVhauKt+Q2kycz3FSI7oiB1amyYHLQrg5sVNCVfhuo5edl+zfT8RPMhfHCuw==", + "requires": { + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/test-runtime-utils": "^0.58.2000", + "sillyname": "^0.1.0" + } + }, + "@fluidframework/test-driver-definitions": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/test-driver-definitions/-/test-driver-definitions-0.58.2002.tgz", + "integrity": "sha512-zSgxsFtUdMnPaSZItNR4Nrqbyp8K+d2XCG6DlfZWUoNYvEWiiVLJQdJyaOewdxoVIlRcUMClxLpt+I2f/XEh3g==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluidframework/test-driver-definitions-previous": { + "version": "npm:@fluidframework/test-driver-definitions@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/test-driver-definitions/-/test-driver-definitions-0.58.2000.tgz", + "integrity": "sha512-K1DAebGG5UN33xizF8xC0Y4tXfw9dB7oWopOz+I+plEuKTNJoI7N6MPVafiYYCMH1jRYEqLPXlv42RmPIk67aA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluidframework/test-drivers": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/test-drivers/-/test-drivers-0.58.2002.tgz", + "integrity": "sha512-iyt4YvD4rZDLm1dL4fFMBW0jL/7thf0A2A8WkKgrJSEMki9dnwONgAip61NZmHvbTpiocDKZnHo3dIq4Grog4A==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/local-driver": "^0.58.2002", + "@fluidframework/odsp-doclib-utils": "^0.58.2002", + "@fluidframework/odsp-driver": "^0.58.2002", + "@fluidframework/odsp-driver-definitions": "^0.58.2002", + "@fluidframework/odsp-urlresolver": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/routerlicious-driver": "^0.58.2002", + "@fluidframework/server-local-server": "^0.1035.1000", + "@fluidframework/test-driver-definitions": "^0.58.2002", + "@fluidframework/test-pairwise-generator": "^0.58.2002", + "@fluidframework/test-runtime-utils": "^0.58.2002", + "@fluidframework/tinylicious-driver": "^0.58.2002", + "@fluidframework/tool-utils": "^0.58.2002", + "axios": "^0.26.0", + "semver": "^7.3.4", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluidframework/test-drivers-previous": { + "version": "npm:@fluidframework/test-drivers@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/test-drivers/-/test-drivers-0.58.2000.tgz", + "integrity": "sha512-IcCA1IwSz6V8CTw8NONH0iwbC+VeTAMjQYVqtyPqjJ9Nxpc22s5kdX3q8zIqmh91RUKcSzEIm7801SoAF6bDzg==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/local-driver": "^0.58.2000", + "@fluidframework/odsp-doclib-utils": "^0.58.2000", + "@fluidframework/odsp-driver": "^0.58.2000", + "@fluidframework/odsp-driver-definitions": "^0.58.2000", + "@fluidframework/odsp-urlresolver": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/routerlicious-driver": "^0.58.2000", + "@fluidframework/server-local-server": "^0.1035.1000", + "@fluidframework/test-driver-definitions": "^0.58.2000", + "@fluidframework/test-pairwise-generator": "^0.58.2000", + "@fluidframework/test-runtime-utils": "^0.58.2000", + "@fluidframework/tinylicious-driver": "^0.58.2000", + "@fluidframework/tool-utils": "^0.58.2000", + "axios": "^0.26.0", + "semver": "^7.3.4", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluidframework/test-end-to-end-tests-previous": { + "version": "npm:@fluidframework/test-end-to-end-tests@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/test-end-to-end-tests/-/test-end-to-end-tests-0.58.2000.tgz", + "integrity": "sha512-GIfDeWwwSd9wxeh4TSUXy5Ej7xW2l+C1KFQeD73pFTqgogaScm8Nqp1QuZjLX48G/+zDNRHdzgN7p2pdMhZojA==", + "requires": { + "@fluidframework/agent-scheduler": "^0.58.2000", + "@fluidframework/aqueduct": "^0.58.2000", + "@fluidframework/cell": "^0.58.2000", + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-loader": "^0.58.2000", + "@fluidframework/container-runtime": "^0.58.2000", + "@fluidframework/container-runtime-definitions": "^0.58.2000", + "@fluidframework/container-utils": "^0.58.2000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/counter": "^0.58.2000", + "@fluidframework/datastore": "^0.58.2000", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/garbage-collector": "^0.58.2000", + "@fluidframework/ink": "^0.58.2000", + "@fluidframework/map": "^0.58.2000", + "@fluidframework/matrix": "^0.58.2000", + "@fluidframework/merge-tree": "^0.58.2000", + "@fluidframework/mocha-test-setup": "^0.58.2000", + "@fluidframework/odsp-doclib-utils": "^0.58.2000", + "@fluidframework/odsp-driver-definitions": "^0.58.2000", + "@fluidframework/ordered-collection": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/register-collection": "^0.58.2000", + "@fluidframework/request-handler": "^0.58.2000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000", + "@fluidframework/sequence": "^0.58.2000", + "@fluidframework/shared-object-base": "^0.58.2000", + "@fluidframework/telemetry-utils": "^0.58.2000", + "@fluidframework/test-driver-definitions": "^0.58.2000", + "@fluidframework/test-loader-utils": "^0.58.2000", + "@fluidframework/test-pairwise-generator": "^0.58.2000", + "@fluidframework/test-runtime-utils": "^0.58.2000", + "@fluidframework/test-utils": "^0.58.2000", + "@fluidframework/test-version-utils": "^0.58.2000", + "@fluidframework/undo-redo": "^0.58.2000", + "cross-env": "^7.0.2", + "mocha": "^8.4.0", + "semver": "^7.3.4", + "sinon": "^7.4.2", + "start-server-and-test": "^1.11.7", + "tinylicious": "^0.4.57763", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluidframework/test-loader-utils": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/test-loader-utils/-/test-loader-utils-0.58.2002.tgz", + "integrity": "sha512-yTsvMwpV5e4Anq5lIENxF8+GTQFzMb0No6+sAA7lWYwSbs3egMg8wqs7+SE9lOgFUSTTh1vneUabE5L8M4wvqg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluidframework/test-loader-utils-previous": { + "version": "npm:@fluidframework/test-loader-utils@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/test-loader-utils/-/test-loader-utils-0.58.2000.tgz", + "integrity": "sha512-27+nhlIMGpATpj/+gHrssJiOZ2XJx/x96pLI++tCUuE1gt0Ohr/xT9UQ6MfOdt1Hy+/6pzdzfNHiK5tJ+9ONSw==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluidframework/test-pairwise-generator": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/test-pairwise-generator/-/test-pairwise-generator-0.58.2002.tgz", + "integrity": "sha512-GSBBRcsXGAH5Ab17Il6nB5ViGkZ+HlTpxjMAgCstKQplFxXfjWOo5MqNutvrtfddaU5FBYkJailXpv2b/SIr5g==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "random-js": "^1.0.8" + } + }, + "@fluidframework/test-pairwise-generator-previous": { + "version": "npm:@fluidframework/test-pairwise-generator@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/test-pairwise-generator/-/test-pairwise-generator-0.58.2000.tgz", + "integrity": "sha512-5i7qobWn6v0KTX2yqCoUz47MP3bk7X86+nsXS8E92dhDG87K+2hMM3zBicO0DkjCqaMnavNFZjAW2Ody2m26yQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "random-js": "^1.0.8" + } + }, + "@fluidframework/test-runtime-utils": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/test-runtime-utils/-/test-runtime-utils-0.58.2002.tgz", + "integrity": "sha512-nl2R13e7RBqUh99YigZfT8dVQcWn+tURPPZB16QjyrEk0B8/wcldMxD3oWUe0Re686IeWmDG8UWVsWy1n+CdkQ==", + "requires": { + "@fluidframework/azure-service-utils": "^0.58.2002", + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/routerlicious-driver": "^0.58.2002", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/telemetry-utils": "^0.58.2002", + "axios": "^0.26.0", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluidframework/test-runtime-utils-previous": { + "version": "npm:@fluidframework/test-runtime-utils@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/test-runtime-utils/-/test-runtime-utils-0.58.2000.tgz", + "integrity": "sha512-HpWcWmNMVcUXfgqeL4BSw9jkxVKpq7eri6gjtKNj/uXMPnxUXpBVU5bFb4P23+kDW3z5gCJseYSKOV+86DGacA==", + "requires": { + "@fluidframework/azure-service-utils": "^0.58.2000", + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/routerlicious-driver": "^0.58.2000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000", + "@fluidframework/telemetry-utils": "^0.58.2000", + "axios": "^0.26.0", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, "@fluidframework/test-tools": { "version": "0.2.3074", "resolved": "https://registry.npmjs.org/@fluidframework/test-tools/-/test-tools-0.2.3074.tgz", "integrity": "sha512-ZRSSKPXMm/ni/hDztf38GMBtzFez0Q9XXaY5abd2rQz76A3wIK+yzQerTqnZYBnwrzGwZi22Ne1FXND1JeFMZA==", "dev": true }, + "@fluidframework/test-utils": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/test-utils/-/test-utils-0.58.2002.tgz", + "integrity": "sha512-jS8+bYgD3Gs6TkAPHDU2ZjbHPeIhcgEchrF7TrtnhV2u/g4OB8z53TlSLc5avwaBY9oQJCTJEAOSxzqT3/cLTQ==", + "requires": { + "@fluidframework/aqueduct": "^0.58.2002", + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-loader": "^0.58.2002", + "@fluidframework/container-runtime": "^0.58.2002", + "@fluidframework/container-runtime-definitions": "^0.58.2002", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore": "^0.58.2002", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/local-driver": "^0.58.2002", + "@fluidframework/map": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/request-handler": "^0.58.2002", + "@fluidframework/routerlicious-driver": "^0.58.2002", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/telemetry-utils": "^0.58.2002", + "@fluidframework/test-driver-definitions": "^0.58.2002", + "@fluidframework/test-runtime-utils": "^0.58.2002", + "debug": "^4.1.1", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluidframework/test-utils-previous": { + "version": "npm:@fluidframework/test-utils@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/test-utils/-/test-utils-0.58.2000.tgz", + "integrity": "sha512-gmfxNkPcheiE2exi4GVzfK4bNGOU2l4+6BheTtIYs4UH7dmDOuVUX68/0++mmr7bHSyCkTg0M3Nm98zUzvfKbQ==", + "requires": { + "@fluidframework/aqueduct": "^0.58.2000", + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-loader": "^0.58.2000", + "@fluidframework/container-runtime": "^0.58.2000", + "@fluidframework/container-runtime-definitions": "^0.58.2000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore": "^0.58.2000", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/local-driver": "^0.58.2000", + "@fluidframework/map": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/request-handler": "^0.58.2000", + "@fluidframework/routerlicious-driver": "^0.58.2000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000", + "@fluidframework/telemetry-utils": "^0.58.2000", + "@fluidframework/test-driver-definitions": "^0.58.2000", + "@fluidframework/test-runtime-utils": "^0.58.2000", + "debug": "^4.1.1", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluidframework/test-version-utils": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/test-version-utils/-/test-version-utils-0.58.2002.tgz", + "integrity": "sha512-oB3q9yoQgtJCscl+FODF01Fh9kdzVMZTXJwMF1jzNnn03GcjTsAlGOazjuNUEoIPIRSbjLX6oLLgGohyZFFh/A==", + "requires": { + "@fluidframework/aqueduct": "^0.58.2002", + "@fluidframework/cell": "^0.58.2002", + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-loader": "^0.58.2002", + "@fluidframework/container-runtime": "^0.58.2002", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/counter": "^0.58.2002", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/ink": "^0.58.2002", + "@fluidframework/map": "^0.58.2002", + "@fluidframework/matrix": "^0.58.2002", + "@fluidframework/mocha-test-setup": "^0.58.2002", + "@fluidframework/ordered-collection": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/register-collection": "^0.58.2002", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/sequence": "^0.58.2002", + "@fluidframework/test-driver-definitions": "^0.58.2002", + "@fluidframework/test-drivers": "^0.58.2002", + "@fluidframework/test-utils": "^0.58.2002", + "nconf": "^0.11.0", + "proper-lockfile": "^4.1.2", + "semver": "^7.3.4" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluidframework/test-version-utils-previous": { + "version": "npm:@fluidframework/test-version-utils@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/test-version-utils/-/test-version-utils-0.58.2000.tgz", + "integrity": "sha512-XjxR0U41QaF6bq4c+8rar8pN/Xf/XjePJLr0xCpb8mjOIUuF8zCkpBFKSJczr4CpfOeFnn5CaqWWdu9Qz+332w==", + "requires": { + "@fluidframework/aqueduct": "^0.58.2000", + "@fluidframework/cell": "^0.58.2000", + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-loader": "^0.58.2000", + "@fluidframework/container-runtime": "^0.58.2000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/counter": "^0.58.2000", + "@fluidframework/datastore-definitions": "^0.58.2000", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/ink": "^0.58.2000", + "@fluidframework/map": "^0.58.2000", + "@fluidframework/matrix": "^0.58.2000", + "@fluidframework/mocha-test-setup": "^0.58.2000", + "@fluidframework/ordered-collection": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/register-collection": "^0.58.2000", + "@fluidframework/runtime-definitions": "^0.58.2000", + "@fluidframework/sequence": "^0.58.2000", + "@fluidframework/test-driver-definitions": "^0.58.2000", + "@fluidframework/test-drivers": "^0.58.2000", + "@fluidframework/test-utils": "^0.58.2000", + "nconf": "^0.11.0", + "proper-lockfile": "^4.1.2", + "semver": "^7.3.4" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluidframework/tinylicious-client-previous": { + "version": "npm:@fluidframework/tinylicious-client@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/tinylicious-client/-/tinylicious-client-0.58.2000.tgz", + "integrity": "sha512-coER823y/3zc38EMjQnp7T6EkDRfTZcUP4jW5d1E3iJjmZMdA5BrYmk8f7/0vRHKGNFGQrgA+NDa+CAZXxDxMQ==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-loader": "^0.58.2000", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/fluid-static": "^0.58.2000", + "@fluidframework/map": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/routerlicious-driver": "^0.58.2000", + "@fluidframework/runtime-utils": "^0.58.2000", + "@fluidframework/tinylicious-driver": "^0.58.2000", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluidframework/tinylicious-driver": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/tinylicious-driver/-/tinylicious-driver-0.58.2002.tgz", + "integrity": "sha512-z5I4ud9ng+nr08YDJzEnEZOajNEQFQj3QyJ3pdbkKKRRjAKQTLrDplDwKGlkrmu0PTd7647F+y6uubrZ8Jl7hg==", + "requires": { + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/routerlicious-driver": "^0.58.2002", + "@fluidframework/server-services-client": "^0.1035.1000", + "jsrsasign": "^10.2.0", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluidframework/tinylicious-driver-previous": { + "version": "npm:@fluidframework/tinylicious-driver@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/tinylicious-driver/-/tinylicious-driver-0.58.2000.tgz", + "integrity": "sha512-O+47koGLK3J9lGCJeuUqbwBnWo2aHwOp0Um+DT6FmB3cmzgFyyoN6+ZDCl8NqzaNGCBMq7eAg6AYJJT/xdY5OA==", + "requires": { + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/routerlicious-driver": "^0.58.2000", + "@fluidframework/server-services-client": "^0.1035.1000", + "jsrsasign": "^10.2.0", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/driver-definitions": { + "version": "0.45.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.45.1000.tgz", + "integrity": "sha512-n7JkAJ6yEcl8ACCfqJ754SAzjpeI9u33ZjElkXsO46yE4XKoD/Fkm7RcTFrDyUl9ydJpTnHIbB5idt5Ywmt2vg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + } + } + }, + "@fluidframework/tool-utils": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/tool-utils/-/tool-utils-0.58.2002.tgz", + "integrity": "sha512-lE8/FTNvzaamnKk3EvhkYlPAPr+OG7nZyVrfMq5KpqCrZqj48hZtvFPhK5wLwzNMPabUu+dbcszvGQN0uEG7VQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/odsp-doclib-utils": "^0.58.2002", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "async-mutex": "^0.3.1", + "debug": "^4.1.1", + "jwt-decode": "^2.2.0", + "proper-lockfile": "^4.1.2" + } + }, + "@fluidframework/tool-utils-previous": { + "version": "npm:@fluidframework/tool-utils@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/tool-utils/-/tool-utils-0.58.2000.tgz", + "integrity": "sha512-1fDzq3suYoH+QRvtz6kEWZedZvxJKC3TRA9Tb+XZ71EhSEY3HYCo+yCpTH8qqOuVd2uxZ0Cy0j+VwhVtebcg4A==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/odsp-doclib-utils": "^0.58.2000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "async-mutex": "^0.3.1", + "debug": "^4.1.1", + "jwt-decode": "^2.2.0", + "proper-lockfile": "^4.1.2" + } + }, + "@fluidframework/undo-redo": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/undo-redo/-/undo-redo-0.58.2002.tgz", + "integrity": "sha512-/MrlUPzjpxhQX4aEgrrZKbgymB6AiXJQV/nix8j+MVVsyRkbG4LD6MmfdqDvUADomIHDlpVo9p7GPRGtw6W6Hg==", + "requires": { + "@fluidframework/map": "^0.58.2002", + "@fluidframework/matrix": "^0.58.2002", + "@fluidframework/merge-tree": "^0.58.2002", + "@fluidframework/sequence": "^0.58.2002" + } + }, + "@fluidframework/undo-redo-previous": { + "version": "npm:@fluidframework/undo-redo@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/undo-redo/-/undo-redo-0.58.2000.tgz", + "integrity": "sha512-kyGNKgGz1vGQ9mDtUbIXl36flGHGPwYD1Gt9oHtU2Ln4yS8/jbenJFZo7+pKmM9qZ8iuwXDUc1fD6oOz9O9MqA==", + "requires": { + "@fluidframework/map": "^0.58.2000", + "@fluidframework/matrix": "^0.58.2000", + "@fluidframework/merge-tree": "^0.58.2000", + "@fluidframework/sequence": "^0.58.2000" + } + }, + "@fluidframework/view-adapters": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/view-adapters/-/view-adapters-0.58.2002.tgz", + "integrity": "sha512-v1pE9ztaCoWW6IvxrEhdFuJQ62X8KCgPrrVsfAWP9PzDZpvESNdwFYUGsiCKDREWybtqNhlEu96mYd08SMa4pg==", + "requires": { + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/view-interfaces": "^0.58.2002", + "react": "^16.10.2", + "react-dom": "^16.10.2" + } + }, + "@fluidframework/view-adapters-previous": { + "version": "npm:@fluidframework/view-adapters@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/view-adapters/-/view-adapters-0.58.2000.tgz", + "integrity": "sha512-SJ8MqzVc1Oa4v6lHOLshzz1nIU09KyleE6XGbzLS3I9/h5B+FLK7OYPq8Ex9+ZAlc96+VLXCk59P1+wmf6ELvQ==", + "requires": { + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/view-interfaces": "^0.58.2000", + "react": "^16.10.2", + "react-dom": "^16.10.2" + } + }, + "@fluidframework/view-interfaces": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/view-interfaces/-/view-interfaces-0.58.2002.tgz", + "integrity": "sha512-vcYVueUwvktOhdZ8mAnYACIiuJvoivwTGh6YU2noY6i7V7N+Y4h2g6vm2awCbPF/+f+7lLuWKMPcP13FlLG2kA==", + "requires": { + "@fluidframework/core-interfaces": "^0.42.0" + } + }, + "@fluidframework/view-interfaces-previous": { + "version": "npm:@fluidframework/view-interfaces@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/view-interfaces/-/view-interfaces-0.58.2000.tgz", + "integrity": "sha512-xW1NxTs8rKV9Z0lsJoUDmG21uU6wcKurWLV/wdw5UapgMPB0IYmk7ygub3FF/YbSf5BDtT2Ba/jo6ETyh1b1TA==", + "requires": { + "@fluidframework/core-interfaces": "^0.42.0" + } + }, + "@fluidframework/web-code-loader": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/web-code-loader/-/web-code-loader-0.58.2002.tgz", + "integrity": "sha512-VaYc39Ig5sWy5yT2tiB9DvxWFeBDutTAlB1xeuhUDkmwKpPQgUn7lTuWoT2OCgSGd/+md2UybpjtU3gdLw0LUQ==", + "requires": { + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/core-interfaces": "^0.42.0", + "isomorphic-fetch": "^3.0.0" + } + }, + "@fluidframework/web-code-loader-previous": { + "version": "npm:@fluidframework/web-code-loader@0.58.2000", + "resolved": "https://registry.npmjs.org/@fluidframework/web-code-loader/-/web-code-loader-0.58.2000.tgz", + "integrity": "sha512-G3V/6+2tN16gwJ6AfEu/cWRgJko3R+428qTTKvMt6JODz9wO2oTm3S5aOHeQZimfQzAXny9FAni3k2dDOdemOg==", + "requires": { + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/core-interfaces": "^0.42.0", + "isomorphic-fetch": "^3.0.0" + } + }, "@gar/promisify": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.2.tgz", @@ -19302,13 +20371,13 @@ "dev": true }, "micromatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", - "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", "dev": true, "requires": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" + "braces": "^3.0.2", + "picomatch": "^2.3.1" } }, "node-fetch": { @@ -19320,6 +20389,12 @@ "whatwg-url": "^5.0.0" } }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true + }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -22393,9 +23468,9 @@ "integrity": "sha512-FRWsaZRWEJ1ESVNbDWmsAlqDk96gPQezzLghafp5J4GUKjbCz3OkAHuZs5TuPEtkbVQERysLp9xv6c24fBm8Aw==" }, "fast-json-patch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-3.1.0.tgz", - "integrity": "sha512-IhpytlsVTRndz0hU5t0/MGzS/etxLlfrpG5V5M9mVbuj9TrJLWaMfsox9REM5rkuGX0T+5qjpe8XA1o0gZ42nA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-3.1.1.tgz", + "integrity": "sha512-vf6IHUX2SBcA+5/+4883dsIjpBTqmfBjmYiWK1savxQmFk4JfBMLa7ynTYOs1Rolp/T1betJxHiGD3g1Mn8lUQ==", "dev": true }, "fast-json-stable-stringify": { @@ -22839,6 +23914,17 @@ "resolved": "https://registry.npmjs.org/flexbuffer/-/flexbuffer-0.0.6.tgz", "integrity": "sha1-A5/fI/iCPkQMOPMnfm/vEXQhWzA=" }, + "fluid-framework-previous": { + "version": "npm:fluid-framework@0.58.2000", + "resolved": "https://registry.npmjs.org/fluid-framework/-/fluid-framework-0.58.2000.tgz", + "integrity": "sha512-218g2xj9s7KdQfeOsWOt9jT5/QVC25Q9MljlhADP3mlm3gRs0MIGTOtshq19ALzHCJT3/UQ9GzY3hRHQnivCBQ==", + "requires": { + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/fluid-static": "^0.58.2000", + "@fluidframework/map": "^0.58.2000", + "@fluidframework/sequence": "^0.58.2000" + } + }, "flush-write-stream": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz", @@ -32725,16 +33811,16 @@ } }, "npm-package-json-lint": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/npm-package-json-lint/-/npm-package-json-lint-6.0.3.tgz", - "integrity": "sha512-moxJVEJ6yzT+xQxbmZ4dPUuZBphiBYkScvfja8RuZnG3X212eb81D6+s4OrZoe09/Wh06wlYHyfdY4SXipBfmg==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/npm-package-json-lint/-/npm-package-json-lint-6.3.0.tgz", + "integrity": "sha512-wOCWHSssQUzNvo85NYZweec5SNr9LtkB9tQzjOHjucoABJivtkOLcH/A/cfp6X+cPAC8UNzRC0K08HCm7G+rTA==", "dev": true, "requires": { "ajv": "^6.12.6", "ajv-errors": "^1.0.1", "chalk": "^4.1.2", "cosmiconfig": "^7.0.1", - "debug": "^4.3.3", + "debug": "^4.3.4", "globby": "^11.1.0", "ignore": "^5.2.0", "is-plain-obj": "^3.0.0", @@ -32945,13 +34031,13 @@ "dev": true }, "micromatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", - "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", "dev": true, "requires": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" + "braces": "^3.0.2", + "picomatch": "^2.3.1" } }, "normalize-package-data": { @@ -32981,6 +34067,12 @@ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true + }, "read-pkg-up": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", @@ -33034,9 +34126,9 @@ } }, "type-fest": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.12.0.tgz", - "integrity": "sha512-Qe5GRT+n/4GoqCNGGVp5Snapg1Omq3V7irBJB3EaKsp7HWDo5Gv2d/67gfNyV+d5EXD+x/RF5l1h4yJ7qNkcGA==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.12.1.tgz", + "integrity": "sha512-AiknQSEqKVGDDjtZqeKrUoTlcj7FKhupmnVUgz6KoOKtvMwRGE6hUNJ/nVear+h7fnUPO1q/htSkYKb1pyntkQ==", "dev": true } } @@ -37804,9 +38896,9 @@ "dev": true }, "yargs": { - "version": "17.3.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.3.1.tgz", - "integrity": "sha512-WUANQeVgjLbNsEmGk20f+nlHgOqzRFpiGWVaBrYGYIGANIIu3lWjoyi0fNlFmJkvfhCZ6BXINe7/W2O2bV4iaA==", + "version": "17.4.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.4.0.tgz", + "integrity": "sha512-WJudfrk81yWFSOkZYpAZx4Nt7V4xp7S/uJkX0CnxovMCt1wCE8LNftPpNuF9X/u9gN5nsD7ycYtRcDf2pL3UiA==", "dev": true, "requires": { "cliui": "^7.0.2", diff --git a/package-lock.json b/package-lock.json index 1cda7e6073f8..d075a17692d1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -57,9 +57,9 @@ } }, "@fluidframework/build-tools": { - "version": "0.2.58041", - "resolved": "https://registry.npmjs.org/@fluidframework/build-tools/-/build-tools-0.2.58041.tgz", - "integrity": "sha512-gEClFUJjyD4SmGUQXtECZ5ihiGEuDF1QEmga3Dn4omjBbiBFLuZCRtdc1robdtUPMy+8sJT/kmOaqvd7jOGWig==", + "version": "0.2.59529", + "resolved": "https://registry.npmjs.org/@fluidframework/build-tools/-/build-tools-0.2.59529.tgz", + "integrity": "sha512-YxXdjoVGVKp3cnLtFccsfeVf6niN1n0jBJ5DiZIPLloQnceFKA94e3tO4k68rVEYXxTm8/SfdD0s56cowWwmhw==", "dev": true, "requires": { "@fluidframework/bundle-size-tools": "^0.0.8505", @@ -5618,9 +5618,9 @@ } }, "fast-json-patch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-3.1.0.tgz", - "integrity": "sha512-IhpytlsVTRndz0hU5t0/MGzS/etxLlfrpG5V5M9mVbuj9TrJLWaMfsox9REM5rkuGX0T+5qjpe8XA1o0gZ42nA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-3.1.1.tgz", + "integrity": "sha512-vf6IHUX2SBcA+5/+4883dsIjpBTqmfBjmYiWK1savxQmFk4JfBMLa7ynTYOs1Rolp/T1betJxHiGD3g1Mn8lUQ==", "dev": true }, "fast-json-stable-stringify": { @@ -6944,9 +6944,9 @@ }, "dependencies": { "es-abstract": { - "version": "1.19.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", - "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", + "version": "1.19.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.2.tgz", + "integrity": "sha512-gfSBJoZdlL2xRiOCy0g8gLMryhoe1TlimjzU99L/31Z8QEGIhVQI+EWwt5lT+AuU9SnorVupXFqqOGqGfsyO6w==", "dev": true, "requires": { "call-bind": "^1.0.2", @@ -6955,15 +6955,15 @@ "get-intrinsic": "^1.1.1", "get-symbol-description": "^1.0.0", "has": "^1.0.3", - "has-symbols": "^1.0.2", + "has-symbols": "^1.0.3", "internal-slot": "^1.0.3", "is-callable": "^1.2.4", - "is-negative-zero": "^2.0.1", + "is-negative-zero": "^2.0.2", "is-regex": "^1.1.4", "is-shared-array-buffer": "^1.0.1", "is-string": "^1.0.7", - "is-weakref": "^1.0.1", - "object-inspect": "^1.11.0", + "is-weakref": "^1.0.2", + "object-inspect": "^1.12.0", "object-keys": "^1.1.1", "object.assign": "^4.1.2", "string.prototype.trimend": "^1.0.4", @@ -7211,13 +7211,10 @@ "dev": true }, "json5": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", - "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", - "dev": true, - "requires": { - "minimist": "^1.2.5" - } + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", + "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "dev": true }, "jsonc-parser": { "version": "3.0.0", @@ -7285,9 +7282,9 @@ } }, "jszip": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.7.1.tgz", - "integrity": "sha512-ghL0tz1XG9ZEmRMcEN2vt7xabrDdqHHeykgARpmZ0BiIctWxM47Vt63ZO2dnp4QYt/xJVLLy5Zv1l/xRdh2byg==", + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.8.0.tgz", + "integrity": "sha512-cnpQrXvFSLdsR9KR5/x7zdf6c3m8IhZfZzSblFEHSqBaVwD2nvJ4CuCKLyvKvwBgZm08CgfSoiTBQLm5WW9hGw==", "dev": true, "requires": { "lie": "~3.3.0", @@ -8219,13 +8216,13 @@ "dev": true }, "micromatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", - "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", "dev": true, "requires": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" + "braces": "^3.0.2", + "picomatch": "^2.3.1" } }, "mime-db": { @@ -8738,16 +8735,16 @@ } }, "npm-package-json-lint": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/npm-package-json-lint/-/npm-package-json-lint-6.0.3.tgz", - "integrity": "sha512-moxJVEJ6yzT+xQxbmZ4dPUuZBphiBYkScvfja8RuZnG3X212eb81D6+s4OrZoe09/Wh06wlYHyfdY4SXipBfmg==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/npm-package-json-lint/-/npm-package-json-lint-6.3.0.tgz", + "integrity": "sha512-wOCWHSssQUzNvo85NYZweec5SNr9LtkB9tQzjOHjucoABJivtkOLcH/A/cfp6X+cPAC8UNzRC0K08HCm7G+rTA==", "dev": true, "requires": { "ajv": "^6.12.6", "ajv-errors": "^1.0.1", "chalk": "^4.1.2", "cosmiconfig": "^7.0.1", - "debug": "^4.3.3", + "debug": "^4.3.4", "globby": "^11.1.0", "ignore": "^5.2.0", "is-plain-obj": "^3.0.0", @@ -10832,9 +10829,9 @@ "dev": true }, "type-fest": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.12.0.tgz", - "integrity": "sha512-Qe5GRT+n/4GoqCNGGVp5Snapg1Omq3V7irBJB3EaKsp7HWDo5Gv2d/67gfNyV+d5EXD+x/RF5l1h4yJ7qNkcGA==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.12.1.tgz", + "integrity": "sha512-AiknQSEqKVGDDjtZqeKrUoTlcj7FKhupmnVUgz6KoOKtvMwRGE6hUNJ/nVear+h7fnUPO1q/htSkYKb1pyntkQ==", "dev": true }, "typed-rest-client": { @@ -11152,9 +11149,9 @@ }, "dependencies": { "es-abstract": { - "version": "1.19.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", - "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", + "version": "1.19.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.2.tgz", + "integrity": "sha512-gfSBJoZdlL2xRiOCy0g8gLMryhoe1TlimjzU99L/31Z8QEGIhVQI+EWwt5lT+AuU9SnorVupXFqqOGqGfsyO6w==", "dev": true, "requires": { "call-bind": "^1.0.2", @@ -11163,15 +11160,15 @@ "get-intrinsic": "^1.1.1", "get-symbol-description": "^1.0.0", "has": "^1.0.3", - "has-symbols": "^1.0.2", + "has-symbols": "^1.0.3", "internal-slot": "^1.0.3", "is-callable": "^1.2.4", - "is-negative-zero": "^2.0.1", + "is-negative-zero": "^2.0.2", "is-regex": "^1.1.4", "is-shared-array-buffer": "^1.0.1", "is-string": "^1.0.7", - "is-weakref": "^1.0.1", - "object-inspect": "^1.11.0", + "is-weakref": "^1.0.2", + "object-inspect": "^1.12.0", "object-keys": "^1.1.1", "object.assign": "^4.1.2", "string.prototype.trimend": "^1.0.4", @@ -11495,9 +11492,9 @@ "dev": true }, "yargs": { - "version": "17.3.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.3.1.tgz", - "integrity": "sha512-WUANQeVgjLbNsEmGk20f+nlHgOqzRFpiGWVaBrYGYIGANIIu3lWjoyi0fNlFmJkvfhCZ6BXINe7/W2O2bV4iaA==", + "version": "17.4.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.4.0.tgz", + "integrity": "sha512-WJudfrk81yWFSOkZYpAZx4Nt7V4xp7S/uJkX0CnxovMCt1wCE8LNftPpNuF9X/u9gN5nsD7ycYtRcDf2pL3UiA==", "dev": true, "requires": { "cliui": "^7.0.2", diff --git a/package.json b/package.json index 84bc8e864e57..c7c39bcac6b3 100644 --- a/package.json +++ b/package.json @@ -67,6 +67,8 @@ "tsc:fast": "fluid-build --root . -s tsc", "tsfmt": "lerna run tsfmt:fix --no-sort --stream --no-bail", "tsfmt:fix": "lerna run tsfmt:fix --no-sort --stream --no-bail", + "typetests:gen": "fluid-type-validator -m packages -v", + "typetests:prepare": "npm run typetests:gen -- -p", "watch": "concurrently \"npm run watch:tsc\" \"npm run watch:esnext\" \"npm run watch:webpack\"", "watch:esnext": "lerna run --parallel build:esnext -- -- --watch", "watch:tsc": "lerna run --parallel tsc -- -- --watch", @@ -107,7 +109,7 @@ "temp-directory": "nyc/.nyc_output" }, "devDependencies": { - "@fluidframework/build-tools": "^0.2.58041", + "@fluidframework/build-tools": "^0.2.59529", "@fluidframework/test-tools": "^0.2.3074", "@microsoft/api-documenter": "^7.12.7", "@microsoft/api-extractor": "^7.16.1", diff --git a/packages/dds/cell/package.json b/packages/dds/cell/package.json index 2596aa317361..3d2f2030f666 100644 --- a/packages/dds/cell/package.json +++ b/packages/dds/cell/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -70,6 +70,7 @@ "devDependencies": { "@fluid-internal/test-dds-utils": "^0.58.3000", "@fluidframework/build-common": "^0.23.0", + "@fluidframework/cell-previous": "npm:@fluidframework/cell@0.58.2000", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", "@fluidframework/test-runtime-utils": "^0.58.3000", @@ -94,5 +95,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/cell/src/test/types/validateCellPrevious.ts b/packages/dds/cell/src/test/types/validateCellPrevious.ts new file mode 100644 index 000000000000..0292dd856f79 --- /dev/null +++ b/packages/dds/cell/src/test/types/validateCellPrevious.ts @@ -0,0 +1,87 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/cell-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharedCell": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISharedCell(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISharedCell( + use: TypeOnly); +use_current_InterfaceDeclaration_ISharedCell( + get_old_InterfaceDeclaration_ISharedCell()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharedCell": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISharedCell(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISharedCell( + use: TypeOnly); +use_old_InterfaceDeclaration_ISharedCell( + get_current_InterfaceDeclaration_ISharedCell()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharedCellEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISharedCellEvents(): + TypeOnly>; +declare function use_current_InterfaceDeclaration_ISharedCellEvents( + use: TypeOnly>); +use_current_InterfaceDeclaration_ISharedCellEvents( + get_old_InterfaceDeclaration_ISharedCellEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharedCellEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISharedCellEvents(): + TypeOnly>; +declare function use_old_InterfaceDeclaration_ISharedCellEvents( + use: TypeOnly>); +use_old_InterfaceDeclaration_ISharedCellEvents( + get_current_InterfaceDeclaration_ISharedCellEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedCell": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SharedCell(): + TypeOnly; +declare function use_current_ClassDeclaration_SharedCell( + use: TypeOnly); +use_current_ClassDeclaration_SharedCell( + get_old_ClassDeclaration_SharedCell()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedCell": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SharedCell(): + TypeOnly; +declare function use_old_ClassDeclaration_SharedCell( + use: TypeOnly); +use_old_ClassDeclaration_SharedCell( + get_current_ClassDeclaration_SharedCell()); diff --git a/packages/dds/counter/package.json b/packages/dds/counter/package.json index b23c7859ac1d..c12067bea31e 100644 --- a/packages/dds/counter/package.json +++ b/packages/dds/counter/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc" }, @@ -67,6 +67,7 @@ }, "devDependencies": { "@fluidframework/build-common": "^0.23.0", + "@fluidframework/counter-previous": "npm:@fluidframework/counter@0.58.2000", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", "@fluidframework/test-runtime-utils": "^0.58.3000", @@ -90,5 +91,9 @@ "nyc": "^15.0.0", "rimraf": "^2.6.2", "typescript": "~4.1.3" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/counter/src/test/types/validateCounterPrevious.ts b/packages/dds/counter/src/test/types/validateCounterPrevious.ts new file mode 100644 index 000000000000..9ba567faee78 --- /dev/null +++ b/packages/dds/counter/src/test/types/validateCounterPrevious.ts @@ -0,0 +1,87 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/counter-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharedCounter": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISharedCounter(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISharedCounter( + use: TypeOnly); +use_current_InterfaceDeclaration_ISharedCounter( + get_old_InterfaceDeclaration_ISharedCounter()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharedCounter": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISharedCounter(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISharedCounter( + use: TypeOnly); +use_old_InterfaceDeclaration_ISharedCounter( + get_current_InterfaceDeclaration_ISharedCounter()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharedCounterEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISharedCounterEvents(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISharedCounterEvents( + use: TypeOnly); +use_current_InterfaceDeclaration_ISharedCounterEvents( + get_old_InterfaceDeclaration_ISharedCounterEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharedCounterEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISharedCounterEvents(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISharedCounterEvents( + use: TypeOnly); +use_old_InterfaceDeclaration_ISharedCounterEvents( + get_current_InterfaceDeclaration_ISharedCounterEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedCounter": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SharedCounter(): + TypeOnly; +declare function use_current_ClassDeclaration_SharedCounter( + use: TypeOnly); +use_current_ClassDeclaration_SharedCounter( + get_old_ClassDeclaration_SharedCounter()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedCounter": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SharedCounter(): + TypeOnly; +declare function use_old_ClassDeclaration_SharedCounter( + use: TypeOnly); +use_old_ClassDeclaration_SharedCounter( + get_current_ClassDeclaration_SharedCounter()); diff --git a/packages/dds/ink/package.json b/packages/dds/ink/package.json index dec5c05d7123..1de1a52f3c72 100644 --- a/packages/dds/ink/package.json +++ b/packages/dds/ink/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -71,6 +71,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/ink-previous": "npm:@fluidframework/ink@0.58.2000", "@fluidframework/mocha-test-setup": "^0.58.3000", "@fluidframework/test-runtime-utils": "^0.58.3000", "@microsoft/api-extractor": "^7.16.1", @@ -93,5 +94,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/ink/src/test/types/validateInkPrevious.ts b/packages/dds/ink/src/test/types/validateInkPrevious.ts new file mode 100644 index 000000000000..c9332e0170c0 --- /dev/null +++ b/packages/dds/ink/src/test/types/validateInkPrevious.ts @@ -0,0 +1,327 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/ink-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IClearOperation": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IClearOperation(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IClearOperation( + use: TypeOnly); +use_current_InterfaceDeclaration_IClearOperation( + get_old_InterfaceDeclaration_IClearOperation()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IClearOperation": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IClearOperation(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IClearOperation( + use: TypeOnly); +use_old_InterfaceDeclaration_IClearOperation( + get_current_InterfaceDeclaration_IClearOperation()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IColor": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IColor(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IColor( + use: TypeOnly); +use_current_InterfaceDeclaration_IColor( + get_old_InterfaceDeclaration_IColor()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IColor": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IColor(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IColor( + use: TypeOnly); +use_old_InterfaceDeclaration_IColor( + get_current_InterfaceDeclaration_IColor()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ICreateStrokeOperation": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ICreateStrokeOperation(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ICreateStrokeOperation( + use: TypeOnly); +use_current_InterfaceDeclaration_ICreateStrokeOperation( + get_old_InterfaceDeclaration_ICreateStrokeOperation()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ICreateStrokeOperation": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ICreateStrokeOperation(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ICreateStrokeOperation( + use: TypeOnly); +use_old_InterfaceDeclaration_ICreateStrokeOperation( + get_current_InterfaceDeclaration_ICreateStrokeOperation()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IInk": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IInk(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IInk( + use: TypeOnly); +use_current_InterfaceDeclaration_IInk( + get_old_InterfaceDeclaration_IInk()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IInk": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IInk(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IInk( + use: TypeOnly); +use_old_InterfaceDeclaration_IInk( + get_current_InterfaceDeclaration_IInk()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IInkEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IInkEvents(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IInkEvents( + use: TypeOnly); +use_current_InterfaceDeclaration_IInkEvents( + get_old_InterfaceDeclaration_IInkEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IInkEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IInkEvents(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IInkEvents( + use: TypeOnly); +use_old_InterfaceDeclaration_IInkEvents( + get_current_InterfaceDeclaration_IInkEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_IInkOperation": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_IInkOperation(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_IInkOperation( + use: TypeOnly); +use_current_TypeAliasDeclaration_IInkOperation( + get_old_TypeAliasDeclaration_IInkOperation()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_IInkOperation": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_IInkOperation(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_IInkOperation( + use: TypeOnly); +use_old_TypeAliasDeclaration_IInkOperation( + get_current_TypeAliasDeclaration_IInkOperation()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IInkPoint": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IInkPoint(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IInkPoint( + use: TypeOnly); +use_current_InterfaceDeclaration_IInkPoint( + get_old_InterfaceDeclaration_IInkPoint()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IInkPoint": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IInkPoint(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IInkPoint( + use: TypeOnly); +use_old_InterfaceDeclaration_IInkPoint( + get_current_InterfaceDeclaration_IInkPoint()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IInkStroke": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IInkStroke(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IInkStroke( + use: TypeOnly); +use_current_InterfaceDeclaration_IInkStroke( + get_old_InterfaceDeclaration_IInkStroke()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IInkStroke": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IInkStroke(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IInkStroke( + use: TypeOnly); +use_old_InterfaceDeclaration_IInkStroke( + get_current_InterfaceDeclaration_IInkStroke()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_Ink": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_Ink(): + TypeOnly; +declare function use_current_ClassDeclaration_Ink( + use: TypeOnly); +use_current_ClassDeclaration_Ink( + get_old_ClassDeclaration_Ink()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_Ink": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_Ink(): + TypeOnly; +declare function use_old_ClassDeclaration_Ink( + use: TypeOnly); +use_old_ClassDeclaration_Ink( + get_current_ClassDeclaration_Ink()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InkCanvas": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_InkCanvas(): + TypeOnly; +declare function use_current_ClassDeclaration_InkCanvas( + use: TypeOnly); +use_current_ClassDeclaration_InkCanvas( + get_old_ClassDeclaration_InkCanvas()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InkCanvas": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_InkCanvas(): + TypeOnly; +declare function use_old_ClassDeclaration_InkCanvas( + use: TypeOnly); +use_old_ClassDeclaration_InkCanvas( + get_current_ClassDeclaration_InkCanvas()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InkFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_InkFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_InkFactory( + use: TypeOnly); +use_current_ClassDeclaration_InkFactory( + get_old_ClassDeclaration_InkFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InkFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_InkFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_InkFactory( + use: TypeOnly); +use_old_ClassDeclaration_InkFactory( + get_current_ClassDeclaration_InkFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IPen": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IPen(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IPen( + use: TypeOnly); +use_current_InterfaceDeclaration_IPen( + get_old_InterfaceDeclaration_IPen()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IPen": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IPen(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IPen( + use: TypeOnly); +use_old_InterfaceDeclaration_IPen( + get_current_InterfaceDeclaration_IPen()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IStylusOperation": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IStylusOperation(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IStylusOperation( + use: TypeOnly); +use_current_InterfaceDeclaration_IStylusOperation( + get_old_InterfaceDeclaration_IStylusOperation()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IStylusOperation": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IStylusOperation(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IStylusOperation( + use: TypeOnly); +use_old_InterfaceDeclaration_IStylusOperation( + get_current_InterfaceDeclaration_IStylusOperation()); diff --git a/packages/dds/map/package.json b/packages/dds/map/package.json index fff988fdeecc..3b26585427b2 100644 --- a/packages/dds/map/package.json +++ b/packages/dds/map/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -75,6 +75,7 @@ "@fluid-internal/test-dds-utils": "^0.58.3000", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/map-previous": "npm:@fluidframework/map@0.58.1001", "@fluidframework/mocha-test-setup": "^0.58.3000", "@fluidframework/test-runtime-utils": "^0.58.3000", "@microsoft/api-extractor": "^7.16.1", @@ -98,5 +99,13 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": { + "0.58.1001":{ + "ClassDeclaration_SharedDirectory": {"forwardCompat": false} + } + } } -} +} \ No newline at end of file diff --git a/packages/dds/map/src/test/types/validateMapPrevious.ts b/packages/dds/map/src/test/types/validateMapPrevious.ts new file mode 100644 index 000000000000..5c00423c607f --- /dev/null +++ b/packages/dds/map/src/test/types/validateMapPrevious.ts @@ -0,0 +1,448 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/map-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "ClassDeclaration_DirectoryFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DirectoryFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_DirectoryFactory( + use: TypeOnly); +use_current_ClassDeclaration_DirectoryFactory( + get_old_ClassDeclaration_DirectoryFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "ClassDeclaration_DirectoryFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DirectoryFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_DirectoryFactory( + use: TypeOnly); +use_old_ClassDeclaration_DirectoryFactory( + get_current_ClassDeclaration_DirectoryFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_IDirectory": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IDirectory(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IDirectory( + use: TypeOnly); +use_current_InterfaceDeclaration_IDirectory( + get_old_InterfaceDeclaration_IDirectory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_IDirectory": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IDirectory(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IDirectory( + use: TypeOnly); +use_old_InterfaceDeclaration_IDirectory( + get_current_InterfaceDeclaration_IDirectory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_IDirectoryDataObject": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IDirectoryDataObject(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IDirectoryDataObject( + use: TypeOnly); +use_current_InterfaceDeclaration_IDirectoryDataObject( + get_old_InterfaceDeclaration_IDirectoryDataObject()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_IDirectoryDataObject": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IDirectoryDataObject(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IDirectoryDataObject( + use: TypeOnly); +use_old_InterfaceDeclaration_IDirectoryDataObject( + get_current_InterfaceDeclaration_IDirectoryDataObject()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_IDirectoryEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IDirectoryEvents(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IDirectoryEvents( + use: TypeOnly); +use_current_InterfaceDeclaration_IDirectoryEvents( + get_old_InterfaceDeclaration_IDirectoryEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_IDirectoryEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IDirectoryEvents(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IDirectoryEvents( + use: TypeOnly); +use_old_InterfaceDeclaration_IDirectoryEvents( + get_current_InterfaceDeclaration_IDirectoryEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_IDirectoryNewStorageFormat": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IDirectoryNewStorageFormat(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IDirectoryNewStorageFormat( + use: TypeOnly); +use_current_InterfaceDeclaration_IDirectoryNewStorageFormat( + get_old_InterfaceDeclaration_IDirectoryNewStorageFormat()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_IDirectoryNewStorageFormat": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IDirectoryNewStorageFormat(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IDirectoryNewStorageFormat( + use: TypeOnly); +use_old_InterfaceDeclaration_IDirectoryNewStorageFormat( + get_current_InterfaceDeclaration_IDirectoryNewStorageFormat()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "TypeAliasDeclaration_IDirectoryOperation": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_IDirectoryOperation(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_IDirectoryOperation( + use: TypeOnly); +use_current_TypeAliasDeclaration_IDirectoryOperation( + get_old_TypeAliasDeclaration_IDirectoryOperation()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "TypeAliasDeclaration_IDirectoryOperation": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_IDirectoryOperation(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_IDirectoryOperation( + use: TypeOnly); +use_old_TypeAliasDeclaration_IDirectoryOperation( + get_current_TypeAliasDeclaration_IDirectoryOperation()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_IDirectoryValueChanged": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IDirectoryValueChanged(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IDirectoryValueChanged( + use: TypeOnly); +use_current_InterfaceDeclaration_IDirectoryValueChanged( + get_old_InterfaceDeclaration_IDirectoryValueChanged()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_IDirectoryValueChanged": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IDirectoryValueChanged(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IDirectoryValueChanged( + use: TypeOnly); +use_old_InterfaceDeclaration_IDirectoryValueChanged( + get_current_InterfaceDeclaration_IDirectoryValueChanged()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_ISerializableValue": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISerializableValue(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISerializableValue( + use: TypeOnly); +use_current_InterfaceDeclaration_ISerializableValue( + get_old_InterfaceDeclaration_ISerializableValue()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_ISerializableValue": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISerializableValue(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISerializableValue( + use: TypeOnly); +use_old_InterfaceDeclaration_ISerializableValue( + get_current_InterfaceDeclaration_ISerializableValue()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_ISerializedValue": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISerializedValue(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISerializedValue( + use: TypeOnly); +use_current_InterfaceDeclaration_ISerializedValue( + get_old_InterfaceDeclaration_ISerializedValue()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_ISerializedValue": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISerializedValue(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISerializedValue( + use: TypeOnly); +use_old_InterfaceDeclaration_ISerializedValue( + get_current_InterfaceDeclaration_ISerializedValue()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_ISharedDirectory": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISharedDirectory(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISharedDirectory( + use: TypeOnly); +use_current_InterfaceDeclaration_ISharedDirectory( + get_old_InterfaceDeclaration_ISharedDirectory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_ISharedDirectory": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISharedDirectory(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISharedDirectory( + use: TypeOnly); +use_old_InterfaceDeclaration_ISharedDirectory( + get_current_InterfaceDeclaration_ISharedDirectory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_ISharedDirectoryEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISharedDirectoryEvents(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISharedDirectoryEvents( + use: TypeOnly); +use_current_InterfaceDeclaration_ISharedDirectoryEvents( + get_old_InterfaceDeclaration_ISharedDirectoryEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_ISharedDirectoryEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISharedDirectoryEvents(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISharedDirectoryEvents( + use: TypeOnly); +use_old_InterfaceDeclaration_ISharedDirectoryEvents( + get_current_InterfaceDeclaration_ISharedDirectoryEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_ISharedMap": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISharedMap(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISharedMap( + use: TypeOnly); +use_current_InterfaceDeclaration_ISharedMap( + get_old_InterfaceDeclaration_ISharedMap()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_ISharedMap": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISharedMap(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISharedMap( + use: TypeOnly); +use_old_InterfaceDeclaration_ISharedMap( + get_current_InterfaceDeclaration_ISharedMap()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_ISharedMapEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISharedMapEvents(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISharedMapEvents( + use: TypeOnly); +use_current_InterfaceDeclaration_ISharedMapEvents( + get_old_InterfaceDeclaration_ISharedMapEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_ISharedMapEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISharedMapEvents(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISharedMapEvents( + use: TypeOnly); +use_old_InterfaceDeclaration_ISharedMapEvents( + get_current_InterfaceDeclaration_ISharedMapEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_IValueChanged": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IValueChanged(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IValueChanged( + use: TypeOnly); +use_current_InterfaceDeclaration_IValueChanged( + get_old_InterfaceDeclaration_IValueChanged()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "InterfaceDeclaration_IValueChanged": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IValueChanged(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IValueChanged( + use: TypeOnly); +use_old_InterfaceDeclaration_IValueChanged( + get_current_InterfaceDeclaration_IValueChanged()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "ClassDeclaration_LocalValueMaker": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_LocalValueMaker(): + TypeOnly; +declare function use_current_ClassDeclaration_LocalValueMaker( + use: TypeOnly); +use_current_ClassDeclaration_LocalValueMaker( + get_old_ClassDeclaration_LocalValueMaker()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "ClassDeclaration_LocalValueMaker": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_LocalValueMaker(): + TypeOnly; +declare function use_old_ClassDeclaration_LocalValueMaker( + use: TypeOnly); +use_old_ClassDeclaration_LocalValueMaker( + get_current_ClassDeclaration_LocalValueMaker()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "ClassDeclaration_MapFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MapFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_MapFactory( + use: TypeOnly); +use_current_ClassDeclaration_MapFactory( + get_old_ClassDeclaration_MapFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "ClassDeclaration_MapFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MapFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_MapFactory( + use: TypeOnly); +use_old_ClassDeclaration_MapFactory( + get_current_ClassDeclaration_MapFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "ClassDeclaration_SharedDirectory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SharedDirectory(): + TypeOnly; +declare function use_current_ClassDeclaration_SharedDirectory( + use: TypeOnly); +use_current_ClassDeclaration_SharedDirectory( + // @ts-expect-error compatibility expected to be broken + get_old_ClassDeclaration_SharedDirectory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "ClassDeclaration_SharedDirectory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SharedDirectory(): + TypeOnly; +declare function use_old_ClassDeclaration_SharedDirectory( + use: TypeOnly); +use_old_ClassDeclaration_SharedDirectory( + get_current_ClassDeclaration_SharedDirectory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "ClassDeclaration_SharedMap": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SharedMap(): + TypeOnly; +declare function use_current_ClassDeclaration_SharedMap( + use: TypeOnly); +use_current_ClassDeclaration_SharedMap( + get_old_ClassDeclaration_SharedMap()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.1001: +* "ClassDeclaration_SharedMap": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SharedMap(): + TypeOnly; +declare function use_old_ClassDeclaration_SharedMap( + use: TypeOnly); +use_old_ClassDeclaration_SharedMap( + get_current_ClassDeclaration_SharedMap()); diff --git a/packages/dds/matrix/package.json b/packages/dds/matrix/package.json index 8e32d792c41e..684f78a8c393 100644 --- a/packages/dds/matrix/package.json +++ b/packages/dds/matrix/package.json @@ -76,6 +76,7 @@ "@fluid-internal/test-dds-utils": "^0.58.3000", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/matrix-previous": "npm:@fluidframework/matrix@0.58.2000", "@fluidframework/mocha-test-setup": "^0.58.3000", "@fluidframework/test-runtime-utils": "^0.58.3000", "@microsoft/api-extractor": "^7.16.1", @@ -104,5 +105,9 @@ "typescript": "~4.1.3", "typescript-formatter": "7.1.0", "uuid": "^8.3.1" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/matrix/src/test/types/validateMatrixPrevious.ts b/packages/dds/matrix/src/test/types/validateMatrixPrevious.ts new file mode 100644 index 000000000000..5d6e7d17ae92 --- /dev/null +++ b/packages/dds/matrix/src/test/types/validateMatrixPrevious.ts @@ -0,0 +1,135 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/matrix-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IRevertible": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IRevertible(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IRevertible( + use: TypeOnly); +use_current_InterfaceDeclaration_IRevertible( + get_old_InterfaceDeclaration_IRevertible()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IRevertible": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IRevertible(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IRevertible( + use: TypeOnly); +use_old_InterfaceDeclaration_IRevertible( + get_current_InterfaceDeclaration_IRevertible()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IUndoConsumer": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IUndoConsumer(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IUndoConsumer( + use: TypeOnly); +use_current_InterfaceDeclaration_IUndoConsumer( + get_old_InterfaceDeclaration_IUndoConsumer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IUndoConsumer": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IUndoConsumer(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IUndoConsumer( + use: TypeOnly); +use_old_InterfaceDeclaration_IUndoConsumer( + get_current_InterfaceDeclaration_IUndoConsumer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_MatrixItem": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_MatrixItem(): + TypeOnly>; +declare function use_current_TypeAliasDeclaration_MatrixItem( + use: TypeOnly>); +use_current_TypeAliasDeclaration_MatrixItem( + get_old_TypeAliasDeclaration_MatrixItem()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_MatrixItem": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_MatrixItem(): + TypeOnly>; +declare function use_old_TypeAliasDeclaration_MatrixItem( + use: TypeOnly>); +use_old_TypeAliasDeclaration_MatrixItem( + get_current_TypeAliasDeclaration_MatrixItem()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedMatrix": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SharedMatrix(): + TypeOnly; +declare function use_current_ClassDeclaration_SharedMatrix( + use: TypeOnly); +use_current_ClassDeclaration_SharedMatrix( + get_old_ClassDeclaration_SharedMatrix()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedMatrix": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SharedMatrix(): + TypeOnly; +declare function use_old_ClassDeclaration_SharedMatrix( + use: TypeOnly); +use_old_ClassDeclaration_SharedMatrix( + get_current_ClassDeclaration_SharedMatrix()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedMatrixFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SharedMatrixFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_SharedMatrixFactory( + use: TypeOnly); +use_current_ClassDeclaration_SharedMatrixFactory( + get_old_ClassDeclaration_SharedMatrixFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedMatrixFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SharedMatrixFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_SharedMatrixFactory( + use: TypeOnly); +use_old_ClassDeclaration_SharedMatrixFactory( + get_current_ClassDeclaration_SharedMatrixFactory()); diff --git a/packages/dds/merge-tree/package.json b/packages/dds/merge-tree/package.json index cff90754e957..85df1fec0813 100644 --- a/packages/dds/merge-tree/package.json +++ b/packages/dds/merge-tree/package.json @@ -31,7 +31,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test --exit -r node_modules/@fluidframework/mocha-test-setup -r source-map-support/register --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test --exit -r node_modules/@fluidframework/mocha-test-setup -r source-map-support/register --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -72,6 +72,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/merge-tree-previous": "npm:@fluidframework/merge-tree@0.58.2000", "@fluidframework/mocha-test-setup": "^0.58.3000", "@fluidframework/test-runtime-utils": "^0.58.3000", "@microsoft/api-extractor": "^7.16.1", @@ -100,5 +101,10 @@ "source-map-support": "^0.5.16", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {}, + "disabled": true } -} +} \ No newline at end of file diff --git a/packages/dds/ordered-collection/package.json b/packages/dds/ordered-collection/package.json index f1ddfbf94866..0fa05784501e 100644 --- a/packages/dds/ordered-collection/package.json +++ b/packages/dds/ordered-collection/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -73,6 +73,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/ordered-collection-previous": "npm:@fluidframework/ordered-collection@0.58.2000", "@fluidframework/test-runtime-utils": "^0.58.3000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", @@ -95,5 +96,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/ordered-collection/src/test/types/validateOrderedCollectionPrevious.ts b/packages/dds/ordered-collection/src/test/types/validateOrderedCollectionPrevious.ts new file mode 100644 index 000000000000..af12511be048 --- /dev/null +++ b/packages/dds/ordered-collection/src/test/types/validateOrderedCollectionPrevious.ts @@ -0,0 +1,279 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/ordered-collection-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_acquireAndComplete": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_acquireAndComplete(): + TypeOnly; +declare function use_current_FunctionDeclaration_acquireAndComplete( + use: TypeOnly); +use_current_FunctionDeclaration_acquireAndComplete( + get_old_FunctionDeclaration_acquireAndComplete()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_acquireAndComplete": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_acquireAndComplete(): + TypeOnly; +declare function use_old_FunctionDeclaration_acquireAndComplete( + use: TypeOnly); +use_old_FunctionDeclaration_acquireAndComplete( + get_current_FunctionDeclaration_acquireAndComplete()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ConsensusCallback": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_ConsensusCallback(): + TypeOnly>; +declare function use_current_TypeAliasDeclaration_ConsensusCallback( + use: TypeOnly>); +use_current_TypeAliasDeclaration_ConsensusCallback( + get_old_TypeAliasDeclaration_ConsensusCallback()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ConsensusCallback": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_ConsensusCallback(): + TypeOnly>; +declare function use_old_TypeAliasDeclaration_ConsensusCallback( + use: TypeOnly>); +use_old_TypeAliasDeclaration_ConsensusCallback( + get_current_TypeAliasDeclaration_ConsensusCallback()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ConsensusOrderedCollection": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ConsensusOrderedCollection(): + TypeOnly; +declare function use_current_ClassDeclaration_ConsensusOrderedCollection( + use: TypeOnly); +use_current_ClassDeclaration_ConsensusOrderedCollection( + get_old_ClassDeclaration_ConsensusOrderedCollection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ConsensusOrderedCollection": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ConsensusOrderedCollection(): + TypeOnly; +declare function use_old_ClassDeclaration_ConsensusOrderedCollection( + use: TypeOnly); +use_old_ClassDeclaration_ConsensusOrderedCollection( + get_current_ClassDeclaration_ConsensusOrderedCollection()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ConsensusQueue": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ConsensusQueue(): + TypeOnly; +declare function use_current_ClassDeclaration_ConsensusQueue( + use: TypeOnly); +use_current_ClassDeclaration_ConsensusQueue( + get_old_ClassDeclaration_ConsensusQueue()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ConsensusQueue": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ConsensusQueue(): + TypeOnly; +declare function use_old_ClassDeclaration_ConsensusQueue( + use: TypeOnly); +use_old_ClassDeclaration_ConsensusQueue( + get_current_ClassDeclaration_ConsensusQueue()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ConsensusResult": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_ConsensusResult(): + TypeOnly; +declare function use_current_EnumDeclaration_ConsensusResult( + use: TypeOnly); +use_current_EnumDeclaration_ConsensusResult( + get_old_EnumDeclaration_ConsensusResult()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ConsensusResult": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_ConsensusResult(): + TypeOnly; +declare function use_old_EnumDeclaration_ConsensusResult( + use: TypeOnly); +use_old_EnumDeclaration_ConsensusResult( + get_current_EnumDeclaration_ConsensusResult()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConsensusOrderedCollection": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IConsensusOrderedCollection(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IConsensusOrderedCollection( + use: TypeOnly); +use_current_InterfaceDeclaration_IConsensusOrderedCollection( + get_old_InterfaceDeclaration_IConsensusOrderedCollection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConsensusOrderedCollection": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IConsensusOrderedCollection(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IConsensusOrderedCollection( + use: TypeOnly); +use_old_InterfaceDeclaration_IConsensusOrderedCollection( + get_current_InterfaceDeclaration_IConsensusOrderedCollection()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConsensusOrderedCollectionEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IConsensusOrderedCollectionEvents(): + TypeOnly>; +declare function use_current_InterfaceDeclaration_IConsensusOrderedCollectionEvents( + use: TypeOnly>); +use_current_InterfaceDeclaration_IConsensusOrderedCollectionEvents( + get_old_InterfaceDeclaration_IConsensusOrderedCollectionEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConsensusOrderedCollectionEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IConsensusOrderedCollectionEvents(): + TypeOnly>; +declare function use_old_InterfaceDeclaration_IConsensusOrderedCollectionEvents( + use: TypeOnly>); +use_old_InterfaceDeclaration_IConsensusOrderedCollectionEvents( + get_current_InterfaceDeclaration_IConsensusOrderedCollectionEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConsensusOrderedCollectionFactory": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IConsensusOrderedCollectionFactory(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IConsensusOrderedCollectionFactory( + use: TypeOnly); +use_current_InterfaceDeclaration_IConsensusOrderedCollectionFactory( + get_old_InterfaceDeclaration_IConsensusOrderedCollectionFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConsensusOrderedCollectionFactory": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IConsensusOrderedCollectionFactory(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IConsensusOrderedCollectionFactory( + use: TypeOnly); +use_old_InterfaceDeclaration_IConsensusOrderedCollectionFactory( + get_current_InterfaceDeclaration_IConsensusOrderedCollectionFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOrderedCollection": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IOrderedCollection(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IOrderedCollection( + use: TypeOnly); +use_current_InterfaceDeclaration_IOrderedCollection( + get_old_InterfaceDeclaration_IOrderedCollection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOrderedCollection": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IOrderedCollection(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IOrderedCollection( + use: TypeOnly); +use_old_InterfaceDeclaration_IOrderedCollection( + get_current_InterfaceDeclaration_IOrderedCollection()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISnapshotable": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISnapshotable(): + TypeOnly>; +declare function use_current_InterfaceDeclaration_ISnapshotable( + use: TypeOnly>); +use_current_InterfaceDeclaration_ISnapshotable( + get_old_InterfaceDeclaration_ISnapshotable()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISnapshotable": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISnapshotable(): + TypeOnly>; +declare function use_old_InterfaceDeclaration_ISnapshotable( + use: TypeOnly>); +use_old_InterfaceDeclaration_ISnapshotable( + get_current_InterfaceDeclaration_ISnapshotable()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_waitAcquireAndComplete": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_waitAcquireAndComplete(): + TypeOnly; +declare function use_current_FunctionDeclaration_waitAcquireAndComplete( + use: TypeOnly); +use_current_FunctionDeclaration_waitAcquireAndComplete( + get_old_FunctionDeclaration_waitAcquireAndComplete()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_waitAcquireAndComplete": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_waitAcquireAndComplete(): + TypeOnly; +declare function use_old_FunctionDeclaration_waitAcquireAndComplete( + use: TypeOnly); +use_old_FunctionDeclaration_waitAcquireAndComplete( + get_current_FunctionDeclaration_waitAcquireAndComplete()); diff --git a/packages/dds/register-collection/package.json b/packages/dds/register-collection/package.json index d76c70f89dff..733454b676a0 100644 --- a/packages/dds/register-collection/package.json +++ b/packages/dds/register-collection/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -72,6 +72,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/register-collection-previous": "npm:@fluidframework/register-collection@0.58.2000", "@fluidframework/test-runtime-utils": "^0.58.3000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", @@ -94,5 +95,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/register-collection/src/test/types/validateRegisterCollectionPrevious.ts b/packages/dds/register-collection/src/test/types/validateRegisterCollectionPrevious.ts new file mode 100644 index 000000000000..b1a079dc9ec4 --- /dev/null +++ b/packages/dds/register-collection/src/test/types/validateRegisterCollectionPrevious.ts @@ -0,0 +1,159 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/register-collection-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ConsensusRegisterCollection": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ConsensusRegisterCollection(): + TypeOnly>; +declare function use_current_ClassDeclaration_ConsensusRegisterCollection( + use: TypeOnly>); +use_current_ClassDeclaration_ConsensusRegisterCollection( + get_old_ClassDeclaration_ConsensusRegisterCollection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ConsensusRegisterCollection": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ConsensusRegisterCollection(): + TypeOnly>; +declare function use_old_ClassDeclaration_ConsensusRegisterCollection( + use: TypeOnly>); +use_old_ClassDeclaration_ConsensusRegisterCollection( + get_current_ClassDeclaration_ConsensusRegisterCollection()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ConsensusRegisterCollectionFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ConsensusRegisterCollectionFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_ConsensusRegisterCollectionFactory( + use: TypeOnly); +use_current_ClassDeclaration_ConsensusRegisterCollectionFactory( + get_old_ClassDeclaration_ConsensusRegisterCollectionFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ConsensusRegisterCollectionFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ConsensusRegisterCollectionFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_ConsensusRegisterCollectionFactory( + use: TypeOnly); +use_old_ClassDeclaration_ConsensusRegisterCollectionFactory( + get_current_ClassDeclaration_ConsensusRegisterCollectionFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConsensusRegisterCollection": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IConsensusRegisterCollection(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IConsensusRegisterCollection( + use: TypeOnly); +use_current_InterfaceDeclaration_IConsensusRegisterCollection( + get_old_InterfaceDeclaration_IConsensusRegisterCollection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConsensusRegisterCollection": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IConsensusRegisterCollection(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IConsensusRegisterCollection( + use: TypeOnly); +use_old_InterfaceDeclaration_IConsensusRegisterCollection( + get_current_InterfaceDeclaration_IConsensusRegisterCollection()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConsensusRegisterCollectionEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IConsensusRegisterCollectionEvents(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IConsensusRegisterCollectionEvents( + use: TypeOnly); +use_current_InterfaceDeclaration_IConsensusRegisterCollectionEvents( + get_old_InterfaceDeclaration_IConsensusRegisterCollectionEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConsensusRegisterCollectionEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IConsensusRegisterCollectionEvents(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IConsensusRegisterCollectionEvents( + use: TypeOnly); +use_old_InterfaceDeclaration_IConsensusRegisterCollectionEvents( + get_current_InterfaceDeclaration_IConsensusRegisterCollectionEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConsensusRegisterCollectionFactory": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IConsensusRegisterCollectionFactory(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IConsensusRegisterCollectionFactory( + use: TypeOnly); +use_current_InterfaceDeclaration_IConsensusRegisterCollectionFactory( + get_old_InterfaceDeclaration_IConsensusRegisterCollectionFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConsensusRegisterCollectionFactory": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IConsensusRegisterCollectionFactory(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IConsensusRegisterCollectionFactory( + use: TypeOnly); +use_old_InterfaceDeclaration_IConsensusRegisterCollectionFactory( + get_current_InterfaceDeclaration_IConsensusRegisterCollectionFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ReadPolicy": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_ReadPolicy(): + TypeOnly; +declare function use_current_EnumDeclaration_ReadPolicy( + use: TypeOnly); +use_current_EnumDeclaration_ReadPolicy( + get_old_EnumDeclaration_ReadPolicy()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ReadPolicy": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_ReadPolicy(): + TypeOnly; +declare function use_old_EnumDeclaration_ReadPolicy( + use: TypeOnly); +use_old_EnumDeclaration_ReadPolicy( + get_current_EnumDeclaration_ReadPolicy()); diff --git a/packages/dds/sequence/package.json b/packages/dds/sequence/package.json index 98c7f71368aa..b6e881c230e6 100644 --- a/packages/dds/sequence/package.json +++ b/packages/dds/sequence/package.json @@ -79,6 +79,7 @@ "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/gitresources": "^0.1035.1000", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/sequence-previous": "npm:@fluidframework/sequence@0.58.2000", "@fluidframework/server-services-client": "^0.1035.1000", "@fluidframework/test-runtime-utils": "^0.58.3000", "@microsoft/api-extractor": "^7.16.1", @@ -106,5 +107,10 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {}, + "disabled": true } -} +} \ No newline at end of file diff --git a/packages/dds/shared-object-base/package.json b/packages/dds/shared-object-base/package.json index 802f4f9517b6..74d047fe683c 100644 --- a/packages/dds/shared-object-base/package.json +++ b/packages/dds/shared-object-base/package.json @@ -33,7 +33,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -78,6 +78,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/shared-object-base-previous": "npm:@fluidframework/shared-object-base@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/benchmark": "^2.1.0", @@ -102,5 +103,9 @@ "ts-node": "^7.0.1", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/shared-object-base/src/test/types/validateSharedObjectBasePrevious.ts b/packages/dds/shared-object-base/src/test/types/validateSharedObjectBasePrevious.ts new file mode 100644 index 000000000000..6d864cba0548 --- /dev/null +++ b/packages/dds/shared-object-base/src/test/types/validateSharedObjectBasePrevious.ts @@ -0,0 +1,351 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/shared-object-base-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createSingleBlobSummary": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_createSingleBlobSummary(): + TypeOnly; +declare function use_current_FunctionDeclaration_createSingleBlobSummary( + use: TypeOnly); +use_current_FunctionDeclaration_createSingleBlobSummary( + get_old_FunctionDeclaration_createSingleBlobSummary()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createSingleBlobSummary": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_createSingleBlobSummary(): + TypeOnly; +declare function use_old_FunctionDeclaration_createSingleBlobSummary( + use: TypeOnly); +use_old_FunctionDeclaration_createSingleBlobSummary( + get_current_FunctionDeclaration_createSingleBlobSummary()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FluidSerializer": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_FluidSerializer(): + TypeOnly; +declare function use_current_ClassDeclaration_FluidSerializer( + use: TypeOnly); +use_current_ClassDeclaration_FluidSerializer( + get_old_ClassDeclaration_FluidSerializer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FluidSerializer": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_FluidSerializer(): + TypeOnly; +declare function use_old_ClassDeclaration_FluidSerializer( + use: TypeOnly); +use_old_ClassDeclaration_FluidSerializer( + get_current_ClassDeclaration_FluidSerializer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidSerializer": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IFluidSerializer(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IFluidSerializer( + use: TypeOnly); +use_current_InterfaceDeclaration_IFluidSerializer( + get_old_InterfaceDeclaration_IFluidSerializer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidSerializer": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IFluidSerializer(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IFluidSerializer( + use: TypeOnly); +use_old_InterfaceDeclaration_IFluidSerializer( + get_current_InterfaceDeclaration_IFluidSerializer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISerializedHandle": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISerializedHandle(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISerializedHandle( + use: TypeOnly); +use_current_InterfaceDeclaration_ISerializedHandle( + get_old_InterfaceDeclaration_ISerializedHandle()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISerializedHandle": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISerializedHandle(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISerializedHandle( + use: TypeOnly); +use_old_InterfaceDeclaration_ISerializedHandle( + get_current_InterfaceDeclaration_ISerializedHandle()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharedObject": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISharedObject(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISharedObject( + use: TypeOnly); +use_current_InterfaceDeclaration_ISharedObject( + get_old_InterfaceDeclaration_ISharedObject()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharedObject": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISharedObject(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISharedObject( + use: TypeOnly); +use_old_InterfaceDeclaration_ISharedObject( + get_current_InterfaceDeclaration_ISharedObject()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharedObjectEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISharedObjectEvents(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISharedObjectEvents( + use: TypeOnly); +use_current_InterfaceDeclaration_ISharedObjectEvents( + get_old_InterfaceDeclaration_ISharedObjectEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharedObjectEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISharedObjectEvents(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISharedObjectEvents( + use: TypeOnly); +use_old_InterfaceDeclaration_ISharedObjectEvents( + get_current_InterfaceDeclaration_ISharedObjectEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_isSerializedHandle": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_isSerializedHandle(): + TypeOnly; +declare function use_current_VariableDeclaration_isSerializedHandle( + use: TypeOnly); +use_current_VariableDeclaration_isSerializedHandle( + get_old_VariableDeclaration_isSerializedHandle()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_isSerializedHandle": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_isSerializedHandle(): + TypeOnly; +declare function use_old_VariableDeclaration_isSerializedHandle( + use: TypeOnly); +use_old_VariableDeclaration_isSerializedHandle( + get_current_VariableDeclaration_isSerializedHandle()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_makeHandlesSerializable": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_makeHandlesSerializable(): + TypeOnly; +declare function use_current_FunctionDeclaration_makeHandlesSerializable( + use: TypeOnly); +use_current_FunctionDeclaration_makeHandlesSerializable( + get_old_FunctionDeclaration_makeHandlesSerializable()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_makeHandlesSerializable": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_makeHandlesSerializable(): + TypeOnly; +declare function use_old_FunctionDeclaration_makeHandlesSerializable( + use: TypeOnly); +use_old_FunctionDeclaration_makeHandlesSerializable( + get_current_FunctionDeclaration_makeHandlesSerializable()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_parseHandles": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_parseHandles(): + TypeOnly; +declare function use_current_FunctionDeclaration_parseHandles( + use: TypeOnly); +use_current_FunctionDeclaration_parseHandles( + get_old_FunctionDeclaration_parseHandles()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_parseHandles": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_parseHandles(): + TypeOnly; +declare function use_old_FunctionDeclaration_parseHandles( + use: TypeOnly); +use_old_FunctionDeclaration_parseHandles( + get_current_FunctionDeclaration_parseHandles()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_serializeHandles": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_serializeHandles(): + TypeOnly; +declare function use_current_FunctionDeclaration_serializeHandles( + use: TypeOnly); +use_current_FunctionDeclaration_serializeHandles( + get_old_FunctionDeclaration_serializeHandles()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_serializeHandles": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_serializeHandles(): + TypeOnly; +declare function use_old_FunctionDeclaration_serializeHandles( + use: TypeOnly); +use_old_FunctionDeclaration_serializeHandles( + get_current_FunctionDeclaration_serializeHandles()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedObject": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SharedObject(): + TypeOnly; +declare function use_current_ClassDeclaration_SharedObject( + use: TypeOnly); +use_current_ClassDeclaration_SharedObject( + get_old_ClassDeclaration_SharedObject()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedObject": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SharedObject(): + TypeOnly; +declare function use_old_ClassDeclaration_SharedObject( + use: TypeOnly); +use_old_ClassDeclaration_SharedObject( + get_current_ClassDeclaration_SharedObject()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedObjectCore": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SharedObjectCore(): + TypeOnly; +declare function use_current_ClassDeclaration_SharedObjectCore( + use: TypeOnly); +use_current_ClassDeclaration_SharedObjectCore( + get_old_ClassDeclaration_SharedObjectCore()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedObjectCore": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SharedObjectCore(): + TypeOnly; +declare function use_old_ClassDeclaration_SharedObjectCore( + use: TypeOnly); +use_old_ClassDeclaration_SharedObjectCore( + get_current_ClassDeclaration_SharedObjectCore()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SummarySerializer": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SummarySerializer(): + TypeOnly; +declare function use_current_ClassDeclaration_SummarySerializer( + use: TypeOnly); +use_current_ClassDeclaration_SummarySerializer( + get_old_ClassDeclaration_SummarySerializer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SummarySerializer": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SummarySerializer(): + TypeOnly; +declare function use_old_ClassDeclaration_SummarySerializer( + use: TypeOnly); +use_old_ClassDeclaration_SummarySerializer( + get_current_ClassDeclaration_SummarySerializer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ValueType": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_ValueType(): + TypeOnly; +declare function use_current_EnumDeclaration_ValueType( + use: TypeOnly); +use_current_EnumDeclaration_ValueType( + get_old_EnumDeclaration_ValueType()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ValueType": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_ValueType(): + TypeOnly; +declare function use_old_EnumDeclaration_ValueType( + use: TypeOnly); +use_old_EnumDeclaration_ValueType( + get_current_EnumDeclaration_ValueType()); diff --git a/packages/dds/shared-summary-block/package.json b/packages/dds/shared-summary-block/package.json index 8da465db9eae..49d6e9d3e4f0 100644 --- a/packages/dds/shared-summary-block/package.json +++ b/packages/dds/shared-summary-block/package.json @@ -33,7 +33,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -72,6 +72,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/shared-summary-block-previous": "npm:@fluidframework/shared-summary-block@0.58.2000", "@fluidframework/test-runtime-utils": "^0.58.3000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", @@ -96,5 +97,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/shared-summary-block/src/test/types/validateSharedSummaryBlockPrevious.ts b/packages/dds/shared-summary-block/src/test/types/validateSharedSummaryBlockPrevious.ts new file mode 100644 index 000000000000..8352c78f4951 --- /dev/null +++ b/packages/dds/shared-summary-block/src/test/types/validateSharedSummaryBlockPrevious.ts @@ -0,0 +1,87 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/shared-summary-block-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharedSummaryBlock": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISharedSummaryBlock(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISharedSummaryBlock( + use: TypeOnly); +use_current_InterfaceDeclaration_ISharedSummaryBlock( + get_old_InterfaceDeclaration_ISharedSummaryBlock()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharedSummaryBlock": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISharedSummaryBlock(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISharedSummaryBlock( + use: TypeOnly); +use_old_InterfaceDeclaration_ISharedSummaryBlock( + get_current_InterfaceDeclaration_ISharedSummaryBlock()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedSummaryBlock": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SharedSummaryBlock(): + TypeOnly; +declare function use_current_ClassDeclaration_SharedSummaryBlock( + use: TypeOnly); +use_current_ClassDeclaration_SharedSummaryBlock( + get_old_ClassDeclaration_SharedSummaryBlock()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedSummaryBlock": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SharedSummaryBlock(): + TypeOnly; +declare function use_old_ClassDeclaration_SharedSummaryBlock( + use: TypeOnly); +use_old_ClassDeclaration_SharedSummaryBlock( + get_current_ClassDeclaration_SharedSummaryBlock()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedSummaryBlockFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SharedSummaryBlockFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_SharedSummaryBlockFactory( + use: TypeOnly); +use_current_ClassDeclaration_SharedSummaryBlockFactory( + get_old_ClassDeclaration_SharedSummaryBlockFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedSummaryBlockFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SharedSummaryBlockFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_SharedSummaryBlockFactory( + use: TypeOnly); +use_old_ClassDeclaration_SharedSummaryBlockFactory( + get_current_ClassDeclaration_SharedSummaryBlockFactory()); diff --git a/packages/dds/task-manager/package.json b/packages/dds/task-manager/package.json index 7a2b9326db55..b0ef08268197 100644 --- a/packages/dds/task-manager/package.json +++ b/packages/dds/task-manager/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter mocha-junit-reporter --reporter-options mochaFile=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -71,6 +71,7 @@ "@fluidframework/shared-object-base": "^0.58.3000" }, "devDependencies": { + "@fluid-experimental/task-manager-previous": "npm:@fluid-experimental/task-manager@0.58.2000", "@fluid-internal/test-dds-utils": "^0.58.3000", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", @@ -98,5 +99,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/task-manager/src/test/types/validateTaskManagerPrevious.ts b/packages/dds/task-manager/src/test/types/validateTaskManagerPrevious.ts new file mode 100644 index 000000000000..712b0ef35818 --- /dev/null +++ b/packages/dds/task-manager/src/test/types/validateTaskManagerPrevious.ts @@ -0,0 +1,207 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluid-experimental/task-manager-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOldestClientObservable": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IOldestClientObservable(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IOldestClientObservable( + use: TypeOnly); +use_current_InterfaceDeclaration_IOldestClientObservable( + get_old_InterfaceDeclaration_IOldestClientObservable()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOldestClientObservable": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IOldestClientObservable(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IOldestClientObservable( + use: TypeOnly); +use_old_InterfaceDeclaration_IOldestClientObservable( + get_current_InterfaceDeclaration_IOldestClientObservable()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOldestClientObservableEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IOldestClientObservableEvents(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IOldestClientObservableEvents( + use: TypeOnly); +use_current_InterfaceDeclaration_IOldestClientObservableEvents( + get_old_InterfaceDeclaration_IOldestClientObservableEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOldestClientObservableEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IOldestClientObservableEvents(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IOldestClientObservableEvents( + use: TypeOnly); +use_old_InterfaceDeclaration_IOldestClientObservableEvents( + get_current_InterfaceDeclaration_IOldestClientObservableEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOldestClientObserver": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IOldestClientObserver(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IOldestClientObserver( + use: TypeOnly); +use_current_InterfaceDeclaration_IOldestClientObserver( + get_old_InterfaceDeclaration_IOldestClientObserver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOldestClientObserver": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IOldestClientObserver(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IOldestClientObserver( + use: TypeOnly); +use_old_InterfaceDeclaration_IOldestClientObserver( + get_current_InterfaceDeclaration_IOldestClientObserver()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOldestClientObserverEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IOldestClientObserverEvents(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IOldestClientObserverEvents( + use: TypeOnly); +use_current_InterfaceDeclaration_IOldestClientObserverEvents( + get_old_InterfaceDeclaration_IOldestClientObserverEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOldestClientObserverEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IOldestClientObserverEvents(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IOldestClientObserverEvents( + use: TypeOnly); +use_old_InterfaceDeclaration_IOldestClientObserverEvents( + get_current_InterfaceDeclaration_IOldestClientObserverEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITaskManager": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITaskManager(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITaskManager( + use: TypeOnly); +use_current_InterfaceDeclaration_ITaskManager( + get_old_InterfaceDeclaration_ITaskManager()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITaskManager": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITaskManager(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITaskManager( + use: TypeOnly); +use_old_InterfaceDeclaration_ITaskManager( + get_current_InterfaceDeclaration_ITaskManager()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITaskManagerEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITaskManagerEvents(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITaskManagerEvents( + use: TypeOnly); +use_current_InterfaceDeclaration_ITaskManagerEvents( + get_old_InterfaceDeclaration_ITaskManagerEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITaskManagerEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITaskManagerEvents(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITaskManagerEvents( + use: TypeOnly); +use_old_InterfaceDeclaration_ITaskManagerEvents( + get_current_InterfaceDeclaration_ITaskManagerEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OldestClientObserver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_OldestClientObserver(): + TypeOnly; +declare function use_current_ClassDeclaration_OldestClientObserver( + use: TypeOnly); +use_current_ClassDeclaration_OldestClientObserver( + get_old_ClassDeclaration_OldestClientObserver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OldestClientObserver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_OldestClientObserver(): + TypeOnly; +declare function use_old_ClassDeclaration_OldestClientObserver( + use: TypeOnly); +use_old_ClassDeclaration_OldestClientObserver( + get_current_ClassDeclaration_OldestClientObserver()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TaskManager": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_TaskManager(): + TypeOnly; +declare function use_current_ClassDeclaration_TaskManager( + use: TypeOnly); +use_current_ClassDeclaration_TaskManager( + get_old_ClassDeclaration_TaskManager()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TaskManager": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_TaskManager(): + TypeOnly; +declare function use_old_ClassDeclaration_TaskManager( + use: TypeOnly); +use_old_ClassDeclaration_TaskManager( + get_current_ClassDeclaration_TaskManager()); diff --git a/packages/drivers/debugger/package.json b/packages/drivers/debugger/package.json index 98b3030d6e0b..f92554639c92 100644 --- a/packages/drivers/debugger/package.json +++ b/packages/drivers/debugger/package.json @@ -41,6 +41,7 @@ }, "devDependencies": { "@fluidframework/build-common": "^0.23.0", + "@fluidframework/debugger-previous": "npm:@fluidframework/debugger@0.58.2000", "@fluidframework/eslint-config-fluid": "^0.27.0", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", @@ -61,5 +62,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/drivers/debugger/src/test/types/validateDebuggerPrevious.ts b/packages/drivers/debugger/src/test/types/validateDebuggerPrevious.ts new file mode 100644 index 000000000000..7597cfc1288b --- /dev/null +++ b/packages/drivers/debugger/src/test/types/validateDebuggerPrevious.ts @@ -0,0 +1,183 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/debugger-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DebuggerUI": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DebuggerUI(): + TypeOnly; +declare function use_current_ClassDeclaration_DebuggerUI( + use: TypeOnly); +use_current_ClassDeclaration_DebuggerUI( + get_old_ClassDeclaration_DebuggerUI()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DebuggerUI": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DebuggerUI(): + TypeOnly; +declare function use_old_ClassDeclaration_DebuggerUI( + use: TypeOnly); +use_old_ClassDeclaration_DebuggerUI( + get_current_ClassDeclaration_DebuggerUI()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_debuggerUIFactory": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_debuggerUIFactory(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_debuggerUIFactory( + use: TypeOnly); +use_current_TypeAliasDeclaration_debuggerUIFactory( + get_old_TypeAliasDeclaration_debuggerUIFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_debuggerUIFactory": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_debuggerUIFactory(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_debuggerUIFactory( + use: TypeOnly); +use_old_TypeAliasDeclaration_debuggerUIFactory( + get_current_TypeAliasDeclaration_debuggerUIFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DebugReplayController": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DebugReplayController(): + TypeOnly; +declare function use_current_ClassDeclaration_DebugReplayController( + use: TypeOnly); +use_current_ClassDeclaration_DebugReplayController( + get_old_ClassDeclaration_DebugReplayController()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DebugReplayController": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DebugReplayController(): + TypeOnly; +declare function use_old_ClassDeclaration_DebugReplayController( + use: TypeOnly); +use_old_ClassDeclaration_DebugReplayController( + get_current_ClassDeclaration_DebugReplayController()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_FluidDebugger.createFromService": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_FluidDebugger_createFromService(): + TypeOnly; +declare function use_current_FunctionDeclaration_FluidDebugger_createFromService( + use: TypeOnly); +use_current_FunctionDeclaration_FluidDebugger_createFromService( + get_old_FunctionDeclaration_FluidDebugger_createFromService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_FluidDebugger.createFromService": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_FluidDebugger_createFromService(): + TypeOnly; +declare function use_old_FunctionDeclaration_FluidDebugger_createFromService( + use: TypeOnly); +use_old_FunctionDeclaration_FluidDebugger_createFromService( + get_current_FunctionDeclaration_FluidDebugger_createFromService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_FluidDebugger.createFromServiceFactory": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_FluidDebugger_createFromServiceFactory(): + TypeOnly; +declare function use_current_FunctionDeclaration_FluidDebugger_createFromServiceFactory( + use: TypeOnly); +use_current_FunctionDeclaration_FluidDebugger_createFromServiceFactory( + get_old_FunctionDeclaration_FluidDebugger_createFromServiceFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_FluidDebugger.createFromServiceFactory": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_FluidDebugger_createFromServiceFactory(): + TypeOnly; +declare function use_old_FunctionDeclaration_FluidDebugger_createFromServiceFactory( + use: TypeOnly); +use_old_FunctionDeclaration_FluidDebugger_createFromServiceFactory( + get_current_FunctionDeclaration_FluidDebugger_createFromServiceFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IDebuggerController": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IDebuggerController(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IDebuggerController( + use: TypeOnly); +use_current_InterfaceDeclaration_IDebuggerController( + get_old_InterfaceDeclaration_IDebuggerController()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IDebuggerController": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IDebuggerController(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IDebuggerController( + use: TypeOnly); +use_old_InterfaceDeclaration_IDebuggerController( + get_current_InterfaceDeclaration_IDebuggerController()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IDebuggerUI": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IDebuggerUI(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IDebuggerUI( + use: TypeOnly); +use_current_InterfaceDeclaration_IDebuggerUI( + get_old_InterfaceDeclaration_IDebuggerUI()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IDebuggerUI": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IDebuggerUI(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IDebuggerUI( + use: TypeOnly); +use_old_InterfaceDeclaration_IDebuggerUI( + get_current_InterfaceDeclaration_IDebuggerUI()); diff --git a/packages/drivers/driver-base/package.json b/packages/drivers/driver-base/package.json index 5ef90572f839..90900d9d8ec0 100644 --- a/packages/drivers/driver-base/package.json +++ b/packages/drivers/driver-base/package.json @@ -42,6 +42,7 @@ }, "devDependencies": { "@fluidframework/build-common": "^0.23.0", + "@fluidframework/driver-base-previous": "npm:@fluidframework/driver-base@0.58.2000", "@fluidframework/eslint-config-fluid": "^0.27.0", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", @@ -61,5 +62,9 @@ "socket.io-client": "^4.4.1", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/drivers/driver-base/src/test/types/validateDriverBasePrevious.ts b/packages/drivers/driver-base/src/test/types/validateDriverBasePrevious.ts new file mode 100644 index 000000000000..e8240e98d26c --- /dev/null +++ b/packages/drivers/driver-base/src/test/types/validateDriverBasePrevious.ts @@ -0,0 +1,39 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/driver-base-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DocumentDeltaConnection": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DocumentDeltaConnection(): + TypeOnly; +declare function use_current_ClassDeclaration_DocumentDeltaConnection( + use: TypeOnly); +use_current_ClassDeclaration_DocumentDeltaConnection( + get_old_ClassDeclaration_DocumentDeltaConnection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DocumentDeltaConnection": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DocumentDeltaConnection(): + TypeOnly; +declare function use_old_ClassDeclaration_DocumentDeltaConnection( + use: TypeOnly); +use_old_ClassDeclaration_DocumentDeltaConnection( + get_current_ClassDeclaration_DocumentDeltaConnection()); diff --git a/packages/drivers/file-driver/package.json b/packages/drivers/file-driver/package.json index 451f5e891c7b..994810a9d4f7 100644 --- a/packages/drivers/file-driver/package.json +++ b/packages/drivers/file-driver/package.json @@ -42,6 +42,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/file-driver-previous": "npm:@fluidframework/file-driver@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/node": "^14.18.0", @@ -59,5 +60,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/drivers/file-driver/src/test/types/validateFileDriverPrevious.ts b/packages/drivers/file-driver/src/test/types/validateFileDriverPrevious.ts new file mode 100644 index 000000000000..9e2e502b4b71 --- /dev/null +++ b/packages/drivers/file-driver/src/test/types/validateFileDriverPrevious.ts @@ -0,0 +1,279 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/file-driver-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FileDeltaStorageService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_FileDeltaStorageService(): + TypeOnly; +declare function use_current_ClassDeclaration_FileDeltaStorageService( + use: TypeOnly); +use_current_ClassDeclaration_FileDeltaStorageService( + get_old_ClassDeclaration_FileDeltaStorageService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FileDeltaStorageService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_FileDeltaStorageService(): + TypeOnly; +declare function use_old_ClassDeclaration_FileDeltaStorageService( + use: TypeOnly); +use_old_ClassDeclaration_FileDeltaStorageService( + get_current_ClassDeclaration_FileDeltaStorageService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FileDocumentService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_FileDocumentService(): + TypeOnly; +declare function use_current_ClassDeclaration_FileDocumentService( + use: TypeOnly); +use_current_ClassDeclaration_FileDocumentService( + get_old_ClassDeclaration_FileDocumentService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FileDocumentService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_FileDocumentService(): + TypeOnly; +declare function use_old_ClassDeclaration_FileDocumentService( + use: TypeOnly); +use_old_ClassDeclaration_FileDocumentService( + get_current_ClassDeclaration_FileDocumentService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FileDocumentServiceFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_FileDocumentServiceFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_FileDocumentServiceFactory( + use: TypeOnly); +use_current_ClassDeclaration_FileDocumentServiceFactory( + get_old_ClassDeclaration_FileDocumentServiceFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FileDocumentServiceFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_FileDocumentServiceFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_FileDocumentServiceFactory( + use: TypeOnly); +use_old_ClassDeclaration_FileDocumentServiceFactory( + get_current_ClassDeclaration_FileDocumentServiceFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_FileSnapshotWriterClassFactory": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_FileSnapshotWriterClassFactory(): + TypeOnly; +declare function use_current_VariableDeclaration_FileSnapshotWriterClassFactory( + use: TypeOnly); +use_current_VariableDeclaration_FileSnapshotWriterClassFactory( + get_old_VariableDeclaration_FileSnapshotWriterClassFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_FileSnapshotWriterClassFactory": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_FileSnapshotWriterClassFactory(): + TypeOnly; +declare function use_old_VariableDeclaration_FileSnapshotWriterClassFactory( + use: TypeOnly); +use_old_VariableDeclaration_FileSnapshotWriterClassFactory( + get_current_VariableDeclaration_FileSnapshotWriterClassFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_FileStorageDocumentName": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_FileStorageDocumentName(): + TypeOnly; +declare function use_current_VariableDeclaration_FileStorageDocumentName( + use: TypeOnly); +use_current_VariableDeclaration_FileStorageDocumentName( + get_old_VariableDeclaration_FileStorageDocumentName()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_FileStorageDocumentName": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_FileStorageDocumentName(): + TypeOnly; +declare function use_old_VariableDeclaration_FileStorageDocumentName( + use: TypeOnly); +use_old_VariableDeclaration_FileStorageDocumentName( + get_current_VariableDeclaration_FileStorageDocumentName()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FluidFetchReader": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_FluidFetchReader(): + TypeOnly; +declare function use_current_ClassDeclaration_FluidFetchReader( + use: TypeOnly); +use_current_ClassDeclaration_FluidFetchReader( + get_old_ClassDeclaration_FluidFetchReader()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FluidFetchReader": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_FluidFetchReader(): + TypeOnly; +declare function use_old_ClassDeclaration_FluidFetchReader( + use: TypeOnly); +use_old_ClassDeclaration_FluidFetchReader( + get_current_ClassDeclaration_FluidFetchReader()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_FluidFetchReaderFileSnapshotWriter": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_FluidFetchReaderFileSnapshotWriter(): + TypeOnly; +declare function use_current_VariableDeclaration_FluidFetchReaderFileSnapshotWriter( + use: TypeOnly); +use_current_VariableDeclaration_FluidFetchReaderFileSnapshotWriter( + get_old_VariableDeclaration_FluidFetchReaderFileSnapshotWriter()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_FluidFetchReaderFileSnapshotWriter": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_FluidFetchReaderFileSnapshotWriter(): + TypeOnly; +declare function use_old_VariableDeclaration_FluidFetchReaderFileSnapshotWriter( + use: TypeOnly); +use_old_VariableDeclaration_FluidFetchReaderFileSnapshotWriter( + get_current_VariableDeclaration_FluidFetchReaderFileSnapshotWriter()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISnapshotWriterStorage": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISnapshotWriterStorage(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISnapshotWriterStorage( + use: TypeOnly); +use_current_InterfaceDeclaration_ISnapshotWriterStorage( + get_old_InterfaceDeclaration_ISnapshotWriterStorage()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISnapshotWriterStorage": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISnapshotWriterStorage(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISnapshotWriterStorage( + use: TypeOnly); +use_old_InterfaceDeclaration_ISnapshotWriterStorage( + get_current_InterfaceDeclaration_ISnapshotWriterStorage()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ReaderConstructor": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_ReaderConstructor(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_ReaderConstructor( + use: TypeOnly); +use_current_TypeAliasDeclaration_ReaderConstructor( + get_old_TypeAliasDeclaration_ReaderConstructor()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ReaderConstructor": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_ReaderConstructor(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_ReaderConstructor( + use: TypeOnly); +use_old_TypeAliasDeclaration_ReaderConstructor( + get_current_TypeAliasDeclaration_ReaderConstructor()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_Replayer": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_Replayer(): + TypeOnly; +declare function use_current_ClassDeclaration_Replayer( + use: TypeOnly); +use_current_ClassDeclaration_Replayer( + get_old_ClassDeclaration_Replayer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_Replayer": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_Replayer(): + TypeOnly; +declare function use_old_ClassDeclaration_Replayer( + use: TypeOnly); +use_old_ClassDeclaration_Replayer( + get_current_ClassDeclaration_Replayer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ReplayFileDeltaConnection": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ReplayFileDeltaConnection(): + TypeOnly; +declare function use_current_ClassDeclaration_ReplayFileDeltaConnection( + use: TypeOnly); +use_current_ClassDeclaration_ReplayFileDeltaConnection( + get_old_ClassDeclaration_ReplayFileDeltaConnection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ReplayFileDeltaConnection": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ReplayFileDeltaConnection(): + TypeOnly; +declare function use_old_ClassDeclaration_ReplayFileDeltaConnection( + use: TypeOnly); +use_old_ClassDeclaration_ReplayFileDeltaConnection( + get_current_ClassDeclaration_ReplayFileDeltaConnection()); diff --git a/packages/drivers/fluidapp-odsp-urlResolver/package.json b/packages/drivers/fluidapp-odsp-urlResolver/package.json index 051796fa483b..d2028c4baa85 100644 --- a/packages/drivers/fluidapp-odsp-urlResolver/package.json +++ b/packages/drivers/fluidapp-odsp-urlResolver/package.json @@ -29,7 +29,7 @@ "lint": "npm run eslint", "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -43,6 +43,7 @@ "@fluidframework/odsp-driver-definitions": "^0.58.3000" }, "devDependencies": { + "@fluid-tools/fluidapp-odsp-urlresolver-previous": "npm:@fluid-tools/fluidapp-odsp-urlresolver@0.58.2000", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", @@ -63,5 +64,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/drivers/fluidapp-odsp-urlResolver/src/test/types/validateFluidappOdspUrlresolverPrevious.ts b/packages/drivers/fluidapp-odsp-urlResolver/src/test/types/validateFluidappOdspUrlresolverPrevious.ts new file mode 100644 index 000000000000..75bbc6057c90 --- /dev/null +++ b/packages/drivers/fluidapp-odsp-urlResolver/src/test/types/validateFluidappOdspUrlresolverPrevious.ts @@ -0,0 +1,39 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluid-tools/fluidapp-odsp-urlresolver-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FluidAppOdspUrlResolver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_FluidAppOdspUrlResolver(): + TypeOnly; +declare function use_current_ClassDeclaration_FluidAppOdspUrlResolver( + use: TypeOnly); +use_current_ClassDeclaration_FluidAppOdspUrlResolver( + get_old_ClassDeclaration_FluidAppOdspUrlResolver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FluidAppOdspUrlResolver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_FluidAppOdspUrlResolver(): + TypeOnly; +declare function use_old_ClassDeclaration_FluidAppOdspUrlResolver( + use: TypeOnly); +use_old_ClassDeclaration_FluidAppOdspUrlResolver( + get_current_ClassDeclaration_FluidAppOdspUrlResolver()); diff --git a/packages/drivers/iframe-driver/package.json b/packages/drivers/iframe-driver/package.json index acf66404ee99..476e8cefec3b 100644 --- a/packages/drivers/iframe-driver/package.json +++ b/packages/drivers/iframe-driver/package.json @@ -45,6 +45,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/iframe-driver-previous": "npm:@fluidframework/iframe-driver@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", @@ -66,5 +67,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/drivers/iframe-driver/src/test/types/validateIframeDriverPrevious.ts b/packages/drivers/iframe-driver/src/test/types/validateIframeDriverPrevious.ts new file mode 100644 index 000000000000..36b3648ba5c7 --- /dev/null +++ b/packages/drivers/iframe-driver/src/test/types/validateIframeDriverPrevious.ts @@ -0,0 +1,303 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/iframe-driver-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DocumentServiceFactoryProxy": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DocumentServiceFactoryProxy(): + TypeOnly; +declare function use_current_ClassDeclaration_DocumentServiceFactoryProxy( + use: TypeOnly); +use_current_ClassDeclaration_DocumentServiceFactoryProxy( + get_old_ClassDeclaration_DocumentServiceFactoryProxy()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DocumentServiceFactoryProxy": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DocumentServiceFactoryProxy(): + TypeOnly; +declare function use_old_ClassDeclaration_DocumentServiceFactoryProxy( + use: TypeOnly); +use_old_ClassDeclaration_DocumentServiceFactoryProxy( + get_current_ClassDeclaration_DocumentServiceFactoryProxy()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ICombinedDriver": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ICombinedDriver(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ICombinedDriver( + use: TypeOnly); +use_current_InterfaceDeclaration_ICombinedDriver( + get_old_InterfaceDeclaration_ICombinedDriver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ICombinedDriver": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ICombinedDriver(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ICombinedDriver( + use: TypeOnly); +use_old_InterfaceDeclaration_ICombinedDriver( + get_current_InterfaceDeclaration_ICombinedDriver()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IDocumentServiceFactoryProxy": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IDocumentServiceFactoryProxy(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IDocumentServiceFactoryProxy( + use: TypeOnly); +use_current_InterfaceDeclaration_IDocumentServiceFactoryProxy( + get_old_InterfaceDeclaration_IDocumentServiceFactoryProxy()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IDocumentServiceFactoryProxy": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IDocumentServiceFactoryProxy(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IDocumentServiceFactoryProxy( + use: TypeOnly); +use_old_InterfaceDeclaration_IDocumentServiceFactoryProxy( + get_current_InterfaceDeclaration_IDocumentServiceFactoryProxy()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_IDocumentServiceFactoryProxyKey": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_IDocumentServiceFactoryProxyKey(): + TypeOnly; +declare function use_current_VariableDeclaration_IDocumentServiceFactoryProxyKey( + use: TypeOnly); +use_current_VariableDeclaration_IDocumentServiceFactoryProxyKey( + get_old_VariableDeclaration_IDocumentServiceFactoryProxyKey()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_IDocumentServiceFactoryProxyKey": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_IDocumentServiceFactoryProxyKey(): + TypeOnly; +declare function use_old_VariableDeclaration_IDocumentServiceFactoryProxyKey( + use: TypeOnly); +use_old_VariableDeclaration_IDocumentServiceFactoryProxyKey( + get_current_VariableDeclaration_IDocumentServiceFactoryProxyKey()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InnerDocumentDeltaConnection": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_InnerDocumentDeltaConnection(): + TypeOnly; +declare function use_current_ClassDeclaration_InnerDocumentDeltaConnection( + use: TypeOnly); +use_current_ClassDeclaration_InnerDocumentDeltaConnection( + get_old_ClassDeclaration_InnerDocumentDeltaConnection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InnerDocumentDeltaConnection": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_InnerDocumentDeltaConnection(): + TypeOnly; +declare function use_old_ClassDeclaration_InnerDocumentDeltaConnection( + use: TypeOnly); +use_old_ClassDeclaration_InnerDocumentDeltaConnection( + get_current_ClassDeclaration_InnerDocumentDeltaConnection()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InnerDocumentService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_InnerDocumentService(): + TypeOnly; +declare function use_current_ClassDeclaration_InnerDocumentService( + use: TypeOnly); +use_current_ClassDeclaration_InnerDocumentService( + get_old_ClassDeclaration_InnerDocumentService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InnerDocumentService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_InnerDocumentService(): + TypeOnly; +declare function use_old_ClassDeclaration_InnerDocumentService( + use: TypeOnly); +use_old_ClassDeclaration_InnerDocumentService( + get_current_ClassDeclaration_InnerDocumentService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InnerDocumentServiceFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_InnerDocumentServiceFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_InnerDocumentServiceFactory( + use: TypeOnly); +use_current_ClassDeclaration_InnerDocumentServiceFactory( + get_old_ClassDeclaration_InnerDocumentServiceFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InnerDocumentServiceFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_InnerDocumentServiceFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_InnerDocumentServiceFactory( + use: TypeOnly); +use_old_ClassDeclaration_InnerDocumentServiceFactory( + get_current_ClassDeclaration_InnerDocumentServiceFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InnerUrlResolver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_InnerUrlResolver(): + TypeOnly; +declare function use_current_ClassDeclaration_InnerUrlResolver( + use: TypeOnly); +use_current_ClassDeclaration_InnerUrlResolver( + get_old_ClassDeclaration_InnerUrlResolver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InnerUrlResolver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_InnerUrlResolver(): + TypeOnly; +declare function use_old_ClassDeclaration_InnerUrlResolver( + use: TypeOnly); +use_old_ClassDeclaration_InnerUrlResolver( + get_current_ClassDeclaration_InnerUrlResolver()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOuterDocumentDeltaConnectionProxy": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IOuterDocumentDeltaConnectionProxy(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IOuterDocumentDeltaConnectionProxy( + use: TypeOnly); +use_current_InterfaceDeclaration_IOuterDocumentDeltaConnectionProxy( + get_old_InterfaceDeclaration_IOuterDocumentDeltaConnectionProxy()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOuterDocumentDeltaConnectionProxy": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IOuterDocumentDeltaConnectionProxy(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IOuterDocumentDeltaConnectionProxy( + use: TypeOnly); +use_old_InterfaceDeclaration_IOuterDocumentDeltaConnectionProxy( + get_current_InterfaceDeclaration_IOuterDocumentDeltaConnectionProxy()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IUrlResolverProxy": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IUrlResolverProxy(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IUrlResolverProxy( + use: TypeOnly); +use_current_InterfaceDeclaration_IUrlResolverProxy( + get_old_InterfaceDeclaration_IUrlResolverProxy()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IUrlResolverProxy": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IUrlResolverProxy(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IUrlResolverProxy( + use: TypeOnly); +use_old_InterfaceDeclaration_IUrlResolverProxy( + get_current_InterfaceDeclaration_IUrlResolverProxy()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_IUrlResolverProxyKey": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_IUrlResolverProxyKey(): + TypeOnly; +declare function use_current_VariableDeclaration_IUrlResolverProxyKey( + use: TypeOnly); +use_current_VariableDeclaration_IUrlResolverProxyKey( + get_old_VariableDeclaration_IUrlResolverProxyKey()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_IUrlResolverProxyKey": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_IUrlResolverProxyKey(): + TypeOnly; +declare function use_old_VariableDeclaration_IUrlResolverProxyKey( + use: TypeOnly); +use_old_VariableDeclaration_IUrlResolverProxyKey( + get_current_VariableDeclaration_IUrlResolverProxyKey()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OuterUrlResolver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_OuterUrlResolver(): + TypeOnly; +declare function use_current_ClassDeclaration_OuterUrlResolver( + use: TypeOnly); +use_current_ClassDeclaration_OuterUrlResolver( + get_old_ClassDeclaration_OuterUrlResolver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OuterUrlResolver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_OuterUrlResolver(): + TypeOnly; +declare function use_old_ClassDeclaration_OuterUrlResolver( + use: TypeOnly); +use_old_ClassDeclaration_OuterUrlResolver( + get_current_ClassDeclaration_OuterUrlResolver()); diff --git a/packages/drivers/local-driver/package.json b/packages/drivers/local-driver/package.json index 9c31e0f5a698..9e792963b4cc 100644 --- a/packages/drivers/local-driver/package.json +++ b/packages/drivers/local-driver/package.json @@ -29,7 +29,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -74,6 +74,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/local-driver-previous": "npm:@fluidframework/local-driver@0.58.2000", "@fluidframework/mocha-test-setup": "^0.58.3000", "@rushstack/eslint-config": "^2.5.1", "@types/jsrsasign": "^8.0.8", @@ -96,5 +97,9 @@ "socket.io-client": "^4.4.1", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/drivers/local-driver/src/test/types/validateLocalDriverPrevious.ts b/packages/drivers/local-driver/src/test/types/validateLocalDriverPrevious.ts new file mode 100644 index 000000000000..115b9d04f9dc --- /dev/null +++ b/packages/drivers/local-driver/src/test/types/validateLocalDriverPrevious.ts @@ -0,0 +1,207 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/local-driver-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createLocalDocumentService": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_createLocalDocumentService(): + TypeOnly; +declare function use_current_FunctionDeclaration_createLocalDocumentService( + use: TypeOnly); +use_current_FunctionDeclaration_createLocalDocumentService( + get_old_FunctionDeclaration_createLocalDocumentService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createLocalDocumentService": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_createLocalDocumentService(): + TypeOnly; +declare function use_old_FunctionDeclaration_createLocalDocumentService( + use: TypeOnly); +use_old_FunctionDeclaration_createLocalDocumentService( + get_current_FunctionDeclaration_createLocalDocumentService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createLocalResolverCreateNewRequest": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_createLocalResolverCreateNewRequest(): + TypeOnly; +declare function use_current_FunctionDeclaration_createLocalResolverCreateNewRequest( + use: TypeOnly); +use_current_FunctionDeclaration_createLocalResolverCreateNewRequest( + get_old_FunctionDeclaration_createLocalResolverCreateNewRequest()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createLocalResolverCreateNewRequest": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_createLocalResolverCreateNewRequest(): + TypeOnly; +declare function use_old_FunctionDeclaration_createLocalResolverCreateNewRequest( + use: TypeOnly); +use_old_FunctionDeclaration_createLocalResolverCreateNewRequest( + get_current_FunctionDeclaration_createLocalResolverCreateNewRequest()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LocalDeltaStorageService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_LocalDeltaStorageService(): + TypeOnly; +declare function use_current_ClassDeclaration_LocalDeltaStorageService( + use: TypeOnly); +use_current_ClassDeclaration_LocalDeltaStorageService( + get_old_ClassDeclaration_LocalDeltaStorageService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LocalDeltaStorageService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_LocalDeltaStorageService(): + TypeOnly; +declare function use_old_ClassDeclaration_LocalDeltaStorageService( + use: TypeOnly); +use_old_ClassDeclaration_LocalDeltaStorageService( + get_current_ClassDeclaration_LocalDeltaStorageService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LocalDocumentDeltaConnection": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_LocalDocumentDeltaConnection(): + TypeOnly; +declare function use_current_ClassDeclaration_LocalDocumentDeltaConnection( + use: TypeOnly); +use_current_ClassDeclaration_LocalDocumentDeltaConnection( + get_old_ClassDeclaration_LocalDocumentDeltaConnection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LocalDocumentDeltaConnection": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_LocalDocumentDeltaConnection(): + TypeOnly; +declare function use_old_ClassDeclaration_LocalDocumentDeltaConnection( + use: TypeOnly); +use_old_ClassDeclaration_LocalDocumentDeltaConnection( + get_current_ClassDeclaration_LocalDocumentDeltaConnection()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LocalDocumentService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_LocalDocumentService(): + TypeOnly; +declare function use_current_ClassDeclaration_LocalDocumentService( + use: TypeOnly); +use_current_ClassDeclaration_LocalDocumentService( + get_old_ClassDeclaration_LocalDocumentService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LocalDocumentService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_LocalDocumentService(): + TypeOnly; +declare function use_old_ClassDeclaration_LocalDocumentService( + use: TypeOnly); +use_old_ClassDeclaration_LocalDocumentService( + get_current_ClassDeclaration_LocalDocumentService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LocalDocumentServiceFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_LocalDocumentServiceFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_LocalDocumentServiceFactory( + use: TypeOnly); +use_current_ClassDeclaration_LocalDocumentServiceFactory( + get_old_ClassDeclaration_LocalDocumentServiceFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LocalDocumentServiceFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_LocalDocumentServiceFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_LocalDocumentServiceFactory( + use: TypeOnly); +use_old_ClassDeclaration_LocalDocumentServiceFactory( + get_current_ClassDeclaration_LocalDocumentServiceFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LocalResolver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_LocalResolver(): + TypeOnly; +declare function use_current_ClassDeclaration_LocalResolver( + use: TypeOnly); +use_current_ClassDeclaration_LocalResolver( + get_old_ClassDeclaration_LocalResolver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LocalResolver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_LocalResolver(): + TypeOnly; +declare function use_old_ClassDeclaration_LocalResolver( + use: TypeOnly); +use_old_ClassDeclaration_LocalResolver( + get_current_ClassDeclaration_LocalResolver()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LocalSessionStorageDbFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_LocalSessionStorageDbFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_LocalSessionStorageDbFactory( + use: TypeOnly); +use_current_ClassDeclaration_LocalSessionStorageDbFactory( + get_old_ClassDeclaration_LocalSessionStorageDbFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LocalSessionStorageDbFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_LocalSessionStorageDbFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_LocalSessionStorageDbFactory( + use: TypeOnly); +use_old_ClassDeclaration_LocalSessionStorageDbFactory( + get_current_ClassDeclaration_LocalSessionStorageDbFactory()); diff --git a/packages/drivers/odsp-driver-definitions/.eslintrc.js b/packages/drivers/odsp-driver-definitions/.eslintrc.js index a954f3a16acc..d80fdd02ff5b 100644 --- a/packages/drivers/odsp-driver-definitions/.eslintrc.js +++ b/packages/drivers/odsp-driver-definitions/.eslintrc.js @@ -8,7 +8,7 @@ module.exports = { "@fluidframework/eslint-config-fluid" ], "parserOptions": { - "project": ["./tsconfig.json"] + "project": ["./tsconfig.json", "./src/test/tsconfig.json"] }, "rules": { } diff --git a/packages/drivers/odsp-driver-definitions/package.json b/packages/drivers/odsp-driver-definitions/package.json index 2217024c57a8..ec8e91327ddc 100644 --- a/packages/drivers/odsp-driver-definitions/package.json +++ b/packages/drivers/odsp-driver-definitions/package.json @@ -16,13 +16,14 @@ "types": "dist/index.d.ts", "scripts": { "build": "npm run build:genver && concurrently npm:build:compile npm:lint && npm run build:docs", - "build:commonjs": "npm run tsc", + "build:commonjs": "npm run tsc && npm run build:test", "build:compile": "concurrently npm:build:commonjs npm:build:esnext", "build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", "build:esnext": "tsc --project ./tsconfig.esnext.json", "build:full": "npm run build", "build:full:compile": "npm run build:compile", "build:genver": "gen-version", + "build:test": "tsc --project ./src/test/tsconfig.json", "ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/", "clean": "rimraf dist lib *.tsbuildinfo *.build.log", "eslint": "eslint --format stylish src", @@ -39,6 +40,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/odsp-driver-definitions-previous": "npm:@fluidframework/odsp-driver-definitions@0.58.2000", "@fluidframework/protocol-definitions": "^0.1027.1000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", @@ -57,5 +59,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/drivers/odsp-driver-definitions/src/test/tsconfig.json b/packages/drivers/odsp-driver-definitions/src/test/tsconfig.json new file mode 100644 index 000000000000..913f09ed3b1b --- /dev/null +++ b/packages/drivers/odsp-driver-definitions/src/test/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@fluidframework/build-common/ts-common-config.json", + "compilerOptions": { + "rootDir": "./", + "outDir": "../../dist/test", + "declaration": false, + "declarationMap": false, + "skipLibCheck": true, + "noEmit": true, + }, + "include": [ + "./**/*" + ], + "references": [ + { + "path": "../.." + } + ] +} diff --git a/packages/drivers/odsp-driver-definitions/src/test/types/validateOdspDriverDefinitionsPrevious.ts b/packages/drivers/odsp-driver-definitions/src/test/types/validateOdspDriverDefinitionsPrevious.ts new file mode 100644 index 000000000000..9a75f17aa1c8 --- /dev/null +++ b/packages/drivers/odsp-driver-definitions/src/test/types/validateOdspDriverDefinitionsPrevious.ts @@ -0,0 +1,615 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/odsp-driver-definitions-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_CacheContentType": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_CacheContentType(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_CacheContentType( + use: TypeOnly); +use_current_TypeAliasDeclaration_CacheContentType( + get_old_TypeAliasDeclaration_CacheContentType()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_CacheContentType": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_CacheContentType(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_CacheContentType( + use: TypeOnly); +use_old_TypeAliasDeclaration_CacheContentType( + get_current_TypeAliasDeclaration_CacheContentType()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_HostStoragePolicy": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_HostStoragePolicy(): + TypeOnly; +declare function use_current_InterfaceDeclaration_HostStoragePolicy( + use: TypeOnly); +use_current_InterfaceDeclaration_HostStoragePolicy( + get_old_InterfaceDeclaration_HostStoragePolicy()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_HostStoragePolicy": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_HostStoragePolicy(): + TypeOnly; +declare function use_old_InterfaceDeclaration_HostStoragePolicy( + use: TypeOnly); +use_old_InterfaceDeclaration_HostStoragePolicy( + get_current_InterfaceDeclaration_HostStoragePolicy()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ICacheEntry": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ICacheEntry(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ICacheEntry( + use: TypeOnly); +use_current_InterfaceDeclaration_ICacheEntry( + get_old_InterfaceDeclaration_ICacheEntry()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ICacheEntry": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ICacheEntry(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ICacheEntry( + use: TypeOnly); +use_old_InterfaceDeclaration_ICacheEntry( + get_current_InterfaceDeclaration_ICacheEntry()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ICollabSessionOptions": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ICollabSessionOptions(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ICollabSessionOptions( + use: TypeOnly); +use_current_InterfaceDeclaration_ICollabSessionOptions( + get_old_InterfaceDeclaration_ICollabSessionOptions()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ICollabSessionOptions": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ICollabSessionOptions(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ICollabSessionOptions( + use: TypeOnly); +use_old_InterfaceDeclaration_ICollabSessionOptions( + get_current_InterfaceDeclaration_ICollabSessionOptions()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_IdentityType": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_IdentityType(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_IdentityType( + use: TypeOnly); +use_current_TypeAliasDeclaration_IdentityType( + get_old_TypeAliasDeclaration_IdentityType()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_IdentityType": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_IdentityType(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_IdentityType( + use: TypeOnly); +use_old_TypeAliasDeclaration_IdentityType( + get_current_TypeAliasDeclaration_IdentityType()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IEntry": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IEntry(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IEntry( + use: TypeOnly); +use_current_InterfaceDeclaration_IEntry( + get_old_InterfaceDeclaration_IEntry()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IEntry": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IEntry(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IEntry( + use: TypeOnly); +use_old_InterfaceDeclaration_IEntry( + get_current_InterfaceDeclaration_IEntry()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFileEntry": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IFileEntry(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IFileEntry( + use: TypeOnly); +use_current_InterfaceDeclaration_IFileEntry( + get_old_InterfaceDeclaration_IFileEntry()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFileEntry": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IFileEntry(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IFileEntry( + use: TypeOnly); +use_old_InterfaceDeclaration_IFileEntry( + get_current_InterfaceDeclaration_IFileEntry()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_InstrumentedStorageTokenFetcher": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_InstrumentedStorageTokenFetcher(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_InstrumentedStorageTokenFetcher( + use: TypeOnly); +use_current_TypeAliasDeclaration_InstrumentedStorageTokenFetcher( + get_old_TypeAliasDeclaration_InstrumentedStorageTokenFetcher()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_InstrumentedStorageTokenFetcher": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_InstrumentedStorageTokenFetcher(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_InstrumentedStorageTokenFetcher( + use: TypeOnly); +use_old_TypeAliasDeclaration_InstrumentedStorageTokenFetcher( + get_current_TypeAliasDeclaration_InstrumentedStorageTokenFetcher()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOdspError": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IOdspError(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IOdspError( + use: TypeOnly); +use_current_InterfaceDeclaration_IOdspError( + get_old_InterfaceDeclaration_IOdspError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOdspError": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IOdspError(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IOdspError( + use: TypeOnly); +use_old_InterfaceDeclaration_IOdspError( + get_current_InterfaceDeclaration_IOdspError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOdspResolvedUrl": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IOdspResolvedUrl(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IOdspResolvedUrl( + use: TypeOnly); +use_current_InterfaceDeclaration_IOdspResolvedUrl( + get_old_InterfaceDeclaration_IOdspResolvedUrl()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOdspResolvedUrl": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IOdspResolvedUrl(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IOdspResolvedUrl( + use: TypeOnly); +use_old_InterfaceDeclaration_IOdspResolvedUrl( + get_current_InterfaceDeclaration_IOdspResolvedUrl()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOdspUrlParts": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IOdspUrlParts(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IOdspUrlParts( + use: TypeOnly); +use_current_InterfaceDeclaration_IOdspUrlParts( + get_old_InterfaceDeclaration_IOdspUrlParts()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOdspUrlParts": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IOdspUrlParts(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IOdspUrlParts( + use: TypeOnly); +use_old_InterfaceDeclaration_IOdspUrlParts( + get_current_InterfaceDeclaration_IOdspUrlParts()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOpsCachingPolicy": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IOpsCachingPolicy(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IOpsCachingPolicy( + use: TypeOnly); +use_current_InterfaceDeclaration_IOpsCachingPolicy( + get_old_InterfaceDeclaration_IOpsCachingPolicy()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOpsCachingPolicy": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IOpsCachingPolicy(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IOpsCachingPolicy( + use: TypeOnly); +use_old_InterfaceDeclaration_IOpsCachingPolicy( + get_current_InterfaceDeclaration_IOpsCachingPolicy()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IPersistedCache": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IPersistedCache(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IPersistedCache( + use: TypeOnly); +use_current_InterfaceDeclaration_IPersistedCache( + get_old_InterfaceDeclaration_IPersistedCache()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IPersistedCache": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IPersistedCache(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IPersistedCache( + use: TypeOnly); +use_old_InterfaceDeclaration_IPersistedCache( + get_current_InterfaceDeclaration_IPersistedCache()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISnapshotOptions": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISnapshotOptions(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISnapshotOptions( + use: TypeOnly); +use_current_InterfaceDeclaration_ISnapshotOptions( + get_old_InterfaceDeclaration_ISnapshotOptions()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISnapshotOptions": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISnapshotOptions(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISnapshotOptions( + use: TypeOnly); +use_old_InterfaceDeclaration_ISnapshotOptions( + get_current_InterfaceDeclaration_ISnapshotOptions()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_isTokenFromCache": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_isTokenFromCache(): + TypeOnly; +declare function use_current_VariableDeclaration_isTokenFromCache( + use: TypeOnly); +use_current_VariableDeclaration_isTokenFromCache( + get_old_VariableDeclaration_isTokenFromCache()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_isTokenFromCache": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_isTokenFromCache(): + TypeOnly; +declare function use_old_VariableDeclaration_isTokenFromCache( + use: TypeOnly); +use_old_VariableDeclaration_isTokenFromCache( + get_current_VariableDeclaration_isTokenFromCache()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_OdspError": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_OdspError(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_OdspError( + use: TypeOnly); +use_current_TypeAliasDeclaration_OdspError( + get_old_TypeAliasDeclaration_OdspError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_OdspError": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_OdspError(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_OdspError( + use: TypeOnly); +use_old_TypeAliasDeclaration_OdspError( + get_current_TypeAliasDeclaration_OdspError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_OdspErrorType": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_OdspErrorType(): + TypeOnly; +declare function use_current_EnumDeclaration_OdspErrorType( + use: TypeOnly); +use_current_EnumDeclaration_OdspErrorType( + get_old_EnumDeclaration_OdspErrorType()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_OdspErrorType": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_OdspErrorType(): + TypeOnly; +declare function use_old_EnumDeclaration_OdspErrorType( + use: TypeOnly); +use_old_EnumDeclaration_OdspErrorType( + get_current_EnumDeclaration_OdspErrorType()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_OdspResourceTokenFetchOptions": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_OdspResourceTokenFetchOptions(): + TypeOnly; +declare function use_current_InterfaceDeclaration_OdspResourceTokenFetchOptions( + use: TypeOnly); +use_current_InterfaceDeclaration_OdspResourceTokenFetchOptions( + get_old_InterfaceDeclaration_OdspResourceTokenFetchOptions()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_OdspResourceTokenFetchOptions": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_OdspResourceTokenFetchOptions(): + TypeOnly; +declare function use_old_InterfaceDeclaration_OdspResourceTokenFetchOptions( + use: TypeOnly); +use_old_InterfaceDeclaration_OdspResourceTokenFetchOptions( + get_current_InterfaceDeclaration_OdspResourceTokenFetchOptions()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ShareLinkInfoType": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ShareLinkInfoType(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ShareLinkInfoType( + use: TypeOnly); +use_current_InterfaceDeclaration_ShareLinkInfoType( + get_old_InterfaceDeclaration_ShareLinkInfoType()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ShareLinkInfoType": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ShareLinkInfoType(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ShareLinkInfoType( + use: TypeOnly); +use_old_InterfaceDeclaration_ShareLinkInfoType( + get_current_InterfaceDeclaration_ShareLinkInfoType()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ShareLinkTypes": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_ShareLinkTypes(): + TypeOnly; +declare function use_current_EnumDeclaration_ShareLinkTypes( + use: TypeOnly); +use_current_EnumDeclaration_ShareLinkTypes( + get_old_EnumDeclaration_ShareLinkTypes()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ShareLinkTypes": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_ShareLinkTypes(): + TypeOnly; +declare function use_old_EnumDeclaration_ShareLinkTypes( + use: TypeOnly); +use_old_EnumDeclaration_ShareLinkTypes( + get_current_EnumDeclaration_ShareLinkTypes()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_snapshotKey": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_snapshotKey(): + TypeOnly; +declare function use_current_VariableDeclaration_snapshotKey( + use: TypeOnly); +use_current_VariableDeclaration_snapshotKey( + get_old_VariableDeclaration_snapshotKey()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_snapshotKey": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_snapshotKey(): + TypeOnly; +declare function use_old_VariableDeclaration_snapshotKey( + use: TypeOnly); +use_old_VariableDeclaration_snapshotKey( + get_current_VariableDeclaration_snapshotKey()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_TokenFetcher": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_TokenFetcher(): + TypeOnly>; +declare function use_current_TypeAliasDeclaration_TokenFetcher( + use: TypeOnly>); +use_current_TypeAliasDeclaration_TokenFetcher( + get_old_TypeAliasDeclaration_TokenFetcher()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_TokenFetcher": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_TokenFetcher(): + TypeOnly>; +declare function use_old_TypeAliasDeclaration_TokenFetcher( + use: TypeOnly>); +use_old_TypeAliasDeclaration_TokenFetcher( + get_current_TypeAliasDeclaration_TokenFetcher()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_TokenFetchOptions": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_TokenFetchOptions(): + TypeOnly; +declare function use_current_InterfaceDeclaration_TokenFetchOptions( + use: TypeOnly); +use_current_InterfaceDeclaration_TokenFetchOptions( + get_old_InterfaceDeclaration_TokenFetchOptions()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_TokenFetchOptions": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_TokenFetchOptions(): + TypeOnly; +declare function use_old_InterfaceDeclaration_TokenFetchOptions( + use: TypeOnly); +use_old_InterfaceDeclaration_TokenFetchOptions( + get_current_InterfaceDeclaration_TokenFetchOptions()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_tokenFromResponse": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_tokenFromResponse(): + TypeOnly; +declare function use_current_VariableDeclaration_tokenFromResponse( + use: TypeOnly); +use_current_VariableDeclaration_tokenFromResponse( + get_old_VariableDeclaration_tokenFromResponse()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_tokenFromResponse": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_tokenFromResponse(): + TypeOnly; +declare function use_old_VariableDeclaration_tokenFromResponse( + use: TypeOnly); +use_old_VariableDeclaration_tokenFromResponse( + get_current_VariableDeclaration_tokenFromResponse()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_TokenResponse": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_TokenResponse(): + TypeOnly; +declare function use_current_InterfaceDeclaration_TokenResponse( + use: TypeOnly); +use_current_InterfaceDeclaration_TokenResponse( + get_old_InterfaceDeclaration_TokenResponse()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_TokenResponse": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_TokenResponse(): + TypeOnly; +declare function use_old_InterfaceDeclaration_TokenResponse( + use: TypeOnly); +use_old_InterfaceDeclaration_TokenResponse( + get_current_InterfaceDeclaration_TokenResponse()); diff --git a/packages/drivers/odsp-driver/package.json b/packages/drivers/odsp-driver/package.json index 69a256034106..7a4634a96fd9 100644 --- a/packages/drivers/odsp-driver/package.json +++ b/packages/drivers/odsp-driver/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -80,6 +80,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/odsp-driver-previous": "npm:@fluidframework/odsp-driver@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", @@ -103,5 +104,9 @@ "sinon": "^7.4.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/drivers/odsp-driver/src/test/types/validateOdspDriverPrevious.ts b/packages/drivers/odsp-driver/src/test/types/validateOdspDriverPrevious.ts new file mode 100644 index 000000000000..d422b8ece773 --- /dev/null +++ b/packages/drivers/odsp-driver/src/test/types/validateOdspDriverPrevious.ts @@ -0,0 +1,663 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/odsp-driver-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_checkUrl": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_checkUrl(): + TypeOnly; +declare function use_current_FunctionDeclaration_checkUrl( + use: TypeOnly); +use_current_FunctionDeclaration_checkUrl( + get_old_FunctionDeclaration_checkUrl()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_checkUrl": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_checkUrl(): + TypeOnly; +declare function use_old_FunctionDeclaration_checkUrl( + use: TypeOnly); +use_old_FunctionDeclaration_checkUrl( + get_current_FunctionDeclaration_checkUrl()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ClpCompliantAppHeader": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_ClpCompliantAppHeader(): + TypeOnly; +declare function use_current_EnumDeclaration_ClpCompliantAppHeader( + use: TypeOnly); +use_current_EnumDeclaration_ClpCompliantAppHeader( + get_old_EnumDeclaration_ClpCompliantAppHeader()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ClpCompliantAppHeader": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_ClpCompliantAppHeader(): + TypeOnly; +declare function use_old_EnumDeclaration_ClpCompliantAppHeader( + use: TypeOnly); +use_old_EnumDeclaration_ClpCompliantAppHeader( + get_current_EnumDeclaration_ClpCompliantAppHeader()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createOdspCreateContainerRequest": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_createOdspCreateContainerRequest(): + TypeOnly; +declare function use_current_FunctionDeclaration_createOdspCreateContainerRequest( + use: TypeOnly); +use_current_FunctionDeclaration_createOdspCreateContainerRequest( + get_old_FunctionDeclaration_createOdspCreateContainerRequest()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createOdspCreateContainerRequest": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_createOdspCreateContainerRequest(): + TypeOnly; +declare function use_old_FunctionDeclaration_createOdspCreateContainerRequest( + use: TypeOnly); +use_old_FunctionDeclaration_createOdspCreateContainerRequest( + get_current_FunctionDeclaration_createOdspCreateContainerRequest()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createOdspUrl": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_createOdspUrl(): + TypeOnly; +declare function use_current_FunctionDeclaration_createOdspUrl( + use: TypeOnly); +use_current_FunctionDeclaration_createOdspUrl( + get_old_FunctionDeclaration_createOdspUrl()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createOdspUrl": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_createOdspUrl(): + TypeOnly; +declare function use_old_FunctionDeclaration_createOdspUrl( + use: TypeOnly); +use_old_FunctionDeclaration_createOdspUrl( + get_current_FunctionDeclaration_createOdspUrl()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_encodeOdspFluidDataStoreLocator": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_encodeOdspFluidDataStoreLocator(): + TypeOnly; +declare function use_current_FunctionDeclaration_encodeOdspFluidDataStoreLocator( + use: TypeOnly); +use_current_FunctionDeclaration_encodeOdspFluidDataStoreLocator( + get_old_FunctionDeclaration_encodeOdspFluidDataStoreLocator()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_encodeOdspFluidDataStoreLocator": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_encodeOdspFluidDataStoreLocator(): + TypeOnly; +declare function use_old_FunctionDeclaration_encodeOdspFluidDataStoreLocator( + use: TypeOnly); +use_old_FunctionDeclaration_encodeOdspFluidDataStoreLocator( + get_current_FunctionDeclaration_encodeOdspFluidDataStoreLocator()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getApiRoot": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getApiRoot(): + TypeOnly; +declare function use_current_FunctionDeclaration_getApiRoot( + use: TypeOnly); +use_current_FunctionDeclaration_getApiRoot( + get_old_FunctionDeclaration_getApiRoot()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getApiRoot": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getApiRoot(): + TypeOnly; +declare function use_old_FunctionDeclaration_getApiRoot( + use: TypeOnly); +use_old_FunctionDeclaration_getApiRoot( + get_current_FunctionDeclaration_getApiRoot()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getHashedDocumentId": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getHashedDocumentId(): + TypeOnly; +declare function use_current_FunctionDeclaration_getHashedDocumentId( + use: TypeOnly); +use_current_FunctionDeclaration_getHashedDocumentId( + get_old_FunctionDeclaration_getHashedDocumentId()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getHashedDocumentId": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getHashedDocumentId(): + TypeOnly; +declare function use_old_FunctionDeclaration_getHashedDocumentId( + use: TypeOnly); +use_old_FunctionDeclaration_getHashedDocumentId( + get_current_FunctionDeclaration_getHashedDocumentId()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getLocatorFromOdspUrl": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getLocatorFromOdspUrl(): + TypeOnly; +declare function use_current_FunctionDeclaration_getLocatorFromOdspUrl( + use: TypeOnly); +use_current_FunctionDeclaration_getLocatorFromOdspUrl( + get_old_FunctionDeclaration_getLocatorFromOdspUrl()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getLocatorFromOdspUrl": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getLocatorFromOdspUrl(): + TypeOnly; +declare function use_old_FunctionDeclaration_getLocatorFromOdspUrl( + use: TypeOnly); +use_old_FunctionDeclaration_getLocatorFromOdspUrl( + get_current_FunctionDeclaration_getLocatorFromOdspUrl()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getOdspUrlParts": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getOdspUrlParts(): + TypeOnly; +declare function use_current_FunctionDeclaration_getOdspUrlParts( + use: TypeOnly); +use_current_FunctionDeclaration_getOdspUrlParts( + get_old_FunctionDeclaration_getOdspUrlParts()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getOdspUrlParts": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getOdspUrlParts(): + TypeOnly; +declare function use_old_FunctionDeclaration_getOdspUrlParts( + use: TypeOnly); +use_old_FunctionDeclaration_getOdspUrlParts( + get_current_FunctionDeclaration_getOdspUrlParts()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IClpCompliantAppHeader": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IClpCompliantAppHeader(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IClpCompliantAppHeader( + use: TypeOnly); +use_current_InterfaceDeclaration_IClpCompliantAppHeader( + get_old_InterfaceDeclaration_IClpCompliantAppHeader()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IClpCompliantAppHeader": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IClpCompliantAppHeader(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IClpCompliantAppHeader( + use: TypeOnly); +use_old_InterfaceDeclaration_IClpCompliantAppHeader( + get_current_InterfaceDeclaration_IClpCompliantAppHeader()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharingLinkHeader": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISharingLinkHeader(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISharingLinkHeader( + use: TypeOnly); +use_current_InterfaceDeclaration_ISharingLinkHeader( + get_old_InterfaceDeclaration_ISharingLinkHeader()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharingLinkHeader": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISharingLinkHeader(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISharingLinkHeader( + use: TypeOnly); +use_old_InterfaceDeclaration_ISharingLinkHeader( + get_current_InterfaceDeclaration_ISharingLinkHeader()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isOdcOrigin": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_isOdcOrigin(): + TypeOnly; +declare function use_current_FunctionDeclaration_isOdcOrigin( + use: TypeOnly); +use_current_FunctionDeclaration_isOdcOrigin( + get_old_FunctionDeclaration_isOdcOrigin()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isOdcOrigin": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_isOdcOrigin(): + TypeOnly; +declare function use_old_FunctionDeclaration_isOdcOrigin( + use: TypeOnly); +use_old_FunctionDeclaration_isOdcOrigin( + get_current_FunctionDeclaration_isOdcOrigin()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isOdcUrl": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_isOdcUrl(): + TypeOnly; +declare function use_current_FunctionDeclaration_isOdcUrl( + use: TypeOnly); +use_current_FunctionDeclaration_isOdcUrl( + get_old_FunctionDeclaration_isOdcUrl()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isOdcUrl": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_isOdcUrl(): + TypeOnly; +declare function use_old_FunctionDeclaration_isOdcUrl( + use: TypeOnly); +use_old_FunctionDeclaration_isOdcUrl( + get_current_FunctionDeclaration_isOdcUrl()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isSpoUrl": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_isSpoUrl(): + TypeOnly; +declare function use_current_FunctionDeclaration_isSpoUrl( + use: TypeOnly); +use_current_FunctionDeclaration_isSpoUrl( + get_old_FunctionDeclaration_isSpoUrl()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isSpoUrl": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_isSpoUrl(): + TypeOnly; +declare function use_old_FunctionDeclaration_isSpoUrl( + use: TypeOnly); +use_old_FunctionDeclaration_isSpoUrl( + get_current_FunctionDeclaration_isSpoUrl()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_locatorQueryParamName": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_locatorQueryParamName(): + TypeOnly; +declare function use_current_VariableDeclaration_locatorQueryParamName( + use: TypeOnly); +use_current_VariableDeclaration_locatorQueryParamName( + get_old_VariableDeclaration_locatorQueryParamName()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_locatorQueryParamName": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_locatorQueryParamName(): + TypeOnly; +declare function use_old_VariableDeclaration_locatorQueryParamName( + use: TypeOnly); +use_old_VariableDeclaration_locatorQueryParamName( + get_current_VariableDeclaration_locatorQueryParamName()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_OdcApiSiteOrigin": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_OdcApiSiteOrigin(): + TypeOnly; +declare function use_current_VariableDeclaration_OdcApiSiteOrigin( + use: TypeOnly); +use_current_VariableDeclaration_OdcApiSiteOrigin( + get_old_VariableDeclaration_OdcApiSiteOrigin()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_OdcApiSiteOrigin": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_OdcApiSiteOrigin(): + TypeOnly; +declare function use_old_VariableDeclaration_OdcApiSiteOrigin( + use: TypeOnly); +use_old_VariableDeclaration_OdcApiSiteOrigin( + get_current_VariableDeclaration_OdcApiSiteOrigin()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_OdcFileSiteOrigin": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_OdcFileSiteOrigin(): + TypeOnly; +declare function use_current_VariableDeclaration_OdcFileSiteOrigin( + use: TypeOnly); +use_current_VariableDeclaration_OdcFileSiteOrigin( + get_old_VariableDeclaration_OdcFileSiteOrigin()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_OdcFileSiteOrigin": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_OdcFileSiteOrigin(): + TypeOnly; +declare function use_old_VariableDeclaration_OdcFileSiteOrigin( + use: TypeOnly); +use_old_VariableDeclaration_OdcFileSiteOrigin( + get_current_VariableDeclaration_OdcFileSiteOrigin()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OdspDocumentServiceFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_OdspDocumentServiceFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_OdspDocumentServiceFactory( + use: TypeOnly); +use_current_ClassDeclaration_OdspDocumentServiceFactory( + get_old_ClassDeclaration_OdspDocumentServiceFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OdspDocumentServiceFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_OdspDocumentServiceFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_OdspDocumentServiceFactory( + use: TypeOnly); +use_old_ClassDeclaration_OdspDocumentServiceFactory( + get_current_ClassDeclaration_OdspDocumentServiceFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OdspDocumentServiceFactoryCore": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_OdspDocumentServiceFactoryCore(): + TypeOnly; +declare function use_current_ClassDeclaration_OdspDocumentServiceFactoryCore( + use: TypeOnly); +use_current_ClassDeclaration_OdspDocumentServiceFactoryCore( + get_old_ClassDeclaration_OdspDocumentServiceFactoryCore()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OdspDocumentServiceFactoryCore": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_OdspDocumentServiceFactoryCore(): + TypeOnly; +declare function use_old_ClassDeclaration_OdspDocumentServiceFactoryCore( + use: TypeOnly); +use_old_ClassDeclaration_OdspDocumentServiceFactoryCore( + get_current_ClassDeclaration_OdspDocumentServiceFactoryCore()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OdspDocumentServiceFactoryWithCodeSplit": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_OdspDocumentServiceFactoryWithCodeSplit(): + TypeOnly; +declare function use_current_ClassDeclaration_OdspDocumentServiceFactoryWithCodeSplit( + use: TypeOnly); +use_current_ClassDeclaration_OdspDocumentServiceFactoryWithCodeSplit( + get_old_ClassDeclaration_OdspDocumentServiceFactoryWithCodeSplit()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OdspDocumentServiceFactoryWithCodeSplit": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_OdspDocumentServiceFactoryWithCodeSplit(): + TypeOnly; +declare function use_old_ClassDeclaration_OdspDocumentServiceFactoryWithCodeSplit( + use: TypeOnly); +use_old_ClassDeclaration_OdspDocumentServiceFactoryWithCodeSplit( + get_current_ClassDeclaration_OdspDocumentServiceFactoryWithCodeSplit()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OdspDriverUrlResolver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_OdspDriverUrlResolver(): + TypeOnly; +declare function use_current_ClassDeclaration_OdspDriverUrlResolver( + use: TypeOnly); +use_current_ClassDeclaration_OdspDriverUrlResolver( + get_old_ClassDeclaration_OdspDriverUrlResolver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OdspDriverUrlResolver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_OdspDriverUrlResolver(): + TypeOnly; +declare function use_old_ClassDeclaration_OdspDriverUrlResolver( + use: TypeOnly); +use_old_ClassDeclaration_OdspDriverUrlResolver( + get_current_ClassDeclaration_OdspDriverUrlResolver()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OdspDriverUrlResolverForShareLink": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_OdspDriverUrlResolverForShareLink(): + TypeOnly; +declare function use_current_ClassDeclaration_OdspDriverUrlResolverForShareLink( + use: TypeOnly); +use_current_ClassDeclaration_OdspDriverUrlResolverForShareLink( + get_old_ClassDeclaration_OdspDriverUrlResolverForShareLink()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OdspDriverUrlResolverForShareLink": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_OdspDriverUrlResolverForShareLink(): + TypeOnly; +declare function use_old_ClassDeclaration_OdspDriverUrlResolverForShareLink( + use: TypeOnly); +use_old_ClassDeclaration_OdspDriverUrlResolverForShareLink( + get_current_ClassDeclaration_OdspDriverUrlResolverForShareLink()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_OdspFluidDataStoreLocator": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_OdspFluidDataStoreLocator(): + TypeOnly; +declare function use_current_InterfaceDeclaration_OdspFluidDataStoreLocator( + use: TypeOnly); +use_current_InterfaceDeclaration_OdspFluidDataStoreLocator( + get_old_InterfaceDeclaration_OdspFluidDataStoreLocator()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_OdspFluidDataStoreLocator": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_OdspFluidDataStoreLocator(): + TypeOnly; +declare function use_old_InterfaceDeclaration_OdspFluidDataStoreLocator( + use: TypeOnly); +use_old_InterfaceDeclaration_OdspFluidDataStoreLocator( + get_current_InterfaceDeclaration_OdspFluidDataStoreLocator()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_prefetchLatestSnapshot": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_prefetchLatestSnapshot(): + TypeOnly; +declare function use_current_FunctionDeclaration_prefetchLatestSnapshot( + use: TypeOnly); +use_current_FunctionDeclaration_prefetchLatestSnapshot( + get_old_FunctionDeclaration_prefetchLatestSnapshot()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_prefetchLatestSnapshot": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_prefetchLatestSnapshot(): + TypeOnly; +declare function use_old_FunctionDeclaration_prefetchLatestSnapshot( + use: TypeOnly); +use_old_FunctionDeclaration_prefetchLatestSnapshot( + get_current_FunctionDeclaration_prefetchLatestSnapshot()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ShareLinkFetcherProps": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ShareLinkFetcherProps(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ShareLinkFetcherProps( + use: TypeOnly); +use_current_InterfaceDeclaration_ShareLinkFetcherProps( + get_old_InterfaceDeclaration_ShareLinkFetcherProps()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ShareLinkFetcherProps": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ShareLinkFetcherProps(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ShareLinkFetcherProps( + use: TypeOnly); +use_old_InterfaceDeclaration_ShareLinkFetcherProps( + get_current_InterfaceDeclaration_ShareLinkFetcherProps()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_SharingLinkHeader": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_SharingLinkHeader(): + TypeOnly; +declare function use_current_EnumDeclaration_SharingLinkHeader( + use: TypeOnly); +use_current_EnumDeclaration_SharingLinkHeader( + get_old_EnumDeclaration_SharingLinkHeader()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_SharingLinkHeader": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_SharingLinkHeader(): + TypeOnly; +declare function use_old_EnumDeclaration_SharingLinkHeader( + use: TypeOnly); +use_old_EnumDeclaration_SharingLinkHeader( + get_current_EnumDeclaration_SharingLinkHeader()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_storeLocatorInOdspUrl": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_storeLocatorInOdspUrl(): + TypeOnly; +declare function use_current_FunctionDeclaration_storeLocatorInOdspUrl( + use: TypeOnly); +use_current_FunctionDeclaration_storeLocatorInOdspUrl( + get_old_FunctionDeclaration_storeLocatorInOdspUrl()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_storeLocatorInOdspUrl": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_storeLocatorInOdspUrl(): + TypeOnly; +declare function use_old_FunctionDeclaration_storeLocatorInOdspUrl( + use: TypeOnly); +use_old_FunctionDeclaration_storeLocatorInOdspUrl( + get_current_FunctionDeclaration_storeLocatorInOdspUrl()); diff --git a/packages/drivers/odsp-urlResolver/package.json b/packages/drivers/odsp-urlResolver/package.json index 9f26f2d65a4a..826b49e3dbd6 100644 --- a/packages/drivers/odsp-urlResolver/package.json +++ b/packages/drivers/odsp-urlResolver/package.json @@ -29,7 +29,7 @@ "lint": "npm run eslint", "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -45,6 +45,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/odsp-urlresolver-previous": "npm:@fluidframework/odsp-urlresolver@0.58.2000", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", "@typescript-eslint/eslint-plugin": "~5.9.0", @@ -62,5 +63,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/drivers/odsp-urlResolver/src/test/types/validateOdspUrlresolverPrevious.ts b/packages/drivers/odsp-urlResolver/src/test/types/validateOdspUrlresolverPrevious.ts new file mode 100644 index 000000000000..7e48b2ea428b --- /dev/null +++ b/packages/drivers/odsp-urlResolver/src/test/types/validateOdspUrlresolverPrevious.ts @@ -0,0 +1,63 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/odsp-urlresolver-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_isOdspUrl": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_isOdspUrl(): + TypeOnly; +declare function use_current_VariableDeclaration_isOdspUrl( + use: TypeOnly); +use_current_VariableDeclaration_isOdspUrl( + get_old_VariableDeclaration_isOdspUrl()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_isOdspUrl": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_isOdspUrl(): + TypeOnly; +declare function use_old_VariableDeclaration_isOdspUrl( + use: TypeOnly); +use_old_VariableDeclaration_isOdspUrl( + get_current_VariableDeclaration_isOdspUrl()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OdspUrlResolver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_OdspUrlResolver(): + TypeOnly; +declare function use_current_ClassDeclaration_OdspUrlResolver( + use: TypeOnly); +use_current_ClassDeclaration_OdspUrlResolver( + get_old_ClassDeclaration_OdspUrlResolver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OdspUrlResolver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_OdspUrlResolver(): + TypeOnly; +declare function use_old_ClassDeclaration_OdspUrlResolver( + use: TypeOnly); +use_old_ClassDeclaration_OdspUrlResolver( + get_current_ClassDeclaration_OdspUrlResolver()); diff --git a/packages/drivers/replay-driver/package.json b/packages/drivers/replay-driver/package.json index ce76f8616fc7..6eae924dc25f 100644 --- a/packages/drivers/replay-driver/package.json +++ b/packages/drivers/replay-driver/package.json @@ -43,6 +43,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/replay-driver-previous": "npm:@fluidframework/replay-driver@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", @@ -64,5 +65,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/drivers/replay-driver/src/test/types/validateReplayDriverPrevious.ts b/packages/drivers/replay-driver/src/test/types/validateReplayDriverPrevious.ts new file mode 100644 index 000000000000..ddf04c47d904 --- /dev/null +++ b/packages/drivers/replay-driver/src/test/types/validateReplayDriverPrevious.ts @@ -0,0 +1,255 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/replay-driver-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FileSnapshotReader": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_FileSnapshotReader(): + TypeOnly; +declare function use_current_ClassDeclaration_FileSnapshotReader( + use: TypeOnly); +use_current_ClassDeclaration_FileSnapshotReader( + get_old_ClassDeclaration_FileSnapshotReader()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FileSnapshotReader": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_FileSnapshotReader(): + TypeOnly; +declare function use_old_ClassDeclaration_FileSnapshotReader( + use: TypeOnly); +use_old_ClassDeclaration_FileSnapshotReader( + get_current_ClassDeclaration_FileSnapshotReader()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFileSnapshot": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IFileSnapshot(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IFileSnapshot( + use: TypeOnly); +use_current_InterfaceDeclaration_IFileSnapshot( + get_old_InterfaceDeclaration_IFileSnapshot()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFileSnapshot": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IFileSnapshot(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IFileSnapshot( + use: TypeOnly); +use_old_InterfaceDeclaration_IFileSnapshot( + get_current_InterfaceDeclaration_IFileSnapshot()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OpStorage": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_OpStorage(): + TypeOnly; +declare function use_current_ClassDeclaration_OpStorage( + use: TypeOnly); +use_current_ClassDeclaration_OpStorage( + get_old_ClassDeclaration_OpStorage()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OpStorage": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_OpStorage(): + TypeOnly; +declare function use_old_ClassDeclaration_OpStorage( + use: TypeOnly); +use_old_ClassDeclaration_OpStorage( + get_current_ClassDeclaration_OpStorage()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ReadDocumentStorageServiceBase": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ReadDocumentStorageServiceBase(): + TypeOnly; +declare function use_current_ClassDeclaration_ReadDocumentStorageServiceBase( + use: TypeOnly); +use_current_ClassDeclaration_ReadDocumentStorageServiceBase( + get_old_ClassDeclaration_ReadDocumentStorageServiceBase()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ReadDocumentStorageServiceBase": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ReadDocumentStorageServiceBase(): + TypeOnly; +declare function use_old_ClassDeclaration_ReadDocumentStorageServiceBase( + use: TypeOnly); +use_old_ClassDeclaration_ReadDocumentStorageServiceBase( + get_current_ClassDeclaration_ReadDocumentStorageServiceBase()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ReplayController": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ReplayController(): + TypeOnly; +declare function use_current_ClassDeclaration_ReplayController( + use: TypeOnly); +use_current_ClassDeclaration_ReplayController( + get_old_ClassDeclaration_ReplayController()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ReplayController": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ReplayController(): + TypeOnly; +declare function use_old_ClassDeclaration_ReplayController( + use: TypeOnly); +use_old_ClassDeclaration_ReplayController( + get_current_ClassDeclaration_ReplayController()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ReplayDocumentService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ReplayDocumentService(): + TypeOnly; +declare function use_current_ClassDeclaration_ReplayDocumentService( + use: TypeOnly); +use_current_ClassDeclaration_ReplayDocumentService( + get_old_ClassDeclaration_ReplayDocumentService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ReplayDocumentService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ReplayDocumentService(): + TypeOnly; +declare function use_old_ClassDeclaration_ReplayDocumentService( + use: TypeOnly); +use_old_ClassDeclaration_ReplayDocumentService( + get_current_ClassDeclaration_ReplayDocumentService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ReplayDocumentServiceFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ReplayDocumentServiceFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_ReplayDocumentServiceFactory( + use: TypeOnly); +use_current_ClassDeclaration_ReplayDocumentServiceFactory( + get_old_ClassDeclaration_ReplayDocumentServiceFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ReplayDocumentServiceFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ReplayDocumentServiceFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_ReplayDocumentServiceFactory( + use: TypeOnly); +use_old_ClassDeclaration_ReplayDocumentServiceFactory( + get_current_ClassDeclaration_ReplayDocumentServiceFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SnapshotStorage": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SnapshotStorage(): + TypeOnly; +declare function use_current_ClassDeclaration_SnapshotStorage( + use: TypeOnly); +use_current_ClassDeclaration_SnapshotStorage( + get_old_ClassDeclaration_SnapshotStorage()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SnapshotStorage": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SnapshotStorage(): + TypeOnly; +declare function use_old_ClassDeclaration_SnapshotStorage( + use: TypeOnly); +use_old_ClassDeclaration_SnapshotStorage( + get_current_ClassDeclaration_SnapshotStorage()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_StaticStorageDocumentService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_StaticStorageDocumentService(): + TypeOnly; +declare function use_current_ClassDeclaration_StaticStorageDocumentService( + use: TypeOnly); +use_current_ClassDeclaration_StaticStorageDocumentService( + get_old_ClassDeclaration_StaticStorageDocumentService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_StaticStorageDocumentService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_StaticStorageDocumentService(): + TypeOnly; +declare function use_old_ClassDeclaration_StaticStorageDocumentService( + use: TypeOnly); +use_old_ClassDeclaration_StaticStorageDocumentService( + get_current_ClassDeclaration_StaticStorageDocumentService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_StaticStorageDocumentServiceFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_StaticStorageDocumentServiceFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_StaticStorageDocumentServiceFactory( + use: TypeOnly); +use_current_ClassDeclaration_StaticStorageDocumentServiceFactory( + get_old_ClassDeclaration_StaticStorageDocumentServiceFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_StaticStorageDocumentServiceFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_StaticStorageDocumentServiceFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_StaticStorageDocumentServiceFactory( + use: TypeOnly); +use_old_ClassDeclaration_StaticStorageDocumentServiceFactory( + get_current_ClassDeclaration_StaticStorageDocumentServiceFactory()); diff --git a/packages/drivers/routerlicious-driver/package.json b/packages/drivers/routerlicious-driver/package.json index 3c8aafec556b..8fc91e9381b4 100644 --- a/packages/drivers/routerlicious-driver/package.json +++ b/packages/drivers/routerlicious-driver/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -79,6 +79,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/routerlicious-driver-previous": "npm:@fluidframework/routerlicious-driver@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", @@ -104,5 +105,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/drivers/routerlicious-driver/src/test/types/validateRouterliciousDriverPrevious.ts b/packages/drivers/routerlicious-driver/src/test/types/validateRouterliciousDriverPrevious.ts new file mode 100644 index 000000000000..06d0b54ff759 --- /dev/null +++ b/packages/drivers/routerlicious-driver/src/test/types/validateRouterliciousDriverPrevious.ts @@ -0,0 +1,279 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/routerlicious-driver-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DefaultTokenProvider": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DefaultTokenProvider(): + TypeOnly; +declare function use_current_ClassDeclaration_DefaultTokenProvider( + use: TypeOnly); +use_current_ClassDeclaration_DefaultTokenProvider( + get_old_ClassDeclaration_DefaultTokenProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DefaultTokenProvider": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DefaultTokenProvider(): + TypeOnly; +declare function use_old_ClassDeclaration_DefaultTokenProvider( + use: TypeOnly); +use_old_ClassDeclaration_DefaultTokenProvider( + get_current_ClassDeclaration_DefaultTokenProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DeltaStorageService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DeltaStorageService(): + TypeOnly; +declare function use_current_ClassDeclaration_DeltaStorageService( + use: TypeOnly); +use_current_ClassDeclaration_DeltaStorageService( + get_old_ClassDeclaration_DeltaStorageService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DeltaStorageService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DeltaStorageService(): + TypeOnly; +declare function use_old_ClassDeclaration_DeltaStorageService( + use: TypeOnly); +use_old_ClassDeclaration_DeltaStorageService( + get_current_ClassDeclaration_DeltaStorageService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DocumentDeltaStorageService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DocumentDeltaStorageService(): + TypeOnly; +declare function use_current_ClassDeclaration_DocumentDeltaStorageService( + use: TypeOnly); +use_current_ClassDeclaration_DocumentDeltaStorageService( + get_old_ClassDeclaration_DocumentDeltaStorageService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DocumentDeltaStorageService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DocumentDeltaStorageService(): + TypeOnly; +declare function use_old_ClassDeclaration_DocumentDeltaStorageService( + use: TypeOnly); +use_old_ClassDeclaration_DocumentDeltaStorageService( + get_current_ClassDeclaration_DocumentDeltaStorageService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DocumentService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DocumentService(): + TypeOnly; +declare function use_current_ClassDeclaration_DocumentService( + use: TypeOnly); +use_current_ClassDeclaration_DocumentService( + get_old_ClassDeclaration_DocumentService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DocumentService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DocumentService(): + TypeOnly; +declare function use_old_ClassDeclaration_DocumentService( + use: TypeOnly); +use_old_ClassDeclaration_DocumentService( + get_current_ClassDeclaration_DocumentService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DocumentStorageService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DocumentStorageService(): + TypeOnly; +declare function use_current_ClassDeclaration_DocumentStorageService( + use: TypeOnly); +use_current_ClassDeclaration_DocumentStorageService( + get_old_ClassDeclaration_DocumentStorageService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DocumentStorageService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DocumentStorageService(): + TypeOnly; +declare function use_old_ClassDeclaration_DocumentStorageService( + use: TypeOnly); +use_old_ClassDeclaration_DocumentStorageService( + get_current_ClassDeclaration_DocumentStorageService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IRouterliciousDriverPolicies": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IRouterliciousDriverPolicies(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IRouterliciousDriverPolicies( + use: TypeOnly); +use_current_InterfaceDeclaration_IRouterliciousDriverPolicies( + get_old_InterfaceDeclaration_IRouterliciousDriverPolicies()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IRouterliciousDriverPolicies": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IRouterliciousDriverPolicies(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IRouterliciousDriverPolicies( + use: TypeOnly); +use_old_InterfaceDeclaration_IRouterliciousDriverPolicies( + get_current_InterfaceDeclaration_IRouterliciousDriverPolicies()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITokenProvider": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITokenProvider(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITokenProvider( + use: TypeOnly); +use_current_InterfaceDeclaration_ITokenProvider( + get_old_InterfaceDeclaration_ITokenProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITokenProvider": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITokenProvider(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITokenProvider( + use: TypeOnly); +use_old_InterfaceDeclaration_ITokenProvider( + get_current_InterfaceDeclaration_ITokenProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITokenResponse": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITokenResponse(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITokenResponse( + use: TypeOnly); +use_current_InterfaceDeclaration_ITokenResponse( + get_old_InterfaceDeclaration_ITokenResponse()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITokenResponse": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITokenResponse(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITokenResponse( + use: TypeOnly); +use_old_InterfaceDeclaration_ITokenResponse( + get_current_InterfaceDeclaration_ITokenResponse()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITokenService": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITokenService(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITokenService( + use: TypeOnly); +use_current_InterfaceDeclaration_ITokenService( + get_old_InterfaceDeclaration_ITokenService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITokenService": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITokenService(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITokenService( + use: TypeOnly); +use_old_InterfaceDeclaration_ITokenService( + get_current_InterfaceDeclaration_ITokenService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_NullBlobStorageService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_NullBlobStorageService(): + TypeOnly; +declare function use_current_ClassDeclaration_NullBlobStorageService( + use: TypeOnly); +use_current_ClassDeclaration_NullBlobStorageService( + get_old_ClassDeclaration_NullBlobStorageService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_NullBlobStorageService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_NullBlobStorageService(): + TypeOnly; +declare function use_old_ClassDeclaration_NullBlobStorageService( + use: TypeOnly); +use_old_ClassDeclaration_NullBlobStorageService( + get_current_ClassDeclaration_NullBlobStorageService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RouterliciousDocumentServiceFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_RouterliciousDocumentServiceFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_RouterliciousDocumentServiceFactory( + use: TypeOnly); +use_current_ClassDeclaration_RouterliciousDocumentServiceFactory( + get_old_ClassDeclaration_RouterliciousDocumentServiceFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RouterliciousDocumentServiceFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_RouterliciousDocumentServiceFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_RouterliciousDocumentServiceFactory( + use: TypeOnly); +use_old_ClassDeclaration_RouterliciousDocumentServiceFactory( + get_current_ClassDeclaration_RouterliciousDocumentServiceFactory()); diff --git a/packages/drivers/routerlicious-host/package.json b/packages/drivers/routerlicious-host/package.json index f05f511a2cb5..a4a136c01b47 100644 --- a/packages/drivers/routerlicious-host/package.json +++ b/packages/drivers/routerlicious-host/package.json @@ -42,6 +42,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/routerlicious-host-previous": "npm:@fluidframework/routerlicious-host@0.58.2000", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", "@types/node": "^14.18.0", @@ -59,5 +60,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/drivers/routerlicious-host/src/test/types/validateRouterliciousHostPrevious.ts b/packages/drivers/routerlicious-host/src/test/types/validateRouterliciousHostPrevious.ts new file mode 100644 index 000000000000..558b6da68d96 --- /dev/null +++ b/packages/drivers/routerlicious-host/src/test/types/validateRouterliciousHostPrevious.ts @@ -0,0 +1,39 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/routerlicious-host-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ContainerUrlResolver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ContainerUrlResolver(): + TypeOnly; +declare function use_current_ClassDeclaration_ContainerUrlResolver( + use: TypeOnly); +use_current_ClassDeclaration_ContainerUrlResolver( + get_old_ClassDeclaration_ContainerUrlResolver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ContainerUrlResolver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ContainerUrlResolver(): + TypeOnly; +declare function use_old_ClassDeclaration_ContainerUrlResolver( + use: TypeOnly); +use_old_ClassDeclaration_ContainerUrlResolver( + get_current_ClassDeclaration_ContainerUrlResolver()); diff --git a/packages/drivers/routerlicious-urlResolver/package.json b/packages/drivers/routerlicious-urlResolver/package.json index 8ed5464aee19..3d367b6f29af 100644 --- a/packages/drivers/routerlicious-urlResolver/package.json +++ b/packages/drivers/routerlicious-urlResolver/package.json @@ -29,7 +29,7 @@ "lint": "npm run eslint", "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -46,6 +46,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/routerlicious-urlresolver-previous": "npm:@fluidframework/routerlicious-urlresolver@0.58.2000", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", "@types/nconf": "^0.10.0", @@ -66,5 +67,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/drivers/routerlicious-urlResolver/src/test/types/validateRouterliciousUrlresolverPrevious.ts b/packages/drivers/routerlicious-urlResolver/src/test/types/validateRouterliciousUrlresolverPrevious.ts new file mode 100644 index 000000000000..67c10ca2db35 --- /dev/null +++ b/packages/drivers/routerlicious-urlResolver/src/test/types/validateRouterliciousUrlresolverPrevious.ts @@ -0,0 +1,87 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/routerlicious-urlresolver-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IAlfredUser": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IAlfredUser(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IAlfredUser( + use: TypeOnly); +use_current_InterfaceDeclaration_IAlfredUser( + get_old_InterfaceDeclaration_IAlfredUser()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IAlfredUser": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IAlfredUser(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IAlfredUser( + use: TypeOnly); +use_old_InterfaceDeclaration_IAlfredUser( + get_current_InterfaceDeclaration_IAlfredUser()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConfig": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IConfig(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IConfig( + use: TypeOnly); +use_current_InterfaceDeclaration_IConfig( + get_old_InterfaceDeclaration_IConfig()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConfig": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IConfig(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IConfig( + use: TypeOnly); +use_old_InterfaceDeclaration_IConfig( + get_current_InterfaceDeclaration_IConfig()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RouterliciousUrlResolver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_RouterliciousUrlResolver(): + TypeOnly; +declare function use_current_ClassDeclaration_RouterliciousUrlResolver( + use: TypeOnly); +use_current_ClassDeclaration_RouterliciousUrlResolver( + get_old_ClassDeclaration_RouterliciousUrlResolver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RouterliciousUrlResolver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_RouterliciousUrlResolver(): + TypeOnly; +declare function use_old_ClassDeclaration_RouterliciousUrlResolver( + use: TypeOnly); +use_old_ClassDeclaration_RouterliciousUrlResolver( + get_current_ClassDeclaration_RouterliciousUrlResolver()); diff --git a/packages/drivers/tinylicious-driver/package.json b/packages/drivers/tinylicious-driver/package.json index 6a37ca1950c9..76fb1992607f 100644 --- a/packages/drivers/tinylicious-driver/package.json +++ b/packages/drivers/tinylicious-driver/package.json @@ -44,6 +44,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/test-tools": "^0.2.3074", + "@fluidframework/tinylicious-driver-previous": "npm:@fluidframework/tinylicious-driver@0.58.2000", "@rushstack/eslint-config": "^2.5.1", "@types/jsrsasign": "^8.0.8", "@types/mocha": "^8.2.2", @@ -62,5 +63,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/drivers/tinylicious-driver/src/test/types/validateTinyliciousDriverPrevious.ts b/packages/drivers/tinylicious-driver/src/test/types/validateTinyliciousDriverPrevious.ts new file mode 100644 index 000000000000..cfc0a328a1e5 --- /dev/null +++ b/packages/drivers/tinylicious-driver/src/test/types/validateTinyliciousDriverPrevious.ts @@ -0,0 +1,135 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/tinylicious-driver-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_createTinyliciousCreateNewRequest": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_createTinyliciousCreateNewRequest(): + TypeOnly; +declare function use_current_VariableDeclaration_createTinyliciousCreateNewRequest( + use: TypeOnly); +use_current_VariableDeclaration_createTinyliciousCreateNewRequest( + get_old_VariableDeclaration_createTinyliciousCreateNewRequest()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_createTinyliciousCreateNewRequest": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_createTinyliciousCreateNewRequest(): + TypeOnly; +declare function use_old_VariableDeclaration_createTinyliciousCreateNewRequest( + use: TypeOnly); +use_old_VariableDeclaration_createTinyliciousCreateNewRequest( + get_current_VariableDeclaration_createTinyliciousCreateNewRequest()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_defaultTinyliciousEndpoint": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_defaultTinyliciousEndpoint(): + TypeOnly; +declare function use_current_VariableDeclaration_defaultTinyliciousEndpoint( + use: TypeOnly); +use_current_VariableDeclaration_defaultTinyliciousEndpoint( + get_old_VariableDeclaration_defaultTinyliciousEndpoint()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_defaultTinyliciousEndpoint": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_defaultTinyliciousEndpoint(): + TypeOnly; +declare function use_old_VariableDeclaration_defaultTinyliciousEndpoint( + use: TypeOnly); +use_old_VariableDeclaration_defaultTinyliciousEndpoint( + get_current_VariableDeclaration_defaultTinyliciousEndpoint()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_defaultTinyliciousPort": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_defaultTinyliciousPort(): + TypeOnly; +declare function use_current_VariableDeclaration_defaultTinyliciousPort( + use: TypeOnly); +use_current_VariableDeclaration_defaultTinyliciousPort( + get_old_VariableDeclaration_defaultTinyliciousPort()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_defaultTinyliciousPort": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_defaultTinyliciousPort(): + TypeOnly; +declare function use_old_VariableDeclaration_defaultTinyliciousPort( + use: TypeOnly); +use_old_VariableDeclaration_defaultTinyliciousPort( + get_current_VariableDeclaration_defaultTinyliciousPort()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InsecureTinyliciousTokenProvider": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_InsecureTinyliciousTokenProvider(): + TypeOnly; +declare function use_current_ClassDeclaration_InsecureTinyliciousTokenProvider( + use: TypeOnly); +use_current_ClassDeclaration_InsecureTinyliciousTokenProvider( + get_old_ClassDeclaration_InsecureTinyliciousTokenProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InsecureTinyliciousTokenProvider": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_InsecureTinyliciousTokenProvider(): + TypeOnly; +declare function use_old_ClassDeclaration_InsecureTinyliciousTokenProvider( + use: TypeOnly); +use_old_ClassDeclaration_InsecureTinyliciousTokenProvider( + get_current_ClassDeclaration_InsecureTinyliciousTokenProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InsecureTinyliciousUrlResolver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_InsecureTinyliciousUrlResolver(): + TypeOnly; +declare function use_current_ClassDeclaration_InsecureTinyliciousUrlResolver( + use: TypeOnly); +use_current_ClassDeclaration_InsecureTinyliciousUrlResolver( + get_old_ClassDeclaration_InsecureTinyliciousUrlResolver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InsecureTinyliciousUrlResolver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_InsecureTinyliciousUrlResolver(): + TypeOnly; +declare function use_old_ClassDeclaration_InsecureTinyliciousUrlResolver( + use: TypeOnly); +use_old_ClassDeclaration_InsecureTinyliciousUrlResolver( + get_current_ClassDeclaration_InsecureTinyliciousUrlResolver()); diff --git a/packages/framework/aqueduct/package.json b/packages/framework/aqueduct/package.json index 20f1cf19973d..3a1a9720df18 100644 --- a/packages/framework/aqueduct/package.json +++ b/packages/framework/aqueduct/package.json @@ -35,7 +35,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -80,6 +80,7 @@ "uuid": "^8.3.1" }, "devDependencies": { + "@fluidframework/aqueduct-previous": "npm:@fluidframework/aqueduct@0.58.2000", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", @@ -105,5 +106,9 @@ "typescript": "~4.1.3", "typescript-formatter": "7.1.0" }, - "module:es5": "es5/index.js" -} + "module:es5": "es5/index.js", + "typeValidation": { + "version": "0.58.3000", + "broken": {} + } +} \ No newline at end of file diff --git a/packages/framework/aqueduct/src/test/types/validateAqueductPrevious.ts b/packages/framework/aqueduct/src/test/types/validateAqueductPrevious.ts new file mode 100644 index 000000000000..3831921c2fe7 --- /dev/null +++ b/packages/framework/aqueduct/src/test/types/validateAqueductPrevious.ts @@ -0,0 +1,495 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/aqueduct-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_BaseContainerRuntimeFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_BaseContainerRuntimeFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_BaseContainerRuntimeFactory( + use: TypeOnly); +use_current_ClassDeclaration_BaseContainerRuntimeFactory( + get_old_ClassDeclaration_BaseContainerRuntimeFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_BaseContainerRuntimeFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_BaseContainerRuntimeFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_BaseContainerRuntimeFactory( + use: TypeOnly); +use_old_ClassDeclaration_BaseContainerRuntimeFactory( + get_current_ClassDeclaration_BaseContainerRuntimeFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_BaseContainerService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_BaseContainerService(): + TypeOnly; +declare function use_current_ClassDeclaration_BaseContainerService( + use: TypeOnly); +use_current_ClassDeclaration_BaseContainerService( + get_old_ClassDeclaration_BaseContainerService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_BaseContainerService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_BaseContainerService(): + TypeOnly; +declare function use_old_ClassDeclaration_BaseContainerService( + use: TypeOnly); +use_old_ClassDeclaration_BaseContainerService( + get_current_ClassDeclaration_BaseContainerService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ContainerRuntimeFactoryWithDefaultDataStore": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ContainerRuntimeFactoryWithDefaultDataStore(): + TypeOnly; +declare function use_current_ClassDeclaration_ContainerRuntimeFactoryWithDefaultDataStore( + use: TypeOnly); +use_current_ClassDeclaration_ContainerRuntimeFactoryWithDefaultDataStore( + get_old_ClassDeclaration_ContainerRuntimeFactoryWithDefaultDataStore()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ContainerRuntimeFactoryWithDefaultDataStore": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ContainerRuntimeFactoryWithDefaultDataStore(): + TypeOnly; +declare function use_old_ClassDeclaration_ContainerRuntimeFactoryWithDefaultDataStore( + use: TypeOnly); +use_old_ClassDeclaration_ContainerRuntimeFactoryWithDefaultDataStore( + get_current_ClassDeclaration_ContainerRuntimeFactoryWithDefaultDataStore()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ContainerServiceRegistryEntries": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_ContainerServiceRegistryEntries(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_ContainerServiceRegistryEntries( + use: TypeOnly); +use_current_TypeAliasDeclaration_ContainerServiceRegistryEntries( + get_old_TypeAliasDeclaration_ContainerServiceRegistryEntries()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ContainerServiceRegistryEntries": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_ContainerServiceRegistryEntries(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_ContainerServiceRegistryEntries( + use: TypeOnly); +use_old_TypeAliasDeclaration_ContainerServiceRegistryEntries( + get_current_TypeAliasDeclaration_ContainerServiceRegistryEntries()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DataObject": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DataObject(): + TypeOnly; +declare function use_current_ClassDeclaration_DataObject( + use: TypeOnly); +use_current_ClassDeclaration_DataObject( + get_old_ClassDeclaration_DataObject()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DataObject": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DataObject(): + TypeOnly; +declare function use_old_ClassDeclaration_DataObject( + use: TypeOnly); +use_old_ClassDeclaration_DataObject( + get_current_ClassDeclaration_DataObject()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DataObjectFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DataObjectFactory(): + TypeOnly>; +declare function use_current_ClassDeclaration_DataObjectFactory( + use: TypeOnly>); +use_current_ClassDeclaration_DataObjectFactory( + get_old_ClassDeclaration_DataObjectFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DataObjectFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DataObjectFactory(): + TypeOnly>; +declare function use_old_ClassDeclaration_DataObjectFactory( + use: TypeOnly>); +use_old_ClassDeclaration_DataObjectFactory( + get_current_ClassDeclaration_DataObjectFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_DataObjectTypes": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_DataObjectTypes(): + TypeOnly; +declare function use_current_InterfaceDeclaration_DataObjectTypes( + use: TypeOnly); +use_current_InterfaceDeclaration_DataObjectTypes( + get_old_InterfaceDeclaration_DataObjectTypes()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_DataObjectTypes": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_DataObjectTypes(): + TypeOnly; +declare function use_old_InterfaceDeclaration_DataObjectTypes( + use: TypeOnly); +use_old_InterfaceDeclaration_DataObjectTypes( + get_current_InterfaceDeclaration_DataObjectTypes()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_defaultFluidObjectRequestHandler": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_defaultFluidObjectRequestHandler(): + TypeOnly; +declare function use_current_FunctionDeclaration_defaultFluidObjectRequestHandler( + use: TypeOnly); +use_current_FunctionDeclaration_defaultFluidObjectRequestHandler( + get_old_FunctionDeclaration_defaultFluidObjectRequestHandler()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_defaultFluidObjectRequestHandler": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_defaultFluidObjectRequestHandler(): + TypeOnly; +declare function use_old_FunctionDeclaration_defaultFluidObjectRequestHandler( + use: TypeOnly); +use_old_FunctionDeclaration_defaultFluidObjectRequestHandler( + get_current_FunctionDeclaration_defaultFluidObjectRequestHandler()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_defaultRouteRequestHandler": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_defaultRouteRequestHandler(): + TypeOnly; +declare function use_current_VariableDeclaration_defaultRouteRequestHandler( + use: TypeOnly); +use_current_VariableDeclaration_defaultRouteRequestHandler( + get_old_VariableDeclaration_defaultRouteRequestHandler()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_defaultRouteRequestHandler": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_defaultRouteRequestHandler(): + TypeOnly; +declare function use_old_VariableDeclaration_defaultRouteRequestHandler( + use: TypeOnly); +use_old_VariableDeclaration_defaultRouteRequestHandler( + get_current_VariableDeclaration_defaultRouteRequestHandler()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_generateContainerServicesRequestHandler": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_generateContainerServicesRequestHandler(): + TypeOnly; +declare function use_current_VariableDeclaration_generateContainerServicesRequestHandler( + use: TypeOnly); +use_current_VariableDeclaration_generateContainerServicesRequestHandler( + get_old_VariableDeclaration_generateContainerServicesRequestHandler()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_generateContainerServicesRequestHandler": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_generateContainerServicesRequestHandler(): + TypeOnly; +declare function use_old_VariableDeclaration_generateContainerServicesRequestHandler( + use: TypeOnly); +use_old_VariableDeclaration_generateContainerServicesRequestHandler( + get_current_VariableDeclaration_generateContainerServicesRequestHandler()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getDefaultObjectFromContainer": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getDefaultObjectFromContainer(): + TypeOnly; +declare function use_current_FunctionDeclaration_getDefaultObjectFromContainer( + use: TypeOnly); +use_current_FunctionDeclaration_getDefaultObjectFromContainer( + get_old_FunctionDeclaration_getDefaultObjectFromContainer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getDefaultObjectFromContainer": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getDefaultObjectFromContainer(): + TypeOnly; +declare function use_old_FunctionDeclaration_getDefaultObjectFromContainer( + use: TypeOnly); +use_old_FunctionDeclaration_getDefaultObjectFromContainer( + get_current_FunctionDeclaration_getDefaultObjectFromContainer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getObjectFromContainer": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getObjectFromContainer(): + TypeOnly; +declare function use_current_FunctionDeclaration_getObjectFromContainer( + use: TypeOnly); +use_current_FunctionDeclaration_getObjectFromContainer( + get_old_FunctionDeclaration_getObjectFromContainer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getObjectFromContainer": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getObjectFromContainer(): + TypeOnly; +declare function use_old_FunctionDeclaration_getObjectFromContainer( + use: TypeOnly); +use_old_FunctionDeclaration_getObjectFromContainer( + get_current_FunctionDeclaration_getObjectFromContainer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getObjectWithIdFromContainer": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getObjectWithIdFromContainer(): + TypeOnly; +declare function use_current_FunctionDeclaration_getObjectWithIdFromContainer( + use: TypeOnly); +use_current_FunctionDeclaration_getObjectWithIdFromContainer( + get_old_FunctionDeclaration_getObjectWithIdFromContainer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getObjectWithIdFromContainer": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getObjectWithIdFromContainer(): + TypeOnly; +declare function use_old_FunctionDeclaration_getObjectWithIdFromContainer( + use: TypeOnly); +use_old_FunctionDeclaration_getObjectWithIdFromContainer( + get_current_FunctionDeclaration_getObjectWithIdFromContainer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IDataObjectProps": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IDataObjectProps(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IDataObjectProps( + use: TypeOnly); +use_current_InterfaceDeclaration_IDataObjectProps( + get_old_InterfaceDeclaration_IDataObjectProps()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IDataObjectProps": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IDataObjectProps(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IDataObjectProps( + use: TypeOnly); +use_old_InterfaceDeclaration_IDataObjectProps( + get_current_InterfaceDeclaration_IDataObjectProps()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IRootDataObjectFactory": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IRootDataObjectFactory(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IRootDataObjectFactory( + use: TypeOnly); +use_current_InterfaceDeclaration_IRootDataObjectFactory( + get_old_InterfaceDeclaration_IRootDataObjectFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IRootDataObjectFactory": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IRootDataObjectFactory(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IRootDataObjectFactory( + use: TypeOnly); +use_old_InterfaceDeclaration_IRootDataObjectFactory( + get_current_InterfaceDeclaration_IRootDataObjectFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_mountableViewRequestHandler": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_mountableViewRequestHandler(): + TypeOnly; +declare function use_current_VariableDeclaration_mountableViewRequestHandler( + use: TypeOnly); +use_current_VariableDeclaration_mountableViewRequestHandler( + get_old_VariableDeclaration_mountableViewRequestHandler()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_mountableViewRequestHandler": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_mountableViewRequestHandler(): + TypeOnly; +declare function use_old_VariableDeclaration_mountableViewRequestHandler( + use: TypeOnly); +use_old_VariableDeclaration_mountableViewRequestHandler( + get_current_VariableDeclaration_mountableViewRequestHandler()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_PureDataObject": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_PureDataObject(): + TypeOnly; +declare function use_current_ClassDeclaration_PureDataObject( + use: TypeOnly); +use_current_ClassDeclaration_PureDataObject( + get_old_ClassDeclaration_PureDataObject()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_PureDataObject": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_PureDataObject(): + TypeOnly; +declare function use_old_ClassDeclaration_PureDataObject( + use: TypeOnly); +use_old_ClassDeclaration_PureDataObject( + get_current_ClassDeclaration_PureDataObject()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_PureDataObjectFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_PureDataObjectFactory(): + TypeOnly>; +declare function use_current_ClassDeclaration_PureDataObjectFactory( + use: TypeOnly>); +use_current_ClassDeclaration_PureDataObjectFactory( + get_old_ClassDeclaration_PureDataObjectFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_PureDataObjectFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_PureDataObjectFactory(): + TypeOnly>; +declare function use_old_ClassDeclaration_PureDataObjectFactory( + use: TypeOnly>); +use_old_ClassDeclaration_PureDataObjectFactory( + get_current_ClassDeclaration_PureDataObjectFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_serviceRoutePathRoot": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_serviceRoutePathRoot(): + TypeOnly; +declare function use_current_VariableDeclaration_serviceRoutePathRoot( + use: TypeOnly); +use_current_VariableDeclaration_serviceRoutePathRoot( + get_old_VariableDeclaration_serviceRoutePathRoot()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_serviceRoutePathRoot": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_serviceRoutePathRoot(): + TypeOnly; +declare function use_old_VariableDeclaration_serviceRoutePathRoot( + use: TypeOnly); +use_old_VariableDeclaration_serviceRoutePathRoot( + get_current_VariableDeclaration_serviceRoutePathRoot()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_waitForAttach": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_waitForAttach(): + TypeOnly; +declare function use_current_FunctionDeclaration_waitForAttach( + use: TypeOnly); +use_current_FunctionDeclaration_waitForAttach( + get_old_FunctionDeclaration_waitForAttach()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_waitForAttach": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_waitForAttach(): + TypeOnly; +declare function use_old_FunctionDeclaration_waitForAttach( + use: TypeOnly); +use_old_FunctionDeclaration_waitForAttach( + get_current_FunctionDeclaration_waitForAttach()); diff --git a/packages/framework/azure-client/package.json b/packages/framework/azure-client/package.json index b682edc77d50..7b1398d1f8a6 100644 --- a/packages/framework/azure-client/package.json +++ b/packages/framework/azure-client/package.json @@ -58,6 +58,7 @@ }, "devDependencies": { "@fluidframework/aqueduct": "^0.58.3000", + "@fluidframework/azure-client-previous": "npm:@fluidframework/azure-client@0.58.2000", "@fluidframework/azure-local-service": "^0.1.38773", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", @@ -76,5 +77,9 @@ }, "peerDependencies": { "fluid-framework": "^0.58.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/azure-client/src/test/types/validateAzureClientPrevious.ts b/packages/framework/azure-client/src/test/types/validateAzureClientPrevious.ts new file mode 100644 index 000000000000..b38b7a065c6d --- /dev/null +++ b/packages/framework/azure-client/src/test/types/validateAzureClientPrevious.ts @@ -0,0 +1,399 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/azure-client-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_AzureAudience": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_AzureAudience(): + TypeOnly; +declare function use_current_ClassDeclaration_AzureAudience( + use: TypeOnly); +use_current_ClassDeclaration_AzureAudience( + get_old_ClassDeclaration_AzureAudience()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_AzureAudience": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_AzureAudience(): + TypeOnly; +declare function use_old_ClassDeclaration_AzureAudience( + use: TypeOnly); +use_old_ClassDeclaration_AzureAudience( + get_current_ClassDeclaration_AzureAudience()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_AzureClient": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_AzureClient(): + TypeOnly; +declare function use_current_ClassDeclaration_AzureClient( + use: TypeOnly); +use_current_ClassDeclaration_AzureClient( + get_old_ClassDeclaration_AzureClient()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_AzureClient": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_AzureClient(): + TypeOnly; +declare function use_old_ClassDeclaration_AzureClient( + use: TypeOnly); +use_old_ClassDeclaration_AzureClient( + get_current_ClassDeclaration_AzureClient()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_AzureClientProps": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_AzureClientProps(): + TypeOnly; +declare function use_current_InterfaceDeclaration_AzureClientProps( + use: TypeOnly); +use_current_InterfaceDeclaration_AzureClientProps( + get_old_InterfaceDeclaration_AzureClientProps()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_AzureClientProps": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_AzureClientProps(): + TypeOnly; +declare function use_old_InterfaceDeclaration_AzureClientProps( + use: TypeOnly); +use_old_InterfaceDeclaration_AzureClientProps( + get_current_InterfaceDeclaration_AzureClientProps()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_AzureConnectionConfig": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_AzureConnectionConfig(): + TypeOnly; +declare function use_current_InterfaceDeclaration_AzureConnectionConfig( + use: TypeOnly); +use_current_InterfaceDeclaration_AzureConnectionConfig( + get_old_InterfaceDeclaration_AzureConnectionConfig()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_AzureConnectionConfig": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_AzureConnectionConfig(): + TypeOnly; +declare function use_old_InterfaceDeclaration_AzureConnectionConfig( + use: TypeOnly); +use_old_InterfaceDeclaration_AzureConnectionConfig( + get_current_InterfaceDeclaration_AzureConnectionConfig()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_AzureContainerServices": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_AzureContainerServices(): + TypeOnly; +declare function use_current_InterfaceDeclaration_AzureContainerServices( + use: TypeOnly); +use_current_InterfaceDeclaration_AzureContainerServices( + get_old_InterfaceDeclaration_AzureContainerServices()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_AzureContainerServices": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_AzureContainerServices(): + TypeOnly; +declare function use_old_InterfaceDeclaration_AzureContainerServices( + use: TypeOnly); +use_old_InterfaceDeclaration_AzureContainerServices( + get_current_InterfaceDeclaration_AzureContainerServices()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_AzureFunctionTokenProvider": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_AzureFunctionTokenProvider(): + TypeOnly; +declare function use_current_ClassDeclaration_AzureFunctionTokenProvider( + use: TypeOnly); +use_current_ClassDeclaration_AzureFunctionTokenProvider( + get_old_ClassDeclaration_AzureFunctionTokenProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_AzureFunctionTokenProvider": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_AzureFunctionTokenProvider(): + TypeOnly; +declare function use_old_ClassDeclaration_AzureFunctionTokenProvider( + use: TypeOnly); +use_old_ClassDeclaration_AzureFunctionTokenProvider( + get_current_ClassDeclaration_AzureFunctionTokenProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_AzureMember": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_AzureMember(): + TypeOnly; +declare function use_current_InterfaceDeclaration_AzureMember( + use: TypeOnly); +use_current_InterfaceDeclaration_AzureMember( + get_old_InterfaceDeclaration_AzureMember()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_AzureMember": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_AzureMember(): + TypeOnly; +declare function use_old_InterfaceDeclaration_AzureMember( + use: TypeOnly); +use_old_InterfaceDeclaration_AzureMember( + get_current_InterfaceDeclaration_AzureMember()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_IAzureAudience": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_IAzureAudience(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_IAzureAudience( + use: TypeOnly); +use_current_TypeAliasDeclaration_IAzureAudience( + get_old_TypeAliasDeclaration_IAzureAudience()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_IAzureAudience": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_IAzureAudience(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_IAzureAudience( + use: TypeOnly); +use_old_TypeAliasDeclaration_IAzureAudience( + get_current_TypeAliasDeclaration_IAzureAudience()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITelemetryBaseEvent": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITelemetryBaseEvent(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITelemetryBaseEvent( + use: TypeOnly); +use_current_InterfaceDeclaration_ITelemetryBaseEvent( + get_old_InterfaceDeclaration_ITelemetryBaseEvent()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITelemetryBaseEvent": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITelemetryBaseEvent(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITelemetryBaseEvent( + use: TypeOnly); +use_old_InterfaceDeclaration_ITelemetryBaseEvent( + get_current_InterfaceDeclaration_ITelemetryBaseEvent()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITelemetryBaseLogger": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITelemetryBaseLogger(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITelemetryBaseLogger( + use: TypeOnly); +use_current_InterfaceDeclaration_ITelemetryBaseLogger( + get_old_InterfaceDeclaration_ITelemetryBaseLogger()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITelemetryBaseLogger": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITelemetryBaseLogger(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITelemetryBaseLogger( + use: TypeOnly); +use_old_InterfaceDeclaration_ITelemetryBaseLogger( + get_current_InterfaceDeclaration_ITelemetryBaseLogger()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITokenClaims": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITokenClaims(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITokenClaims( + use: TypeOnly); +use_current_InterfaceDeclaration_ITokenClaims( + get_old_InterfaceDeclaration_ITokenClaims()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITokenClaims": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITokenClaims(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITokenClaims( + use: TypeOnly); +use_old_InterfaceDeclaration_ITokenClaims( + get_current_InterfaceDeclaration_ITokenClaims()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITokenProvider": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITokenProvider(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITokenProvider( + use: TypeOnly); +use_current_InterfaceDeclaration_ITokenProvider( + get_old_InterfaceDeclaration_ITokenProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITokenProvider": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITokenProvider(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITokenProvider( + use: TypeOnly); +use_old_InterfaceDeclaration_ITokenProvider( + get_current_InterfaceDeclaration_ITokenProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITokenResponse": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITokenResponse(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITokenResponse( + use: TypeOnly); +use_current_InterfaceDeclaration_ITokenResponse( + get_old_InterfaceDeclaration_ITokenResponse()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITokenResponse": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITokenResponse(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITokenResponse( + use: TypeOnly); +use_old_InterfaceDeclaration_ITokenResponse( + get_current_InterfaceDeclaration_ITokenResponse()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IUser": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IUser(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IUser( + use: TypeOnly); +use_current_InterfaceDeclaration_IUser( + get_old_InterfaceDeclaration_IUser()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IUser": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IUser(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IUser( + use: TypeOnly); +use_old_InterfaceDeclaration_IUser( + get_current_InterfaceDeclaration_IUser()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_LOCAL_MODE_TENANT_ID": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_LOCAL_MODE_TENANT_ID(): + TypeOnly; +declare function use_current_VariableDeclaration_LOCAL_MODE_TENANT_ID( + use: TypeOnly); +use_current_VariableDeclaration_LOCAL_MODE_TENANT_ID( + get_old_VariableDeclaration_LOCAL_MODE_TENANT_ID()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_LOCAL_MODE_TENANT_ID": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_LOCAL_MODE_TENANT_ID(): + TypeOnly; +declare function use_old_VariableDeclaration_LOCAL_MODE_TENANT_ID( + use: TypeOnly); +use_old_VariableDeclaration_LOCAL_MODE_TENANT_ID( + get_current_VariableDeclaration_LOCAL_MODE_TENANT_ID()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ScopeType": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_ScopeType(): + TypeOnly; +declare function use_current_EnumDeclaration_ScopeType( + use: TypeOnly); +use_current_EnumDeclaration_ScopeType( + get_old_EnumDeclaration_ScopeType()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ScopeType": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_ScopeType(): + TypeOnly; +declare function use_old_EnumDeclaration_ScopeType( + use: TypeOnly); +use_old_EnumDeclaration_ScopeType( + get_current_EnumDeclaration_ScopeType()); diff --git a/packages/framework/azure-service-utils/.eslintrc.js b/packages/framework/azure-service-utils/.eslintrc.js index b129a4365b2c..fbe412ca5406 100644 --- a/packages/framework/azure-service-utils/.eslintrc.js +++ b/packages/framework/azure-service-utils/.eslintrc.js @@ -8,7 +8,7 @@ module.exports = { "@fluidframework/eslint-config-fluid" ], "parserOptions": { - "project": ["./tsconfig.json"] + "project": ["./tsconfig.json", "./src/test/tsconfig.json"] }, "rules": { "@typescript-eslint/strict-boolean-expressions": "off", diff --git a/packages/framework/azure-service-utils/package.json b/packages/framework/azure-service-utils/package.json index 9aba1d22e3e1..9311f50817ed 100644 --- a/packages/framework/azure-service-utils/package.json +++ b/packages/framework/azure-service-utils/package.json @@ -16,13 +16,14 @@ "types": "dist/index.d.ts", "scripts": { "build": "npm run build:genver && concurrently npm:build:compile npm:lint && npm run build:docs", - "build:commonjs": "npm run tsc", + "build:commonjs": "npm run tsc && npm run build:test", "build:compile": "concurrently npm:build:commonjs npm:build:esnext", "build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", "build:esnext": "tsc --project ./tsconfig.esnext.json", "build:full": "npm run build", "build:full:compile": "npm run build:compile", "build:genver": "gen-version", + "build:test": "tsc --project ./src/test/tsconfig.json", "ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/", "clean": "rimraf dist *.tsbuildinfo *.build.log", "eslint": "eslint --format stylish src", @@ -39,6 +40,7 @@ "jsrsasign": "^10.2.0" }, "devDependencies": { + "@fluidframework/azure-service-utils-previous": "npm:@fluidframework/azure-service-utils@0.58.2000", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@microsoft/api-extractor": "^7.16.1", @@ -58,5 +60,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/azure-service-utils/src/test/tsconfig.json b/packages/framework/azure-service-utils/src/test/tsconfig.json new file mode 100644 index 000000000000..913f09ed3b1b --- /dev/null +++ b/packages/framework/azure-service-utils/src/test/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@fluidframework/build-common/ts-common-config.json", + "compilerOptions": { + "rootDir": "./", + "outDir": "../../dist/test", + "declaration": false, + "declarationMap": false, + "skipLibCheck": true, + "noEmit": true, + }, + "include": [ + "./**/*" + ], + "references": [ + { + "path": "../.." + } + ] +} diff --git a/packages/framework/azure-service-utils/src/test/types/validateAzureServiceUtilsPrevious.ts b/packages/framework/azure-service-utils/src/test/types/validateAzureServiceUtilsPrevious.ts new file mode 100644 index 000000000000..e0f82bb5d835 --- /dev/null +++ b/packages/framework/azure-service-utils/src/test/types/validateAzureServiceUtilsPrevious.ts @@ -0,0 +1,63 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/azure-service-utils-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_generateToken": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_generateToken(): + TypeOnly; +declare function use_current_FunctionDeclaration_generateToken( + use: TypeOnly); +use_current_FunctionDeclaration_generateToken( + get_old_FunctionDeclaration_generateToken()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_generateToken": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_generateToken(): + TypeOnly; +declare function use_old_FunctionDeclaration_generateToken( + use: TypeOnly); +use_old_FunctionDeclaration_generateToken( + get_current_FunctionDeclaration_generateToken()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ScopeType": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_ScopeType(): + TypeOnly; +declare function use_current_EnumDeclaration_ScopeType( + use: TypeOnly); +use_current_EnumDeclaration_ScopeType( + get_old_EnumDeclaration_ScopeType()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ScopeType": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_ScopeType(): + TypeOnly; +declare function use_old_EnumDeclaration_ScopeType( + use: TypeOnly); +use_old_EnumDeclaration_ScopeType( + get_current_EnumDeclaration_ScopeType()); diff --git a/packages/framework/data-object-base/package.json b/packages/framework/data-object-base/package.json index 96a800201856..421bee739980 100644 --- a/packages/framework/data-object-base/package.json +++ b/packages/framework/data-object-base/package.json @@ -72,6 +72,7 @@ }, "devDependencies": { "@fluidframework/build-common": "^0.23.0", + "@fluidframework/data-object-base-previous": "npm:@fluidframework/data-object-base@0.58.2000", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", "@microsoft/api-extractor": "^7.16.1", @@ -95,5 +96,9 @@ "typescript": "~4.1.3", "typescript-formatter": "7.1.0" }, - "module:es5": "es5/index.js" -} + "module:es5": "es5/index.js", + "typeValidation": { + "version": "0.58.3000", + "broken": {} + } +} \ No newline at end of file diff --git a/packages/framework/data-object-base/src/test/types/validateDataObjectBasePrevious.ts b/packages/framework/data-object-base/src/test/types/validateDataObjectBasePrevious.ts new file mode 100644 index 000000000000..99bf775074ce --- /dev/null +++ b/packages/framework/data-object-base/src/test/types/validateDataObjectBasePrevious.ts @@ -0,0 +1,87 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/data-object-base-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LazyLoadedDataObject": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_LazyLoadedDataObject(): + TypeOnly; +declare function use_current_ClassDeclaration_LazyLoadedDataObject( + use: TypeOnly); +use_current_ClassDeclaration_LazyLoadedDataObject( + get_old_ClassDeclaration_LazyLoadedDataObject()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LazyLoadedDataObject": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_LazyLoadedDataObject(): + TypeOnly; +declare function use_old_ClassDeclaration_LazyLoadedDataObject( + use: TypeOnly); +use_old_ClassDeclaration_LazyLoadedDataObject( + get_current_ClassDeclaration_LazyLoadedDataObject()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LazyLoadedDataObjectFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_LazyLoadedDataObjectFactory(): + TypeOnly>; +declare function use_current_ClassDeclaration_LazyLoadedDataObjectFactory( + use: TypeOnly>); +use_current_ClassDeclaration_LazyLoadedDataObjectFactory( + get_old_ClassDeclaration_LazyLoadedDataObjectFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LazyLoadedDataObjectFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_LazyLoadedDataObjectFactory(): + TypeOnly>; +declare function use_old_ClassDeclaration_LazyLoadedDataObjectFactory( + use: TypeOnly>); +use_old_ClassDeclaration_LazyLoadedDataObjectFactory( + get_current_ClassDeclaration_LazyLoadedDataObjectFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RuntimeFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_RuntimeFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_RuntimeFactory( + use: TypeOnly); +use_current_ClassDeclaration_RuntimeFactory( + get_old_ClassDeclaration_RuntimeFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RuntimeFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_RuntimeFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_RuntimeFactory( + use: TypeOnly); +use_old_ClassDeclaration_RuntimeFactory( + get_current_ClassDeclaration_RuntimeFactory()); diff --git a/packages/framework/dds-interceptions/package.json b/packages/framework/dds-interceptions/package.json index 1c7ef19b5304..e89b8283a09b 100644 --- a/packages/framework/dds-interceptions/package.json +++ b/packages/framework/dds-interceptions/package.json @@ -68,6 +68,7 @@ }, "devDependencies": { "@fluidframework/build-common": "^0.23.0", + "@fluidframework/dds-interceptions-previous": "npm:@fluidframework/dds-interceptions@0.58.2000", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", "@fluidframework/test-runtime-utils": "^0.58.3000", @@ -96,5 +97,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/dds-interceptions/src/test/types/validateDdsInterceptionsPrevious.ts b/packages/framework/dds-interceptions/src/test/types/validateDdsInterceptionsPrevious.ts new file mode 100644 index 000000000000..da606f8c23c5 --- /dev/null +++ b/packages/framework/dds-interceptions/src/test/types/validateDdsInterceptionsPrevious.ts @@ -0,0 +1,87 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/dds-interceptions-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createDirectoryWithInterception": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_createDirectoryWithInterception(): + TypeOnly; +declare function use_current_FunctionDeclaration_createDirectoryWithInterception( + use: TypeOnly); +use_current_FunctionDeclaration_createDirectoryWithInterception( + get_old_FunctionDeclaration_createDirectoryWithInterception()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createDirectoryWithInterception": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_createDirectoryWithInterception(): + TypeOnly; +declare function use_old_FunctionDeclaration_createDirectoryWithInterception( + use: TypeOnly); +use_old_FunctionDeclaration_createDirectoryWithInterception( + get_current_FunctionDeclaration_createDirectoryWithInterception()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createSharedMapWithInterception": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_createSharedMapWithInterception(): + TypeOnly; +declare function use_current_FunctionDeclaration_createSharedMapWithInterception( + use: TypeOnly); +use_current_FunctionDeclaration_createSharedMapWithInterception( + get_old_FunctionDeclaration_createSharedMapWithInterception()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createSharedMapWithInterception": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_createSharedMapWithInterception(): + TypeOnly; +declare function use_old_FunctionDeclaration_createSharedMapWithInterception( + use: TypeOnly); +use_old_FunctionDeclaration_createSharedMapWithInterception( + get_current_FunctionDeclaration_createSharedMapWithInterception()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createSharedStringWithInterception": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_createSharedStringWithInterception(): + TypeOnly; +declare function use_current_FunctionDeclaration_createSharedStringWithInterception( + use: TypeOnly); +use_current_FunctionDeclaration_createSharedStringWithInterception( + get_old_FunctionDeclaration_createSharedStringWithInterception()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createSharedStringWithInterception": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_createSharedStringWithInterception(): + TypeOnly; +declare function use_old_FunctionDeclaration_createSharedStringWithInterception( + use: TypeOnly); +use_old_FunctionDeclaration_createSharedStringWithInterception( + get_current_FunctionDeclaration_createSharedStringWithInterception()); diff --git a/packages/framework/fluid-framework/.eslintrc.js b/packages/framework/fluid-framework/.eslintrc.js index bc20d6e3908b..f7c1f947a827 100644 --- a/packages/framework/fluid-framework/.eslintrc.js +++ b/packages/framework/fluid-framework/.eslintrc.js @@ -8,7 +8,7 @@ module.exports = { "@fluidframework/eslint-config-fluid/strict" ], "parserOptions": { - "project": ["./tsconfig.json"] + "project": ["./tsconfig.json", "./src/test/tsconfig.json"] }, "rules": {} } diff --git a/packages/framework/fluid-framework/package.json b/packages/framework/fluid-framework/package.json index 6f656dd3b077..ecd20a2af39f 100644 --- a/packages/framework/fluid-framework/package.json +++ b/packages/framework/fluid-framework/package.json @@ -16,12 +16,13 @@ "types": "dist/index.d.ts", "scripts": { "build": "concurrently npm:build:compile npm:lint && npm run build:docs", - "build:commonjs": "npm run tsc", + "build:commonjs": "npm run tsc && npm run build:test", "build:compile": "concurrently npm:build:commonjs npm:build:esnext", "build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", "build:esnext": "tsc --project ./tsconfig.esnext.json", "build:full": "npm run build", "build:full:compile": "npm run build:compile", + "build:test": "tsc --project ./src/test/tsconfig.json", "ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/", "clean": "rimraf dist *.tsbuildinfo *.build.log", "eslint": "eslint --format stylish src", @@ -56,8 +57,14 @@ "eslint-plugin-no-null": "~1.0.2", "eslint-plugin-react": "~7.28.0", "eslint-plugin-unicorn": "~40.0.0", + "fluid-framework-previous": "npm:fluid-framework@0.58.2000", "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {}, + "disabled": true } -} +} \ No newline at end of file diff --git a/packages/framework/fluid-framework/src/test/tsconfig.json b/packages/framework/fluid-framework/src/test/tsconfig.json new file mode 100644 index 000000000000..913f09ed3b1b --- /dev/null +++ b/packages/framework/fluid-framework/src/test/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@fluidframework/build-common/ts-common-config.json", + "compilerOptions": { + "rootDir": "./", + "outDir": "../../dist/test", + "declaration": false, + "declarationMap": false, + "skipLibCheck": true, + "noEmit": true, + }, + "include": [ + "./**/*" + ], + "references": [ + { + "path": "../.." + } + ] +} diff --git a/packages/framework/fluid-static/package.json b/packages/framework/fluid-static/package.json index cf93105957d2..bcb8ea4e2148 100644 --- a/packages/framework/fluid-static/package.json +++ b/packages/framework/fluid-static/package.json @@ -50,6 +50,7 @@ "@fluid-experimental/get-container": "^0.58.3000", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/fluid-static-previous": "npm:@fluidframework/fluid-static@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/node": "^14.18.0", @@ -68,5 +69,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/fluid-static/src/test/types/validateFluidStaticPrevious.ts b/packages/framework/fluid-static/src/test/types/validateFluidStaticPrevious.ts new file mode 100644 index 000000000000..f4c279adf034 --- /dev/null +++ b/packages/framework/fluid-static/src/test/types/validateFluidStaticPrevious.ts @@ -0,0 +1,447 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/fluid-static-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ContainerSchema": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ContainerSchema(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ContainerSchema( + use: TypeOnly); +use_current_InterfaceDeclaration_ContainerSchema( + get_old_InterfaceDeclaration_ContainerSchema()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ContainerSchema": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ContainerSchema(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ContainerSchema( + use: TypeOnly); +use_old_InterfaceDeclaration_ContainerSchema( + get_current_InterfaceDeclaration_ContainerSchema()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_DataObjectClass": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_DataObjectClass(): + TypeOnly>; +declare function use_current_TypeAliasDeclaration_DataObjectClass( + use: TypeOnly>); +use_current_TypeAliasDeclaration_DataObjectClass( + get_old_TypeAliasDeclaration_DataObjectClass()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_DataObjectClass": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_DataObjectClass(): + TypeOnly>; +declare function use_old_TypeAliasDeclaration_DataObjectClass( + use: TypeOnly>); +use_old_TypeAliasDeclaration_DataObjectClass( + get_current_TypeAliasDeclaration_DataObjectClass()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DOProviderContainerRuntimeFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DOProviderContainerRuntimeFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_DOProviderContainerRuntimeFactory( + use: TypeOnly); +use_current_ClassDeclaration_DOProviderContainerRuntimeFactory( + get_old_ClassDeclaration_DOProviderContainerRuntimeFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DOProviderContainerRuntimeFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DOProviderContainerRuntimeFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_DOProviderContainerRuntimeFactory( + use: TypeOnly); +use_old_ClassDeclaration_DOProviderContainerRuntimeFactory( + get_current_ClassDeclaration_DOProviderContainerRuntimeFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FluidContainer": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_FluidContainer(): + TypeOnly; +declare function use_current_ClassDeclaration_FluidContainer( + use: TypeOnly); +use_current_ClassDeclaration_FluidContainer( + get_old_ClassDeclaration_FluidContainer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FluidContainer": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_FluidContainer(): + TypeOnly; +declare function use_old_ClassDeclaration_FluidContainer( + use: TypeOnly); +use_old_ClassDeclaration_FluidContainer( + get_current_ClassDeclaration_FluidContainer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConnection": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IConnection(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IConnection( + use: TypeOnly); +use_current_InterfaceDeclaration_IConnection( + get_old_InterfaceDeclaration_IConnection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConnection": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IConnection(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IConnection( + use: TypeOnly); +use_old_InterfaceDeclaration_IConnection( + get_current_InterfaceDeclaration_IConnection()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidContainer": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IFluidContainer(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IFluidContainer( + use: TypeOnly); +use_current_InterfaceDeclaration_IFluidContainer( + get_old_InterfaceDeclaration_IFluidContainer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidContainer": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IFluidContainer(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IFluidContainer( + use: TypeOnly); +use_old_InterfaceDeclaration_IFluidContainer( + get_current_InterfaceDeclaration_IFluidContainer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidContainerEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IFluidContainerEvents(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IFluidContainerEvents( + use: TypeOnly); +use_current_InterfaceDeclaration_IFluidContainerEvents( + get_old_InterfaceDeclaration_IFluidContainerEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidContainerEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IFluidContainerEvents(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IFluidContainerEvents( + use: TypeOnly); +use_old_InterfaceDeclaration_IFluidContainerEvents( + get_current_InterfaceDeclaration_IFluidContainerEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IMember": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IMember(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IMember( + use: TypeOnly); +use_current_InterfaceDeclaration_IMember( + get_old_InterfaceDeclaration_IMember()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IMember": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IMember(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IMember( + use: TypeOnly); +use_old_InterfaceDeclaration_IMember( + get_current_InterfaceDeclaration_IMember()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IServiceAudience": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IServiceAudience(): + TypeOnly>; +declare function use_current_InterfaceDeclaration_IServiceAudience( + use: TypeOnly>); +use_current_InterfaceDeclaration_IServiceAudience( + get_old_InterfaceDeclaration_IServiceAudience()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IServiceAudience": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IServiceAudience(): + TypeOnly>; +declare function use_old_InterfaceDeclaration_IServiceAudience( + use: TypeOnly>); +use_old_InterfaceDeclaration_IServiceAudience( + get_current_InterfaceDeclaration_IServiceAudience()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IServiceAudienceEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IServiceAudienceEvents(): + TypeOnly>; +declare function use_current_InterfaceDeclaration_IServiceAudienceEvents( + use: TypeOnly>); +use_current_InterfaceDeclaration_IServiceAudienceEvents( + get_old_InterfaceDeclaration_IServiceAudienceEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IServiceAudienceEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IServiceAudienceEvents(): + TypeOnly>; +declare function use_old_InterfaceDeclaration_IServiceAudienceEvents( + use: TypeOnly>); +use_old_InterfaceDeclaration_IServiceAudienceEvents( + get_current_InterfaceDeclaration_IServiceAudienceEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_LoadableObjectClass": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_LoadableObjectClass(): + TypeOnly>; +declare function use_current_TypeAliasDeclaration_LoadableObjectClass( + use: TypeOnly>); +use_current_TypeAliasDeclaration_LoadableObjectClass( + get_old_TypeAliasDeclaration_LoadableObjectClass()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_LoadableObjectClass": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_LoadableObjectClass(): + TypeOnly>; +declare function use_old_TypeAliasDeclaration_LoadableObjectClass( + use: TypeOnly>); +use_old_TypeAliasDeclaration_LoadableObjectClass( + get_current_TypeAliasDeclaration_LoadableObjectClass()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_LoadableObjectClassRecord": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_LoadableObjectClassRecord(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_LoadableObjectClassRecord( + use: TypeOnly); +use_current_TypeAliasDeclaration_LoadableObjectClassRecord( + get_old_TypeAliasDeclaration_LoadableObjectClassRecord()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_LoadableObjectClassRecord": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_LoadableObjectClassRecord(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_LoadableObjectClassRecord( + use: TypeOnly); +use_old_TypeAliasDeclaration_LoadableObjectClassRecord( + get_current_TypeAliasDeclaration_LoadableObjectClassRecord()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_LoadableObjectCtor": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_LoadableObjectCtor(): + TypeOnly>; +declare function use_current_TypeAliasDeclaration_LoadableObjectCtor( + use: TypeOnly>); +use_current_TypeAliasDeclaration_LoadableObjectCtor( + get_old_TypeAliasDeclaration_LoadableObjectCtor()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_LoadableObjectCtor": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_LoadableObjectCtor(): + TypeOnly>; +declare function use_old_TypeAliasDeclaration_LoadableObjectCtor( + use: TypeOnly>); +use_old_TypeAliasDeclaration_LoadableObjectCtor( + get_current_TypeAliasDeclaration_LoadableObjectCtor()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_LoadableObjectRecord": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_LoadableObjectRecord(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_LoadableObjectRecord( + use: TypeOnly); +use_current_TypeAliasDeclaration_LoadableObjectRecord( + get_old_TypeAliasDeclaration_LoadableObjectRecord()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_LoadableObjectRecord": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_LoadableObjectRecord(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_LoadableObjectRecord( + use: TypeOnly); +use_old_TypeAliasDeclaration_LoadableObjectRecord( + get_current_TypeAliasDeclaration_LoadableObjectRecord()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RootDataObject": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_RootDataObject(): + TypeOnly; +declare function use_current_ClassDeclaration_RootDataObject( + use: TypeOnly); +use_current_ClassDeclaration_RootDataObject( + get_old_ClassDeclaration_RootDataObject()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RootDataObject": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_RootDataObject(): + TypeOnly; +declare function use_old_ClassDeclaration_RootDataObject( + use: TypeOnly); +use_old_ClassDeclaration_RootDataObject( + get_current_ClassDeclaration_RootDataObject()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_RootDataObjectProps": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_RootDataObjectProps(): + TypeOnly; +declare function use_current_InterfaceDeclaration_RootDataObjectProps( + use: TypeOnly); +use_current_InterfaceDeclaration_RootDataObjectProps( + get_old_InterfaceDeclaration_RootDataObjectProps()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_RootDataObjectProps": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_RootDataObjectProps(): + TypeOnly; +declare function use_old_InterfaceDeclaration_RootDataObjectProps( + use: TypeOnly); +use_old_InterfaceDeclaration_RootDataObjectProps( + get_current_InterfaceDeclaration_RootDataObjectProps()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ServiceAudience": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ServiceAudience(): + TypeOnly; +declare function use_current_ClassDeclaration_ServiceAudience( + use: TypeOnly); +use_current_ClassDeclaration_ServiceAudience( + get_old_ClassDeclaration_ServiceAudience()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ServiceAudience": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ServiceAudience(): + TypeOnly; +declare function use_old_ClassDeclaration_ServiceAudience( + use: TypeOnly); +use_old_ClassDeclaration_ServiceAudience( + get_current_ClassDeclaration_ServiceAudience()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_SharedObjectClass": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_SharedObjectClass(): + TypeOnly>; +declare function use_current_TypeAliasDeclaration_SharedObjectClass( + use: TypeOnly>); +use_current_TypeAliasDeclaration_SharedObjectClass( + get_old_TypeAliasDeclaration_SharedObjectClass()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_SharedObjectClass": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_SharedObjectClass(): + TypeOnly>; +declare function use_old_TypeAliasDeclaration_SharedObjectClass( + use: TypeOnly>); +use_old_TypeAliasDeclaration_SharedObjectClass( + get_current_TypeAliasDeclaration_SharedObjectClass()); diff --git a/packages/framework/request-handler/package.json b/packages/framework/request-handler/package.json index 553c9e0f462d..3b1a6d0634fb 100644 --- a/packages/framework/request-handler/package.json +++ b/packages/framework/request-handler/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test --exit -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test --exit -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -69,6 +69,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/request-handler-previous": "npm:@fluidframework/request-handler@0.58.2000", "@fluidframework/test-runtime-utils": "^0.58.3000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", @@ -94,5 +95,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/request-handler/src/test/types/validateRequestHandlerPrevious.ts b/packages/framework/request-handler/src/test/types/validateRequestHandlerPrevious.ts new file mode 100644 index 000000000000..a167f4a96cf5 --- /dev/null +++ b/packages/framework/request-handler/src/test/types/validateRequestHandlerPrevious.ts @@ -0,0 +1,159 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/request-handler-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_buildRuntimeRequestHandler": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_buildRuntimeRequestHandler(): + TypeOnly; +declare function use_current_FunctionDeclaration_buildRuntimeRequestHandler( + use: TypeOnly); +use_current_FunctionDeclaration_buildRuntimeRequestHandler( + get_old_FunctionDeclaration_buildRuntimeRequestHandler()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_buildRuntimeRequestHandler": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_buildRuntimeRequestHandler(): + TypeOnly; +declare function use_old_FunctionDeclaration_buildRuntimeRequestHandler( + use: TypeOnly); +use_old_FunctionDeclaration_buildRuntimeRequestHandler( + get_current_FunctionDeclaration_buildRuntimeRequestHandler()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_createFluidObjectResponse": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_createFluidObjectResponse(): + TypeOnly; +declare function use_current_VariableDeclaration_createFluidObjectResponse( + use: TypeOnly); +use_current_VariableDeclaration_createFluidObjectResponse( + get_old_VariableDeclaration_createFluidObjectResponse()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_createFluidObjectResponse": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_createFluidObjectResponse(): + TypeOnly; +declare function use_old_VariableDeclaration_createFluidObjectResponse( + use: TypeOnly); +use_old_VariableDeclaration_createFluidObjectResponse( + get_current_VariableDeclaration_createFluidObjectResponse()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_handleFromLegacyUri": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_handleFromLegacyUri(): + TypeOnly; +declare function use_current_FunctionDeclaration_handleFromLegacyUri( + use: TypeOnly); +use_current_FunctionDeclaration_handleFromLegacyUri( + get_old_FunctionDeclaration_handleFromLegacyUri()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_handleFromLegacyUri": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_handleFromLegacyUri(): + TypeOnly; +declare function use_old_FunctionDeclaration_handleFromLegacyUri( + use: TypeOnly); +use_old_FunctionDeclaration_handleFromLegacyUri( + get_current_FunctionDeclaration_handleFromLegacyUri()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_rootDataStoreRequestHandler": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_rootDataStoreRequestHandler(): + TypeOnly; +declare function use_current_VariableDeclaration_rootDataStoreRequestHandler( + use: TypeOnly); +use_current_VariableDeclaration_rootDataStoreRequestHandler( + get_old_VariableDeclaration_rootDataStoreRequestHandler()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_rootDataStoreRequestHandler": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_rootDataStoreRequestHandler(): + TypeOnly; +declare function use_old_VariableDeclaration_rootDataStoreRequestHandler( + use: TypeOnly); +use_old_VariableDeclaration_rootDataStoreRequestHandler( + get_current_VariableDeclaration_rootDataStoreRequestHandler()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_RuntimeRequestHandler": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_RuntimeRequestHandler(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_RuntimeRequestHandler( + use: TypeOnly); +use_current_TypeAliasDeclaration_RuntimeRequestHandler( + get_old_TypeAliasDeclaration_RuntimeRequestHandler()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_RuntimeRequestHandler": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_RuntimeRequestHandler(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_RuntimeRequestHandler( + use: TypeOnly); +use_old_TypeAliasDeclaration_RuntimeRequestHandler( + get_current_TypeAliasDeclaration_RuntimeRequestHandler()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RuntimeRequestHandlerBuilder": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_RuntimeRequestHandlerBuilder(): + TypeOnly; +declare function use_current_ClassDeclaration_RuntimeRequestHandlerBuilder( + use: TypeOnly); +use_current_ClassDeclaration_RuntimeRequestHandlerBuilder( + get_old_ClassDeclaration_RuntimeRequestHandlerBuilder()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RuntimeRequestHandlerBuilder": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_RuntimeRequestHandlerBuilder(): + TypeOnly; +declare function use_old_ClassDeclaration_RuntimeRequestHandlerBuilder( + use: TypeOnly); +use_old_ClassDeclaration_RuntimeRequestHandlerBuilder( + get_current_ClassDeclaration_RuntimeRequestHandlerBuilder()); diff --git a/packages/framework/synthesize/package.json b/packages/framework/synthesize/package.json index 49d719da13a8..ab86f5bdd7fa 100644 --- a/packages/framework/synthesize/package.json +++ b/packages/framework/synthesize/package.json @@ -35,7 +35,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -67,6 +67,7 @@ "@fluidframework/datastore": "^0.58.3000", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/synthesize-previous": "npm:@fluidframework/synthesize@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", @@ -88,5 +89,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/synthesize/src/test/types/validateSynthesizePrevious.ts b/packages/framework/synthesize/src/test/types/validateSynthesizePrevious.ts new file mode 100644 index 000000000000..a5eb0e8f84d6 --- /dev/null +++ b/packages/framework/synthesize/src/test/types/validateSynthesizePrevious.ts @@ -0,0 +1,231 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/synthesize-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_AsyncFluidObjectProvider": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_AsyncFluidObjectProvider(): + TypeOnly>; +declare function use_current_TypeAliasDeclaration_AsyncFluidObjectProvider( + use: TypeOnly>); +use_current_TypeAliasDeclaration_AsyncFluidObjectProvider( + get_old_TypeAliasDeclaration_AsyncFluidObjectProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_AsyncFluidObjectProvider": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_AsyncFluidObjectProvider(): + TypeOnly>; +declare function use_old_TypeAliasDeclaration_AsyncFluidObjectProvider( + use: TypeOnly>); +use_old_TypeAliasDeclaration_AsyncFluidObjectProvider( + get_current_TypeAliasDeclaration_AsyncFluidObjectProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_AsyncOptionalFluidObjectProvider": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider(): + TypeOnly>; +declare function use_current_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider( + use: TypeOnly>); +use_current_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider( + get_old_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_AsyncOptionalFluidObjectProvider": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider(): + TypeOnly>; +declare function use_old_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider( + use: TypeOnly>); +use_old_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider( + get_current_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_AsyncRequiredFluidObjectProvider": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider(): + TypeOnly>; +declare function use_current_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider( + use: TypeOnly>); +use_current_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider( + get_old_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_AsyncRequiredFluidObjectProvider": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider(): + TypeOnly>; +declare function use_old_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider( + use: TypeOnly>); +use_old_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider( + get_current_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DependencyContainer": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DependencyContainer(): + TypeOnly>; +declare function use_current_ClassDeclaration_DependencyContainer( + use: TypeOnly>); +use_current_ClassDeclaration_DependencyContainer( + get_old_ClassDeclaration_DependencyContainer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DependencyContainer": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DependencyContainer(): + TypeOnly>; +declare function use_old_ClassDeclaration_DependencyContainer( + use: TypeOnly>); +use_old_ClassDeclaration_DependencyContainer( + get_current_ClassDeclaration_DependencyContainer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_FluidObjectProvider": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_FluidObjectProvider(): + TypeOnly>; +declare function use_current_TypeAliasDeclaration_FluidObjectProvider( + use: TypeOnly>); +use_current_TypeAliasDeclaration_FluidObjectProvider( + get_old_TypeAliasDeclaration_FluidObjectProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_FluidObjectProvider": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_FluidObjectProvider(): + TypeOnly>; +declare function use_old_TypeAliasDeclaration_FluidObjectProvider( + use: TypeOnly>); +use_old_TypeAliasDeclaration_FluidObjectProvider( + get_current_TypeAliasDeclaration_FluidObjectProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_FluidObjectSymbolProvider": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_FluidObjectSymbolProvider(): + TypeOnly>; +declare function use_current_TypeAliasDeclaration_FluidObjectSymbolProvider( + use: TypeOnly>); +use_current_TypeAliasDeclaration_FluidObjectSymbolProvider( + get_old_TypeAliasDeclaration_FluidObjectSymbolProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_FluidObjectSymbolProvider": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_FluidObjectSymbolProvider(): + TypeOnly>; +declare function use_old_TypeAliasDeclaration_FluidObjectSymbolProvider( + use: TypeOnly>); +use_old_TypeAliasDeclaration_FluidObjectSymbolProvider( + get_current_TypeAliasDeclaration_FluidObjectSymbolProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_IFluidDependencySynthesizer": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_IFluidDependencySynthesizer(): + TypeOnly; +declare function use_current_VariableDeclaration_IFluidDependencySynthesizer( + use: TypeOnly); +use_current_VariableDeclaration_IFluidDependencySynthesizer( + get_old_VariableDeclaration_IFluidDependencySynthesizer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_IFluidDependencySynthesizer": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_IFluidDependencySynthesizer(): + TypeOnly; +declare function use_old_VariableDeclaration_IFluidDependencySynthesizer( + use: TypeOnly); +use_old_VariableDeclaration_IFluidDependencySynthesizer( + get_current_VariableDeclaration_IFluidDependencySynthesizer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidDependencySynthesizer": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IFluidDependencySynthesizer(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IFluidDependencySynthesizer( + use: TypeOnly); +use_current_InterfaceDeclaration_IFluidDependencySynthesizer( + get_old_InterfaceDeclaration_IFluidDependencySynthesizer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidDependencySynthesizer": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IFluidDependencySynthesizer(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IFluidDependencySynthesizer( + use: TypeOnly); +use_old_InterfaceDeclaration_IFluidDependencySynthesizer( + get_current_InterfaceDeclaration_IFluidDependencySynthesizer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IProvideFluidDependencySynthesizer": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IProvideFluidDependencySynthesizer(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IProvideFluidDependencySynthesizer( + use: TypeOnly); +use_current_InterfaceDeclaration_IProvideFluidDependencySynthesizer( + get_old_InterfaceDeclaration_IProvideFluidDependencySynthesizer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IProvideFluidDependencySynthesizer": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IProvideFluidDependencySynthesizer(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IProvideFluidDependencySynthesizer( + use: TypeOnly); +use_old_InterfaceDeclaration_IProvideFluidDependencySynthesizer( + get_current_InterfaceDeclaration_IProvideFluidDependencySynthesizer()); diff --git a/packages/framework/test-client-utils/.eslintrc.js b/packages/framework/test-client-utils/.eslintrc.js index b129a4365b2c..fbe412ca5406 100644 --- a/packages/framework/test-client-utils/.eslintrc.js +++ b/packages/framework/test-client-utils/.eslintrc.js @@ -8,7 +8,7 @@ module.exports = { "@fluidframework/eslint-config-fluid" ], "parserOptions": { - "project": ["./tsconfig.json"] + "project": ["./tsconfig.json", "./src/test/tsconfig.json"] }, "rules": { "@typescript-eslint/strict-boolean-expressions": "off", diff --git a/packages/framework/test-client-utils/package.json b/packages/framework/test-client-utils/package.json index cebe6a9f3646..c2948f1f659b 100644 --- a/packages/framework/test-client-utils/package.json +++ b/packages/framework/test-client-utils/package.json @@ -16,13 +16,14 @@ "types": "dist/index.d.ts", "scripts": { "build": "npm run build:genver && concurrently npm:build:compile npm:lint && npm run build:docs", - "build:commonjs": "npm run tsc", + "build:commonjs": "npm run tsc && npm run build:test", "build:compile": "concurrently npm:build:commonjs npm:build:esnext", "build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", "build:esnext": "tsc --project ./tsconfig.esnext.json", "build:full": "npm run build", "build:full:compile": "npm run build:compile", "build:genver": "gen-version", + "build:test": "tsc --project ./src/test/tsconfig.json", "ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/", "clean": "rimraf dist *.tsbuildinfo *.build.log", "eslint": "eslint --format stylish src", @@ -42,6 +43,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/test-client-utils-previous": "npm:@fluidframework/test-client-utils@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@typescript-eslint/eslint-plugin": "~5.9.0", @@ -58,5 +60,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/test-client-utils/src/test/tsconfig.json b/packages/framework/test-client-utils/src/test/tsconfig.json new file mode 100644 index 000000000000..913f09ed3b1b --- /dev/null +++ b/packages/framework/test-client-utils/src/test/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@fluidframework/build-common/ts-common-config.json", + "compilerOptions": { + "rootDir": "./", + "outDir": "../../dist/test", + "declaration": false, + "declarationMap": false, + "skipLibCheck": true, + "noEmit": true, + }, + "include": [ + "./**/*" + ], + "references": [ + { + "path": "../.." + } + ] +} diff --git a/packages/framework/test-client-utils/src/test/types/validateTestClientUtilsPrevious.ts b/packages/framework/test-client-utils/src/test/types/validateTestClientUtilsPrevious.ts new file mode 100644 index 000000000000..914eb4214e79 --- /dev/null +++ b/packages/framework/test-client-utils/src/test/types/validateTestClientUtilsPrevious.ts @@ -0,0 +1,63 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/test-client-utils-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_generateTestUser": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_generateTestUser(): + TypeOnly; +declare function use_current_VariableDeclaration_generateTestUser( + use: TypeOnly); +use_current_VariableDeclaration_generateTestUser( + get_old_VariableDeclaration_generateTestUser()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_generateTestUser": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_generateTestUser(): + TypeOnly; +declare function use_old_VariableDeclaration_generateTestUser( + use: TypeOnly); +use_old_VariableDeclaration_generateTestUser( + get_current_VariableDeclaration_generateTestUser()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InsecureTokenProvider": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_InsecureTokenProvider(): + TypeOnly; +declare function use_current_ClassDeclaration_InsecureTokenProvider( + use: TypeOnly); +use_current_ClassDeclaration_InsecureTokenProvider( + get_old_ClassDeclaration_InsecureTokenProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InsecureTokenProvider": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_InsecureTokenProvider(): + TypeOnly; +declare function use_old_ClassDeclaration_InsecureTokenProvider( + use: TypeOnly); +use_old_ClassDeclaration_InsecureTokenProvider( + get_current_ClassDeclaration_InsecureTokenProvider()); diff --git a/packages/framework/tinylicious-client/package.json b/packages/framework/tinylicious-client/package.json index 56b5147cf244..bc15bfcdff7f 100644 --- a/packages/framework/tinylicious-client/package.json +++ b/packages/framework/tinylicious-client/package.json @@ -55,6 +55,7 @@ "devDependencies": { "@fluidframework/aqueduct": "^0.58.3000", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/tinylicious-client-previous": "npm:@fluidframework/tinylicious-client@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", @@ -69,5 +70,9 @@ }, "peerDependencies": { "fluid-framework": "^0.50.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/tinylicious-client/src/test/types/validateTinyliciousClientPrevious.ts b/packages/framework/tinylicious-client/src/test/types/validateTinyliciousClientPrevious.ts new file mode 100644 index 000000000000..8f51a3c02999 --- /dev/null +++ b/packages/framework/tinylicious-client/src/test/types/validateTinyliciousClientPrevious.ts @@ -0,0 +1,231 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/tinylicious-client-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITelemetryBaseEvent": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITelemetryBaseEvent(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITelemetryBaseEvent( + use: TypeOnly); +use_current_InterfaceDeclaration_ITelemetryBaseEvent( + get_old_InterfaceDeclaration_ITelemetryBaseEvent()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITelemetryBaseEvent": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITelemetryBaseEvent(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITelemetryBaseEvent( + use: TypeOnly); +use_old_InterfaceDeclaration_ITelemetryBaseEvent( + get_current_InterfaceDeclaration_ITelemetryBaseEvent()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITelemetryBaseLogger": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITelemetryBaseLogger(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITelemetryBaseLogger( + use: TypeOnly); +use_current_InterfaceDeclaration_ITelemetryBaseLogger( + get_old_InterfaceDeclaration_ITelemetryBaseLogger()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITelemetryBaseLogger": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITelemetryBaseLogger(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITelemetryBaseLogger( + use: TypeOnly); +use_old_InterfaceDeclaration_ITelemetryBaseLogger( + get_current_InterfaceDeclaration_ITelemetryBaseLogger()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ITinyliciousAudience": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_ITinyliciousAudience(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_ITinyliciousAudience( + use: TypeOnly); +use_current_TypeAliasDeclaration_ITinyliciousAudience( + get_old_TypeAliasDeclaration_ITinyliciousAudience()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ITinyliciousAudience": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_ITinyliciousAudience(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_ITinyliciousAudience( + use: TypeOnly); +use_old_TypeAliasDeclaration_ITinyliciousAudience( + get_current_TypeAliasDeclaration_ITinyliciousAudience()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TinyliciousAudience": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_TinyliciousAudience(): + TypeOnly; +declare function use_current_ClassDeclaration_TinyliciousAudience( + use: TypeOnly); +use_current_ClassDeclaration_TinyliciousAudience( + get_old_ClassDeclaration_TinyliciousAudience()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TinyliciousAudience": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_TinyliciousAudience(): + TypeOnly; +declare function use_old_ClassDeclaration_TinyliciousAudience( + use: TypeOnly); +use_old_ClassDeclaration_TinyliciousAudience( + get_current_ClassDeclaration_TinyliciousAudience()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TinyliciousClient": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_TinyliciousClient(): + TypeOnly; +declare function use_current_ClassDeclaration_TinyliciousClient( + use: TypeOnly); +use_current_ClassDeclaration_TinyliciousClient( + get_old_ClassDeclaration_TinyliciousClient()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TinyliciousClient": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_TinyliciousClient(): + TypeOnly; +declare function use_old_ClassDeclaration_TinyliciousClient( + use: TypeOnly); +use_old_ClassDeclaration_TinyliciousClient( + get_current_ClassDeclaration_TinyliciousClient()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_TinyliciousClientProps": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_TinyliciousClientProps(): + TypeOnly; +declare function use_current_InterfaceDeclaration_TinyliciousClientProps( + use: TypeOnly); +use_current_InterfaceDeclaration_TinyliciousClientProps( + get_old_InterfaceDeclaration_TinyliciousClientProps()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_TinyliciousClientProps": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_TinyliciousClientProps(): + TypeOnly; +declare function use_old_InterfaceDeclaration_TinyliciousClientProps( + use: TypeOnly); +use_old_InterfaceDeclaration_TinyliciousClientProps( + get_current_InterfaceDeclaration_TinyliciousClientProps()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_TinyliciousConnectionConfig": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_TinyliciousConnectionConfig(): + TypeOnly; +declare function use_current_InterfaceDeclaration_TinyliciousConnectionConfig( + use: TypeOnly); +use_current_InterfaceDeclaration_TinyliciousConnectionConfig( + get_old_InterfaceDeclaration_TinyliciousConnectionConfig()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_TinyliciousConnectionConfig": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_TinyliciousConnectionConfig(): + TypeOnly; +declare function use_old_InterfaceDeclaration_TinyliciousConnectionConfig( + use: TypeOnly); +use_old_InterfaceDeclaration_TinyliciousConnectionConfig( + get_current_InterfaceDeclaration_TinyliciousConnectionConfig()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_TinyliciousContainerServices": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_TinyliciousContainerServices(): + TypeOnly; +declare function use_current_InterfaceDeclaration_TinyliciousContainerServices( + use: TypeOnly); +use_current_InterfaceDeclaration_TinyliciousContainerServices( + get_old_InterfaceDeclaration_TinyliciousContainerServices()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_TinyliciousContainerServices": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_TinyliciousContainerServices(): + TypeOnly; +declare function use_old_InterfaceDeclaration_TinyliciousContainerServices( + use: TypeOnly); +use_old_InterfaceDeclaration_TinyliciousContainerServices( + get_current_InterfaceDeclaration_TinyliciousContainerServices()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_TinyliciousMember": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_TinyliciousMember(): + TypeOnly; +declare function use_current_InterfaceDeclaration_TinyliciousMember( + use: TypeOnly); +use_current_InterfaceDeclaration_TinyliciousMember( + get_old_InterfaceDeclaration_TinyliciousMember()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_TinyliciousMember": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_TinyliciousMember(): + TypeOnly; +declare function use_old_InterfaceDeclaration_TinyliciousMember( + use: TypeOnly); +use_old_InterfaceDeclaration_TinyliciousMember( + get_current_InterfaceDeclaration_TinyliciousMember()); diff --git a/packages/framework/undo-redo/package.json b/packages/framework/undo-redo/package.json index 8d1c210c36c9..7c3fea94c1c7 100644 --- a/packages/framework/undo-redo/package.json +++ b/packages/framework/undo-redo/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test --exit -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test --exit -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -69,6 +69,7 @@ "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", "@fluidframework/test-runtime-utils": "^0.58.3000", + "@fluidframework/undo-redo-previous": "npm:@fluidframework/undo-redo@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/diff": "^3.5.1", @@ -94,5 +95,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/undo-redo/src/test/types/validateUndoRedoPrevious.ts b/packages/framework/undo-redo/src/test/types/validateUndoRedoPrevious.ts new file mode 100644 index 000000000000..4d9f4f624af6 --- /dev/null +++ b/packages/framework/undo-redo/src/test/types/validateUndoRedoPrevious.ts @@ -0,0 +1,159 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/undo-redo-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IRevertible": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IRevertible(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IRevertible( + use: TypeOnly); +use_current_InterfaceDeclaration_IRevertible( + get_old_InterfaceDeclaration_IRevertible()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IRevertible": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IRevertible(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IRevertible( + use: TypeOnly); +use_old_InterfaceDeclaration_IRevertible( + get_current_InterfaceDeclaration_IRevertible()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedMapRevertible": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SharedMapRevertible(): + TypeOnly; +declare function use_current_ClassDeclaration_SharedMapRevertible( + use: TypeOnly); +use_current_ClassDeclaration_SharedMapRevertible( + get_old_ClassDeclaration_SharedMapRevertible()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedMapRevertible": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SharedMapRevertible(): + TypeOnly; +declare function use_old_ClassDeclaration_SharedMapRevertible( + use: TypeOnly); +use_old_ClassDeclaration_SharedMapRevertible( + get_current_ClassDeclaration_SharedMapRevertible()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedMapUndoRedoHandler": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SharedMapUndoRedoHandler(): + TypeOnly; +declare function use_current_ClassDeclaration_SharedMapUndoRedoHandler( + use: TypeOnly); +use_current_ClassDeclaration_SharedMapUndoRedoHandler( + get_old_ClassDeclaration_SharedMapUndoRedoHandler()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedMapUndoRedoHandler": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SharedMapUndoRedoHandler(): + TypeOnly; +declare function use_old_ClassDeclaration_SharedMapUndoRedoHandler( + use: TypeOnly); +use_old_ClassDeclaration_SharedMapUndoRedoHandler( + get_current_ClassDeclaration_SharedMapUndoRedoHandler()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedSegmentSequenceRevertible": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SharedSegmentSequenceRevertible(): + TypeOnly; +declare function use_current_ClassDeclaration_SharedSegmentSequenceRevertible( + use: TypeOnly); +use_current_ClassDeclaration_SharedSegmentSequenceRevertible( + get_old_ClassDeclaration_SharedSegmentSequenceRevertible()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedSegmentSequenceRevertible": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SharedSegmentSequenceRevertible(): + TypeOnly; +declare function use_old_ClassDeclaration_SharedSegmentSequenceRevertible( + use: TypeOnly); +use_old_ClassDeclaration_SharedSegmentSequenceRevertible( + get_current_ClassDeclaration_SharedSegmentSequenceRevertible()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedSegmentSequenceUndoRedoHandler": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SharedSegmentSequenceUndoRedoHandler(): + TypeOnly; +declare function use_current_ClassDeclaration_SharedSegmentSequenceUndoRedoHandler( + use: TypeOnly); +use_current_ClassDeclaration_SharedSegmentSequenceUndoRedoHandler( + get_old_ClassDeclaration_SharedSegmentSequenceUndoRedoHandler()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SharedSegmentSequenceUndoRedoHandler": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SharedSegmentSequenceUndoRedoHandler(): + TypeOnly; +declare function use_old_ClassDeclaration_SharedSegmentSequenceUndoRedoHandler( + use: TypeOnly); +use_old_ClassDeclaration_SharedSegmentSequenceUndoRedoHandler( + get_current_ClassDeclaration_SharedSegmentSequenceUndoRedoHandler()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_UndoRedoStackManager": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_UndoRedoStackManager(): + TypeOnly; +declare function use_current_ClassDeclaration_UndoRedoStackManager( + use: TypeOnly); +use_current_ClassDeclaration_UndoRedoStackManager( + get_old_ClassDeclaration_UndoRedoStackManager()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_UndoRedoStackManager": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_UndoRedoStackManager(): + TypeOnly; +declare function use_old_ClassDeclaration_UndoRedoStackManager( + use: TypeOnly); +use_old_ClassDeclaration_UndoRedoStackManager( + get_current_ClassDeclaration_UndoRedoStackManager()); diff --git a/packages/framework/view-adapters/package.json b/packages/framework/view-adapters/package.json index 0ecf2e25006c..49b29d21afd0 100644 --- a/packages/framework/view-adapters/package.json +++ b/packages/framework/view-adapters/package.json @@ -40,6 +40,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/view-adapters-previous": "npm:@fluidframework/view-adapters@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/react": "^16.9.15", @@ -57,5 +58,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/view-adapters/src/test/types/validateViewAdaptersPrevious.ts b/packages/framework/view-adapters/src/test/types/validateViewAdaptersPrevious.ts new file mode 100644 index 000000000000..f94d254b291f --- /dev/null +++ b/packages/framework/view-adapters/src/test/types/validateViewAdaptersPrevious.ts @@ -0,0 +1,111 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/view-adapters-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_HTMLViewAdapter": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_HTMLViewAdapter(): + TypeOnly; +declare function use_current_ClassDeclaration_HTMLViewAdapter( + use: TypeOnly); +use_current_ClassDeclaration_HTMLViewAdapter( + get_old_ClassDeclaration_HTMLViewAdapter()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_HTMLViewAdapter": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_HTMLViewAdapter(): + TypeOnly; +declare function use_old_ClassDeclaration_HTMLViewAdapter( + use: TypeOnly); +use_old_ClassDeclaration_HTMLViewAdapter( + get_current_ClassDeclaration_HTMLViewAdapter()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IReactViewAdapterProps": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IReactViewAdapterProps(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IReactViewAdapterProps( + use: TypeOnly); +use_current_InterfaceDeclaration_IReactViewAdapterProps( + get_old_InterfaceDeclaration_IReactViewAdapterProps()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IReactViewAdapterProps": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IReactViewAdapterProps(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IReactViewAdapterProps( + use: TypeOnly); +use_old_InterfaceDeclaration_IReactViewAdapterProps( + get_current_InterfaceDeclaration_IReactViewAdapterProps()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MountableView": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MountableView(): + TypeOnly; +declare function use_current_ClassDeclaration_MountableView( + use: TypeOnly); +use_current_ClassDeclaration_MountableView( + get_old_ClassDeclaration_MountableView()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MountableView": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MountableView(): + TypeOnly; +declare function use_old_ClassDeclaration_MountableView( + use: TypeOnly); +use_old_ClassDeclaration_MountableView( + get_current_ClassDeclaration_MountableView()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ReactViewAdapter": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ReactViewAdapter(): + TypeOnly; +declare function use_current_ClassDeclaration_ReactViewAdapter( + use: TypeOnly); +use_current_ClassDeclaration_ReactViewAdapter( + get_old_ClassDeclaration_ReactViewAdapter()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ReactViewAdapter": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ReactViewAdapter(): + TypeOnly; +declare function use_old_ClassDeclaration_ReactViewAdapter( + use: TypeOnly); +use_old_ClassDeclaration_ReactViewAdapter( + get_current_ClassDeclaration_ReactViewAdapter()); diff --git a/packages/framework/view-interfaces/package.json b/packages/framework/view-interfaces/package.json index 57a3a5554dfd..6b275dac38d8 100644 --- a/packages/framework/view-interfaces/package.json +++ b/packages/framework/view-interfaces/package.json @@ -37,6 +37,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/view-interfaces-previous": "npm:@fluidframework/view-interfaces@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/react": "^16.9.15", @@ -54,5 +55,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/view-interfaces/src/test/types/validateViewInterfacesPrevious.ts b/packages/framework/view-interfaces/src/test/types/validateViewInterfacesPrevious.ts new file mode 100644 index 000000000000..0aa13f1446c1 --- /dev/null +++ b/packages/framework/view-interfaces/src/test/types/validateViewInterfacesPrevious.ts @@ -0,0 +1,207 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/view-interfaces-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidHTMLOptions": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IFluidHTMLOptions(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IFluidHTMLOptions( + use: TypeOnly); +use_current_InterfaceDeclaration_IFluidHTMLOptions( + get_old_InterfaceDeclaration_IFluidHTMLOptions()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidHTMLOptions": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IFluidHTMLOptions(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IFluidHTMLOptions( + use: TypeOnly); +use_old_InterfaceDeclaration_IFluidHTMLOptions( + get_current_InterfaceDeclaration_IFluidHTMLOptions()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_IFluidHTMLView": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_IFluidHTMLView(): + TypeOnly; +declare function use_current_VariableDeclaration_IFluidHTMLView( + use: TypeOnly); +use_current_VariableDeclaration_IFluidHTMLView( + get_old_VariableDeclaration_IFluidHTMLView()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_IFluidHTMLView": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_IFluidHTMLView(): + TypeOnly; +declare function use_old_VariableDeclaration_IFluidHTMLView( + use: TypeOnly); +use_old_VariableDeclaration_IFluidHTMLView( + get_current_VariableDeclaration_IFluidHTMLView()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidHTMLView": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IFluidHTMLView(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IFluidHTMLView( + use: TypeOnly); +use_current_InterfaceDeclaration_IFluidHTMLView( + get_old_InterfaceDeclaration_IFluidHTMLView()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidHTMLView": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IFluidHTMLView(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IFluidHTMLView( + use: TypeOnly); +use_old_InterfaceDeclaration_IFluidHTMLView( + get_current_InterfaceDeclaration_IFluidHTMLView()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_IFluidMountableView": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_IFluidMountableView(): + TypeOnly; +declare function use_current_VariableDeclaration_IFluidMountableView( + use: TypeOnly); +use_current_VariableDeclaration_IFluidMountableView( + get_old_VariableDeclaration_IFluidMountableView()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_IFluidMountableView": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_IFluidMountableView(): + TypeOnly; +declare function use_old_VariableDeclaration_IFluidMountableView( + use: TypeOnly); +use_old_VariableDeclaration_IFluidMountableView( + get_current_VariableDeclaration_IFluidMountableView()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidMountableView": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IFluidMountableView(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IFluidMountableView( + use: TypeOnly); +use_current_InterfaceDeclaration_IFluidMountableView( + get_old_InterfaceDeclaration_IFluidMountableView()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidMountableView": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IFluidMountableView(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IFluidMountableView( + use: TypeOnly); +use_old_InterfaceDeclaration_IFluidMountableView( + get_current_InterfaceDeclaration_IFluidMountableView()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidMountableViewClass": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IFluidMountableViewClass(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IFluidMountableViewClass( + use: TypeOnly); +use_current_InterfaceDeclaration_IFluidMountableViewClass( + get_old_InterfaceDeclaration_IFluidMountableViewClass()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidMountableViewClass": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IFluidMountableViewClass(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IFluidMountableViewClass( + use: TypeOnly); +use_old_InterfaceDeclaration_IFluidMountableViewClass( + get_current_InterfaceDeclaration_IFluidMountableViewClass()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IProvideFluidHTMLView": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IProvideFluidHTMLView(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IProvideFluidHTMLView( + use: TypeOnly); +use_current_InterfaceDeclaration_IProvideFluidHTMLView( + get_old_InterfaceDeclaration_IProvideFluidHTMLView()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IProvideFluidHTMLView": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IProvideFluidHTMLView(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IProvideFluidHTMLView( + use: TypeOnly); +use_old_InterfaceDeclaration_IProvideFluidHTMLView( + get_current_InterfaceDeclaration_IProvideFluidHTMLView()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IProvideFluidMountableView": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IProvideFluidMountableView(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IProvideFluidMountableView( + use: TypeOnly); +use_current_InterfaceDeclaration_IProvideFluidMountableView( + get_old_InterfaceDeclaration_IProvideFluidMountableView()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IProvideFluidMountableView": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IProvideFluidMountableView(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IProvideFluidMountableView( + use: TypeOnly); +use_old_InterfaceDeclaration_IProvideFluidMountableView( + get_current_InterfaceDeclaration_IProvideFluidMountableView()); diff --git a/packages/loader/container-loader/package.json b/packages/loader/container-loader/package.json index cfbde9ff8dad..d318e30df1f5 100644 --- a/packages/loader/container-loader/package.json +++ b/packages/loader/container-loader/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsc:watch": "tsc --watch", @@ -77,6 +77,7 @@ }, "devDependencies": { "@fluidframework/build-common": "^0.23.0", + "@fluidframework/container-loader-previous": "npm:@fluidframework/container-loader@0.58.2000", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", "@fluidframework/test-loader-utils": "^0.58.3000", @@ -105,5 +106,13 @@ "sinon": "^7.4.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": { + "0.58.2000":{ + "ClassDeclaration_Container": {"forwardCompat": false} + } + } } -} +} \ No newline at end of file diff --git a/packages/loader/container-loader/src/test/types/validateContainerLoaderPrevious.ts b/packages/loader/container-loader/src/test/types/validateContainerLoaderPrevious.ts new file mode 100644 index 000000000000..9d41498c5bad --- /dev/null +++ b/packages/loader/container-loader/src/test/types/validateContainerLoaderPrevious.ts @@ -0,0 +1,328 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/container-loader-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ConnectionState": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_ConnectionState(): + TypeOnly; +declare function use_current_EnumDeclaration_ConnectionState( + use: TypeOnly); +use_current_EnumDeclaration_ConnectionState( + get_old_EnumDeclaration_ConnectionState()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ConnectionState": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_ConnectionState(): + TypeOnly; +declare function use_old_EnumDeclaration_ConnectionState( + use: TypeOnly); +use_old_EnumDeclaration_ConnectionState( + get_current_EnumDeclaration_ConnectionState()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_Container": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_Container(): + TypeOnly; +declare function use_current_ClassDeclaration_Container( + use: TypeOnly); +use_current_ClassDeclaration_Container( + // @ts-expect-error compatibility expected to be broken + get_old_ClassDeclaration_Container()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_Container": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_Container(): + TypeOnly; +declare function use_old_ClassDeclaration_Container( + use: TypeOnly); +use_old_ClassDeclaration_Container( + get_current_ClassDeclaration_Container()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ICodeDetailsLoader": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ICodeDetailsLoader(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ICodeDetailsLoader( + use: TypeOnly); +use_current_InterfaceDeclaration_ICodeDetailsLoader( + get_old_InterfaceDeclaration_ICodeDetailsLoader()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ICodeDetailsLoader": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ICodeDetailsLoader(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ICodeDetailsLoader( + use: TypeOnly); +use_old_InterfaceDeclaration_ICodeDetailsLoader( + get_current_InterfaceDeclaration_ICodeDetailsLoader()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IContainerConfig": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IContainerConfig(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IContainerConfig( + use: TypeOnly); +use_current_InterfaceDeclaration_IContainerConfig( + get_old_InterfaceDeclaration_IContainerConfig()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IContainerConfig": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IContainerConfig(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IContainerConfig( + use: TypeOnly); +use_old_InterfaceDeclaration_IContainerConfig( + get_current_InterfaceDeclaration_IContainerConfig()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IContainerLoadOptions": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IContainerLoadOptions(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IContainerLoadOptions( + use: TypeOnly); +use_current_InterfaceDeclaration_IContainerLoadOptions( + get_old_InterfaceDeclaration_IContainerLoadOptions()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IContainerLoadOptions": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IContainerLoadOptions(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IContainerLoadOptions( + use: TypeOnly); +use_old_InterfaceDeclaration_IContainerLoadOptions( + get_current_InterfaceDeclaration_IContainerLoadOptions()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_IDetachedBlobStorage": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_IDetachedBlobStorage(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_IDetachedBlobStorage( + use: TypeOnly); +use_current_TypeAliasDeclaration_IDetachedBlobStorage( + get_old_TypeAliasDeclaration_IDetachedBlobStorage()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_IDetachedBlobStorage": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_IDetachedBlobStorage(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_IDetachedBlobStorage( + use: TypeOnly); +use_old_TypeAliasDeclaration_IDetachedBlobStorage( + get_current_TypeAliasDeclaration_IDetachedBlobStorage()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidModuleWithDetails": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IFluidModuleWithDetails(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IFluidModuleWithDetails( + use: TypeOnly); +use_current_InterfaceDeclaration_IFluidModuleWithDetails( + get_old_InterfaceDeclaration_IFluidModuleWithDetails()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidModuleWithDetails": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IFluidModuleWithDetails(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IFluidModuleWithDetails( + use: TypeOnly); +use_old_InterfaceDeclaration_IFluidModuleWithDetails( + get_current_InterfaceDeclaration_IFluidModuleWithDetails()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ILoaderOptions": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ILoaderOptions(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ILoaderOptions( + use: TypeOnly); +use_current_InterfaceDeclaration_ILoaderOptions( + get_old_InterfaceDeclaration_ILoaderOptions()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ILoaderOptions": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ILoaderOptions(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ILoaderOptions( + use: TypeOnly); +use_old_InterfaceDeclaration_ILoaderOptions( + get_current_InterfaceDeclaration_ILoaderOptions()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ILoaderProps": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ILoaderProps(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ILoaderProps( + use: TypeOnly); +use_current_InterfaceDeclaration_ILoaderProps( + get_old_InterfaceDeclaration_ILoaderProps()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ILoaderProps": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ILoaderProps(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ILoaderProps( + use: TypeOnly); +use_old_InterfaceDeclaration_ILoaderProps( + get_current_InterfaceDeclaration_ILoaderProps()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ILoaderServices": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ILoaderServices(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ILoaderServices( + use: TypeOnly); +use_current_InterfaceDeclaration_ILoaderServices( + get_old_InterfaceDeclaration_ILoaderServices()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ILoaderServices": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ILoaderServices(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ILoaderServices( + use: TypeOnly); +use_old_InterfaceDeclaration_ILoaderServices( + get_current_InterfaceDeclaration_ILoaderServices()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_Loader": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_Loader(): + TypeOnly; +declare function use_current_ClassDeclaration_Loader( + use: TypeOnly); +use_current_ClassDeclaration_Loader( + get_old_ClassDeclaration_Loader()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_Loader": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_Loader(): + TypeOnly; +declare function use_old_ClassDeclaration_Loader( + use: TypeOnly); +use_old_ClassDeclaration_Loader( + get_current_ClassDeclaration_Loader()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RelativeLoader": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_RelativeLoader(): + TypeOnly; +declare function use_current_ClassDeclaration_RelativeLoader( + use: TypeOnly); +use_current_ClassDeclaration_RelativeLoader( + get_old_ClassDeclaration_RelativeLoader()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RelativeLoader": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_RelativeLoader(): + TypeOnly; +declare function use_old_ClassDeclaration_RelativeLoader( + use: TypeOnly); +use_old_ClassDeclaration_RelativeLoader( + get_current_ClassDeclaration_RelativeLoader()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_waitContainerToCatchUp": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_waitContainerToCatchUp(): + TypeOnly; +declare function use_current_FunctionDeclaration_waitContainerToCatchUp( + use: TypeOnly); +use_current_FunctionDeclaration_waitContainerToCatchUp( + get_old_FunctionDeclaration_waitContainerToCatchUp()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_waitContainerToCatchUp": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_waitContainerToCatchUp(): + TypeOnly; +declare function use_old_FunctionDeclaration_waitContainerToCatchUp( + use: TypeOnly); +use_old_FunctionDeclaration_waitContainerToCatchUp( + get_current_FunctionDeclaration_waitContainerToCatchUp()); diff --git a/packages/loader/container-utils/package.json b/packages/loader/container-utils/package.json index 3082a1fab810..10f5933bbfbc 100644 --- a/packages/loader/container-utils/package.json +++ b/packages/loader/container-utils/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsc:watch": "tsc --watch" @@ -66,6 +66,7 @@ }, "devDependencies": { "@fluidframework/build-common": "^0.23.0", + "@fluidframework/container-utils-previous": "npm:@fluidframework/container-utils@0.58.2000", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", "@fluidframework/test-runtime-utils": "^0.58.3000", @@ -89,5 +90,9 @@ "nyc": "^15.0.0", "rimraf": "^2.6.2", "typescript": "~4.1.3" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/loader/container-utils/src/test/types/validateContainerUtilsPrevious.ts b/packages/loader/container-utils/src/test/types/validateContainerUtilsPrevious.ts new file mode 100644 index 000000000000..526fbfaa6112 --- /dev/null +++ b/packages/loader/container-utils/src/test/types/validateContainerUtilsPrevious.ts @@ -0,0 +1,183 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/container-utils-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ClientSessionExpiredError": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ClientSessionExpiredError(): + TypeOnly; +declare function use_current_ClassDeclaration_ClientSessionExpiredError( + use: TypeOnly); +use_current_ClassDeclaration_ClientSessionExpiredError( + get_old_ClassDeclaration_ClientSessionExpiredError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ClientSessionExpiredError": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ClientSessionExpiredError(): + TypeOnly; +declare function use_old_ClassDeclaration_ClientSessionExpiredError( + use: TypeOnly); +use_old_ClassDeclaration_ClientSessionExpiredError( + get_current_ClassDeclaration_ClientSessionExpiredError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DataCorruptionError": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DataCorruptionError(): + TypeOnly; +declare function use_current_ClassDeclaration_DataCorruptionError( + use: TypeOnly); +use_current_ClassDeclaration_DataCorruptionError( + get_old_ClassDeclaration_DataCorruptionError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DataCorruptionError": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DataCorruptionError(): + TypeOnly; +declare function use_old_ClassDeclaration_DataCorruptionError( + use: TypeOnly); +use_old_ClassDeclaration_DataCorruptionError( + get_current_ClassDeclaration_DataCorruptionError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DataProcessingError": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DataProcessingError(): + TypeOnly; +declare function use_current_ClassDeclaration_DataProcessingError( + use: TypeOnly); +use_current_ClassDeclaration_DataProcessingError( + get_old_ClassDeclaration_DataProcessingError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DataProcessingError": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DataProcessingError(): + TypeOnly; +declare function use_old_ClassDeclaration_DataProcessingError( + use: TypeOnly); +use_old_ClassDeclaration_DataProcessingError( + get_current_ClassDeclaration_DataProcessingError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_extractSafePropertiesFromMessage": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_extractSafePropertiesFromMessage(): + TypeOnly; +declare function use_current_VariableDeclaration_extractSafePropertiesFromMessage( + use: TypeOnly); +use_current_VariableDeclaration_extractSafePropertiesFromMessage( + get_old_VariableDeclaration_extractSafePropertiesFromMessage()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_extractSafePropertiesFromMessage": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_extractSafePropertiesFromMessage(): + TypeOnly; +declare function use_old_VariableDeclaration_extractSafePropertiesFromMessage( + use: TypeOnly); +use_old_VariableDeclaration_extractSafePropertiesFromMessage( + get_current_VariableDeclaration_extractSafePropertiesFromMessage()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_GenericError": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_GenericError(): + TypeOnly; +declare function use_current_ClassDeclaration_GenericError( + use: TypeOnly); +use_current_ClassDeclaration_GenericError( + get_old_ClassDeclaration_GenericError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_GenericError": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_GenericError(): + TypeOnly; +declare function use_old_ClassDeclaration_GenericError( + use: TypeOnly); +use_old_ClassDeclaration_GenericError( + get_current_ClassDeclaration_GenericError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ThrottlingWarning": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ThrottlingWarning(): + TypeOnly; +declare function use_current_ClassDeclaration_ThrottlingWarning( + use: TypeOnly); +use_current_ClassDeclaration_ThrottlingWarning( + get_old_ClassDeclaration_ThrottlingWarning()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ThrottlingWarning": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ThrottlingWarning(): + TypeOnly; +declare function use_old_ClassDeclaration_ThrottlingWarning( + use: TypeOnly); +use_old_ClassDeclaration_ThrottlingWarning( + get_current_ClassDeclaration_ThrottlingWarning()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_UsageError": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_UsageError(): + TypeOnly; +declare function use_current_ClassDeclaration_UsageError( + use: TypeOnly); +use_current_ClassDeclaration_UsageError( + get_old_ClassDeclaration_UsageError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_UsageError": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_UsageError(): + TypeOnly; +declare function use_old_ClassDeclaration_UsageError( + use: TypeOnly); +use_old_ClassDeclaration_UsageError( + get_current_ClassDeclaration_UsageError()); diff --git a/packages/loader/driver-utils/package.json b/packages/loader/driver-utils/package.json index d4f218e3b712..b213d669cde1 100644 --- a/packages/loader/driver-utils/package.json +++ b/packages/loader/driver-utils/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -73,6 +73,7 @@ }, "devDependencies": { "@fluidframework/build-common": "^0.23.0", + "@fluidframework/driver-utils-previous": "npm:@fluidframework/driver-utils@0.58.2000", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", "@fluidframework/runtime-utils": "^0.58.3000", @@ -97,5 +98,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/loader/driver-utils/src/test/types/validateDriverUtilsPrevious.ts b/packages/loader/driver-utils/src/test/types/validateDriverUtilsPrevious.ts new file mode 100644 index 000000000000..dd70e1640398 --- /dev/null +++ b/packages/loader/driver-utils/src/test/types/validateDriverUtilsPrevious.ts @@ -0,0 +1,1071 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/driver-utils-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_AuthorizationError": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_AuthorizationError(): + TypeOnly; +declare function use_current_ClassDeclaration_AuthorizationError( + use: TypeOnly); +use_current_ClassDeclaration_AuthorizationError( + get_old_ClassDeclaration_AuthorizationError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_AuthorizationError": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_AuthorizationError(): + TypeOnly; +declare function use_old_ClassDeclaration_AuthorizationError( + use: TypeOnly); +use_old_ClassDeclaration_AuthorizationError( + get_current_ClassDeclaration_AuthorizationError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_BlobAggregationStorage": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_BlobAggregationStorage(): + TypeOnly; +declare function use_current_ClassDeclaration_BlobAggregationStorage( + use: TypeOnly); +use_current_ClassDeclaration_BlobAggregationStorage( + get_old_ClassDeclaration_BlobAggregationStorage()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_BlobAggregationStorage": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_BlobAggregationStorage(): + TypeOnly; +declare function use_old_ClassDeclaration_BlobAggregationStorage( + use: TypeOnly); +use_old_ClassDeclaration_BlobAggregationStorage( + get_current_ClassDeclaration_BlobAggregationStorage()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_BlobCacheStorageService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_BlobCacheStorageService(): + TypeOnly; +declare function use_current_ClassDeclaration_BlobCacheStorageService( + use: TypeOnly); +use_current_ClassDeclaration_BlobCacheStorageService( + get_old_ClassDeclaration_BlobCacheStorageService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_BlobCacheStorageService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_BlobCacheStorageService(): + TypeOnly; +declare function use_old_ClassDeclaration_BlobCacheStorageService( + use: TypeOnly); +use_old_ClassDeclaration_BlobCacheStorageService( + get_current_ClassDeclaration_BlobCacheStorageService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_buildSnapshotTree": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_buildSnapshotTree(): + TypeOnly; +declare function use_current_FunctionDeclaration_buildSnapshotTree( + use: TypeOnly); +use_current_FunctionDeclaration_buildSnapshotTree( + get_old_FunctionDeclaration_buildSnapshotTree()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_buildSnapshotTree": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_buildSnapshotTree(): + TypeOnly; +declare function use_old_FunctionDeclaration_buildSnapshotTree( + use: TypeOnly); +use_old_FunctionDeclaration_buildSnapshotTree( + get_current_FunctionDeclaration_buildSnapshotTree()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_canRetryOnError": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_canRetryOnError(): + TypeOnly; +declare function use_current_VariableDeclaration_canRetryOnError( + use: TypeOnly); +use_current_VariableDeclaration_canRetryOnError( + get_old_VariableDeclaration_canRetryOnError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_canRetryOnError": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_canRetryOnError(): + TypeOnly; +declare function use_old_VariableDeclaration_canRetryOnError( + use: TypeOnly); +use_old_VariableDeclaration_canRetryOnError( + get_current_VariableDeclaration_canRetryOnError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_combineAppAndProtocolSummary": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_combineAppAndProtocolSummary(): + TypeOnly; +declare function use_current_FunctionDeclaration_combineAppAndProtocolSummary( + use: TypeOnly); +use_current_FunctionDeclaration_combineAppAndProtocolSummary( + get_old_FunctionDeclaration_combineAppAndProtocolSummary()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_combineAppAndProtocolSummary": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_combineAppAndProtocolSummary(): + TypeOnly; +declare function use_old_FunctionDeclaration_combineAppAndProtocolSummary( + use: TypeOnly); +use_old_FunctionDeclaration_combineAppAndProtocolSummary( + get_current_FunctionDeclaration_combineAppAndProtocolSummary()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_configurableUrlResolver": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_configurableUrlResolver(): + TypeOnly; +declare function use_current_FunctionDeclaration_configurableUrlResolver( + use: TypeOnly); +use_current_FunctionDeclaration_configurableUrlResolver( + get_old_FunctionDeclaration_configurableUrlResolver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_configurableUrlResolver": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_configurableUrlResolver(): + TypeOnly; +declare function use_old_FunctionDeclaration_configurableUrlResolver( + use: TypeOnly); +use_old_FunctionDeclaration_configurableUrlResolver( + get_current_FunctionDeclaration_configurableUrlResolver()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_convertSummaryTreeToSnapshotITree": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_convertSummaryTreeToSnapshotITree(): + TypeOnly; +declare function use_current_FunctionDeclaration_convertSummaryTreeToSnapshotITree( + use: TypeOnly); +use_current_FunctionDeclaration_convertSummaryTreeToSnapshotITree( + get_old_FunctionDeclaration_convertSummaryTreeToSnapshotITree()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_convertSummaryTreeToSnapshotITree": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_convertSummaryTreeToSnapshotITree(): + TypeOnly; +declare function use_old_FunctionDeclaration_convertSummaryTreeToSnapshotITree( + use: TypeOnly); +use_old_FunctionDeclaration_convertSummaryTreeToSnapshotITree( + get_current_FunctionDeclaration_convertSummaryTreeToSnapshotITree()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createGenericNetworkError": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_createGenericNetworkError(): + TypeOnly; +declare function use_current_FunctionDeclaration_createGenericNetworkError( + use: TypeOnly); +use_current_FunctionDeclaration_createGenericNetworkError( + get_old_FunctionDeclaration_createGenericNetworkError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createGenericNetworkError": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_createGenericNetworkError(): + TypeOnly; +declare function use_old_FunctionDeclaration_createGenericNetworkError( + use: TypeOnly); +use_old_FunctionDeclaration_createGenericNetworkError( + get_current_FunctionDeclaration_createGenericNetworkError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_createWriteError": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_createWriteError(): + TypeOnly; +declare function use_current_VariableDeclaration_createWriteError( + use: TypeOnly); +use_current_VariableDeclaration_createWriteError( + get_old_VariableDeclaration_createWriteError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_createWriteError": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_createWriteError(): + TypeOnly; +declare function use_old_VariableDeclaration_createWriteError( + use: TypeOnly); +use_old_VariableDeclaration_createWriteError( + get_current_VariableDeclaration_createWriteError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DeltaStreamConnectionForbiddenError": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DeltaStreamConnectionForbiddenError(): + TypeOnly; +declare function use_current_ClassDeclaration_DeltaStreamConnectionForbiddenError( + use: TypeOnly); +use_current_ClassDeclaration_DeltaStreamConnectionForbiddenError( + get_old_ClassDeclaration_DeltaStreamConnectionForbiddenError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DeltaStreamConnectionForbiddenError": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DeltaStreamConnectionForbiddenError(): + TypeOnly; +declare function use_old_ClassDeclaration_DeltaStreamConnectionForbiddenError( + use: TypeOnly); +use_old_ClassDeclaration_DeltaStreamConnectionForbiddenError( + get_current_ClassDeclaration_DeltaStreamConnectionForbiddenError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DocumentStorageServiceProxy": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DocumentStorageServiceProxy(): + TypeOnly; +declare function use_current_ClassDeclaration_DocumentStorageServiceProxy( + use: TypeOnly); +use_current_ClassDeclaration_DocumentStorageServiceProxy( + get_old_ClassDeclaration_DocumentStorageServiceProxy()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DocumentStorageServiceProxy": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DocumentStorageServiceProxy(): + TypeOnly; +declare function use_old_ClassDeclaration_DocumentStorageServiceProxy( + use: TypeOnly); +use_old_ClassDeclaration_DocumentStorageServiceProxy( + get_current_ClassDeclaration_DocumentStorageServiceProxy()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_DriverErrorTelemetryProps": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_DriverErrorTelemetryProps(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_DriverErrorTelemetryProps( + use: TypeOnly); +use_current_TypeAliasDeclaration_DriverErrorTelemetryProps( + get_old_TypeAliasDeclaration_DriverErrorTelemetryProps()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_DriverErrorTelemetryProps": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_DriverErrorTelemetryProps(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_DriverErrorTelemetryProps( + use: TypeOnly); +use_old_TypeAliasDeclaration_DriverErrorTelemetryProps( + get_current_TypeAliasDeclaration_DriverErrorTelemetryProps()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_emptyMessageStream": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_emptyMessageStream(): + TypeOnly; +declare function use_current_VariableDeclaration_emptyMessageStream( + use: TypeOnly); +use_current_VariableDeclaration_emptyMessageStream( + get_old_VariableDeclaration_emptyMessageStream()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_emptyMessageStream": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_emptyMessageStream(): + TypeOnly; +declare function use_old_VariableDeclaration_emptyMessageStream( + use: TypeOnly); +use_old_VariableDeclaration_emptyMessageStream( + get_current_VariableDeclaration_emptyMessageStream()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_ensureFluidResolvedUrl": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_ensureFluidResolvedUrl(): + TypeOnly; +declare function use_current_FunctionDeclaration_ensureFluidResolvedUrl( + use: TypeOnly); +use_current_FunctionDeclaration_ensureFluidResolvedUrl( + get_old_FunctionDeclaration_ensureFluidResolvedUrl()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_ensureFluidResolvedUrl": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_ensureFluidResolvedUrl(): + TypeOnly; +declare function use_old_FunctionDeclaration_ensureFluidResolvedUrl( + use: TypeOnly); +use_old_FunctionDeclaration_ensureFluidResolvedUrl( + get_current_FunctionDeclaration_ensureFluidResolvedUrl()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_GenericNetworkError": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_GenericNetworkError(): + TypeOnly; +declare function use_current_ClassDeclaration_GenericNetworkError( + use: TypeOnly); +use_current_ClassDeclaration_GenericNetworkError( + get_old_ClassDeclaration_GenericNetworkError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_GenericNetworkError": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_GenericNetworkError(): + TypeOnly; +declare function use_old_ClassDeclaration_GenericNetworkError( + use: TypeOnly); +use_old_ClassDeclaration_GenericNetworkError( + get_current_ClassDeclaration_GenericNetworkError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getDocAttributesFromProtocolSummary": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getDocAttributesFromProtocolSummary(): + TypeOnly; +declare function use_current_FunctionDeclaration_getDocAttributesFromProtocolSummary( + use: TypeOnly); +use_current_FunctionDeclaration_getDocAttributesFromProtocolSummary( + get_old_FunctionDeclaration_getDocAttributesFromProtocolSummary()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getDocAttributesFromProtocolSummary": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getDocAttributesFromProtocolSummary(): + TypeOnly; +declare function use_old_FunctionDeclaration_getDocAttributesFromProtocolSummary( + use: TypeOnly); +use_old_FunctionDeclaration_getDocAttributesFromProtocolSummary( + get_current_FunctionDeclaration_getDocAttributesFromProtocolSummary()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getQuorumValuesFromProtocolSummary": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getQuorumValuesFromProtocolSummary(): + TypeOnly; +declare function use_current_FunctionDeclaration_getQuorumValuesFromProtocolSummary( + use: TypeOnly); +use_current_FunctionDeclaration_getQuorumValuesFromProtocolSummary( + get_old_FunctionDeclaration_getQuorumValuesFromProtocolSummary()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getQuorumValuesFromProtocolSummary": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getQuorumValuesFromProtocolSummary(): + TypeOnly; +declare function use_old_FunctionDeclaration_getQuorumValuesFromProtocolSummary( + use: TypeOnly); +use_old_FunctionDeclaration_getQuorumValuesFromProtocolSummary( + get_current_FunctionDeclaration_getQuorumValuesFromProtocolSummary()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getRetryDelayFromError": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_getRetryDelayFromError(): + TypeOnly; +declare function use_current_VariableDeclaration_getRetryDelayFromError( + use: TypeOnly); +use_current_VariableDeclaration_getRetryDelayFromError( + get_old_VariableDeclaration_getRetryDelayFromError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getRetryDelayFromError": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_getRetryDelayFromError(): + TypeOnly; +declare function use_old_VariableDeclaration_getRetryDelayFromError( + use: TypeOnly); +use_old_VariableDeclaration_getRetryDelayFromError( + get_current_VariableDeclaration_getRetryDelayFromError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getRetryDelaySecondsFromError": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_getRetryDelaySecondsFromError(): + TypeOnly; +declare function use_current_VariableDeclaration_getRetryDelaySecondsFromError( + use: TypeOnly); +use_current_VariableDeclaration_getRetryDelaySecondsFromError( + get_old_VariableDeclaration_getRetryDelaySecondsFromError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getRetryDelaySecondsFromError": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_getRetryDelaySecondsFromError(): + TypeOnly; +declare function use_old_VariableDeclaration_getRetryDelaySecondsFromError( + use: TypeOnly); +use_old_VariableDeclaration_getRetryDelaySecondsFromError( + get_current_VariableDeclaration_getRetryDelaySecondsFromError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IAnyDriverError": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IAnyDriverError(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IAnyDriverError( + use: TypeOnly); +use_current_InterfaceDeclaration_IAnyDriverError( + get_old_InterfaceDeclaration_IAnyDriverError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IAnyDriverError": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IAnyDriverError(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IAnyDriverError( + use: TypeOnly); +use_old_InterfaceDeclaration_IAnyDriverError( + get_current_InterfaceDeclaration_IAnyDriverError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InsecureUrlResolver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_InsecureUrlResolver(): + TypeOnly; +declare function use_current_ClassDeclaration_InsecureUrlResolver( + use: TypeOnly); +use_current_ClassDeclaration_InsecureUrlResolver( + get_old_ClassDeclaration_InsecureUrlResolver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InsecureUrlResolver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_InsecureUrlResolver(): + TypeOnly; +declare function use_old_ClassDeclaration_InsecureUrlResolver( + use: TypeOnly); +use_old_ClassDeclaration_InsecureUrlResolver( + get_current_ClassDeclaration_InsecureUrlResolver()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IProgress": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IProgress(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IProgress( + use: TypeOnly); +use_current_InterfaceDeclaration_IProgress( + get_old_InterfaceDeclaration_IProgress()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IProgress": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IProgress(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IProgress( + use: TypeOnly); +use_old_InterfaceDeclaration_IProgress( + get_current_InterfaceDeclaration_IProgress()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_isFluidResolvedUrl": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_isFluidResolvedUrl(): + TypeOnly; +declare function use_current_VariableDeclaration_isFluidResolvedUrl( + use: TypeOnly); +use_current_VariableDeclaration_isFluidResolvedUrl( + get_old_VariableDeclaration_isFluidResolvedUrl()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_isFluidResolvedUrl": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_isFluidResolvedUrl(): + TypeOnly; +declare function use_old_VariableDeclaration_isFluidResolvedUrl( + use: TypeOnly); +use_old_VariableDeclaration_isFluidResolvedUrl( + get_current_VariableDeclaration_isFluidResolvedUrl()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isOnline": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_isOnline(): + TypeOnly; +declare function use_current_FunctionDeclaration_isOnline( + use: TypeOnly); +use_current_FunctionDeclaration_isOnline( + get_old_FunctionDeclaration_isOnline()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isOnline": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_isOnline(): + TypeOnly; +declare function use_old_FunctionDeclaration_isOnline( + use: TypeOnly); +use_old_FunctionDeclaration_isOnline( + get_current_FunctionDeclaration_isOnline()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_logNetworkFailure": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_logNetworkFailure(): + TypeOnly; +declare function use_current_FunctionDeclaration_logNetworkFailure( + use: TypeOnly); +use_current_FunctionDeclaration_logNetworkFailure( + get_old_FunctionDeclaration_logNetworkFailure()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_logNetworkFailure": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_logNetworkFailure(): + TypeOnly; +declare function use_old_FunctionDeclaration_logNetworkFailure( + use: TypeOnly); +use_old_FunctionDeclaration_logNetworkFailure( + get_current_FunctionDeclaration_logNetworkFailure()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MultiDocumentServiceFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MultiDocumentServiceFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_MultiDocumentServiceFactory( + use: TypeOnly); +use_current_ClassDeclaration_MultiDocumentServiceFactory( + get_old_ClassDeclaration_MultiDocumentServiceFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MultiDocumentServiceFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MultiDocumentServiceFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_MultiDocumentServiceFactory( + use: TypeOnly); +use_old_ClassDeclaration_MultiDocumentServiceFactory( + get_current_ClassDeclaration_MultiDocumentServiceFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MultiUrlResolver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MultiUrlResolver(): + TypeOnly; +declare function use_current_ClassDeclaration_MultiUrlResolver( + use: TypeOnly); +use_current_ClassDeclaration_MultiUrlResolver( + get_old_ClassDeclaration_MultiUrlResolver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MultiUrlResolver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MultiUrlResolver(): + TypeOnly; +declare function use_old_ClassDeclaration_MultiUrlResolver( + use: TypeOnly); +use_old_ClassDeclaration_MultiUrlResolver( + get_current_ClassDeclaration_MultiUrlResolver()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_NetworkErrorBasic": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_NetworkErrorBasic(): + TypeOnly>; +declare function use_current_ClassDeclaration_NetworkErrorBasic( + use: TypeOnly>); +use_current_ClassDeclaration_NetworkErrorBasic( + get_old_ClassDeclaration_NetworkErrorBasic()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_NetworkErrorBasic": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_NetworkErrorBasic(): + TypeOnly>; +declare function use_old_ClassDeclaration_NetworkErrorBasic( + use: TypeOnly>); +use_old_ClassDeclaration_NetworkErrorBasic( + get_current_ClassDeclaration_NetworkErrorBasic()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_NonRetryableError": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_NonRetryableError(): + TypeOnly>; +declare function use_current_ClassDeclaration_NonRetryableError( + use: TypeOnly>); +use_current_ClassDeclaration_NonRetryableError( + get_old_ClassDeclaration_NonRetryableError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_NonRetryableError": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_NonRetryableError(): + TypeOnly>; +declare function use_old_ClassDeclaration_NonRetryableError( + use: TypeOnly>); +use_old_ClassDeclaration_NonRetryableError( + get_current_ClassDeclaration_NonRetryableError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_OnlineStatus": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_OnlineStatus(): + TypeOnly; +declare function use_current_EnumDeclaration_OnlineStatus( + use: TypeOnly); +use_current_EnumDeclaration_OnlineStatus( + get_old_EnumDeclaration_OnlineStatus()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_OnlineStatus": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_OnlineStatus(): + TypeOnly; +declare function use_old_EnumDeclaration_OnlineStatus( + use: TypeOnly); +use_old_EnumDeclaration_OnlineStatus( + get_current_EnumDeclaration_OnlineStatus()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ParallelRequests": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ParallelRequests(): + TypeOnly>; +declare function use_current_ClassDeclaration_ParallelRequests( + use: TypeOnly>); +use_current_ClassDeclaration_ParallelRequests( + get_old_ClassDeclaration_ParallelRequests()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ParallelRequests": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ParallelRequests(): + TypeOnly>; +declare function use_old_ClassDeclaration_ParallelRequests( + use: TypeOnly>); +use_old_ClassDeclaration_ParallelRequests( + get_current_ClassDeclaration_ParallelRequests()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_PrefetchDocumentStorageService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_PrefetchDocumentStorageService(): + TypeOnly; +declare function use_current_ClassDeclaration_PrefetchDocumentStorageService( + use: TypeOnly); +use_current_ClassDeclaration_PrefetchDocumentStorageService( + get_old_ClassDeclaration_PrefetchDocumentStorageService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_PrefetchDocumentStorageService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_PrefetchDocumentStorageService(): + TypeOnly; +declare function use_old_ClassDeclaration_PrefetchDocumentStorageService( + use: TypeOnly); +use_old_ClassDeclaration_PrefetchDocumentStorageService( + get_current_ClassDeclaration_PrefetchDocumentStorageService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_Queue": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_Queue(): + TypeOnly>; +declare function use_current_ClassDeclaration_Queue( + use: TypeOnly>); +use_current_ClassDeclaration_Queue( + get_old_ClassDeclaration_Queue()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_Queue": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_Queue(): + TypeOnly>; +declare function use_old_ClassDeclaration_Queue( + use: TypeOnly>); +use_old_ClassDeclaration_Queue( + get_current_ClassDeclaration_Queue()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RateLimiter": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_RateLimiter(): + TypeOnly; +declare function use_current_ClassDeclaration_RateLimiter( + use: TypeOnly); +use_current_ClassDeclaration_RateLimiter( + get_old_ClassDeclaration_RateLimiter()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RateLimiter": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_RateLimiter(): + TypeOnly; +declare function use_old_ClassDeclaration_RateLimiter( + use: TypeOnly); +use_old_ClassDeclaration_RateLimiter( + get_current_ClassDeclaration_RateLimiter()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_readAndParse": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_readAndParse(): + TypeOnly; +declare function use_current_FunctionDeclaration_readAndParse( + use: TypeOnly); +use_current_FunctionDeclaration_readAndParse( + get_old_FunctionDeclaration_readAndParse()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_readAndParse": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_readAndParse(): + TypeOnly; +declare function use_old_FunctionDeclaration_readAndParse( + use: TypeOnly); +use_old_FunctionDeclaration_readAndParse( + get_current_FunctionDeclaration_readAndParse()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_requestOps": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_requestOps(): + TypeOnly; +declare function use_current_FunctionDeclaration_requestOps( + use: TypeOnly); +use_current_FunctionDeclaration_requestOps( + get_old_FunctionDeclaration_requestOps()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_requestOps": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_requestOps(): + TypeOnly; +declare function use_old_FunctionDeclaration_requestOps( + use: TypeOnly); +use_old_FunctionDeclaration_requestOps( + get_current_FunctionDeclaration_requestOps()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RetryableError": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_RetryableError(): + TypeOnly>; +declare function use_current_ClassDeclaration_RetryableError( + use: TypeOnly>); +use_current_ClassDeclaration_RetryableError( + get_old_ClassDeclaration_RetryableError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RetryableError": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_RetryableError(): + TypeOnly>; +declare function use_old_ClassDeclaration_RetryableError( + use: TypeOnly>); +use_old_ClassDeclaration_RetryableError( + get_current_ClassDeclaration_RetryableError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_runWithRetry": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_runWithRetry(): + TypeOnly; +declare function use_current_FunctionDeclaration_runWithRetry( + use: TypeOnly); +use_current_FunctionDeclaration_runWithRetry( + get_old_FunctionDeclaration_runWithRetry()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_runWithRetry": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_runWithRetry(): + TypeOnly; +declare function use_old_FunctionDeclaration_runWithRetry( + use: TypeOnly); +use_old_FunctionDeclaration_runWithRetry( + get_current_FunctionDeclaration_runWithRetry()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SnapshotExtractor": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SnapshotExtractor(): + TypeOnly; +declare function use_current_ClassDeclaration_SnapshotExtractor( + use: TypeOnly); +use_current_ClassDeclaration_SnapshotExtractor( + get_old_ClassDeclaration_SnapshotExtractor()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SnapshotExtractor": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SnapshotExtractor(): + TypeOnly; +declare function use_old_ClassDeclaration_SnapshotExtractor( + use: TypeOnly); +use_old_ClassDeclaration_SnapshotExtractor( + get_current_ClassDeclaration_SnapshotExtractor()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_streamFromMessages": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_streamFromMessages(): + TypeOnly; +declare function use_current_FunctionDeclaration_streamFromMessages( + use: TypeOnly); +use_current_FunctionDeclaration_streamFromMessages( + get_old_FunctionDeclaration_streamFromMessages()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_streamFromMessages": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_streamFromMessages(): + TypeOnly; +declare function use_old_FunctionDeclaration_streamFromMessages( + use: TypeOnly); +use_old_FunctionDeclaration_streamFromMessages( + get_current_FunctionDeclaration_streamFromMessages()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_streamObserver": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_streamObserver(): + TypeOnly; +declare function use_current_FunctionDeclaration_streamObserver( + use: TypeOnly); +use_current_FunctionDeclaration_streamObserver( + get_old_FunctionDeclaration_streamObserver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_streamObserver": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_streamObserver(): + TypeOnly; +declare function use_old_FunctionDeclaration_streamObserver( + use: TypeOnly); +use_old_FunctionDeclaration_streamObserver( + get_current_FunctionDeclaration_streamObserver()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ThrottlingError": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ThrottlingError(): + TypeOnly; +declare function use_current_ClassDeclaration_ThrottlingError( + use: TypeOnly); +use_current_ClassDeclaration_ThrottlingError( + get_old_ClassDeclaration_ThrottlingError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ThrottlingError": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ThrottlingError(): + TypeOnly; +declare function use_old_ClassDeclaration_ThrottlingError( + use: TypeOnly); +use_old_ClassDeclaration_ThrottlingError( + get_current_ClassDeclaration_ThrottlingError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_waitForConnectedState": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_waitForConnectedState(): + TypeOnly; +declare function use_current_FunctionDeclaration_waitForConnectedState( + use: TypeOnly); +use_current_FunctionDeclaration_waitForConnectedState( + get_old_FunctionDeclaration_waitForConnectedState()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_waitForConnectedState": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_waitForConnectedState(): + TypeOnly; +declare function use_old_FunctionDeclaration_waitForConnectedState( + use: TypeOnly); +use_old_FunctionDeclaration_waitForConnectedState( + get_current_FunctionDeclaration_waitForConnectedState()); diff --git a/packages/loader/test-loader-utils/package.json b/packages/loader/test-loader-utils/package.json index 28ec55fa81b7..1c4f8b2b9040 100644 --- a/packages/loader/test-loader-utils/package.json +++ b/packages/loader/test-loader-utils/package.json @@ -38,6 +38,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/test-loader-utils-previous": "npm:@fluidframework/test-loader-utils@0.58.2000", "@rushstack/eslint-config": "^2.5.1", "@typescript-eslint/eslint-plugin": "~5.9.0", "@typescript-eslint/parser": "~5.9.0", @@ -52,5 +53,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/loader/test-loader-utils/src/test/types/validateTestLoaderUtilsPrevious.ts b/packages/loader/test-loader-utils/src/test/types/validateTestLoaderUtilsPrevious.ts new file mode 100644 index 000000000000..3f27b12a6a55 --- /dev/null +++ b/packages/loader/test-loader-utils/src/test/types/validateTestLoaderUtilsPrevious.ts @@ -0,0 +1,87 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/test-loader-utils-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockDocumentDeltaConnection": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockDocumentDeltaConnection(): + TypeOnly; +declare function use_current_ClassDeclaration_MockDocumentDeltaConnection( + use: TypeOnly); +use_current_ClassDeclaration_MockDocumentDeltaConnection( + get_old_ClassDeclaration_MockDocumentDeltaConnection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockDocumentDeltaConnection": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockDocumentDeltaConnection(): + TypeOnly; +declare function use_old_ClassDeclaration_MockDocumentDeltaConnection( + use: TypeOnly); +use_old_ClassDeclaration_MockDocumentDeltaConnection( + get_current_ClassDeclaration_MockDocumentDeltaConnection()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockDocumentDeltaStorageService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockDocumentDeltaStorageService(): + TypeOnly; +declare function use_current_ClassDeclaration_MockDocumentDeltaStorageService( + use: TypeOnly); +use_current_ClassDeclaration_MockDocumentDeltaStorageService( + get_old_ClassDeclaration_MockDocumentDeltaStorageService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockDocumentDeltaStorageService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockDocumentDeltaStorageService(): + TypeOnly; +declare function use_old_ClassDeclaration_MockDocumentDeltaStorageService( + use: TypeOnly); +use_old_ClassDeclaration_MockDocumentDeltaStorageService( + get_current_ClassDeclaration_MockDocumentDeltaStorageService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockDocumentService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockDocumentService(): + TypeOnly; +declare function use_current_ClassDeclaration_MockDocumentService( + use: TypeOnly); +use_current_ClassDeclaration_MockDocumentService( + get_old_ClassDeclaration_MockDocumentService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockDocumentService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockDocumentService(): + TypeOnly; +declare function use_old_ClassDeclaration_MockDocumentService( + use: TypeOnly); +use_old_ClassDeclaration_MockDocumentService( + get_current_ClassDeclaration_MockDocumentService()); diff --git a/packages/loader/web-code-loader/package.json b/packages/loader/web-code-loader/package.json index 4b420e3d55da..2c1543b6438d 100644 --- a/packages/loader/web-code-loader/package.json +++ b/packages/loader/web-code-loader/package.json @@ -40,6 +40,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/web-code-loader-previous": "npm:@fluidframework/web-code-loader@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/isomorphic-fetch": "^0.0.35", @@ -58,5 +59,9 @@ "source-map-loader": "^0.2.4", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/loader/web-code-loader/src/test/types/validateWebCodeLoaderPrevious.ts b/packages/loader/web-code-loader/src/test/types/validateWebCodeLoaderPrevious.ts new file mode 100644 index 000000000000..4a3ad8d162fc --- /dev/null +++ b/packages/loader/web-code-loader/src/test/types/validateWebCodeLoaderPrevious.ts @@ -0,0 +1,159 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/web-code-loader-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_AllowList": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_AllowList(): + TypeOnly; +declare function use_current_ClassDeclaration_AllowList( + use: TypeOnly); +use_current_ClassDeclaration_AllowList( + get_old_ClassDeclaration_AllowList()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_AllowList": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_AllowList(): + TypeOnly; +declare function use_old_ClassDeclaration_AllowList( + use: TypeOnly); +use_old_ClassDeclaration_AllowList( + get_current_ClassDeclaration_AllowList()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_extractPackageIdentifierDetails": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_extractPackageIdentifierDetails(): + TypeOnly; +declare function use_current_FunctionDeclaration_extractPackageIdentifierDetails( + use: TypeOnly); +use_current_FunctionDeclaration_extractPackageIdentifierDetails( + get_old_FunctionDeclaration_extractPackageIdentifierDetails()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_extractPackageIdentifierDetails": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_extractPackageIdentifierDetails(): + TypeOnly; +declare function use_old_FunctionDeclaration_extractPackageIdentifierDetails( + use: TypeOnly); +use_old_FunctionDeclaration_extractPackageIdentifierDetails( + get_current_FunctionDeclaration_extractPackageIdentifierDetails()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IPackageIdentifierDetails": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IPackageIdentifierDetails(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IPackageIdentifierDetails( + use: TypeOnly); +use_current_InterfaceDeclaration_IPackageIdentifierDetails( + get_old_InterfaceDeclaration_IPackageIdentifierDetails()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IPackageIdentifierDetails": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IPackageIdentifierDetails(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IPackageIdentifierDetails( + use: TypeOnly); +use_old_InterfaceDeclaration_IPackageIdentifierDetails( + get_current_InterfaceDeclaration_IPackageIdentifierDetails()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_resolveFluidPackageEnvironment": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_resolveFluidPackageEnvironment(): + TypeOnly; +declare function use_current_FunctionDeclaration_resolveFluidPackageEnvironment( + use: TypeOnly); +use_current_FunctionDeclaration_resolveFluidPackageEnvironment( + get_old_FunctionDeclaration_resolveFluidPackageEnvironment()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_resolveFluidPackageEnvironment": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_resolveFluidPackageEnvironment(): + TypeOnly; +declare function use_old_FunctionDeclaration_resolveFluidPackageEnvironment( + use: TypeOnly); +use_old_FunctionDeclaration_resolveFluidPackageEnvironment( + get_current_FunctionDeclaration_resolveFluidPackageEnvironment()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SemVerCdnCodeResolver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SemVerCdnCodeResolver(): + TypeOnly; +declare function use_current_ClassDeclaration_SemVerCdnCodeResolver( + use: TypeOnly); +use_current_ClassDeclaration_SemVerCdnCodeResolver( + get_old_ClassDeclaration_SemVerCdnCodeResolver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SemVerCdnCodeResolver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SemVerCdnCodeResolver(): + TypeOnly; +declare function use_old_ClassDeclaration_SemVerCdnCodeResolver( + use: TypeOnly); +use_old_ClassDeclaration_SemVerCdnCodeResolver( + get_current_ClassDeclaration_SemVerCdnCodeResolver()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_WebCodeLoader": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_WebCodeLoader(): + TypeOnly; +declare function use_current_ClassDeclaration_WebCodeLoader( + use: TypeOnly); +use_current_ClassDeclaration_WebCodeLoader( + get_old_ClassDeclaration_WebCodeLoader()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_WebCodeLoader": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_WebCodeLoader(): + TypeOnly; +declare function use_old_ClassDeclaration_WebCodeLoader( + use: TypeOnly); +use_old_ClassDeclaration_WebCodeLoader( + get_current_ClassDeclaration_WebCodeLoader()); diff --git a/packages/runtime/agent-scheduler/package.json b/packages/runtime/agent-scheduler/package.json index 8c9a71c6b614..29f01cec516f 100644 --- a/packages/runtime/agent-scheduler/package.json +++ b/packages/runtime/agent-scheduler/package.json @@ -63,6 +63,7 @@ "uuid": "^8.3.1" }, "devDependencies": { + "@fluidframework/agent-scheduler-previous": "npm:@fluidframework/agent-scheduler@0.58.2000", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@rushstack/eslint-config": "^2.5.1", @@ -93,5 +94,9 @@ "library": "main" } } + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/runtime/agent-scheduler/src/test/types/validateAgentSchedulerPrevious.ts b/packages/runtime/agent-scheduler/src/test/types/validateAgentSchedulerPrevious.ts new file mode 100644 index 000000000000..b0d330605dbc --- /dev/null +++ b/packages/runtime/agent-scheduler/src/test/types/validateAgentSchedulerPrevious.ts @@ -0,0 +1,183 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/agent-scheduler-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_AgentSchedulerFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_AgentSchedulerFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_AgentSchedulerFactory( + use: TypeOnly); +use_current_ClassDeclaration_AgentSchedulerFactory( + get_old_ClassDeclaration_AgentSchedulerFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_AgentSchedulerFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_AgentSchedulerFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_AgentSchedulerFactory( + use: TypeOnly); +use_old_ClassDeclaration_AgentSchedulerFactory( + get_current_ClassDeclaration_AgentSchedulerFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_IAgentScheduler": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_IAgentScheduler(): + TypeOnly; +declare function use_current_VariableDeclaration_IAgentScheduler( + use: TypeOnly); +use_current_VariableDeclaration_IAgentScheduler( + get_old_VariableDeclaration_IAgentScheduler()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_IAgentScheduler": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_IAgentScheduler(): + TypeOnly; +declare function use_old_VariableDeclaration_IAgentScheduler( + use: TypeOnly); +use_old_VariableDeclaration_IAgentScheduler( + get_current_VariableDeclaration_IAgentScheduler()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IAgentScheduler": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IAgentScheduler(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IAgentScheduler( + use: TypeOnly); +use_current_InterfaceDeclaration_IAgentScheduler( + get_old_InterfaceDeclaration_IAgentScheduler()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IAgentScheduler": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IAgentScheduler(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IAgentScheduler( + use: TypeOnly); +use_old_InterfaceDeclaration_IAgentScheduler( + get_current_InterfaceDeclaration_IAgentScheduler()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IAgentSchedulerEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IAgentSchedulerEvents(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IAgentSchedulerEvents( + use: TypeOnly); +use_current_InterfaceDeclaration_IAgentSchedulerEvents( + get_old_InterfaceDeclaration_IAgentSchedulerEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IAgentSchedulerEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IAgentSchedulerEvents(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IAgentSchedulerEvents( + use: TypeOnly); +use_old_InterfaceDeclaration_IAgentSchedulerEvents( + get_current_InterfaceDeclaration_IAgentSchedulerEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IProvideAgentScheduler": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IProvideAgentScheduler(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IProvideAgentScheduler( + use: TypeOnly); +use_current_InterfaceDeclaration_IProvideAgentScheduler( + get_old_InterfaceDeclaration_IProvideAgentScheduler()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IProvideAgentScheduler": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IProvideAgentScheduler(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IProvideAgentScheduler( + use: TypeOnly); +use_old_InterfaceDeclaration_IProvideAgentScheduler( + get_current_InterfaceDeclaration_IProvideAgentScheduler()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITaskSubscriptionEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITaskSubscriptionEvents(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITaskSubscriptionEvents( + use: TypeOnly); +use_current_InterfaceDeclaration_ITaskSubscriptionEvents( + get_old_InterfaceDeclaration_ITaskSubscriptionEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITaskSubscriptionEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITaskSubscriptionEvents(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITaskSubscriptionEvents( + use: TypeOnly); +use_old_InterfaceDeclaration_ITaskSubscriptionEvents( + get_current_InterfaceDeclaration_ITaskSubscriptionEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TaskSubscription": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_TaskSubscription(): + TypeOnly; +declare function use_current_ClassDeclaration_TaskSubscription( + use: TypeOnly); +use_current_ClassDeclaration_TaskSubscription( + get_old_ClassDeclaration_TaskSubscription()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TaskSubscription": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_TaskSubscription(): + TypeOnly; +declare function use_old_ClassDeclaration_TaskSubscription( + use: TypeOnly); +use_old_ClassDeclaration_TaskSubscription( + get_current_ClassDeclaration_TaskSubscription()); diff --git a/packages/runtime/container-runtime-definitions/package.json b/packages/runtime/container-runtime-definitions/package.json index 0f9385a8b001..d9ee10b2d9f8 100644 --- a/packages/runtime/container-runtime-definitions/package.json +++ b/packages/runtime/container-runtime-definitions/package.json @@ -14,15 +14,11 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { - "build": "npm run build:gen && concurrently npm:build:compile npm:lint && npm run build:docs", + "build": "concurrently npm:build:compile npm:lint && npm run build:docs", "build:compile": "npm run tsc && npm run build:test", "build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", "build:full": "npm run build", "build:full:compile": "npm run build:compile", - "build:gen": "npm run build:gen:typetests", - "build:gen:bump": "npm run build:gen:typetests:prepare", - "build:gen:typetests": "fluid-type-validator -d .", - "build:gen:typetests:prepare": "fluid-type-validator -d . -p", "build:test": "tsc --project ./src/test/tsconfig.json", "ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/", "clean": "rimraf dist *.tsbuildinfo *.build.log", @@ -45,15 +41,7 @@ }, "devDependencies": { "@fluidframework/build-common": "^0.23.0", - "@fluidframework/build-tools": "^0.2.58041", - "@fluidframework/container-runtime-definitions-0.51.1": "npm:@fluidframework/container-runtime-definitions@0.51.1", - "@fluidframework/container-runtime-definitions-0.52.0": "npm:@fluidframework/container-runtime-definitions@0.52.0", - "@fluidframework/container-runtime-definitions-0.53.0": "npm:@fluidframework/container-runtime-definitions@0.53.0", - "@fluidframework/container-runtime-definitions-0.54.0": "npm:@fluidframework/container-runtime-definitions@0.54.0", - "@fluidframework/container-runtime-definitions-0.55.0": "npm:@fluidframework/container-runtime-definitions@0.55.0", - "@fluidframework/container-runtime-definitions-0.56.0": "npm:@fluidframework/container-runtime-definitions@0.56.0", - "@fluidframework/container-runtime-definitions-0.57.0": "npm:@fluidframework/container-runtime-definitions@0.57.0", - "@fluidframework/container-runtime-definitions-0.58.1000": "npm:@fluidframework/container-runtime-definitions@0.58.1000", + "@fluidframework/container-runtime-definitions-previous": "npm:@fluidframework/container-runtime-definitions@0.58.2000", "@fluidframework/eslint-config-fluid": "^0.27.0", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", @@ -74,102 +62,6 @@ }, "typeValidation": { "version": "0.58.3000", - "broken": { - "0.51.1": { - "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideContainerRuntime": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IContainerRuntime": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.52.0": { - "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideContainerRuntime": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IContainerRuntime": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.53.0": { - "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideContainerRuntime": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IContainerRuntime": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.54.0": { - "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideContainerRuntime": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IContainerRuntime": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.55.0": { - "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideContainerRuntime": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IContainerRuntime": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.56.0": { - "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideContainerRuntime": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IContainerRuntime": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.57.0": { - "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": { - "backCompat": false - }, - "InterfaceDeclaration_IProvideContainerRuntime": { - "backCompat": false - }, - "InterfaceDeclaration_IContainerRuntime": { - "backCompat": false - } - } - } + "broken": {} } } \ No newline at end of file diff --git a/packages/runtime/container-runtime-definitions/src/test/types/validate0.51.1.ts b/packages/runtime/container-runtime-definitions/src/test/types/validate0.51.1.ts deleted file mode 100644 index 17aea4b68310..000000000000 --- a/packages/runtime/container-runtime-definitions/src/test/types/validate0.51.1.ts +++ /dev/null @@ -1,136 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/container-runtime-definitions-0.51.1"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "VariableDeclaration_IContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IContainerRuntime(): - typeof old.IContainerRuntime; -declare function use_current_VariableDeclaration_IContainerRuntime( - use: typeof current.IContainerRuntime); -use_current_VariableDeclaration_IContainerRuntime( - get_old_VariableDeclaration_IContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "VariableDeclaration_IContainerRuntime": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IContainerRuntime(): - typeof current.IContainerRuntime; -declare function use_old_VariableDeclaration_IContainerRuntime( - use: typeof old.IContainerRuntime); -use_old_VariableDeclaration_IContainerRuntime( - get_current_VariableDeclaration_IContainerRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntime(): - old.IContainerRuntime; -declare function use_current_InterfaceDeclaration_IContainerRuntime( - use: current.IContainerRuntime); -use_current_InterfaceDeclaration_IContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IContainerRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntime(): - current.IContainerRuntime; -declare function use_old_InterfaceDeclaration_IContainerRuntime( - use: old.IContainerRuntime); -use_old_InterfaceDeclaration_IContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IContainerRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents(): - old.IContainerRuntimeBaseWithCombinedEvents; -declare function use_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - use: current.IContainerRuntimeBaseWithCombinedEvents); -use_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents(): - current.IContainerRuntimeBaseWithCombinedEvents; -declare function use_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - use: old.IContainerRuntimeBaseWithCombinedEvents); -use_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IContainerRuntimeEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeEvents(): - old.IContainerRuntimeEvents; -declare function use_current_InterfaceDeclaration_IContainerRuntimeEvents( - use: current.IContainerRuntimeEvents); -use_current_InterfaceDeclaration_IContainerRuntimeEvents( - get_old_InterfaceDeclaration_IContainerRuntimeEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IContainerRuntimeEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeEvents(): - current.IContainerRuntimeEvents; -declare function use_old_InterfaceDeclaration_IContainerRuntimeEvents( - use: old.IContainerRuntimeEvents); -use_old_InterfaceDeclaration_IContainerRuntimeEvents( - get_current_InterfaceDeclaration_IContainerRuntimeEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IProvideContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideContainerRuntime(): - old.IProvideContainerRuntime; -declare function use_current_InterfaceDeclaration_IProvideContainerRuntime( - use: current.IProvideContainerRuntime); -use_current_InterfaceDeclaration_IProvideContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IProvideContainerRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideContainerRuntime(): - current.IProvideContainerRuntime; -declare function use_old_InterfaceDeclaration_IProvideContainerRuntime( - use: old.IProvideContainerRuntime); -use_old_InterfaceDeclaration_IProvideContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideContainerRuntime()); diff --git a/packages/runtime/container-runtime-definitions/src/test/types/validate0.52.0.ts b/packages/runtime/container-runtime-definitions/src/test/types/validate0.52.0.ts deleted file mode 100644 index d3b37643b97c..000000000000 --- a/packages/runtime/container-runtime-definitions/src/test/types/validate0.52.0.ts +++ /dev/null @@ -1,136 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/container-runtime-definitions-0.52.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "VariableDeclaration_IContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IContainerRuntime(): - typeof old.IContainerRuntime; -declare function use_current_VariableDeclaration_IContainerRuntime( - use: typeof current.IContainerRuntime); -use_current_VariableDeclaration_IContainerRuntime( - get_old_VariableDeclaration_IContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "VariableDeclaration_IContainerRuntime": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IContainerRuntime(): - typeof current.IContainerRuntime; -declare function use_old_VariableDeclaration_IContainerRuntime( - use: typeof old.IContainerRuntime); -use_old_VariableDeclaration_IContainerRuntime( - get_current_VariableDeclaration_IContainerRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntime(): - old.IContainerRuntime; -declare function use_current_InterfaceDeclaration_IContainerRuntime( - use: current.IContainerRuntime); -use_current_InterfaceDeclaration_IContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IContainerRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntime(): - current.IContainerRuntime; -declare function use_old_InterfaceDeclaration_IContainerRuntime( - use: old.IContainerRuntime); -use_old_InterfaceDeclaration_IContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IContainerRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents(): - old.IContainerRuntimeBaseWithCombinedEvents; -declare function use_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - use: current.IContainerRuntimeBaseWithCombinedEvents); -use_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents(): - current.IContainerRuntimeBaseWithCombinedEvents; -declare function use_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - use: old.IContainerRuntimeBaseWithCombinedEvents); -use_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IContainerRuntimeEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeEvents(): - old.IContainerRuntimeEvents; -declare function use_current_InterfaceDeclaration_IContainerRuntimeEvents( - use: current.IContainerRuntimeEvents); -use_current_InterfaceDeclaration_IContainerRuntimeEvents( - get_old_InterfaceDeclaration_IContainerRuntimeEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IContainerRuntimeEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeEvents(): - current.IContainerRuntimeEvents; -declare function use_old_InterfaceDeclaration_IContainerRuntimeEvents( - use: old.IContainerRuntimeEvents); -use_old_InterfaceDeclaration_IContainerRuntimeEvents( - get_current_InterfaceDeclaration_IContainerRuntimeEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IProvideContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideContainerRuntime(): - old.IProvideContainerRuntime; -declare function use_current_InterfaceDeclaration_IProvideContainerRuntime( - use: current.IProvideContainerRuntime); -use_current_InterfaceDeclaration_IProvideContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IProvideContainerRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideContainerRuntime(): - current.IProvideContainerRuntime; -declare function use_old_InterfaceDeclaration_IProvideContainerRuntime( - use: old.IProvideContainerRuntime); -use_old_InterfaceDeclaration_IProvideContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideContainerRuntime()); diff --git a/packages/runtime/container-runtime-definitions/src/test/types/validate0.53.0.ts b/packages/runtime/container-runtime-definitions/src/test/types/validate0.53.0.ts deleted file mode 100644 index 25450bc8993e..000000000000 --- a/packages/runtime/container-runtime-definitions/src/test/types/validate0.53.0.ts +++ /dev/null @@ -1,136 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/container-runtime-definitions-0.53.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "VariableDeclaration_IContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IContainerRuntime(): - typeof old.IContainerRuntime; -declare function use_current_VariableDeclaration_IContainerRuntime( - use: typeof current.IContainerRuntime); -use_current_VariableDeclaration_IContainerRuntime( - get_old_VariableDeclaration_IContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "VariableDeclaration_IContainerRuntime": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IContainerRuntime(): - typeof current.IContainerRuntime; -declare function use_old_VariableDeclaration_IContainerRuntime( - use: typeof old.IContainerRuntime); -use_old_VariableDeclaration_IContainerRuntime( - get_current_VariableDeclaration_IContainerRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntime(): - old.IContainerRuntime; -declare function use_current_InterfaceDeclaration_IContainerRuntime( - use: current.IContainerRuntime); -use_current_InterfaceDeclaration_IContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IContainerRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntime(): - current.IContainerRuntime; -declare function use_old_InterfaceDeclaration_IContainerRuntime( - use: old.IContainerRuntime); -use_old_InterfaceDeclaration_IContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IContainerRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents(): - old.IContainerRuntimeBaseWithCombinedEvents; -declare function use_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - use: current.IContainerRuntimeBaseWithCombinedEvents); -use_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents(): - current.IContainerRuntimeBaseWithCombinedEvents; -declare function use_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - use: old.IContainerRuntimeBaseWithCombinedEvents); -use_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IContainerRuntimeEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeEvents(): - old.IContainerRuntimeEvents; -declare function use_current_InterfaceDeclaration_IContainerRuntimeEvents( - use: current.IContainerRuntimeEvents); -use_current_InterfaceDeclaration_IContainerRuntimeEvents( - get_old_InterfaceDeclaration_IContainerRuntimeEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IContainerRuntimeEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeEvents(): - current.IContainerRuntimeEvents; -declare function use_old_InterfaceDeclaration_IContainerRuntimeEvents( - use: old.IContainerRuntimeEvents); -use_old_InterfaceDeclaration_IContainerRuntimeEvents( - get_current_InterfaceDeclaration_IContainerRuntimeEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IProvideContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideContainerRuntime(): - old.IProvideContainerRuntime; -declare function use_current_InterfaceDeclaration_IProvideContainerRuntime( - use: current.IProvideContainerRuntime); -use_current_InterfaceDeclaration_IProvideContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IProvideContainerRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideContainerRuntime(): - current.IProvideContainerRuntime; -declare function use_old_InterfaceDeclaration_IProvideContainerRuntime( - use: old.IProvideContainerRuntime); -use_old_InterfaceDeclaration_IProvideContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideContainerRuntime()); diff --git a/packages/runtime/container-runtime-definitions/src/test/types/validate0.54.0.ts b/packages/runtime/container-runtime-definitions/src/test/types/validate0.54.0.ts deleted file mode 100644 index 226571d5707c..000000000000 --- a/packages/runtime/container-runtime-definitions/src/test/types/validate0.54.0.ts +++ /dev/null @@ -1,136 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/container-runtime-definitions-0.54.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "VariableDeclaration_IContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IContainerRuntime(): - typeof old.IContainerRuntime; -declare function use_current_VariableDeclaration_IContainerRuntime( - use: typeof current.IContainerRuntime); -use_current_VariableDeclaration_IContainerRuntime( - get_old_VariableDeclaration_IContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "VariableDeclaration_IContainerRuntime": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IContainerRuntime(): - typeof current.IContainerRuntime; -declare function use_old_VariableDeclaration_IContainerRuntime( - use: typeof old.IContainerRuntime); -use_old_VariableDeclaration_IContainerRuntime( - get_current_VariableDeclaration_IContainerRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntime(): - old.IContainerRuntime; -declare function use_current_InterfaceDeclaration_IContainerRuntime( - use: current.IContainerRuntime); -use_current_InterfaceDeclaration_IContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IContainerRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntime(): - current.IContainerRuntime; -declare function use_old_InterfaceDeclaration_IContainerRuntime( - use: old.IContainerRuntime); -use_old_InterfaceDeclaration_IContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IContainerRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents(): - old.IContainerRuntimeBaseWithCombinedEvents; -declare function use_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - use: current.IContainerRuntimeBaseWithCombinedEvents); -use_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents(): - current.IContainerRuntimeBaseWithCombinedEvents; -declare function use_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - use: old.IContainerRuntimeBaseWithCombinedEvents); -use_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IContainerRuntimeEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeEvents(): - old.IContainerRuntimeEvents; -declare function use_current_InterfaceDeclaration_IContainerRuntimeEvents( - use: current.IContainerRuntimeEvents); -use_current_InterfaceDeclaration_IContainerRuntimeEvents( - get_old_InterfaceDeclaration_IContainerRuntimeEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IContainerRuntimeEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeEvents(): - current.IContainerRuntimeEvents; -declare function use_old_InterfaceDeclaration_IContainerRuntimeEvents( - use: old.IContainerRuntimeEvents); -use_old_InterfaceDeclaration_IContainerRuntimeEvents( - get_current_InterfaceDeclaration_IContainerRuntimeEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IProvideContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideContainerRuntime(): - old.IProvideContainerRuntime; -declare function use_current_InterfaceDeclaration_IProvideContainerRuntime( - use: current.IProvideContainerRuntime); -use_current_InterfaceDeclaration_IProvideContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IProvideContainerRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideContainerRuntime(): - current.IProvideContainerRuntime; -declare function use_old_InterfaceDeclaration_IProvideContainerRuntime( - use: old.IProvideContainerRuntime); -use_old_InterfaceDeclaration_IProvideContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideContainerRuntime()); diff --git a/packages/runtime/container-runtime-definitions/src/test/types/validate0.55.0.ts b/packages/runtime/container-runtime-definitions/src/test/types/validate0.55.0.ts deleted file mode 100644 index 9c6b18711c83..000000000000 --- a/packages/runtime/container-runtime-definitions/src/test/types/validate0.55.0.ts +++ /dev/null @@ -1,136 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/container-runtime-definitions-0.55.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "VariableDeclaration_IContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IContainerRuntime(): - typeof old.IContainerRuntime; -declare function use_current_VariableDeclaration_IContainerRuntime( - use: typeof current.IContainerRuntime); -use_current_VariableDeclaration_IContainerRuntime( - get_old_VariableDeclaration_IContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "VariableDeclaration_IContainerRuntime": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IContainerRuntime(): - typeof current.IContainerRuntime; -declare function use_old_VariableDeclaration_IContainerRuntime( - use: typeof old.IContainerRuntime); -use_old_VariableDeclaration_IContainerRuntime( - get_current_VariableDeclaration_IContainerRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntime(): - old.IContainerRuntime; -declare function use_current_InterfaceDeclaration_IContainerRuntime( - use: current.IContainerRuntime); -use_current_InterfaceDeclaration_IContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IContainerRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntime(): - current.IContainerRuntime; -declare function use_old_InterfaceDeclaration_IContainerRuntime( - use: old.IContainerRuntime); -use_old_InterfaceDeclaration_IContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IContainerRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents(): - old.IContainerRuntimeBaseWithCombinedEvents; -declare function use_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - use: current.IContainerRuntimeBaseWithCombinedEvents); -use_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents(): - current.IContainerRuntimeBaseWithCombinedEvents; -declare function use_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - use: old.IContainerRuntimeBaseWithCombinedEvents); -use_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IContainerRuntimeEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeEvents(): - old.IContainerRuntimeEvents; -declare function use_current_InterfaceDeclaration_IContainerRuntimeEvents( - use: current.IContainerRuntimeEvents); -use_current_InterfaceDeclaration_IContainerRuntimeEvents( - get_old_InterfaceDeclaration_IContainerRuntimeEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IContainerRuntimeEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeEvents(): - current.IContainerRuntimeEvents; -declare function use_old_InterfaceDeclaration_IContainerRuntimeEvents( - use: old.IContainerRuntimeEvents); -use_old_InterfaceDeclaration_IContainerRuntimeEvents( - get_current_InterfaceDeclaration_IContainerRuntimeEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IProvideContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideContainerRuntime(): - old.IProvideContainerRuntime; -declare function use_current_InterfaceDeclaration_IProvideContainerRuntime( - use: current.IProvideContainerRuntime); -use_current_InterfaceDeclaration_IProvideContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IProvideContainerRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideContainerRuntime(): - current.IProvideContainerRuntime; -declare function use_old_InterfaceDeclaration_IProvideContainerRuntime( - use: old.IProvideContainerRuntime); -use_old_InterfaceDeclaration_IProvideContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideContainerRuntime()); diff --git a/packages/runtime/container-runtime-definitions/src/test/types/validate0.56.0.ts b/packages/runtime/container-runtime-definitions/src/test/types/validate0.56.0.ts deleted file mode 100644 index 02abd4ec48d7..000000000000 --- a/packages/runtime/container-runtime-definitions/src/test/types/validate0.56.0.ts +++ /dev/null @@ -1,136 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/container-runtime-definitions-0.56.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "VariableDeclaration_IContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IContainerRuntime(): - typeof old.IContainerRuntime; -declare function use_current_VariableDeclaration_IContainerRuntime( - use: typeof current.IContainerRuntime); -use_current_VariableDeclaration_IContainerRuntime( - get_old_VariableDeclaration_IContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "VariableDeclaration_IContainerRuntime": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IContainerRuntime(): - typeof current.IContainerRuntime; -declare function use_old_VariableDeclaration_IContainerRuntime( - use: typeof old.IContainerRuntime); -use_old_VariableDeclaration_IContainerRuntime( - get_current_VariableDeclaration_IContainerRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntime(): - old.IContainerRuntime; -declare function use_current_InterfaceDeclaration_IContainerRuntime( - use: current.IContainerRuntime); -use_current_InterfaceDeclaration_IContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IContainerRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntime(): - current.IContainerRuntime; -declare function use_old_InterfaceDeclaration_IContainerRuntime( - use: old.IContainerRuntime); -use_old_InterfaceDeclaration_IContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IContainerRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents(): - old.IContainerRuntimeBaseWithCombinedEvents; -declare function use_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - use: current.IContainerRuntimeBaseWithCombinedEvents); -use_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents(): - current.IContainerRuntimeBaseWithCombinedEvents; -declare function use_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - use: old.IContainerRuntimeBaseWithCombinedEvents); -use_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IContainerRuntimeEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeEvents(): - old.IContainerRuntimeEvents; -declare function use_current_InterfaceDeclaration_IContainerRuntimeEvents( - use: current.IContainerRuntimeEvents); -use_current_InterfaceDeclaration_IContainerRuntimeEvents( - get_old_InterfaceDeclaration_IContainerRuntimeEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IContainerRuntimeEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeEvents(): - current.IContainerRuntimeEvents; -declare function use_old_InterfaceDeclaration_IContainerRuntimeEvents( - use: old.IContainerRuntimeEvents); -use_old_InterfaceDeclaration_IContainerRuntimeEvents( - get_current_InterfaceDeclaration_IContainerRuntimeEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IProvideContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideContainerRuntime(): - old.IProvideContainerRuntime; -declare function use_current_InterfaceDeclaration_IProvideContainerRuntime( - use: current.IProvideContainerRuntime); -use_current_InterfaceDeclaration_IProvideContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IProvideContainerRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideContainerRuntime(): - current.IProvideContainerRuntime; -declare function use_old_InterfaceDeclaration_IProvideContainerRuntime( - use: old.IProvideContainerRuntime); -use_old_InterfaceDeclaration_IProvideContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideContainerRuntime()); diff --git a/packages/runtime/container-runtime-definitions/src/test/types/validate0.57.0.ts b/packages/runtime/container-runtime-definitions/src/test/types/validate0.57.0.ts deleted file mode 100644 index 570a8b1266cf..000000000000 --- a/packages/runtime/container-runtime-definitions/src/test/types/validate0.57.0.ts +++ /dev/null @@ -1,133 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/container-runtime-definitions-0.57.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "VariableDeclaration_IContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IContainerRuntime(): - typeof old.IContainerRuntime; -declare function use_current_VariableDeclaration_IContainerRuntime( - use: typeof current.IContainerRuntime); -use_current_VariableDeclaration_IContainerRuntime( - get_old_VariableDeclaration_IContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "VariableDeclaration_IContainerRuntime": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IContainerRuntime(): - typeof current.IContainerRuntime; -declare function use_old_VariableDeclaration_IContainerRuntime( - use: typeof old.IContainerRuntime); -use_old_VariableDeclaration_IContainerRuntime( - get_current_VariableDeclaration_IContainerRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntime(): - old.IContainerRuntime; -declare function use_current_InterfaceDeclaration_IContainerRuntime( - use: current.IContainerRuntime); -use_current_InterfaceDeclaration_IContainerRuntime( - get_old_InterfaceDeclaration_IContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IContainerRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntime(): - current.IContainerRuntime; -declare function use_old_InterfaceDeclaration_IContainerRuntime( - use: old.IContainerRuntime); -use_old_InterfaceDeclaration_IContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IContainerRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents(): - old.IContainerRuntimeBaseWithCombinedEvents; -declare function use_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - use: current.IContainerRuntimeBaseWithCombinedEvents); -use_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - get_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents(): - current.IContainerRuntimeBaseWithCombinedEvents; -declare function use_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - use: old.IContainerRuntimeBaseWithCombinedEvents); -use_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IContainerRuntimeEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeEvents(): - old.IContainerRuntimeEvents; -declare function use_current_InterfaceDeclaration_IContainerRuntimeEvents( - use: current.IContainerRuntimeEvents); -use_current_InterfaceDeclaration_IContainerRuntimeEvents( - get_old_InterfaceDeclaration_IContainerRuntimeEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IContainerRuntimeEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeEvents(): - current.IContainerRuntimeEvents; -declare function use_old_InterfaceDeclaration_IContainerRuntimeEvents( - use: old.IContainerRuntimeEvents); -use_old_InterfaceDeclaration_IContainerRuntimeEvents( - get_current_InterfaceDeclaration_IContainerRuntimeEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IProvideContainerRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideContainerRuntime(): - old.IProvideContainerRuntime; -declare function use_current_InterfaceDeclaration_IProvideContainerRuntime( - use: current.IProvideContainerRuntime); -use_current_InterfaceDeclaration_IProvideContainerRuntime( - get_old_InterfaceDeclaration_IProvideContainerRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IProvideContainerRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideContainerRuntime(): - current.IProvideContainerRuntime; -declare function use_old_InterfaceDeclaration_IProvideContainerRuntime( - use: old.IProvideContainerRuntime); -use_old_InterfaceDeclaration_IProvideContainerRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideContainerRuntime()); diff --git a/packages/runtime/container-runtime-definitions/src/test/types/validate0.58.1000.ts b/packages/runtime/container-runtime-definitions/src/test/types/validateContainerRuntimeDefinitionsPrevious.ts similarity index 78% rename from packages/runtime/container-runtime-definitions/src/test/types/validate0.58.1000.ts rename to packages/runtime/container-runtime-definitions/src/test/types/validateContainerRuntimeDefinitionsPrevious.ts index efebae33cd9c..564d967cf130 100644 --- a/packages/runtime/container-runtime-definitions/src/test/types/validate0.58.1000.ts +++ b/packages/runtime/container-runtime-definitions/src/test/types/validateContainerRuntimeDefinitionsPrevious.ts @@ -6,149 +6,154 @@ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. * Generated by fluid-type-validator in @fluidframework/build-tools. */ -import * as old from "@fluidframework/container-runtime-definitions-0.58.1000"; +/* eslint-disable max-lines */ +import * as old from "@fluidframework/container-runtime-definitions-previous"; import * as current from "../../index"; +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "VariableDeclaration_IContainerRuntime": {"forwardCompat": false} */ declare function get_old_VariableDeclaration_IContainerRuntime(): - typeof old.IContainerRuntime; + TypeOnly; declare function use_current_VariableDeclaration_IContainerRuntime( - use: typeof current.IContainerRuntime); + use: TypeOnly); use_current_VariableDeclaration_IContainerRuntime( get_old_VariableDeclaration_IContainerRuntime()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "VariableDeclaration_IContainerRuntime": {"backCompat": false} */ declare function get_current_VariableDeclaration_IContainerRuntime(): - typeof current.IContainerRuntime; + TypeOnly; declare function use_old_VariableDeclaration_IContainerRuntime( - use: typeof old.IContainerRuntime); + use: TypeOnly); use_old_VariableDeclaration_IContainerRuntime( get_current_VariableDeclaration_IContainerRuntime()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IContainerRuntime": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IContainerRuntime(): - old.IContainerRuntime; + TypeOnly; declare function use_current_InterfaceDeclaration_IContainerRuntime( - use: current.IContainerRuntime); + use: TypeOnly); use_current_InterfaceDeclaration_IContainerRuntime( get_old_InterfaceDeclaration_IContainerRuntime()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IContainerRuntime": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IContainerRuntime(): - current.IContainerRuntime; + TypeOnly; declare function use_old_InterfaceDeclaration_IContainerRuntime( - use: old.IContainerRuntime); + use: TypeOnly); use_old_InterfaceDeclaration_IContainerRuntime( get_current_InterfaceDeclaration_IContainerRuntime()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {"forwardCompat": false} */ declare function get_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents(): - old.IContainerRuntimeBaseWithCombinedEvents; + TypeOnly; declare function use_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - use: current.IContainerRuntimeBaseWithCombinedEvents); + use: TypeOnly); use_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( get_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {"backCompat": false} */ declare function get_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents(): - current.IContainerRuntimeBaseWithCombinedEvents; + TypeOnly; declare function use_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( - use: old.IContainerRuntimeBaseWithCombinedEvents); + use: TypeOnly); use_old_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents( get_current_TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IContainerRuntimeEvents": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IContainerRuntimeEvents(): - old.IContainerRuntimeEvents; + TypeOnly; declare function use_current_InterfaceDeclaration_IContainerRuntimeEvents( - use: current.IContainerRuntimeEvents); + use: TypeOnly); use_current_InterfaceDeclaration_IContainerRuntimeEvents( get_old_InterfaceDeclaration_IContainerRuntimeEvents()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IContainerRuntimeEvents": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IContainerRuntimeEvents(): - current.IContainerRuntimeEvents; + TypeOnly; declare function use_old_InterfaceDeclaration_IContainerRuntimeEvents( - use: old.IContainerRuntimeEvents); + use: TypeOnly); use_old_InterfaceDeclaration_IContainerRuntimeEvents( get_current_InterfaceDeclaration_IContainerRuntimeEvents()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IDataStoreWithBindToContext_Deprecated": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IDataStoreWithBindToContext_Deprecated(): - old.IDataStoreWithBindToContext_Deprecated; + TypeOnly; declare function use_current_InterfaceDeclaration_IDataStoreWithBindToContext_Deprecated( - use: current.IDataStoreWithBindToContext_Deprecated); + use: TypeOnly); use_current_InterfaceDeclaration_IDataStoreWithBindToContext_Deprecated( get_old_InterfaceDeclaration_IDataStoreWithBindToContext_Deprecated()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IDataStoreWithBindToContext_Deprecated": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IDataStoreWithBindToContext_Deprecated(): - current.IDataStoreWithBindToContext_Deprecated; + TypeOnly; declare function use_old_InterfaceDeclaration_IDataStoreWithBindToContext_Deprecated( - use: old.IDataStoreWithBindToContext_Deprecated); + use: TypeOnly); use_old_InterfaceDeclaration_IDataStoreWithBindToContext_Deprecated( get_current_InterfaceDeclaration_IDataStoreWithBindToContext_Deprecated()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IProvideContainerRuntime": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IProvideContainerRuntime(): - old.IProvideContainerRuntime; + TypeOnly; declare function use_current_InterfaceDeclaration_IProvideContainerRuntime( - use: current.IProvideContainerRuntime); + use: TypeOnly); use_current_InterfaceDeclaration_IProvideContainerRuntime( get_old_InterfaceDeclaration_IProvideContainerRuntime()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IProvideContainerRuntime": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IProvideContainerRuntime(): - current.IProvideContainerRuntime; + TypeOnly; declare function use_old_InterfaceDeclaration_IProvideContainerRuntime( - use: old.IProvideContainerRuntime); + use: TypeOnly); use_old_InterfaceDeclaration_IProvideContainerRuntime( get_current_InterfaceDeclaration_IProvideContainerRuntime()); diff --git a/packages/runtime/container-runtime/package.json b/packages/runtime/container-runtime/package.json index 509d7cc49681..d153b20793b2 100644 --- a/packages/runtime/container-runtime/package.json +++ b/packages/runtime/container-runtime/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsc:watch": "tsc --watch", @@ -80,6 +80,7 @@ }, "devDependencies": { "@fluidframework/build-common": "^0.23.0", + "@fluidframework/container-runtime-previous": "npm:@fluidframework/container-runtime@0.58.2000", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", "@fluidframework/test-runtime-utils": "^0.58.3000", @@ -108,5 +109,9 @@ "sinon": "^7.4.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/runtime/container-runtime/src/test/types/validateContainerRuntimePrevious.ts b/packages/runtime/container-runtime/src/test/types/validateContainerRuntimePrevious.ts new file mode 100644 index 000000000000..7567136bbbd3 --- /dev/null +++ b/packages/runtime/container-runtime/src/test/types/validateContainerRuntimePrevious.ts @@ -0,0 +1,1599 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/container-runtime-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_agentSchedulerId": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_agentSchedulerId(): + TypeOnly; +declare function use_current_VariableDeclaration_agentSchedulerId( + use: TypeOnly); +use_current_VariableDeclaration_agentSchedulerId( + get_old_VariableDeclaration_agentSchedulerId()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_agentSchedulerId": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_agentSchedulerId(): + TypeOnly; +declare function use_old_VariableDeclaration_agentSchedulerId( + use: TypeOnly); +use_old_VariableDeclaration_agentSchedulerId( + get_current_VariableDeclaration_agentSchedulerId()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ContainerMessageType": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_ContainerMessageType(): + TypeOnly; +declare function use_current_EnumDeclaration_ContainerMessageType( + use: TypeOnly); +use_current_EnumDeclaration_ContainerMessageType( + get_old_EnumDeclaration_ContainerMessageType()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_ContainerMessageType": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_ContainerMessageType(): + TypeOnly; +declare function use_old_EnumDeclaration_ContainerMessageType( + use: TypeOnly); +use_old_EnumDeclaration_ContainerMessageType( + get_current_EnumDeclaration_ContainerMessageType()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ContainerRuntime": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ContainerRuntime(): + TypeOnly; +declare function use_current_ClassDeclaration_ContainerRuntime( + use: TypeOnly); +use_current_ClassDeclaration_ContainerRuntime( + get_old_ClassDeclaration_ContainerRuntime()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ContainerRuntime": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ContainerRuntime(): + TypeOnly; +declare function use_old_ClassDeclaration_ContainerRuntime( + use: TypeOnly); +use_old_ClassDeclaration_ContainerRuntime( + get_current_ClassDeclaration_ContainerRuntime()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ContainerRuntimeMessage": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ContainerRuntimeMessage(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ContainerRuntimeMessage( + use: TypeOnly); +use_current_InterfaceDeclaration_ContainerRuntimeMessage( + get_old_InterfaceDeclaration_ContainerRuntimeMessage()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ContainerRuntimeMessage": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ContainerRuntimeMessage(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ContainerRuntimeMessage( + use: TypeOnly); +use_old_InterfaceDeclaration_ContainerRuntimeMessage( + get_current_InterfaceDeclaration_ContainerRuntimeMessage()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DeltaScheduler": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DeltaScheduler(): + TypeOnly; +declare function use_current_ClassDeclaration_DeltaScheduler( + use: TypeOnly); +use_current_ClassDeclaration_DeltaScheduler( + get_old_ClassDeclaration_DeltaScheduler()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DeltaScheduler": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DeltaScheduler(): + TypeOnly; +declare function use_old_ClassDeclaration_DeltaScheduler( + use: TypeOnly); +use_old_ClassDeclaration_DeltaScheduler( + get_current_ClassDeclaration_DeltaScheduler()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_EnqueueSummarizeResult": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_EnqueueSummarizeResult(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_EnqueueSummarizeResult( + use: TypeOnly); +use_current_TypeAliasDeclaration_EnqueueSummarizeResult( + get_old_TypeAliasDeclaration_EnqueueSummarizeResult()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_EnqueueSummarizeResult": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_EnqueueSummarizeResult(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_EnqueueSummarizeResult( + use: TypeOnly); +use_old_TypeAliasDeclaration_EnqueueSummarizeResult( + get_current_TypeAliasDeclaration_EnqueueSummarizeResult()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FluidDataStoreRegistry": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_FluidDataStoreRegistry(): + TypeOnly; +declare function use_current_ClassDeclaration_FluidDataStoreRegistry( + use: TypeOnly); +use_current_ClassDeclaration_FluidDataStoreRegistry( + get_old_ClassDeclaration_FluidDataStoreRegistry()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FluidDataStoreRegistry": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_FluidDataStoreRegistry(): + TypeOnly; +declare function use_old_ClassDeclaration_FluidDataStoreRegistry( + use: TypeOnly); +use_old_ClassDeclaration_FluidDataStoreRegistry( + get_current_ClassDeclaration_FluidDataStoreRegistry()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_gcBlobPrefix": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_gcBlobPrefix(): + TypeOnly; +declare function use_current_VariableDeclaration_gcBlobPrefix( + use: TypeOnly); +use_current_VariableDeclaration_gcBlobPrefix( + get_old_VariableDeclaration_gcBlobPrefix()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_gcBlobPrefix": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_gcBlobPrefix(): + TypeOnly; +declare function use_old_VariableDeclaration_gcBlobPrefix( + use: TypeOnly); +use_old_VariableDeclaration_gcBlobPrefix( + get_current_VariableDeclaration_gcBlobPrefix()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_gcTreeKey": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_gcTreeKey(): + TypeOnly; +declare function use_current_VariableDeclaration_gcTreeKey( + use: TypeOnly); +use_current_VariableDeclaration_gcTreeKey( + get_old_VariableDeclaration_gcTreeKey()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_gcTreeKey": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_gcTreeKey(): + TypeOnly; +declare function use_old_VariableDeclaration_gcTreeKey( + use: TypeOnly); +use_old_VariableDeclaration_gcTreeKey( + get_current_VariableDeclaration_gcTreeKey()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IAckedSummary": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IAckedSummary(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IAckedSummary( + use: TypeOnly); +use_current_InterfaceDeclaration_IAckedSummary( + get_old_InterfaceDeclaration_IAckedSummary()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IAckedSummary": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IAckedSummary(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IAckedSummary( + use: TypeOnly); +use_old_InterfaceDeclaration_IAckedSummary( + get_current_InterfaceDeclaration_IAckedSummary()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IAckSummaryResult": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IAckSummaryResult(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IAckSummaryResult( + use: TypeOnly); +use_current_InterfaceDeclaration_IAckSummaryResult( + get_old_InterfaceDeclaration_IAckSummaryResult()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IAckSummaryResult": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IAckSummaryResult(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IAckSummaryResult( + use: TypeOnly); +use_old_InterfaceDeclaration_IAckSummaryResult( + get_current_InterfaceDeclaration_IAckSummaryResult()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IBaseSummarizeResult": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IBaseSummarizeResult(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IBaseSummarizeResult( + use: TypeOnly); +use_current_InterfaceDeclaration_IBaseSummarizeResult( + get_old_InterfaceDeclaration_IBaseSummarizeResult()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IBaseSummarizeResult": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IBaseSummarizeResult(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IBaseSummarizeResult( + use: TypeOnly); +use_old_InterfaceDeclaration_IBaseSummarizeResult( + get_current_InterfaceDeclaration_IBaseSummarizeResult()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IBroadcastSummaryResult": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IBroadcastSummaryResult(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IBroadcastSummaryResult( + use: TypeOnly); +use_current_InterfaceDeclaration_IBroadcastSummaryResult( + get_old_InterfaceDeclaration_IBroadcastSummaryResult()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IBroadcastSummaryResult": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IBroadcastSummaryResult(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IBroadcastSummaryResult( + use: TypeOnly); +use_old_InterfaceDeclaration_IBroadcastSummaryResult( + get_current_InterfaceDeclaration_IBroadcastSummaryResult()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ICancellableSummarizerController": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ICancellableSummarizerController(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ICancellableSummarizerController( + use: TypeOnly); +use_current_InterfaceDeclaration_ICancellableSummarizerController( + get_old_InterfaceDeclaration_ICancellableSummarizerController()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ICancellableSummarizerController": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ICancellableSummarizerController(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ICancellableSummarizerController( + use: TypeOnly); +use_old_InterfaceDeclaration_ICancellableSummarizerController( + get_current_InterfaceDeclaration_ICancellableSummarizerController()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ICancellationToken": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ICancellationToken(): + TypeOnly>; +declare function use_current_InterfaceDeclaration_ICancellationToken( + use: TypeOnly>); +use_current_InterfaceDeclaration_ICancellationToken( + get_old_InterfaceDeclaration_ICancellationToken()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ICancellationToken": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ICancellationToken(): + TypeOnly>; +declare function use_old_InterfaceDeclaration_ICancellationToken( + use: TypeOnly>); +use_old_InterfaceDeclaration_ICancellationToken( + get_current_InterfaceDeclaration_ICancellationToken()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IChunkedOp": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IChunkedOp(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IChunkedOp( + use: TypeOnly); +use_current_InterfaceDeclaration_IChunkedOp( + get_old_InterfaceDeclaration_IChunkedOp()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IChunkedOp": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IChunkedOp(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IChunkedOp( + use: TypeOnly); +use_old_InterfaceDeclaration_IChunkedOp( + get_current_InterfaceDeclaration_IChunkedOp()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IClientSummaryWatcher": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IClientSummaryWatcher(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IClientSummaryWatcher( + use: TypeOnly); +use_current_InterfaceDeclaration_IClientSummaryWatcher( + get_old_InterfaceDeclaration_IClientSummaryWatcher()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IClientSummaryWatcher": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IClientSummaryWatcher(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IClientSummaryWatcher( + use: TypeOnly); +use_old_InterfaceDeclaration_IClientSummaryWatcher( + get_current_InterfaceDeclaration_IClientSummaryWatcher()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConnectableRuntime": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IConnectableRuntime(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IConnectableRuntime( + use: TypeOnly); +use_current_InterfaceDeclaration_IConnectableRuntime( + get_old_InterfaceDeclaration_IConnectableRuntime()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConnectableRuntime": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IConnectableRuntime(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IConnectableRuntime( + use: TypeOnly); +use_old_InterfaceDeclaration_IConnectableRuntime( + get_current_InterfaceDeclaration_IConnectableRuntime()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IContainerRuntimeOptions": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IContainerRuntimeOptions(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IContainerRuntimeOptions( + use: TypeOnly); +use_current_InterfaceDeclaration_IContainerRuntimeOptions( + get_old_InterfaceDeclaration_IContainerRuntimeOptions()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IContainerRuntimeOptions": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IContainerRuntimeOptions(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IContainerRuntimeOptions( + use: TypeOnly); +use_old_InterfaceDeclaration_IContainerRuntimeOptions( + get_current_InterfaceDeclaration_IContainerRuntimeOptions()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IEnqueueSummarizeOptions": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IEnqueueSummarizeOptions(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IEnqueueSummarizeOptions( + use: TypeOnly); +use_current_InterfaceDeclaration_IEnqueueSummarizeOptions( + get_old_InterfaceDeclaration_IEnqueueSummarizeOptions()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IEnqueueSummarizeOptions": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IEnqueueSummarizeOptions(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IEnqueueSummarizeOptions( + use: TypeOnly); +use_old_InterfaceDeclaration_IEnqueueSummarizeOptions( + get_current_InterfaceDeclaration_IEnqueueSummarizeOptions()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IGarbageCollectionRuntime": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IGarbageCollectionRuntime(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IGarbageCollectionRuntime( + use: TypeOnly); +use_current_InterfaceDeclaration_IGarbageCollectionRuntime( + get_old_InterfaceDeclaration_IGarbageCollectionRuntime()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IGarbageCollectionRuntime": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IGarbageCollectionRuntime(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IGarbageCollectionRuntime( + use: TypeOnly); +use_old_InterfaceDeclaration_IGarbageCollectionRuntime( + get_current_InterfaceDeclaration_IGarbageCollectionRuntime()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IGCRuntimeOptions": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IGCRuntimeOptions(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IGCRuntimeOptions( + use: TypeOnly); +use_current_InterfaceDeclaration_IGCRuntimeOptions( + get_old_InterfaceDeclaration_IGCRuntimeOptions()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IGCRuntimeOptions": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IGCRuntimeOptions(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IGCRuntimeOptions( + use: TypeOnly); +use_old_InterfaceDeclaration_IGCRuntimeOptions( + get_current_InterfaceDeclaration_IGCRuntimeOptions()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IGCStats": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IGCStats(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IGCStats( + use: TypeOnly); +use_current_InterfaceDeclaration_IGCStats( + get_old_InterfaceDeclaration_IGCStats()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IGCStats": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IGCStats(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IGCStats( + use: TypeOnly); +use_old_InterfaceDeclaration_IGCStats( + get_current_InterfaceDeclaration_IGCStats()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IGeneratedSummaryStats": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IGeneratedSummaryStats(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IGeneratedSummaryStats( + use: TypeOnly); +use_current_InterfaceDeclaration_IGeneratedSummaryStats( + get_old_InterfaceDeclaration_IGeneratedSummaryStats()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IGeneratedSummaryStats": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IGeneratedSummaryStats(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IGeneratedSummaryStats( + use: TypeOnly); +use_old_InterfaceDeclaration_IGeneratedSummaryStats( + get_current_InterfaceDeclaration_IGeneratedSummaryStats()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IGenerateSummaryTreeResult": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IGenerateSummaryTreeResult(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IGenerateSummaryTreeResult( + use: TypeOnly); +use_current_InterfaceDeclaration_IGenerateSummaryTreeResult( + get_old_InterfaceDeclaration_IGenerateSummaryTreeResult()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IGenerateSummaryTreeResult": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IGenerateSummaryTreeResult(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IGenerateSummaryTreeResult( + use: TypeOnly); +use_old_InterfaceDeclaration_IGenerateSummaryTreeResult( + get_current_InterfaceDeclaration_IGenerateSummaryTreeResult()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_INackSummaryResult": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_INackSummaryResult(): + TypeOnly; +declare function use_current_InterfaceDeclaration_INackSummaryResult( + use: TypeOnly); +use_current_InterfaceDeclaration_INackSummaryResult( + get_old_InterfaceDeclaration_INackSummaryResult()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_INackSummaryResult": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_INackSummaryResult(): + TypeOnly; +declare function use_old_InterfaceDeclaration_INackSummaryResult( + use: TypeOnly); +use_old_InterfaceDeclaration_INackSummaryResult( + get_current_InterfaceDeclaration_INackSummaryResult()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOnDemandSummarizeOptions": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IOnDemandSummarizeOptions(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IOnDemandSummarizeOptions( + use: TypeOnly); +use_current_InterfaceDeclaration_IOnDemandSummarizeOptions( + get_old_InterfaceDeclaration_IOnDemandSummarizeOptions()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOnDemandSummarizeOptions": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IOnDemandSummarizeOptions(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IOnDemandSummarizeOptions( + use: TypeOnly); +use_old_InterfaceDeclaration_IOnDemandSummarizeOptions( + get_current_InterfaceDeclaration_IOnDemandSummarizeOptions()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IPendingFlush": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IPendingFlush(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IPendingFlush( + use: TypeOnly); +use_current_InterfaceDeclaration_IPendingFlush( + get_old_InterfaceDeclaration_IPendingFlush()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IPendingFlush": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IPendingFlush(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IPendingFlush( + use: TypeOnly); +use_old_InterfaceDeclaration_IPendingFlush( + get_current_InterfaceDeclaration_IPendingFlush()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IPendingFlushMode": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IPendingFlushMode(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IPendingFlushMode( + use: TypeOnly); +use_current_InterfaceDeclaration_IPendingFlushMode( + get_old_InterfaceDeclaration_IPendingFlushMode()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IPendingFlushMode": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IPendingFlushMode(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IPendingFlushMode( + use: TypeOnly); +use_old_InterfaceDeclaration_IPendingFlushMode( + get_current_InterfaceDeclaration_IPendingFlushMode()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IPendingLocalState": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IPendingLocalState(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IPendingLocalState( + use: TypeOnly); +use_current_InterfaceDeclaration_IPendingLocalState( + get_old_InterfaceDeclaration_IPendingLocalState()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IPendingLocalState": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IPendingLocalState(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IPendingLocalState( + use: TypeOnly); +use_old_InterfaceDeclaration_IPendingLocalState( + get_current_InterfaceDeclaration_IPendingLocalState()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IPendingMessage": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IPendingMessage(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IPendingMessage( + use: TypeOnly); +use_current_InterfaceDeclaration_IPendingMessage( + get_old_InterfaceDeclaration_IPendingMessage()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IPendingMessage": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IPendingMessage(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IPendingMessage( + use: TypeOnly); +use_old_InterfaceDeclaration_IPendingMessage( + get_current_InterfaceDeclaration_IPendingMessage()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_IPendingState": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_IPendingState(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_IPendingState( + use: TypeOnly); +use_current_TypeAliasDeclaration_IPendingState( + get_old_TypeAliasDeclaration_IPendingState()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_IPendingState": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_IPendingState(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_IPendingState( + use: TypeOnly); +use_old_TypeAliasDeclaration_IPendingState( + get_current_TypeAliasDeclaration_IPendingState()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IProvideSummarizer": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IProvideSummarizer(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IProvideSummarizer( + use: TypeOnly); +use_current_InterfaceDeclaration_IProvideSummarizer( + get_old_InterfaceDeclaration_IProvideSummarizer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IProvideSummarizer": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IProvideSummarizer(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IProvideSummarizer( + use: TypeOnly); +use_old_InterfaceDeclaration_IProvideSummarizer( + get_current_InterfaceDeclaration_IProvideSummarizer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IRootSummaryTreeWithStats": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IRootSummaryTreeWithStats(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IRootSummaryTreeWithStats( + use: TypeOnly); +use_current_InterfaceDeclaration_IRootSummaryTreeWithStats( + get_old_InterfaceDeclaration_IRootSummaryTreeWithStats()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IRootSummaryTreeWithStats": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IRootSummaryTreeWithStats(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IRootSummaryTreeWithStats( + use: TypeOnly); +use_old_InterfaceDeclaration_IRootSummaryTreeWithStats( + get_current_InterfaceDeclaration_IRootSummaryTreeWithStats()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isRuntimeMessage": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_isRuntimeMessage(): + TypeOnly; +declare function use_current_FunctionDeclaration_isRuntimeMessage( + use: TypeOnly); +use_current_FunctionDeclaration_isRuntimeMessage( + get_old_FunctionDeclaration_isRuntimeMessage()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isRuntimeMessage": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_isRuntimeMessage(): + TypeOnly; +declare function use_old_FunctionDeclaration_isRuntimeMessage( + use: TypeOnly); +use_old_FunctionDeclaration_isRuntimeMessage( + get_current_FunctionDeclaration_isRuntimeMessage()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISubmitSummaryOpResult": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISubmitSummaryOpResult(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISubmitSummaryOpResult( + use: TypeOnly); +use_current_InterfaceDeclaration_ISubmitSummaryOpResult( + get_old_InterfaceDeclaration_ISubmitSummaryOpResult()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISubmitSummaryOpResult": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISubmitSummaryOpResult(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISubmitSummaryOpResult( + use: TypeOnly); +use_old_InterfaceDeclaration_ISubmitSummaryOpResult( + get_current_InterfaceDeclaration_ISubmitSummaryOpResult()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISubmitSummaryOptions": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISubmitSummaryOptions(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISubmitSummaryOptions( + use: TypeOnly); +use_current_InterfaceDeclaration_ISubmitSummaryOptions( + get_old_InterfaceDeclaration_ISubmitSummaryOptions()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISubmitSummaryOptions": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISubmitSummaryOptions(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISubmitSummaryOptions( + use: TypeOnly); +use_old_InterfaceDeclaration_ISubmitSummaryOptions( + get_current_InterfaceDeclaration_ISubmitSummaryOptions()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizeOptions": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISummarizeOptions(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISummarizeOptions( + use: TypeOnly); +use_current_InterfaceDeclaration_ISummarizeOptions( + get_old_InterfaceDeclaration_ISummarizeOptions()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizeOptions": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISummarizeOptions(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISummarizeOptions( + use: TypeOnly); +use_old_InterfaceDeclaration_ISummarizeOptions( + get_current_InterfaceDeclaration_ISummarizeOptions()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_ISummarizer": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_ISummarizer(): + TypeOnly; +declare function use_current_VariableDeclaration_ISummarizer( + use: TypeOnly); +use_current_VariableDeclaration_ISummarizer( + get_old_VariableDeclaration_ISummarizer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_ISummarizer": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_ISummarizer(): + TypeOnly; +declare function use_old_VariableDeclaration_ISummarizer( + use: TypeOnly); +use_old_VariableDeclaration_ISummarizer( + get_current_VariableDeclaration_ISummarizer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizer": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISummarizer(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISummarizer( + use: TypeOnly); +use_current_InterfaceDeclaration_ISummarizer( + get_old_InterfaceDeclaration_ISummarizer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizer": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISummarizer(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISummarizer( + use: TypeOnly); +use_old_InterfaceDeclaration_ISummarizer( + get_current_InterfaceDeclaration_ISummarizer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizeResults": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISummarizeResults(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISummarizeResults( + use: TypeOnly); +use_current_InterfaceDeclaration_ISummarizeResults( + get_old_InterfaceDeclaration_ISummarizeResults()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizeResults": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISummarizeResults(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISummarizeResults( + use: TypeOnly); +use_old_InterfaceDeclaration_ISummarizeResults( + get_current_InterfaceDeclaration_ISummarizeResults()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizerEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISummarizerEvents(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISummarizerEvents( + use: TypeOnly); +use_current_InterfaceDeclaration_ISummarizerEvents( + get_old_InterfaceDeclaration_ISummarizerEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizerEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISummarizerEvents(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISummarizerEvents( + use: TypeOnly); +use_old_InterfaceDeclaration_ISummarizerEvents( + get_current_InterfaceDeclaration_ISummarizerEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizerInternalsProvider": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISummarizerInternalsProvider(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISummarizerInternalsProvider( + use: TypeOnly); +use_current_InterfaceDeclaration_ISummarizerInternalsProvider( + get_old_InterfaceDeclaration_ISummarizerInternalsProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizerInternalsProvider": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISummarizerInternalsProvider(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISummarizerInternalsProvider( + use: TypeOnly); +use_old_InterfaceDeclaration_ISummarizerInternalsProvider( + get_current_InterfaceDeclaration_ISummarizerInternalsProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizerOptions": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISummarizerOptions(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISummarizerOptions( + use: TypeOnly); +use_current_InterfaceDeclaration_ISummarizerOptions( + get_old_InterfaceDeclaration_ISummarizerOptions()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizerOptions": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISummarizerOptions(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISummarizerOptions( + use: TypeOnly); +use_old_InterfaceDeclaration_ISummarizerOptions( + get_current_InterfaceDeclaration_ISummarizerOptions()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizerRuntime": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISummarizerRuntime(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISummarizerRuntime( + use: TypeOnly); +use_current_InterfaceDeclaration_ISummarizerRuntime( + get_old_InterfaceDeclaration_ISummarizerRuntime()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizerRuntime": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISummarizerRuntime(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISummarizerRuntime( + use: TypeOnly); +use_old_InterfaceDeclaration_ISummarizerRuntime( + get_current_InterfaceDeclaration_ISummarizerRuntime()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizingWarning": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISummarizingWarning(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISummarizingWarning( + use: TypeOnly); +use_current_InterfaceDeclaration_ISummarizingWarning( + get_old_InterfaceDeclaration_ISummarizingWarning()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizingWarning": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISummarizingWarning(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISummarizingWarning( + use: TypeOnly); +use_old_InterfaceDeclaration_ISummarizingWarning( + get_current_InterfaceDeclaration_ISummarizingWarning()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummary": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISummary(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISummary( + use: TypeOnly); +use_current_InterfaceDeclaration_ISummary( + get_old_InterfaceDeclaration_ISummary()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummary": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISummary(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISummary( + use: TypeOnly); +use_old_InterfaceDeclaration_ISummary( + get_current_InterfaceDeclaration_ISummary()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummaryAckMessage": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISummaryAckMessage(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISummaryAckMessage( + use: TypeOnly); +use_current_InterfaceDeclaration_ISummaryAckMessage( + get_old_InterfaceDeclaration_ISummaryAckMessage()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummaryAckMessage": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISummaryAckMessage(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISummaryAckMessage( + use: TypeOnly); +use_old_InterfaceDeclaration_ISummaryAckMessage( + get_current_InterfaceDeclaration_ISummaryAckMessage()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ISummaryCancellationToken": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_ISummaryCancellationToken(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_ISummaryCancellationToken( + use: TypeOnly); +use_current_TypeAliasDeclaration_ISummaryCancellationToken( + get_old_TypeAliasDeclaration_ISummaryCancellationToken()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ISummaryCancellationToken": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_ISummaryCancellationToken(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_ISummaryCancellationToken( + use: TypeOnly); +use_old_TypeAliasDeclaration_ISummaryCancellationToken( + get_current_TypeAliasDeclaration_ISummaryCancellationToken()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummaryCollectionOpEvents": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISummaryCollectionOpEvents(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISummaryCollectionOpEvents( + use: TypeOnly); +use_current_InterfaceDeclaration_ISummaryCollectionOpEvents( + get_old_InterfaceDeclaration_ISummaryCollectionOpEvents()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummaryCollectionOpEvents": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISummaryCollectionOpEvents(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISummaryCollectionOpEvents( + use: TypeOnly); +use_old_InterfaceDeclaration_ISummaryCollectionOpEvents( + get_current_InterfaceDeclaration_ISummaryCollectionOpEvents()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummaryNackMessage": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISummaryNackMessage(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISummaryNackMessage( + use: TypeOnly); +use_current_InterfaceDeclaration_ISummaryNackMessage( + get_old_InterfaceDeclaration_ISummaryNackMessage()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummaryNackMessage": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISummaryNackMessage(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISummaryNackMessage( + use: TypeOnly); +use_old_InterfaceDeclaration_ISummaryNackMessage( + get_current_InterfaceDeclaration_ISummaryNackMessage()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummaryOpMessage": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISummaryOpMessage(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISummaryOpMessage( + use: TypeOnly); +use_current_InterfaceDeclaration_ISummaryOpMessage( + get_old_InterfaceDeclaration_ISummaryOpMessage()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummaryOpMessage": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISummaryOpMessage(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISummaryOpMessage( + use: TypeOnly); +use_old_InterfaceDeclaration_ISummaryOpMessage( + get_current_InterfaceDeclaration_ISummaryOpMessage()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummaryRuntimeOptions": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISummaryRuntimeOptions(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISummaryRuntimeOptions( + use: TypeOnly); +use_current_InterfaceDeclaration_ISummaryRuntimeOptions( + get_old_InterfaceDeclaration_ISummaryRuntimeOptions()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummaryRuntimeOptions": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISummaryRuntimeOptions(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISummaryRuntimeOptions( + use: TypeOnly); +use_old_InterfaceDeclaration_ISummaryRuntimeOptions( + get_current_InterfaceDeclaration_ISummaryRuntimeOptions()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IUploadSummaryResult": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IUploadSummaryResult(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IUploadSummaryResult( + use: TypeOnly); +use_current_InterfaceDeclaration_IUploadSummaryResult( + get_old_InterfaceDeclaration_IUploadSummaryResult()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IUploadSummaryResult": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IUploadSummaryResult(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IUploadSummaryResult( + use: TypeOnly); +use_old_InterfaceDeclaration_IUploadSummaryResult( + get_current_InterfaceDeclaration_IUploadSummaryResult()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_neverCancelledSummaryToken": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_neverCancelledSummaryToken(): + TypeOnly; +declare function use_current_VariableDeclaration_neverCancelledSummaryToken( + use: TypeOnly); +use_current_VariableDeclaration_neverCancelledSummaryToken( + get_old_VariableDeclaration_neverCancelledSummaryToken()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_neverCancelledSummaryToken": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_neverCancelledSummaryToken(): + TypeOnly; +declare function use_old_VariableDeclaration_neverCancelledSummaryToken( + use: TypeOnly); +use_old_VariableDeclaration_neverCancelledSummaryToken( + get_current_VariableDeclaration_neverCancelledSummaryToken()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_OpActionEventListener": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_OpActionEventListener(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_OpActionEventListener( + use: TypeOnly); +use_current_TypeAliasDeclaration_OpActionEventListener( + get_old_TypeAliasDeclaration_OpActionEventListener()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_OpActionEventListener": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_OpActionEventListener(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_OpActionEventListener( + use: TypeOnly); +use_old_TypeAliasDeclaration_OpActionEventListener( + get_current_TypeAliasDeclaration_OpActionEventListener()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_OpActionEventName": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_OpActionEventName(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_OpActionEventName( + use: TypeOnly); +use_current_TypeAliasDeclaration_OpActionEventName( + get_old_TypeAliasDeclaration_OpActionEventName()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_OpActionEventName": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_OpActionEventName(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_OpActionEventName( + use: TypeOnly); +use_old_TypeAliasDeclaration_OpActionEventName( + get_current_TypeAliasDeclaration_OpActionEventName()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_RuntimeHeaders": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_RuntimeHeaders(): + TypeOnly; +declare function use_current_EnumDeclaration_RuntimeHeaders( + use: TypeOnly); +use_current_EnumDeclaration_RuntimeHeaders( + get_old_EnumDeclaration_RuntimeHeaders()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_RuntimeHeaders": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_RuntimeHeaders(): + TypeOnly; +declare function use_old_EnumDeclaration_RuntimeHeaders( + use: TypeOnly); +use_old_EnumDeclaration_RuntimeHeaders( + get_current_EnumDeclaration_RuntimeHeaders()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_RuntimeMessage": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_RuntimeMessage(): + TypeOnly; +declare function use_current_EnumDeclaration_RuntimeMessage( + use: TypeOnly); +use_current_EnumDeclaration_RuntimeMessage( + get_old_EnumDeclaration_RuntimeMessage()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_RuntimeMessage": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_RuntimeMessage(): + TypeOnly; +declare function use_old_EnumDeclaration_RuntimeMessage( + use: TypeOnly); +use_old_EnumDeclaration_RuntimeMessage( + get_current_EnumDeclaration_RuntimeMessage()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ScheduleManager": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ScheduleManager(): + TypeOnly; +declare function use_current_ClassDeclaration_ScheduleManager( + use: TypeOnly); +use_current_ClassDeclaration_ScheduleManager( + get_old_ClassDeclaration_ScheduleManager()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ScheduleManager": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ScheduleManager(): + TypeOnly; +declare function use_old_ClassDeclaration_ScheduleManager( + use: TypeOnly); +use_old_ClassDeclaration_ScheduleManager( + get_current_ClassDeclaration_ScheduleManager()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_SubmitSummaryResult": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_SubmitSummaryResult(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_SubmitSummaryResult( + use: TypeOnly); +use_current_TypeAliasDeclaration_SubmitSummaryResult( + get_old_TypeAliasDeclaration_SubmitSummaryResult()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_SubmitSummaryResult": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_SubmitSummaryResult(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_SubmitSummaryResult( + use: TypeOnly); +use_old_TypeAliasDeclaration_SubmitSummaryResult( + get_current_TypeAliasDeclaration_SubmitSummaryResult()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_Summarizer": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_Summarizer(): + TypeOnly; +declare function use_current_ClassDeclaration_Summarizer( + use: TypeOnly); +use_current_ClassDeclaration_Summarizer( + get_old_ClassDeclaration_Summarizer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_Summarizer": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_Summarizer(): + TypeOnly; +declare function use_old_ClassDeclaration_Summarizer( + use: TypeOnly); +use_old_ClassDeclaration_Summarizer( + get_current_ClassDeclaration_Summarizer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_SummarizeResultPart": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_SummarizeResultPart(): + TypeOnly>; +declare function use_current_TypeAliasDeclaration_SummarizeResultPart( + use: TypeOnly>); +use_current_TypeAliasDeclaration_SummarizeResultPart( + get_old_TypeAliasDeclaration_SummarizeResultPart()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_SummarizeResultPart": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_SummarizeResultPart(): + TypeOnly>; +declare function use_old_TypeAliasDeclaration_SummarizeResultPart( + use: TypeOnly>); +use_old_TypeAliasDeclaration_SummarizeResultPart( + get_current_TypeAliasDeclaration_SummarizeResultPart()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_SummarizerStopReason": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_SummarizerStopReason(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_SummarizerStopReason( + use: TypeOnly); +use_current_TypeAliasDeclaration_SummarizerStopReason( + get_old_TypeAliasDeclaration_SummarizerStopReason()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_SummarizerStopReason": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_SummarizerStopReason(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_SummarizerStopReason( + use: TypeOnly); +use_old_TypeAliasDeclaration_SummarizerStopReason( + get_current_TypeAliasDeclaration_SummarizerStopReason()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SummaryCollection": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SummaryCollection(): + TypeOnly; +declare function use_current_ClassDeclaration_SummaryCollection( + use: TypeOnly); +use_current_ClassDeclaration_SummaryCollection( + get_old_ClassDeclaration_SummaryCollection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SummaryCollection": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SummaryCollection(): + TypeOnly; +declare function use_old_ClassDeclaration_SummaryCollection( + use: TypeOnly); +use_old_ClassDeclaration_SummaryCollection( + get_current_ClassDeclaration_SummaryCollection()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_unpackRuntimeMessage": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_unpackRuntimeMessage(): + TypeOnly; +declare function use_current_FunctionDeclaration_unpackRuntimeMessage( + use: TypeOnly); +use_current_FunctionDeclaration_unpackRuntimeMessage( + get_old_FunctionDeclaration_unpackRuntimeMessage()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_unpackRuntimeMessage": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_unpackRuntimeMessage(): + TypeOnly; +declare function use_old_FunctionDeclaration_unpackRuntimeMessage( + use: TypeOnly); +use_old_FunctionDeclaration_unpackRuntimeMessage( + get_current_FunctionDeclaration_unpackRuntimeMessage()); diff --git a/packages/runtime/datastore-definitions/package.json b/packages/runtime/datastore-definitions/package.json index 4ade3620f15b..713d61c61b70 100644 --- a/packages/runtime/datastore-definitions/package.json +++ b/packages/runtime/datastore-definitions/package.json @@ -14,15 +14,11 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { - "build": "npm run build:gen && concurrently npm:build:compile npm:lint && npm run build:docs", + "build": "concurrently npm:build:compile npm:lint && npm run build:docs", "build:compile": "npm run tsc && npm run build:test", "build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", "build:full": "npm run build", "build:full:compile": "npm run build:compile", - "build:gen": "npm run build:gen:typetests", - "build:gen:bump": "npm run build:gen:typetests:prepare", - "build:gen:typetests": "fluid-type-validator -d .", - "build:gen:typetests:prepare": "fluid-type-validator -d . -p", "build:test": "tsc --project ./src/test/tsconfig.json", "ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/", "clean": "rimraf dist *.tsbuildinfo *.build.log", @@ -45,15 +41,7 @@ }, "devDependencies": { "@fluidframework/build-common": "^0.23.0", - "@fluidframework/build-tools": "^0.2.58041", - "@fluidframework/datastore-definitions-0.51.1": "npm:@fluidframework/datastore-definitions@0.51.1", - "@fluidframework/datastore-definitions-0.52.0": "npm:@fluidframework/datastore-definitions@0.52.0", - "@fluidframework/datastore-definitions-0.53.0": "npm:@fluidframework/datastore-definitions@0.53.0", - "@fluidframework/datastore-definitions-0.54.0": "npm:@fluidframework/datastore-definitions@0.54.0", - "@fluidframework/datastore-definitions-0.55.0": "npm:@fluidframework/datastore-definitions@0.55.0", - "@fluidframework/datastore-definitions-0.56.0": "npm:@fluidframework/datastore-definitions@0.56.0", - "@fluidframework/datastore-definitions-0.57.0": "npm:@fluidframework/datastore-definitions@0.57.0", - "@fluidframework/datastore-definitions-0.58.1000": "npm:@fluidframework/datastore-definitions@0.58.1000", + "@fluidframework/datastore-definitions-previous": "npm:@fluidframework/datastore-definitions@0.58.2000", "@fluidframework/eslint-config-fluid": "^0.27.0", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", @@ -74,103 +62,6 @@ }, "typeValidation": { "version": "0.58.3000", - "broken": { - "0.51.1": { - "InterfaceDeclaration_IChannel": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IChannelFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreRuntime": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.52.0": { - "InterfaceDeclaration_IChannel": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IChannelFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreRuntime": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.53.0": { - "InterfaceDeclaration_IChannel": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IChannelFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreRuntime": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.54.0": { - "InterfaceDeclaration_IChannel": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IChannelFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IChannelServices": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IDeltaConnection": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreRuntime": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.55.0": { - "InterfaceDeclaration_IChannel": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IChannelFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IChannelServices": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IDeltaConnection": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreRuntime": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.56.0": { - "InterfaceDeclaration_IChannelFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreRuntime": { - "backCompat": false, - "forwardCompat": false - } - } - } + "broken": {} } } \ No newline at end of file diff --git a/packages/runtime/datastore-definitions/src/test/types/validate0.51.1.ts b/packages/runtime/datastore-definitions/src/test/types/validate0.51.1.ts deleted file mode 100644 index 989ae3798e3d..000000000000 --- a/packages/runtime/datastore-definitions/src/test/types/validate0.51.1.ts +++ /dev/null @@ -1,280 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/datastore-definitions-0.51.1"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IChannel": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannel(): - old.IChannel; -declare function use_current_InterfaceDeclaration_IChannel( - use: current.IChannel); -use_current_InterfaceDeclaration_IChannel( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IChannel()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IChannel": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannel(): - current.IChannel; -declare function use_old_InterfaceDeclaration_IChannel( - use: old.IChannel); -use_old_InterfaceDeclaration_IChannel( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IChannel()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IChannelAttributes": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelAttributes(): - old.IChannelAttributes; -declare function use_current_InterfaceDeclaration_IChannelAttributes( - use: current.IChannelAttributes); -use_current_InterfaceDeclaration_IChannelAttributes( - get_old_InterfaceDeclaration_IChannelAttributes()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IChannelAttributes": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelAttributes(): - current.IChannelAttributes; -declare function use_old_InterfaceDeclaration_IChannelAttributes( - use: old.IChannelAttributes); -use_old_InterfaceDeclaration_IChannelAttributes( - get_current_InterfaceDeclaration_IChannelAttributes()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IChannelFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelFactory(): - old.IChannelFactory; -declare function use_current_InterfaceDeclaration_IChannelFactory( - use: current.IChannelFactory); -use_current_InterfaceDeclaration_IChannelFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IChannelFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IChannelFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelFactory(): - current.IChannelFactory; -declare function use_old_InterfaceDeclaration_IChannelFactory( - use: old.IChannelFactory); -use_old_InterfaceDeclaration_IChannelFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IChannelFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IChannelServices": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelServices(): - old.IChannelServices; -declare function use_current_InterfaceDeclaration_IChannelServices( - use: current.IChannelServices); -use_current_InterfaceDeclaration_IChannelServices( - get_old_InterfaceDeclaration_IChannelServices()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IChannelServices": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelServices(): - current.IChannelServices; -declare function use_old_InterfaceDeclaration_IChannelServices( - use: old.IChannelServices); -use_old_InterfaceDeclaration_IChannelServices( - get_current_InterfaceDeclaration_IChannelServices()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IChannelStorageService": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelStorageService(): - old.IChannelStorageService; -declare function use_current_InterfaceDeclaration_IChannelStorageService( - use: current.IChannelStorageService); -use_current_InterfaceDeclaration_IChannelStorageService( - get_old_InterfaceDeclaration_IChannelStorageService()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IChannelStorageService": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelStorageService(): - current.IChannelStorageService; -declare function use_old_InterfaceDeclaration_IChannelStorageService( - use: old.IChannelStorageService); -use_old_InterfaceDeclaration_IChannelStorageService( - get_current_InterfaceDeclaration_IChannelStorageService()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IDeltaConnection": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IDeltaConnection(): - old.IDeltaConnection; -declare function use_current_InterfaceDeclaration_IDeltaConnection( - use: current.IDeltaConnection); -use_current_InterfaceDeclaration_IDeltaConnection( - get_old_InterfaceDeclaration_IDeltaConnection()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IDeltaConnection": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IDeltaConnection(): - current.IDeltaConnection; -declare function use_old_InterfaceDeclaration_IDeltaConnection( - use: old.IDeltaConnection); -use_old_InterfaceDeclaration_IDeltaConnection( - get_current_InterfaceDeclaration_IDeltaConnection()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IDeltaHandler": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IDeltaHandler(): - old.IDeltaHandler; -declare function use_current_InterfaceDeclaration_IDeltaHandler( - use: current.IDeltaHandler); -use_current_InterfaceDeclaration_IDeltaHandler( - get_old_InterfaceDeclaration_IDeltaHandler()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IDeltaHandler": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IDeltaHandler(): - current.IDeltaHandler; -declare function use_old_InterfaceDeclaration_IDeltaHandler( - use: old.IDeltaHandler); -use_old_InterfaceDeclaration_IDeltaHandler( - get_current_InterfaceDeclaration_IDeltaHandler()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IFluidDataStoreRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRuntime(): - old.IFluidDataStoreRuntime; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRuntime( - use: current.IFluidDataStoreRuntime); -use_current_InterfaceDeclaration_IFluidDataStoreRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IFluidDataStoreRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRuntime(): - current.IFluidDataStoreRuntime; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRuntime( - use: old.IFluidDataStoreRuntime); -use_old_InterfaceDeclaration_IFluidDataStoreRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IFluidDataStoreRuntimeEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents(): - old.IFluidDataStoreRuntimeEvents; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - use: current.IFluidDataStoreRuntimeEvents); -use_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - get_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IFluidDataStoreRuntimeEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents(): - current.IFluidDataStoreRuntimeEvents; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - use: old.IFluidDataStoreRuntimeEvents); -use_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - get_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_Jsonable": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_Jsonable(): - old.Jsonable; -declare function use_current_TypeAliasDeclaration_Jsonable( - use: current.Jsonable); -use_current_TypeAliasDeclaration_Jsonable( - get_old_TypeAliasDeclaration_Jsonable()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_Jsonable": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_Jsonable(): - current.Jsonable; -declare function use_old_TypeAliasDeclaration_Jsonable( - use: old.Jsonable); -use_old_TypeAliasDeclaration_Jsonable( - get_current_TypeAliasDeclaration_Jsonable()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_Serializable": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_Serializable(): - old.Serializable; -declare function use_current_TypeAliasDeclaration_Serializable( - use: current.Serializable); -use_current_TypeAliasDeclaration_Serializable( - get_old_TypeAliasDeclaration_Serializable()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_Serializable": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_Serializable(): - current.Serializable; -declare function use_old_TypeAliasDeclaration_Serializable( - use: old.Serializable); -use_old_TypeAliasDeclaration_Serializable( - get_current_TypeAliasDeclaration_Serializable()); diff --git a/packages/runtime/datastore-definitions/src/test/types/validate0.52.0.ts b/packages/runtime/datastore-definitions/src/test/types/validate0.52.0.ts deleted file mode 100644 index b76e174fef2c..000000000000 --- a/packages/runtime/datastore-definitions/src/test/types/validate0.52.0.ts +++ /dev/null @@ -1,280 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/datastore-definitions-0.52.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IChannel": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannel(): - old.IChannel; -declare function use_current_InterfaceDeclaration_IChannel( - use: current.IChannel); -use_current_InterfaceDeclaration_IChannel( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IChannel()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IChannel": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannel(): - current.IChannel; -declare function use_old_InterfaceDeclaration_IChannel( - use: old.IChannel); -use_old_InterfaceDeclaration_IChannel( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IChannel()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IChannelAttributes": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelAttributes(): - old.IChannelAttributes; -declare function use_current_InterfaceDeclaration_IChannelAttributes( - use: current.IChannelAttributes); -use_current_InterfaceDeclaration_IChannelAttributes( - get_old_InterfaceDeclaration_IChannelAttributes()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IChannelAttributes": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelAttributes(): - current.IChannelAttributes; -declare function use_old_InterfaceDeclaration_IChannelAttributes( - use: old.IChannelAttributes); -use_old_InterfaceDeclaration_IChannelAttributes( - get_current_InterfaceDeclaration_IChannelAttributes()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IChannelFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelFactory(): - old.IChannelFactory; -declare function use_current_InterfaceDeclaration_IChannelFactory( - use: current.IChannelFactory); -use_current_InterfaceDeclaration_IChannelFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IChannelFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IChannelFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelFactory(): - current.IChannelFactory; -declare function use_old_InterfaceDeclaration_IChannelFactory( - use: old.IChannelFactory); -use_old_InterfaceDeclaration_IChannelFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IChannelFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IChannelServices": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelServices(): - old.IChannelServices; -declare function use_current_InterfaceDeclaration_IChannelServices( - use: current.IChannelServices); -use_current_InterfaceDeclaration_IChannelServices( - get_old_InterfaceDeclaration_IChannelServices()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IChannelServices": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelServices(): - current.IChannelServices; -declare function use_old_InterfaceDeclaration_IChannelServices( - use: old.IChannelServices); -use_old_InterfaceDeclaration_IChannelServices( - get_current_InterfaceDeclaration_IChannelServices()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IChannelStorageService": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelStorageService(): - old.IChannelStorageService; -declare function use_current_InterfaceDeclaration_IChannelStorageService( - use: current.IChannelStorageService); -use_current_InterfaceDeclaration_IChannelStorageService( - get_old_InterfaceDeclaration_IChannelStorageService()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IChannelStorageService": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelStorageService(): - current.IChannelStorageService; -declare function use_old_InterfaceDeclaration_IChannelStorageService( - use: old.IChannelStorageService); -use_old_InterfaceDeclaration_IChannelStorageService( - get_current_InterfaceDeclaration_IChannelStorageService()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IDeltaConnection": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IDeltaConnection(): - old.IDeltaConnection; -declare function use_current_InterfaceDeclaration_IDeltaConnection( - use: current.IDeltaConnection); -use_current_InterfaceDeclaration_IDeltaConnection( - get_old_InterfaceDeclaration_IDeltaConnection()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IDeltaConnection": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IDeltaConnection(): - current.IDeltaConnection; -declare function use_old_InterfaceDeclaration_IDeltaConnection( - use: old.IDeltaConnection); -use_old_InterfaceDeclaration_IDeltaConnection( - get_current_InterfaceDeclaration_IDeltaConnection()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IDeltaHandler": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IDeltaHandler(): - old.IDeltaHandler; -declare function use_current_InterfaceDeclaration_IDeltaHandler( - use: current.IDeltaHandler); -use_current_InterfaceDeclaration_IDeltaHandler( - get_old_InterfaceDeclaration_IDeltaHandler()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IDeltaHandler": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IDeltaHandler(): - current.IDeltaHandler; -declare function use_old_InterfaceDeclaration_IDeltaHandler( - use: old.IDeltaHandler); -use_old_InterfaceDeclaration_IDeltaHandler( - get_current_InterfaceDeclaration_IDeltaHandler()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IFluidDataStoreRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRuntime(): - old.IFluidDataStoreRuntime; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRuntime( - use: current.IFluidDataStoreRuntime); -use_current_InterfaceDeclaration_IFluidDataStoreRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IFluidDataStoreRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRuntime(): - current.IFluidDataStoreRuntime; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRuntime( - use: old.IFluidDataStoreRuntime); -use_old_InterfaceDeclaration_IFluidDataStoreRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IFluidDataStoreRuntimeEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents(): - old.IFluidDataStoreRuntimeEvents; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - use: current.IFluidDataStoreRuntimeEvents); -use_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - get_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IFluidDataStoreRuntimeEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents(): - current.IFluidDataStoreRuntimeEvents; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - use: old.IFluidDataStoreRuntimeEvents); -use_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - get_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_Jsonable": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_Jsonable(): - old.Jsonable; -declare function use_current_TypeAliasDeclaration_Jsonable( - use: current.Jsonable); -use_current_TypeAliasDeclaration_Jsonable( - get_old_TypeAliasDeclaration_Jsonable()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_Jsonable": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_Jsonable(): - current.Jsonable; -declare function use_old_TypeAliasDeclaration_Jsonable( - use: old.Jsonable); -use_old_TypeAliasDeclaration_Jsonable( - get_current_TypeAliasDeclaration_Jsonable()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_Serializable": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_Serializable(): - old.Serializable; -declare function use_current_TypeAliasDeclaration_Serializable( - use: current.Serializable); -use_current_TypeAliasDeclaration_Serializable( - get_old_TypeAliasDeclaration_Serializable()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_Serializable": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_Serializable(): - current.Serializable; -declare function use_old_TypeAliasDeclaration_Serializable( - use: old.Serializable); -use_old_TypeAliasDeclaration_Serializable( - get_current_TypeAliasDeclaration_Serializable()); diff --git a/packages/runtime/datastore-definitions/src/test/types/validate0.53.0.ts b/packages/runtime/datastore-definitions/src/test/types/validate0.53.0.ts deleted file mode 100644 index c574f7e555f8..000000000000 --- a/packages/runtime/datastore-definitions/src/test/types/validate0.53.0.ts +++ /dev/null @@ -1,280 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/datastore-definitions-0.53.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IChannel": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannel(): - old.IChannel; -declare function use_current_InterfaceDeclaration_IChannel( - use: current.IChannel); -use_current_InterfaceDeclaration_IChannel( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IChannel()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IChannel": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannel(): - current.IChannel; -declare function use_old_InterfaceDeclaration_IChannel( - use: old.IChannel); -use_old_InterfaceDeclaration_IChannel( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IChannel()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IChannelAttributes": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelAttributes(): - old.IChannelAttributes; -declare function use_current_InterfaceDeclaration_IChannelAttributes( - use: current.IChannelAttributes); -use_current_InterfaceDeclaration_IChannelAttributes( - get_old_InterfaceDeclaration_IChannelAttributes()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IChannelAttributes": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelAttributes(): - current.IChannelAttributes; -declare function use_old_InterfaceDeclaration_IChannelAttributes( - use: old.IChannelAttributes); -use_old_InterfaceDeclaration_IChannelAttributes( - get_current_InterfaceDeclaration_IChannelAttributes()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IChannelFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelFactory(): - old.IChannelFactory; -declare function use_current_InterfaceDeclaration_IChannelFactory( - use: current.IChannelFactory); -use_current_InterfaceDeclaration_IChannelFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IChannelFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IChannelFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelFactory(): - current.IChannelFactory; -declare function use_old_InterfaceDeclaration_IChannelFactory( - use: old.IChannelFactory); -use_old_InterfaceDeclaration_IChannelFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IChannelFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IChannelServices": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelServices(): - old.IChannelServices; -declare function use_current_InterfaceDeclaration_IChannelServices( - use: current.IChannelServices); -use_current_InterfaceDeclaration_IChannelServices( - get_old_InterfaceDeclaration_IChannelServices()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IChannelServices": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelServices(): - current.IChannelServices; -declare function use_old_InterfaceDeclaration_IChannelServices( - use: old.IChannelServices); -use_old_InterfaceDeclaration_IChannelServices( - get_current_InterfaceDeclaration_IChannelServices()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IChannelStorageService": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelStorageService(): - old.IChannelStorageService; -declare function use_current_InterfaceDeclaration_IChannelStorageService( - use: current.IChannelStorageService); -use_current_InterfaceDeclaration_IChannelStorageService( - get_old_InterfaceDeclaration_IChannelStorageService()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IChannelStorageService": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelStorageService(): - current.IChannelStorageService; -declare function use_old_InterfaceDeclaration_IChannelStorageService( - use: old.IChannelStorageService); -use_old_InterfaceDeclaration_IChannelStorageService( - get_current_InterfaceDeclaration_IChannelStorageService()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IDeltaConnection": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IDeltaConnection(): - old.IDeltaConnection; -declare function use_current_InterfaceDeclaration_IDeltaConnection( - use: current.IDeltaConnection); -use_current_InterfaceDeclaration_IDeltaConnection( - get_old_InterfaceDeclaration_IDeltaConnection()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IDeltaConnection": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IDeltaConnection(): - current.IDeltaConnection; -declare function use_old_InterfaceDeclaration_IDeltaConnection( - use: old.IDeltaConnection); -use_old_InterfaceDeclaration_IDeltaConnection( - get_current_InterfaceDeclaration_IDeltaConnection()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IDeltaHandler": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IDeltaHandler(): - old.IDeltaHandler; -declare function use_current_InterfaceDeclaration_IDeltaHandler( - use: current.IDeltaHandler); -use_current_InterfaceDeclaration_IDeltaHandler( - get_old_InterfaceDeclaration_IDeltaHandler()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IDeltaHandler": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IDeltaHandler(): - current.IDeltaHandler; -declare function use_old_InterfaceDeclaration_IDeltaHandler( - use: old.IDeltaHandler); -use_old_InterfaceDeclaration_IDeltaHandler( - get_current_InterfaceDeclaration_IDeltaHandler()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IFluidDataStoreRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRuntime(): - old.IFluidDataStoreRuntime; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRuntime( - use: current.IFluidDataStoreRuntime); -use_current_InterfaceDeclaration_IFluidDataStoreRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IFluidDataStoreRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRuntime(): - current.IFluidDataStoreRuntime; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRuntime( - use: old.IFluidDataStoreRuntime); -use_old_InterfaceDeclaration_IFluidDataStoreRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IFluidDataStoreRuntimeEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents(): - old.IFluidDataStoreRuntimeEvents; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - use: current.IFluidDataStoreRuntimeEvents); -use_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - get_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IFluidDataStoreRuntimeEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents(): - current.IFluidDataStoreRuntimeEvents; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - use: old.IFluidDataStoreRuntimeEvents); -use_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - get_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_Jsonable": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_Jsonable(): - old.Jsonable; -declare function use_current_TypeAliasDeclaration_Jsonable( - use: current.Jsonable); -use_current_TypeAliasDeclaration_Jsonable( - get_old_TypeAliasDeclaration_Jsonable()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_Jsonable": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_Jsonable(): - current.Jsonable; -declare function use_old_TypeAliasDeclaration_Jsonable( - use: old.Jsonable); -use_old_TypeAliasDeclaration_Jsonable( - get_current_TypeAliasDeclaration_Jsonable()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_Serializable": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_Serializable(): - old.Serializable; -declare function use_current_TypeAliasDeclaration_Serializable( - use: current.Serializable); -use_current_TypeAliasDeclaration_Serializable( - get_old_TypeAliasDeclaration_Serializable()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_Serializable": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_Serializable(): - current.Serializable; -declare function use_old_TypeAliasDeclaration_Serializable( - use: old.Serializable); -use_old_TypeAliasDeclaration_Serializable( - get_current_TypeAliasDeclaration_Serializable()); diff --git a/packages/runtime/datastore-definitions/src/test/types/validate0.55.0.ts b/packages/runtime/datastore-definitions/src/test/types/validate0.55.0.ts deleted file mode 100644 index 91f95cf32910..000000000000 --- a/packages/runtime/datastore-definitions/src/test/types/validate0.55.0.ts +++ /dev/null @@ -1,284 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/datastore-definitions-0.55.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IChannel": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannel(): - old.IChannel; -declare function use_current_InterfaceDeclaration_IChannel( - use: current.IChannel); -use_current_InterfaceDeclaration_IChannel( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IChannel()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IChannel": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannel(): - current.IChannel; -declare function use_old_InterfaceDeclaration_IChannel( - use: old.IChannel); -use_old_InterfaceDeclaration_IChannel( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IChannel()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IChannelAttributes": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelAttributes(): - old.IChannelAttributes; -declare function use_current_InterfaceDeclaration_IChannelAttributes( - use: current.IChannelAttributes); -use_current_InterfaceDeclaration_IChannelAttributes( - get_old_InterfaceDeclaration_IChannelAttributes()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IChannelAttributes": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelAttributes(): - current.IChannelAttributes; -declare function use_old_InterfaceDeclaration_IChannelAttributes( - use: old.IChannelAttributes); -use_old_InterfaceDeclaration_IChannelAttributes( - get_current_InterfaceDeclaration_IChannelAttributes()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IChannelFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelFactory(): - old.IChannelFactory; -declare function use_current_InterfaceDeclaration_IChannelFactory( - use: current.IChannelFactory); -use_current_InterfaceDeclaration_IChannelFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IChannelFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IChannelFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelFactory(): - current.IChannelFactory; -declare function use_old_InterfaceDeclaration_IChannelFactory( - use: old.IChannelFactory); -use_old_InterfaceDeclaration_IChannelFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IChannelFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IChannelServices": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelServices(): - old.IChannelServices; -declare function use_current_InterfaceDeclaration_IChannelServices( - use: current.IChannelServices); -use_current_InterfaceDeclaration_IChannelServices( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IChannelServices()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IChannelServices": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelServices(): - current.IChannelServices; -declare function use_old_InterfaceDeclaration_IChannelServices( - use: old.IChannelServices); -use_old_InterfaceDeclaration_IChannelServices( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IChannelServices()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IChannelStorageService": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelStorageService(): - old.IChannelStorageService; -declare function use_current_InterfaceDeclaration_IChannelStorageService( - use: current.IChannelStorageService); -use_current_InterfaceDeclaration_IChannelStorageService( - get_old_InterfaceDeclaration_IChannelStorageService()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IChannelStorageService": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelStorageService(): - current.IChannelStorageService; -declare function use_old_InterfaceDeclaration_IChannelStorageService( - use: old.IChannelStorageService); -use_old_InterfaceDeclaration_IChannelStorageService( - get_current_InterfaceDeclaration_IChannelStorageService()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IDeltaConnection": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IDeltaConnection(): - old.IDeltaConnection; -declare function use_current_InterfaceDeclaration_IDeltaConnection( - use: current.IDeltaConnection); -use_current_InterfaceDeclaration_IDeltaConnection( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IDeltaConnection()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IDeltaConnection": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IDeltaConnection(): - current.IDeltaConnection; -declare function use_old_InterfaceDeclaration_IDeltaConnection( - use: old.IDeltaConnection); -use_old_InterfaceDeclaration_IDeltaConnection( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IDeltaConnection()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IDeltaHandler": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IDeltaHandler(): - old.IDeltaHandler; -declare function use_current_InterfaceDeclaration_IDeltaHandler( - use: current.IDeltaHandler); -use_current_InterfaceDeclaration_IDeltaHandler( - get_old_InterfaceDeclaration_IDeltaHandler()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IDeltaHandler": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IDeltaHandler(): - current.IDeltaHandler; -declare function use_old_InterfaceDeclaration_IDeltaHandler( - use: old.IDeltaHandler); -use_old_InterfaceDeclaration_IDeltaHandler( - get_current_InterfaceDeclaration_IDeltaHandler()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IFluidDataStoreRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRuntime(): - old.IFluidDataStoreRuntime; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRuntime( - use: current.IFluidDataStoreRuntime); -use_current_InterfaceDeclaration_IFluidDataStoreRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IFluidDataStoreRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRuntime(): - current.IFluidDataStoreRuntime; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRuntime( - use: old.IFluidDataStoreRuntime); -use_old_InterfaceDeclaration_IFluidDataStoreRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IFluidDataStoreRuntimeEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents(): - old.IFluidDataStoreRuntimeEvents; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - use: current.IFluidDataStoreRuntimeEvents); -use_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - get_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IFluidDataStoreRuntimeEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents(): - current.IFluidDataStoreRuntimeEvents; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - use: old.IFluidDataStoreRuntimeEvents); -use_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - get_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_Jsonable": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_Jsonable(): - old.Jsonable; -declare function use_current_TypeAliasDeclaration_Jsonable( - use: current.Jsonable); -use_current_TypeAliasDeclaration_Jsonable( - get_old_TypeAliasDeclaration_Jsonable()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_Jsonable": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_Jsonable(): - current.Jsonable; -declare function use_old_TypeAliasDeclaration_Jsonable( - use: old.Jsonable); -use_old_TypeAliasDeclaration_Jsonable( - get_current_TypeAliasDeclaration_Jsonable()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_Serializable": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_Serializable(): - old.Serializable; -declare function use_current_TypeAliasDeclaration_Serializable( - use: current.Serializable); -use_current_TypeAliasDeclaration_Serializable( - get_old_TypeAliasDeclaration_Serializable()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_Serializable": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_Serializable(): - current.Serializable; -declare function use_old_TypeAliasDeclaration_Serializable( - use: old.Serializable); -use_old_TypeAliasDeclaration_Serializable( - get_current_TypeAliasDeclaration_Serializable()); diff --git a/packages/runtime/datastore-definitions/src/test/types/validate0.56.0.ts b/packages/runtime/datastore-definitions/src/test/types/validate0.56.0.ts deleted file mode 100644 index cd7e7a276589..000000000000 --- a/packages/runtime/datastore-definitions/src/test/types/validate0.56.0.ts +++ /dev/null @@ -1,278 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/datastore-definitions-0.56.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IChannel": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannel(): - old.IChannel; -declare function use_current_InterfaceDeclaration_IChannel( - use: current.IChannel); -use_current_InterfaceDeclaration_IChannel( - get_old_InterfaceDeclaration_IChannel()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IChannel": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannel(): - current.IChannel; -declare function use_old_InterfaceDeclaration_IChannel( - use: old.IChannel); -use_old_InterfaceDeclaration_IChannel( - get_current_InterfaceDeclaration_IChannel()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IChannelAttributes": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelAttributes(): - old.IChannelAttributes; -declare function use_current_InterfaceDeclaration_IChannelAttributes( - use: current.IChannelAttributes); -use_current_InterfaceDeclaration_IChannelAttributes( - get_old_InterfaceDeclaration_IChannelAttributes()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IChannelAttributes": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelAttributes(): - current.IChannelAttributes; -declare function use_old_InterfaceDeclaration_IChannelAttributes( - use: old.IChannelAttributes); -use_old_InterfaceDeclaration_IChannelAttributes( - get_current_InterfaceDeclaration_IChannelAttributes()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IChannelFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelFactory(): - old.IChannelFactory; -declare function use_current_InterfaceDeclaration_IChannelFactory( - use: current.IChannelFactory); -use_current_InterfaceDeclaration_IChannelFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IChannelFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IChannelFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelFactory(): - current.IChannelFactory; -declare function use_old_InterfaceDeclaration_IChannelFactory( - use: old.IChannelFactory); -use_old_InterfaceDeclaration_IChannelFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IChannelFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IChannelServices": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelServices(): - old.IChannelServices; -declare function use_current_InterfaceDeclaration_IChannelServices( - use: current.IChannelServices); -use_current_InterfaceDeclaration_IChannelServices( - get_old_InterfaceDeclaration_IChannelServices()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IChannelServices": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelServices(): - current.IChannelServices; -declare function use_old_InterfaceDeclaration_IChannelServices( - use: old.IChannelServices); -use_old_InterfaceDeclaration_IChannelServices( - get_current_InterfaceDeclaration_IChannelServices()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IChannelStorageService": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelStorageService(): - old.IChannelStorageService; -declare function use_current_InterfaceDeclaration_IChannelStorageService( - use: current.IChannelStorageService); -use_current_InterfaceDeclaration_IChannelStorageService( - get_old_InterfaceDeclaration_IChannelStorageService()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IChannelStorageService": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelStorageService(): - current.IChannelStorageService; -declare function use_old_InterfaceDeclaration_IChannelStorageService( - use: old.IChannelStorageService); -use_old_InterfaceDeclaration_IChannelStorageService( - get_current_InterfaceDeclaration_IChannelStorageService()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IDeltaConnection": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IDeltaConnection(): - old.IDeltaConnection; -declare function use_current_InterfaceDeclaration_IDeltaConnection( - use: current.IDeltaConnection); -use_current_InterfaceDeclaration_IDeltaConnection( - get_old_InterfaceDeclaration_IDeltaConnection()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IDeltaConnection": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IDeltaConnection(): - current.IDeltaConnection; -declare function use_old_InterfaceDeclaration_IDeltaConnection( - use: old.IDeltaConnection); -use_old_InterfaceDeclaration_IDeltaConnection( - get_current_InterfaceDeclaration_IDeltaConnection()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IDeltaHandler": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IDeltaHandler(): - old.IDeltaHandler; -declare function use_current_InterfaceDeclaration_IDeltaHandler( - use: current.IDeltaHandler); -use_current_InterfaceDeclaration_IDeltaHandler( - get_old_InterfaceDeclaration_IDeltaHandler()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IDeltaHandler": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IDeltaHandler(): - current.IDeltaHandler; -declare function use_old_InterfaceDeclaration_IDeltaHandler( - use: old.IDeltaHandler); -use_old_InterfaceDeclaration_IDeltaHandler( - get_current_InterfaceDeclaration_IDeltaHandler()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IFluidDataStoreRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRuntime(): - old.IFluidDataStoreRuntime; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRuntime( - use: current.IFluidDataStoreRuntime); -use_current_InterfaceDeclaration_IFluidDataStoreRuntime( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IFluidDataStoreRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRuntime(): - current.IFluidDataStoreRuntime; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRuntime( - use: old.IFluidDataStoreRuntime); -use_old_InterfaceDeclaration_IFluidDataStoreRuntime( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IFluidDataStoreRuntimeEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents(): - old.IFluidDataStoreRuntimeEvents; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - use: current.IFluidDataStoreRuntimeEvents); -use_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - get_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IFluidDataStoreRuntimeEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents(): - current.IFluidDataStoreRuntimeEvents; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - use: old.IFluidDataStoreRuntimeEvents); -use_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - get_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_Jsonable": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_Jsonable(): - old.Jsonable; -declare function use_current_TypeAliasDeclaration_Jsonable( - use: current.Jsonable); -use_current_TypeAliasDeclaration_Jsonable( - get_old_TypeAliasDeclaration_Jsonable()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_Jsonable": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_Jsonable(): - current.Jsonable; -declare function use_old_TypeAliasDeclaration_Jsonable( - use: old.Jsonable); -use_old_TypeAliasDeclaration_Jsonable( - get_current_TypeAliasDeclaration_Jsonable()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_Serializable": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_Serializable(): - old.Serializable; -declare function use_current_TypeAliasDeclaration_Serializable( - use: current.Serializable); -use_current_TypeAliasDeclaration_Serializable( - get_old_TypeAliasDeclaration_Serializable()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_Serializable": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_Serializable(): - current.Serializable; -declare function use_old_TypeAliasDeclaration_Serializable( - use: old.Serializable); -use_old_TypeAliasDeclaration_Serializable( - get_current_TypeAliasDeclaration_Serializable()); diff --git a/packages/runtime/datastore-definitions/src/test/types/validate0.57.0.ts b/packages/runtime/datastore-definitions/src/test/types/validate0.57.0.ts deleted file mode 100644 index dc3eced91215..000000000000 --- a/packages/runtime/datastore-definitions/src/test/types/validate0.57.0.ts +++ /dev/null @@ -1,274 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/datastore-definitions-0.57.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IChannel": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannel(): - old.IChannel; -declare function use_current_InterfaceDeclaration_IChannel( - use: current.IChannel); -use_current_InterfaceDeclaration_IChannel( - get_old_InterfaceDeclaration_IChannel()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IChannel": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannel(): - current.IChannel; -declare function use_old_InterfaceDeclaration_IChannel( - use: old.IChannel); -use_old_InterfaceDeclaration_IChannel( - get_current_InterfaceDeclaration_IChannel()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IChannelAttributes": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelAttributes(): - old.IChannelAttributes; -declare function use_current_InterfaceDeclaration_IChannelAttributes( - use: current.IChannelAttributes); -use_current_InterfaceDeclaration_IChannelAttributes( - get_old_InterfaceDeclaration_IChannelAttributes()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IChannelAttributes": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelAttributes(): - current.IChannelAttributes; -declare function use_old_InterfaceDeclaration_IChannelAttributes( - use: old.IChannelAttributes); -use_old_InterfaceDeclaration_IChannelAttributes( - get_current_InterfaceDeclaration_IChannelAttributes()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IChannelFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelFactory(): - old.IChannelFactory; -declare function use_current_InterfaceDeclaration_IChannelFactory( - use: current.IChannelFactory); -use_current_InterfaceDeclaration_IChannelFactory( - get_old_InterfaceDeclaration_IChannelFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IChannelFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelFactory(): - current.IChannelFactory; -declare function use_old_InterfaceDeclaration_IChannelFactory( - use: old.IChannelFactory); -use_old_InterfaceDeclaration_IChannelFactory( - get_current_InterfaceDeclaration_IChannelFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IChannelServices": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelServices(): - old.IChannelServices; -declare function use_current_InterfaceDeclaration_IChannelServices( - use: current.IChannelServices); -use_current_InterfaceDeclaration_IChannelServices( - get_old_InterfaceDeclaration_IChannelServices()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IChannelServices": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelServices(): - current.IChannelServices; -declare function use_old_InterfaceDeclaration_IChannelServices( - use: old.IChannelServices); -use_old_InterfaceDeclaration_IChannelServices( - get_current_InterfaceDeclaration_IChannelServices()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IChannelStorageService": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelStorageService(): - old.IChannelStorageService; -declare function use_current_InterfaceDeclaration_IChannelStorageService( - use: current.IChannelStorageService); -use_current_InterfaceDeclaration_IChannelStorageService( - get_old_InterfaceDeclaration_IChannelStorageService()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IChannelStorageService": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelStorageService(): - current.IChannelStorageService; -declare function use_old_InterfaceDeclaration_IChannelStorageService( - use: old.IChannelStorageService); -use_old_InterfaceDeclaration_IChannelStorageService( - get_current_InterfaceDeclaration_IChannelStorageService()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IDeltaConnection": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IDeltaConnection(): - old.IDeltaConnection; -declare function use_current_InterfaceDeclaration_IDeltaConnection( - use: current.IDeltaConnection); -use_current_InterfaceDeclaration_IDeltaConnection( - get_old_InterfaceDeclaration_IDeltaConnection()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IDeltaConnection": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IDeltaConnection(): - current.IDeltaConnection; -declare function use_old_InterfaceDeclaration_IDeltaConnection( - use: old.IDeltaConnection); -use_old_InterfaceDeclaration_IDeltaConnection( - get_current_InterfaceDeclaration_IDeltaConnection()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IDeltaHandler": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IDeltaHandler(): - old.IDeltaHandler; -declare function use_current_InterfaceDeclaration_IDeltaHandler( - use: current.IDeltaHandler); -use_current_InterfaceDeclaration_IDeltaHandler( - get_old_InterfaceDeclaration_IDeltaHandler()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IDeltaHandler": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IDeltaHandler(): - current.IDeltaHandler; -declare function use_old_InterfaceDeclaration_IDeltaHandler( - use: old.IDeltaHandler); -use_old_InterfaceDeclaration_IDeltaHandler( - get_current_InterfaceDeclaration_IDeltaHandler()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IFluidDataStoreRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRuntime(): - old.IFluidDataStoreRuntime; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRuntime( - use: current.IFluidDataStoreRuntime); -use_current_InterfaceDeclaration_IFluidDataStoreRuntime( - get_old_InterfaceDeclaration_IFluidDataStoreRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IFluidDataStoreRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRuntime(): - current.IFluidDataStoreRuntime; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRuntime( - use: old.IFluidDataStoreRuntime); -use_old_InterfaceDeclaration_IFluidDataStoreRuntime( - get_current_InterfaceDeclaration_IFluidDataStoreRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IFluidDataStoreRuntimeEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents(): - old.IFluidDataStoreRuntimeEvents; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - use: current.IFluidDataStoreRuntimeEvents); -use_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - get_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IFluidDataStoreRuntimeEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents(): - current.IFluidDataStoreRuntimeEvents; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - use: old.IFluidDataStoreRuntimeEvents); -use_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - get_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_Jsonable": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_Jsonable(): - old.Jsonable; -declare function use_current_TypeAliasDeclaration_Jsonable( - use: current.Jsonable); -use_current_TypeAliasDeclaration_Jsonable( - get_old_TypeAliasDeclaration_Jsonable()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_Jsonable": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_Jsonable(): - current.Jsonable; -declare function use_old_TypeAliasDeclaration_Jsonable( - use: old.Jsonable); -use_old_TypeAliasDeclaration_Jsonable( - get_current_TypeAliasDeclaration_Jsonable()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_Serializable": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_Serializable(): - old.Serializable; -declare function use_current_TypeAliasDeclaration_Serializable( - use: current.Serializable); -use_current_TypeAliasDeclaration_Serializable( - get_old_TypeAliasDeclaration_Serializable()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_Serializable": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_Serializable(): - current.Serializable; -declare function use_old_TypeAliasDeclaration_Serializable( - use: old.Serializable); -use_old_TypeAliasDeclaration_Serializable( - get_current_TypeAliasDeclaration_Serializable()); diff --git a/packages/runtime/datastore-definitions/src/test/types/validate0.58.1000.ts b/packages/runtime/datastore-definitions/src/test/types/validate0.58.1000.ts deleted file mode 100644 index e626e39eb69f..000000000000 --- a/packages/runtime/datastore-definitions/src/test/types/validate0.58.1000.ts +++ /dev/null @@ -1,274 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/datastore-definitions-0.58.1000"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IChannel": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannel(): - old.IChannel; -declare function use_current_InterfaceDeclaration_IChannel( - use: current.IChannel); -use_current_InterfaceDeclaration_IChannel( - get_old_InterfaceDeclaration_IChannel()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IChannel": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannel(): - current.IChannel; -declare function use_old_InterfaceDeclaration_IChannel( - use: old.IChannel); -use_old_InterfaceDeclaration_IChannel( - get_current_InterfaceDeclaration_IChannel()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IChannelAttributes": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelAttributes(): - old.IChannelAttributes; -declare function use_current_InterfaceDeclaration_IChannelAttributes( - use: current.IChannelAttributes); -use_current_InterfaceDeclaration_IChannelAttributes( - get_old_InterfaceDeclaration_IChannelAttributes()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IChannelAttributes": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelAttributes(): - current.IChannelAttributes; -declare function use_old_InterfaceDeclaration_IChannelAttributes( - use: old.IChannelAttributes); -use_old_InterfaceDeclaration_IChannelAttributes( - get_current_InterfaceDeclaration_IChannelAttributes()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IChannelFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelFactory(): - old.IChannelFactory; -declare function use_current_InterfaceDeclaration_IChannelFactory( - use: current.IChannelFactory); -use_current_InterfaceDeclaration_IChannelFactory( - get_old_InterfaceDeclaration_IChannelFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IChannelFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelFactory(): - current.IChannelFactory; -declare function use_old_InterfaceDeclaration_IChannelFactory( - use: old.IChannelFactory); -use_old_InterfaceDeclaration_IChannelFactory( - get_current_InterfaceDeclaration_IChannelFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IChannelServices": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelServices(): - old.IChannelServices; -declare function use_current_InterfaceDeclaration_IChannelServices( - use: current.IChannelServices); -use_current_InterfaceDeclaration_IChannelServices( - get_old_InterfaceDeclaration_IChannelServices()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IChannelServices": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelServices(): - current.IChannelServices; -declare function use_old_InterfaceDeclaration_IChannelServices( - use: old.IChannelServices); -use_old_InterfaceDeclaration_IChannelServices( - get_current_InterfaceDeclaration_IChannelServices()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IChannelStorageService": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IChannelStorageService(): - old.IChannelStorageService; -declare function use_current_InterfaceDeclaration_IChannelStorageService( - use: current.IChannelStorageService); -use_current_InterfaceDeclaration_IChannelStorageService( - get_old_InterfaceDeclaration_IChannelStorageService()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IChannelStorageService": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IChannelStorageService(): - current.IChannelStorageService; -declare function use_old_InterfaceDeclaration_IChannelStorageService( - use: old.IChannelStorageService); -use_old_InterfaceDeclaration_IChannelStorageService( - get_current_InterfaceDeclaration_IChannelStorageService()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IDeltaConnection": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IDeltaConnection(): - old.IDeltaConnection; -declare function use_current_InterfaceDeclaration_IDeltaConnection( - use: current.IDeltaConnection); -use_current_InterfaceDeclaration_IDeltaConnection( - get_old_InterfaceDeclaration_IDeltaConnection()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IDeltaConnection": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IDeltaConnection(): - current.IDeltaConnection; -declare function use_old_InterfaceDeclaration_IDeltaConnection( - use: old.IDeltaConnection); -use_old_InterfaceDeclaration_IDeltaConnection( - get_current_InterfaceDeclaration_IDeltaConnection()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IDeltaHandler": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IDeltaHandler(): - old.IDeltaHandler; -declare function use_current_InterfaceDeclaration_IDeltaHandler( - use: current.IDeltaHandler); -use_current_InterfaceDeclaration_IDeltaHandler( - get_old_InterfaceDeclaration_IDeltaHandler()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IDeltaHandler": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IDeltaHandler(): - current.IDeltaHandler; -declare function use_old_InterfaceDeclaration_IDeltaHandler( - use: old.IDeltaHandler); -use_old_InterfaceDeclaration_IDeltaHandler( - get_current_InterfaceDeclaration_IDeltaHandler()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IFluidDataStoreRuntime": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRuntime(): - old.IFluidDataStoreRuntime; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRuntime( - use: current.IFluidDataStoreRuntime); -use_current_InterfaceDeclaration_IFluidDataStoreRuntime( - get_old_InterfaceDeclaration_IFluidDataStoreRuntime()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IFluidDataStoreRuntime": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRuntime(): - current.IFluidDataStoreRuntime; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRuntime( - use: old.IFluidDataStoreRuntime); -use_old_InterfaceDeclaration_IFluidDataStoreRuntime( - get_current_InterfaceDeclaration_IFluidDataStoreRuntime()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IFluidDataStoreRuntimeEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents(): - old.IFluidDataStoreRuntimeEvents; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - use: current.IFluidDataStoreRuntimeEvents); -use_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - get_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "InterfaceDeclaration_IFluidDataStoreRuntimeEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents(): - current.IFluidDataStoreRuntimeEvents; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - use: old.IFluidDataStoreRuntimeEvents); -use_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - get_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "TypeAliasDeclaration_Jsonable": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_Jsonable(): - old.Jsonable; -declare function use_current_TypeAliasDeclaration_Jsonable( - use: current.Jsonable); -use_current_TypeAliasDeclaration_Jsonable( - get_old_TypeAliasDeclaration_Jsonable()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "TypeAliasDeclaration_Jsonable": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_Jsonable(): - current.Jsonable; -declare function use_old_TypeAliasDeclaration_Jsonable( - use: old.Jsonable); -use_old_TypeAliasDeclaration_Jsonable( - get_current_TypeAliasDeclaration_Jsonable()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "TypeAliasDeclaration_Serializable": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_Serializable(): - old.Serializable; -declare function use_current_TypeAliasDeclaration_Serializable( - use: current.Serializable); -use_current_TypeAliasDeclaration_Serializable( - get_old_TypeAliasDeclaration_Serializable()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: -* "TypeAliasDeclaration_Serializable": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_Serializable(): - current.Serializable; -declare function use_old_TypeAliasDeclaration_Serializable( - use: old.Serializable); -use_old_TypeAliasDeclaration_Serializable( - get_current_TypeAliasDeclaration_Serializable()); diff --git a/packages/runtime/datastore-definitions/src/test/types/validate0.54.0.ts b/packages/runtime/datastore-definitions/src/test/types/validateDatastoreDefinitionsPrevious.ts similarity index 80% rename from packages/runtime/datastore-definitions/src/test/types/validate0.54.0.ts rename to packages/runtime/datastore-definitions/src/test/types/validateDatastoreDefinitionsPrevious.ts index 17d779df1287..b31418e927f0 100644 --- a/packages/runtime/datastore-definitions/src/test/types/validate0.54.0.ts +++ b/packages/runtime/datastore-definitions/src/test/types/validateDatastoreDefinitionsPrevious.ts @@ -6,279 +6,274 @@ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. * Generated by fluid-type-validator in @fluidframework/build-tools. */ -import * as old from "@fluidframework/datastore-definitions-0.54.0"; +/* eslint-disable max-lines */ +import * as old from "@fluidframework/datastore-definitions-previous"; import * as current from "../../index"; +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IChannel": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IChannel(): - old.IChannel; + TypeOnly; declare function use_current_InterfaceDeclaration_IChannel( - use: current.IChannel); + use: TypeOnly); use_current_InterfaceDeclaration_IChannel( - // @ts-expect-error compatibility expected to be broken get_old_InterfaceDeclaration_IChannel()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IChannel": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IChannel(): - current.IChannel; + TypeOnly; declare function use_old_InterfaceDeclaration_IChannel( - use: old.IChannel); + use: TypeOnly); use_old_InterfaceDeclaration_IChannel( - // @ts-expect-error compatibility expected to be broken get_current_InterfaceDeclaration_IChannel()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IChannelAttributes": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IChannelAttributes(): - old.IChannelAttributes; + TypeOnly; declare function use_current_InterfaceDeclaration_IChannelAttributes( - use: current.IChannelAttributes); + use: TypeOnly); use_current_InterfaceDeclaration_IChannelAttributes( get_old_InterfaceDeclaration_IChannelAttributes()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IChannelAttributes": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IChannelAttributes(): - current.IChannelAttributes; + TypeOnly; declare function use_old_InterfaceDeclaration_IChannelAttributes( - use: old.IChannelAttributes); + use: TypeOnly); use_old_InterfaceDeclaration_IChannelAttributes( get_current_InterfaceDeclaration_IChannelAttributes()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IChannelFactory": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IChannelFactory(): - old.IChannelFactory; + TypeOnly; declare function use_current_InterfaceDeclaration_IChannelFactory( - use: current.IChannelFactory); + use: TypeOnly); use_current_InterfaceDeclaration_IChannelFactory( - // @ts-expect-error compatibility expected to be broken get_old_InterfaceDeclaration_IChannelFactory()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IChannelFactory": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IChannelFactory(): - current.IChannelFactory; + TypeOnly; declare function use_old_InterfaceDeclaration_IChannelFactory( - use: old.IChannelFactory); + use: TypeOnly); use_old_InterfaceDeclaration_IChannelFactory( - // @ts-expect-error compatibility expected to be broken get_current_InterfaceDeclaration_IChannelFactory()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IChannelServices": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IChannelServices(): - old.IChannelServices; + TypeOnly; declare function use_current_InterfaceDeclaration_IChannelServices( - use: current.IChannelServices); + use: TypeOnly); use_current_InterfaceDeclaration_IChannelServices( - // @ts-expect-error compatibility expected to be broken get_old_InterfaceDeclaration_IChannelServices()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IChannelServices": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IChannelServices(): - current.IChannelServices; + TypeOnly; declare function use_old_InterfaceDeclaration_IChannelServices( - use: old.IChannelServices); + use: TypeOnly); use_old_InterfaceDeclaration_IChannelServices( - // @ts-expect-error compatibility expected to be broken get_current_InterfaceDeclaration_IChannelServices()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IChannelStorageService": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IChannelStorageService(): - old.IChannelStorageService; + TypeOnly; declare function use_current_InterfaceDeclaration_IChannelStorageService( - use: current.IChannelStorageService); + use: TypeOnly); use_current_InterfaceDeclaration_IChannelStorageService( get_old_InterfaceDeclaration_IChannelStorageService()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IChannelStorageService": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IChannelStorageService(): - current.IChannelStorageService; + TypeOnly; declare function use_old_InterfaceDeclaration_IChannelStorageService( - use: old.IChannelStorageService); + use: TypeOnly); use_old_InterfaceDeclaration_IChannelStorageService( get_current_InterfaceDeclaration_IChannelStorageService()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IDeltaConnection": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IDeltaConnection(): - old.IDeltaConnection; + TypeOnly; declare function use_current_InterfaceDeclaration_IDeltaConnection( - use: current.IDeltaConnection); + use: TypeOnly); use_current_InterfaceDeclaration_IDeltaConnection( - // @ts-expect-error compatibility expected to be broken get_old_InterfaceDeclaration_IDeltaConnection()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IDeltaConnection": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IDeltaConnection(): - current.IDeltaConnection; + TypeOnly; declare function use_old_InterfaceDeclaration_IDeltaConnection( - use: old.IDeltaConnection); + use: TypeOnly); use_old_InterfaceDeclaration_IDeltaConnection( - // @ts-expect-error compatibility expected to be broken get_current_InterfaceDeclaration_IDeltaConnection()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IDeltaHandler": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IDeltaHandler(): - old.IDeltaHandler; + TypeOnly; declare function use_current_InterfaceDeclaration_IDeltaHandler( - use: current.IDeltaHandler); + use: TypeOnly); use_current_InterfaceDeclaration_IDeltaHandler( get_old_InterfaceDeclaration_IDeltaHandler()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IDeltaHandler": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IDeltaHandler(): - current.IDeltaHandler; + TypeOnly; declare function use_old_InterfaceDeclaration_IDeltaHandler( - use: old.IDeltaHandler); + use: TypeOnly); use_old_InterfaceDeclaration_IDeltaHandler( get_current_InterfaceDeclaration_IDeltaHandler()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IFluidDataStoreRuntime": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IFluidDataStoreRuntime(): - old.IFluidDataStoreRuntime; + TypeOnly; declare function use_current_InterfaceDeclaration_IFluidDataStoreRuntime( - use: current.IFluidDataStoreRuntime); + use: TypeOnly); use_current_InterfaceDeclaration_IFluidDataStoreRuntime( - // @ts-expect-error compatibility expected to be broken get_old_InterfaceDeclaration_IFluidDataStoreRuntime()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IFluidDataStoreRuntime": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IFluidDataStoreRuntime(): - current.IFluidDataStoreRuntime; + TypeOnly; declare function use_old_InterfaceDeclaration_IFluidDataStoreRuntime( - use: old.IFluidDataStoreRuntime); + use: TypeOnly); use_old_InterfaceDeclaration_IFluidDataStoreRuntime( - // @ts-expect-error compatibility expected to be broken get_current_InterfaceDeclaration_IFluidDataStoreRuntime()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IFluidDataStoreRuntimeEvents": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents(): - old.IFluidDataStoreRuntimeEvents; + TypeOnly; declare function use_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - use: current.IFluidDataStoreRuntimeEvents); + use: TypeOnly); use_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( get_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IFluidDataStoreRuntimeEvents": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents(): - current.IFluidDataStoreRuntimeEvents; + TypeOnly; declare function use_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( - use: old.IFluidDataStoreRuntimeEvents); + use: TypeOnly); use_old_InterfaceDeclaration_IFluidDataStoreRuntimeEvents( get_current_InterfaceDeclaration_IFluidDataStoreRuntimeEvents()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_Jsonable": {"forwardCompat": false} */ declare function get_old_TypeAliasDeclaration_Jsonable(): - old.Jsonable; + TypeOnly; declare function use_current_TypeAliasDeclaration_Jsonable( - use: current.Jsonable); + use: TypeOnly); use_current_TypeAliasDeclaration_Jsonable( get_old_TypeAliasDeclaration_Jsonable()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_Jsonable": {"backCompat": false} */ declare function get_current_TypeAliasDeclaration_Jsonable(): - current.Jsonable; + TypeOnly; declare function use_old_TypeAliasDeclaration_Jsonable( - use: old.Jsonable); + use: TypeOnly); use_old_TypeAliasDeclaration_Jsonable( get_current_TypeAliasDeclaration_Jsonable()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_Serializable": {"forwardCompat": false} */ declare function get_old_TypeAliasDeclaration_Serializable(): - old.Serializable; + TypeOnly; declare function use_current_TypeAliasDeclaration_Serializable( - use: current.Serializable); + use: TypeOnly); use_current_TypeAliasDeclaration_Serializable( get_old_TypeAliasDeclaration_Serializable()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_Serializable": {"backCompat": false} */ declare function get_current_TypeAliasDeclaration_Serializable(): - current.Serializable; + TypeOnly; declare function use_old_TypeAliasDeclaration_Serializable( - use: old.Serializable); + use: TypeOnly); use_old_TypeAliasDeclaration_Serializable( get_current_TypeAliasDeclaration_Serializable()); diff --git a/packages/runtime/datastore/package.json b/packages/runtime/datastore/package.json index dfe89f629eba..b243e19fa5d2 100644 --- a/packages/runtime/datastore/package.json +++ b/packages/runtime/datastore/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test --exit -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test --exit -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsc:watch": "tsc --watch", @@ -79,6 +79,7 @@ }, "devDependencies": { "@fluidframework/build-common": "^0.23.0", + "@fluidframework/datastore-previous": "npm:@fluidframework/datastore@0.58.2000", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", "@fluidframework/test-runtime-utils": "^0.58.3000", @@ -104,5 +105,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/runtime/datastore/src/test/types/validateDatastorePrevious.ts b/packages/runtime/datastore/src/test/types/validateDatastorePrevious.ts new file mode 100644 index 000000000000..2813cf654abd --- /dev/null +++ b/packages/runtime/datastore/src/test/types/validateDatastorePrevious.ts @@ -0,0 +1,159 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/datastore-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_DataStoreMessageType": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_DataStoreMessageType(): + TypeOnly; +declare function use_current_EnumDeclaration_DataStoreMessageType( + use: TypeOnly); +use_current_EnumDeclaration_DataStoreMessageType( + get_old_EnumDeclaration_DataStoreMessageType()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_DataStoreMessageType": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_DataStoreMessageType(): + TypeOnly; +declare function use_old_EnumDeclaration_DataStoreMessageType( + use: TypeOnly); +use_old_EnumDeclaration_DataStoreMessageType( + get_current_EnumDeclaration_DataStoreMessageType()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FluidDataStoreRuntime": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_FluidDataStoreRuntime(): + TypeOnly; +declare function use_current_ClassDeclaration_FluidDataStoreRuntime( + use: TypeOnly); +use_current_ClassDeclaration_FluidDataStoreRuntime( + get_old_ClassDeclaration_FluidDataStoreRuntime()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FluidDataStoreRuntime": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_FluidDataStoreRuntime(): + TypeOnly; +declare function use_old_ClassDeclaration_FluidDataStoreRuntime( + use: TypeOnly); +use_old_ClassDeclaration_FluidDataStoreRuntime( + get_current_ClassDeclaration_FluidDataStoreRuntime()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FluidObjectHandle": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_FluidObjectHandle(): + TypeOnly; +declare function use_current_ClassDeclaration_FluidObjectHandle( + use: TypeOnly); +use_current_ClassDeclaration_FluidObjectHandle( + get_old_ClassDeclaration_FluidObjectHandle()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_FluidObjectHandle": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_FluidObjectHandle(): + TypeOnly; +declare function use_old_ClassDeclaration_FluidObjectHandle( + use: TypeOnly); +use_old_ClassDeclaration_FluidObjectHandle( + get_current_ClassDeclaration_FluidObjectHandle()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharedObjectRegistry": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISharedObjectRegistry(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISharedObjectRegistry( + use: TypeOnly); +use_current_InterfaceDeclaration_ISharedObjectRegistry( + get_old_InterfaceDeclaration_ISharedObjectRegistry()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISharedObjectRegistry": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISharedObjectRegistry(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISharedObjectRegistry( + use: TypeOnly); +use_old_InterfaceDeclaration_ISharedObjectRegistry( + get_current_InterfaceDeclaration_ISharedObjectRegistry()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_mixinRequestHandler": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_mixinRequestHandler(): + TypeOnly; +declare function use_current_VariableDeclaration_mixinRequestHandler( + use: TypeOnly); +use_current_VariableDeclaration_mixinRequestHandler( + get_old_VariableDeclaration_mixinRequestHandler()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_mixinRequestHandler": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_mixinRequestHandler(): + TypeOnly; +declare function use_old_VariableDeclaration_mixinRequestHandler( + use: TypeOnly); +use_old_VariableDeclaration_mixinRequestHandler( + get_current_VariableDeclaration_mixinRequestHandler()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_mixinSummaryHandler": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_mixinSummaryHandler(): + TypeOnly; +declare function use_current_VariableDeclaration_mixinSummaryHandler( + use: TypeOnly); +use_current_VariableDeclaration_mixinSummaryHandler( + get_old_VariableDeclaration_mixinSummaryHandler()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_mixinSummaryHandler": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_mixinSummaryHandler(): + TypeOnly; +declare function use_old_VariableDeclaration_mixinSummaryHandler( + use: TypeOnly); +use_old_VariableDeclaration_mixinSummaryHandler( + get_current_VariableDeclaration_mixinSummaryHandler()); diff --git a/packages/runtime/garbage-collector/package.json b/packages/runtime/garbage-collector/package.json index 0efdeb367e99..380249d80088 100644 --- a/packages/runtime/garbage-collector/package.json +++ b/packages/runtime/garbage-collector/package.json @@ -37,7 +37,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm run test:report", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "test:report": "npm test -- -- --reporter xunit --reporter-option output=nyc/mocha-junit-report.xml", "tsc": "tsc" @@ -70,6 +70,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/garbage-collector-previous": "npm:@fluidframework/garbage-collector@0.58.2000", "@fluidframework/mocha-test-setup": "^0.58.3000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", @@ -91,5 +92,9 @@ "nyc": "^15.0.0", "rimraf": "^2.6.2", "typescript": "~4.1.3" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/runtime/garbage-collector/src/test/types/validateGarbageCollectorPrevious.ts b/packages/runtime/garbage-collector/src/test/types/validateGarbageCollectorPrevious.ts new file mode 100644 index 000000000000..dc0d846116da --- /dev/null +++ b/packages/runtime/garbage-collector/src/test/types/validateGarbageCollectorPrevious.ts @@ -0,0 +1,231 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/garbage-collector-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_cloneGCData": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_cloneGCData(): + TypeOnly; +declare function use_current_FunctionDeclaration_cloneGCData( + use: TypeOnly); +use_current_FunctionDeclaration_cloneGCData( + get_old_FunctionDeclaration_cloneGCData()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_cloneGCData": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_cloneGCData(): + TypeOnly; +declare function use_old_FunctionDeclaration_cloneGCData( + use: TypeOnly); +use_old_FunctionDeclaration_cloneGCData( + get_current_FunctionDeclaration_cloneGCData()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_concatGarbageCollectionData": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_concatGarbageCollectionData(): + TypeOnly; +declare function use_current_FunctionDeclaration_concatGarbageCollectionData( + use: TypeOnly); +use_current_FunctionDeclaration_concatGarbageCollectionData( + get_old_FunctionDeclaration_concatGarbageCollectionData()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_concatGarbageCollectionData": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_concatGarbageCollectionData(): + TypeOnly; +declare function use_old_FunctionDeclaration_concatGarbageCollectionData( + use: TypeOnly); +use_old_FunctionDeclaration_concatGarbageCollectionData( + get_current_FunctionDeclaration_concatGarbageCollectionData()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_concatGarbageCollectionStates": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_concatGarbageCollectionStates(): + TypeOnly; +declare function use_current_FunctionDeclaration_concatGarbageCollectionStates( + use: TypeOnly); +use_current_FunctionDeclaration_concatGarbageCollectionStates( + get_old_FunctionDeclaration_concatGarbageCollectionStates()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_concatGarbageCollectionStates": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_concatGarbageCollectionStates(): + TypeOnly; +declare function use_old_FunctionDeclaration_concatGarbageCollectionStates( + use: TypeOnly); +use_old_FunctionDeclaration_concatGarbageCollectionStates( + get_current_FunctionDeclaration_concatGarbageCollectionStates()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_GCDataBuilder": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_GCDataBuilder(): + TypeOnly; +declare function use_current_ClassDeclaration_GCDataBuilder( + use: TypeOnly); +use_current_ClassDeclaration_GCDataBuilder( + get_old_ClassDeclaration_GCDataBuilder()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_GCDataBuilder": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_GCDataBuilder(): + TypeOnly; +declare function use_old_ClassDeclaration_GCDataBuilder( + use: TypeOnly); +use_old_ClassDeclaration_GCDataBuilder( + get_current_ClassDeclaration_GCDataBuilder()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IGCResult": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IGCResult(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IGCResult( + use: TypeOnly); +use_current_InterfaceDeclaration_IGCResult( + get_old_InterfaceDeclaration_IGCResult()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IGCResult": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IGCResult(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IGCResult( + use: TypeOnly); +use_old_InterfaceDeclaration_IGCResult( + get_current_InterfaceDeclaration_IGCResult()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_removeRouteFromAllNodes": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_removeRouteFromAllNodes(): + TypeOnly; +declare function use_current_FunctionDeclaration_removeRouteFromAllNodes( + use: TypeOnly); +use_current_FunctionDeclaration_removeRouteFromAllNodes( + get_old_FunctionDeclaration_removeRouteFromAllNodes()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_removeRouteFromAllNodes": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_removeRouteFromAllNodes(): + TypeOnly; +declare function use_old_FunctionDeclaration_removeRouteFromAllNodes( + use: TypeOnly); +use_old_FunctionDeclaration_removeRouteFromAllNodes( + get_current_FunctionDeclaration_removeRouteFromAllNodes()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_runGarbageCollection": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_runGarbageCollection(): + TypeOnly; +declare function use_current_FunctionDeclaration_runGarbageCollection( + use: TypeOnly); +use_current_FunctionDeclaration_runGarbageCollection( + get_old_FunctionDeclaration_runGarbageCollection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_runGarbageCollection": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_runGarbageCollection(): + TypeOnly; +declare function use_old_FunctionDeclaration_runGarbageCollection( + use: TypeOnly); +use_old_FunctionDeclaration_runGarbageCollection( + get_current_FunctionDeclaration_runGarbageCollection()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_unpackChildNodesGCDetails": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_unpackChildNodesGCDetails(): + TypeOnly; +declare function use_current_FunctionDeclaration_unpackChildNodesGCDetails( + use: TypeOnly); +use_current_FunctionDeclaration_unpackChildNodesGCDetails( + get_old_FunctionDeclaration_unpackChildNodesGCDetails()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_unpackChildNodesGCDetails": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_unpackChildNodesGCDetails(): + TypeOnly; +declare function use_old_FunctionDeclaration_unpackChildNodesGCDetails( + use: TypeOnly); +use_old_FunctionDeclaration_unpackChildNodesGCDetails( + get_current_FunctionDeclaration_unpackChildNodesGCDetails()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_unpackChildNodesUsedRoutes": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_unpackChildNodesUsedRoutes(): + TypeOnly; +declare function use_current_FunctionDeclaration_unpackChildNodesUsedRoutes( + use: TypeOnly); +use_current_FunctionDeclaration_unpackChildNodesUsedRoutes( + get_old_FunctionDeclaration_unpackChildNodesUsedRoutes()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_unpackChildNodesUsedRoutes": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_unpackChildNodesUsedRoutes(): + TypeOnly; +declare function use_old_FunctionDeclaration_unpackChildNodesUsedRoutes( + use: TypeOnly); +use_old_FunctionDeclaration_unpackChildNodesUsedRoutes( + get_current_FunctionDeclaration_unpackChildNodesUsedRoutes()); diff --git a/packages/runtime/runtime-definitions/package.json b/packages/runtime/runtime-definitions/package.json index eaaeaa441448..4346208cd829 100644 --- a/packages/runtime/runtime-definitions/package.json +++ b/packages/runtime/runtime-definitions/package.json @@ -14,15 +14,11 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { - "build": "npm run build:gen && concurrently npm:build:compile npm:lint && npm run build:docs", + "build": "concurrently npm:build:compile npm:lint && npm run build:docs", "build:compile": "npm run tsc && npm run build:test", "build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", "build:full": "npm run build", "build:full:compile": "npm run build:compile", - "build:gen": "npm run build:gen:typetests", - "build:gen:bump": "npm run build:gen:typetests:prepare", - "build:gen:typetests": "fluid-type-validator -d .", - "build:gen:typetests:prepare": "fluid-type-validator -d . -p", "build:test": "tsc --project ./src/test/tsconfig.json", "ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/", "clean": "rimraf dist *.tsbuildinfo *.build.log", @@ -45,16 +41,8 @@ }, "devDependencies": { "@fluidframework/build-common": "^0.23.0", - "@fluidframework/build-tools": "^0.2.58041", "@fluidframework/eslint-config-fluid": "^0.27.0", - "@fluidframework/runtime-definitions-0.51.1": "npm:@fluidframework/runtime-definitions@0.51.1", - "@fluidframework/runtime-definitions-0.52.0": "npm:@fluidframework/runtime-definitions@0.52.0", - "@fluidframework/runtime-definitions-0.53.0": "npm:@fluidframework/runtime-definitions@0.53.0", - "@fluidframework/runtime-definitions-0.54.0": "npm:@fluidframework/runtime-definitions@0.54.0", - "@fluidframework/runtime-definitions-0.55.0": "npm:@fluidframework/runtime-definitions@0.55.0", - "@fluidframework/runtime-definitions-0.56.0": "npm:@fluidframework/runtime-definitions@0.56.0", - "@fluidframework/runtime-definitions-0.57.0": "npm:@fluidframework/runtime-definitions@0.57.0", - "@fluidframework/runtime-definitions-0.58.1000": "npm:@fluidframework/runtime-definitions@0.58.1000", + "@fluidframework/runtime-definitions-previous": "npm:@fluidframework/runtime-definitions@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@typescript-eslint/eslint-plugin": "~5.9.0", @@ -74,314 +62,6 @@ }, "typeValidation": { "version": "0.58.3000", - "broken": { - "0.51.1": { - "InterfaceDeclaration_IFluidDataStoreContextDetached": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreContext": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IContainerRuntimeBase": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IContainerRuntime": { - "backCompat": false - }, - "InterfaceDeclaration_IChannelFactory": { - "backCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreRuntime": { - "backCompat": false - }, - "InterfaceDeclaration_IProvideFluidDataStoreRegistry": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_FluidDataStoreRegistryEntry": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideFluidDataStoreFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreRegistry": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_FluidDataStoreRegistryEntry": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.52.0": { - "InterfaceDeclaration_IContainerRuntimeBase": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreContext": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreContextDetached": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_FluidDataStoreRegistryEntry": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreRegistry": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideFluidDataStoreFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideFluidDataStoreRegistry": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.53.0": { - "InterfaceDeclaration_IContainerRuntimeBase": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreContext": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreContextDetached": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_FluidDataStoreRegistryEntry": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreRegistry": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideFluidDataStoreFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideFluidDataStoreRegistry": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.54.0": { - "TypeAliasDeclaration_FluidDataStoreRegistryEntry": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IContainerRuntimeBase": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreContext": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreContextDetached": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreRegistry": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideFluidDataStoreFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideFluidDataStoreRegistry": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.55.0": { - "TypeAliasDeclaration_FluidDataStoreRegistryEntry": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IContainerRuntimeBase": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreContext": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreContextDetached": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreRegistry": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideFluidDataStoreFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideFluidDataStoreRegistry": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.56.0": { - "InterfaceDeclaration_IContainerRuntimeBase": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreContext": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreContextDetached": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_FluidDataStoreRegistryEntry": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreRegistry": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideFluidDataStoreFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideFluidDataStoreRegistry": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": { - "backCompat": false, - "forwardCompat": false - } - }, - "0.57.0": { - "InterfaceDeclaration_IContainerRuntimeBase": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreContext": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreContextDetached": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_FluidDataStoreRegistryEntry": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreRegistry": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideFluidDataStoreFactory": { - "backCompat": false, - "forwardCompat": false - }, - "InterfaceDeclaration_IProvideFluidDataStoreRegistry": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": { - "backCompat": false, - "forwardCompat": false - }, - "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": { - "backCompat": false, - "forwardCompat": false - } - } - } + "broken": {} } } \ No newline at end of file diff --git a/packages/runtime/runtime-definitions/src/test/types/validate0.51.1.ts b/packages/runtime/runtime-definitions/src/test/types/validate0.51.1.ts deleted file mode 100644 index eaeeb5f8e34b..000000000000 --- a/packages/runtime/runtime-definitions/src/test/types/validate0.51.1.ts +++ /dev/null @@ -1,918 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/runtime-definitions-0.51.1"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "VariableDeclaration_channelsTreeName": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_channelsTreeName(): - typeof old.channelsTreeName; -declare function use_current_VariableDeclaration_channelsTreeName( - use: typeof current.channelsTreeName); -use_current_VariableDeclaration_channelsTreeName( - get_old_VariableDeclaration_channelsTreeName()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "VariableDeclaration_channelsTreeName": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_channelsTreeName(): - typeof current.channelsTreeName; -declare function use_old_VariableDeclaration_channelsTreeName( - use: typeof old.channelsTreeName); -use_old_VariableDeclaration_channelsTreeName( - get_current_VariableDeclaration_channelsTreeName()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_CreateChildSummarizerNodeFn": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn(): - old.CreateChildSummarizerNodeFn; -declare function use_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - use: current.CreateChildSummarizerNodeFn); -use_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - get_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_CreateChildSummarizerNodeFn": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn(): - current.CreateChildSummarizerNodeFn; -declare function use_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - use: old.CreateChildSummarizerNodeFn); -use_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - get_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_CreateChildSummarizerNodeParam": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam(): - old.CreateChildSummarizerNodeParam; -declare function use_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - use: current.CreateChildSummarizerNodeParam); -use_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - get_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_CreateChildSummarizerNodeParam": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam(): - current.CreateChildSummarizerNodeParam; -declare function use_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - use: old.CreateChildSummarizerNodeParam); -use_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - get_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "EnumDeclaration_CreateSummarizerNodeSource": {"forwardCompat": false} -*/ -declare function get_old_EnumDeclaration_CreateSummarizerNodeSource(): - old.CreateSummarizerNodeSource; -declare function use_current_EnumDeclaration_CreateSummarizerNodeSource( - use: current.CreateSummarizerNodeSource); -use_current_EnumDeclaration_CreateSummarizerNodeSource( - get_old_EnumDeclaration_CreateSummarizerNodeSource()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "EnumDeclaration_CreateSummarizerNodeSource": {"backCompat": false} -*/ -declare function get_current_EnumDeclaration_CreateSummarizerNodeSource(): - current.CreateSummarizerNodeSource; -declare function use_old_EnumDeclaration_CreateSummarizerNodeSource( - use: old.CreateSummarizerNodeSource); -use_old_EnumDeclaration_CreateSummarizerNodeSource( - get_current_EnumDeclaration_CreateSummarizerNodeSource()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_FluidDataStoreRegistryEntry": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry(): - old.FluidDataStoreRegistryEntry; -declare function use_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - use: current.FluidDataStoreRegistryEntry); -use_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_FluidDataStoreRegistryEntry": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry(): - current.FluidDataStoreRegistryEntry; -declare function use_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - use: old.FluidDataStoreRegistryEntry); -use_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "EnumDeclaration_FlushMode": {"forwardCompat": false} -*/ -declare function get_old_EnumDeclaration_FlushMode(): - old.FlushMode; -declare function use_current_EnumDeclaration_FlushMode( - use: current.FlushMode); -use_current_EnumDeclaration_FlushMode( - get_old_EnumDeclaration_FlushMode()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "EnumDeclaration_FlushMode": {"backCompat": false} -*/ -declare function get_current_EnumDeclaration_FlushMode(): - current.FlushMode; -declare function use_old_EnumDeclaration_FlushMode( - use: old.FlushMode); -use_old_EnumDeclaration_FlushMode( - get_current_EnumDeclaration_FlushMode()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "VariableDeclaration_gcBlobKey": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_gcBlobKey(): - typeof old.gcBlobKey; -declare function use_current_VariableDeclaration_gcBlobKey( - use: typeof current.gcBlobKey); -use_current_VariableDeclaration_gcBlobKey( - get_old_VariableDeclaration_gcBlobKey()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "VariableDeclaration_gcBlobKey": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_gcBlobKey(): - typeof current.gcBlobKey; -declare function use_old_VariableDeclaration_gcBlobKey( - use: typeof old.gcBlobKey); -use_old_VariableDeclaration_gcBlobKey( - get_current_VariableDeclaration_gcBlobKey()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IAttachMessage": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IAttachMessage(): - old.IAttachMessage; -declare function use_current_InterfaceDeclaration_IAttachMessage( - use: current.IAttachMessage); -use_current_InterfaceDeclaration_IAttachMessage( - get_old_InterfaceDeclaration_IAttachMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IAttachMessage": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IAttachMessage(): - current.IAttachMessage; -declare function use_old_InterfaceDeclaration_IAttachMessage( - use: old.IAttachMessage); -use_old_InterfaceDeclaration_IAttachMessage( - get_current_InterfaceDeclaration_IAttachMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IContainerRuntimeBase": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeBase(): - old.IContainerRuntimeBase; -declare function use_current_InterfaceDeclaration_IContainerRuntimeBase( - use: current.IContainerRuntimeBase); -use_current_InterfaceDeclaration_IContainerRuntimeBase( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IContainerRuntimeBase()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IContainerRuntimeBase": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeBase(): - current.IContainerRuntimeBase; -declare function use_old_InterfaceDeclaration_IContainerRuntimeBase( - use: old.IContainerRuntimeBase); -use_old_InterfaceDeclaration_IContainerRuntimeBase( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IContainerRuntimeBase()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IContainerRuntimeBaseEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeBaseEvents(): - old.IContainerRuntimeBaseEvents; -declare function use_current_InterfaceDeclaration_IContainerRuntimeBaseEvents( - use: current.IContainerRuntimeBaseEvents); -use_current_InterfaceDeclaration_IContainerRuntimeBaseEvents( - get_old_InterfaceDeclaration_IContainerRuntimeBaseEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IContainerRuntimeBaseEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeBaseEvents(): - current.IContainerRuntimeBaseEvents; -declare function use_old_InterfaceDeclaration_IContainerRuntimeBaseEvents( - use: old.IContainerRuntimeBaseEvents); -use_old_InterfaceDeclaration_IContainerRuntimeBaseEvents( - get_current_InterfaceDeclaration_IContainerRuntimeBaseEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IEnvelope": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IEnvelope(): - old.IEnvelope; -declare function use_current_InterfaceDeclaration_IEnvelope( - use: current.IEnvelope); -use_current_InterfaceDeclaration_IEnvelope( - get_old_InterfaceDeclaration_IEnvelope()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IEnvelope": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IEnvelope(): - current.IEnvelope; -declare function use_old_InterfaceDeclaration_IEnvelope( - use: old.IEnvelope); -use_old_InterfaceDeclaration_IEnvelope( - get_current_InterfaceDeclaration_IEnvelope()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IFluidDataStoreChannel": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreChannel(): - old.IFluidDataStoreChannel; -declare function use_current_InterfaceDeclaration_IFluidDataStoreChannel( - use: current.IFluidDataStoreChannel); -use_current_InterfaceDeclaration_IFluidDataStoreChannel( - get_old_InterfaceDeclaration_IFluidDataStoreChannel()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IFluidDataStoreChannel": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreChannel(): - current.IFluidDataStoreChannel; -declare function use_old_InterfaceDeclaration_IFluidDataStoreChannel( - use: old.IFluidDataStoreChannel); -use_old_InterfaceDeclaration_IFluidDataStoreChannel( - get_current_InterfaceDeclaration_IFluidDataStoreChannel()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IFluidDataStoreContext": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContext(): - old.IFluidDataStoreContext; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContext( - use: current.IFluidDataStoreContext); -use_current_InterfaceDeclaration_IFluidDataStoreContext( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreContext()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IFluidDataStoreContext": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContext(): - current.IFluidDataStoreContext; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContext( - use: old.IFluidDataStoreContext); -use_old_InterfaceDeclaration_IFluidDataStoreContext( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreContext()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IFluidDataStoreContextDetached": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContextDetached(): - old.IFluidDataStoreContextDetached; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContextDetached( - use: current.IFluidDataStoreContextDetached); -use_current_InterfaceDeclaration_IFluidDataStoreContextDetached( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreContextDetached()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IFluidDataStoreContextDetached": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContextDetached(): - current.IFluidDataStoreContextDetached; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContextDetached( - use: old.IFluidDataStoreContextDetached); -use_old_InterfaceDeclaration_IFluidDataStoreContextDetached( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreContextDetached()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IFluidDataStoreContextEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContextEvents(): - old.IFluidDataStoreContextEvents; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContextEvents( - use: current.IFluidDataStoreContextEvents); -use_current_InterfaceDeclaration_IFluidDataStoreContextEvents( - get_old_InterfaceDeclaration_IFluidDataStoreContextEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IFluidDataStoreContextEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContextEvents(): - current.IFluidDataStoreContextEvents; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContextEvents( - use: old.IFluidDataStoreContextEvents); -use_old_InterfaceDeclaration_IFluidDataStoreContextEvents( - get_current_InterfaceDeclaration_IFluidDataStoreContextEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "VariableDeclaration_IFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IFluidDataStoreFactory(): - typeof old.IFluidDataStoreFactory; -declare function use_current_VariableDeclaration_IFluidDataStoreFactory( - use: typeof current.IFluidDataStoreFactory); -use_current_VariableDeclaration_IFluidDataStoreFactory( - get_old_VariableDeclaration_IFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "VariableDeclaration_IFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IFluidDataStoreFactory(): - typeof current.IFluidDataStoreFactory; -declare function use_old_VariableDeclaration_IFluidDataStoreFactory( - use: typeof old.IFluidDataStoreFactory); -use_old_VariableDeclaration_IFluidDataStoreFactory( - get_current_VariableDeclaration_IFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreFactory(): - old.IFluidDataStoreFactory; -declare function use_current_InterfaceDeclaration_IFluidDataStoreFactory( - use: current.IFluidDataStoreFactory); -use_current_InterfaceDeclaration_IFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreFactory(): - current.IFluidDataStoreFactory; -declare function use_old_InterfaceDeclaration_IFluidDataStoreFactory( - use: old.IFluidDataStoreFactory); -use_old_InterfaceDeclaration_IFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "VariableDeclaration_IFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IFluidDataStoreRegistry(): - typeof old.IFluidDataStoreRegistry; -declare function use_current_VariableDeclaration_IFluidDataStoreRegistry( - use: typeof current.IFluidDataStoreRegistry); -use_current_VariableDeclaration_IFluidDataStoreRegistry( - get_old_VariableDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "VariableDeclaration_IFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IFluidDataStoreRegistry(): - typeof current.IFluidDataStoreRegistry; -declare function use_old_VariableDeclaration_IFluidDataStoreRegistry( - use: typeof old.IFluidDataStoreRegistry); -use_old_VariableDeclaration_IFluidDataStoreRegistry( - get_current_VariableDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRegistry(): - old.IFluidDataStoreRegistry; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRegistry( - use: current.IFluidDataStoreRegistry); -use_current_InterfaceDeclaration_IFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRegistry(): - current.IFluidDataStoreRegistry; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRegistry( - use: old.IFluidDataStoreRegistry); -use_old_InterfaceDeclaration_IFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IGarbageCollectionData": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionData(): - old.IGarbageCollectionData; -declare function use_current_InterfaceDeclaration_IGarbageCollectionData( - use: current.IGarbageCollectionData); -use_current_InterfaceDeclaration_IGarbageCollectionData( - get_old_InterfaceDeclaration_IGarbageCollectionData()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IGarbageCollectionData": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionData(): - current.IGarbageCollectionData; -declare function use_old_InterfaceDeclaration_IGarbageCollectionData( - use: old.IGarbageCollectionData); -use_old_InterfaceDeclaration_IGarbageCollectionData( - get_current_InterfaceDeclaration_IGarbageCollectionData()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionSummaryDetails(): - old.IGarbageCollectionSummaryDetails; -declare function use_current_RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails( - use: current.IGarbageCollectionSummaryDetails); -use_current_RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails( - get_old_InterfaceDeclaration_IGarbageCollectionSummaryDetails()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails": {"backCompat": false} -*/ -declare function get_current_RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails(): - current.IGarbageCollectionSummaryDetails; -declare function use_old_InterfaceDeclaration_IGarbageCollectionSummaryDetails( - use: old.IGarbageCollectionSummaryDetails); -use_old_InterfaceDeclaration_IGarbageCollectionSummaryDetails( - get_current_RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IInboundSignalMessage": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IInboundSignalMessage(): - old.IInboundSignalMessage; -declare function use_current_InterfaceDeclaration_IInboundSignalMessage( - use: current.IInboundSignalMessage); -use_current_InterfaceDeclaration_IInboundSignalMessage( - get_old_InterfaceDeclaration_IInboundSignalMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IInboundSignalMessage": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IInboundSignalMessage(): - current.IInboundSignalMessage; -declare function use_old_InterfaceDeclaration_IInboundSignalMessage( - use: old.IInboundSignalMessage); -use_old_InterfaceDeclaration_IInboundSignalMessage( - get_current_InterfaceDeclaration_IInboundSignalMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_InboundAttachMessage": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_InboundAttachMessage(): - old.InboundAttachMessage; -declare function use_current_TypeAliasDeclaration_InboundAttachMessage( - use: current.InboundAttachMessage); -use_current_TypeAliasDeclaration_InboundAttachMessage( - get_old_TypeAliasDeclaration_InboundAttachMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_InboundAttachMessage": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_InboundAttachMessage(): - current.InboundAttachMessage; -declare function use_old_TypeAliasDeclaration_InboundAttachMessage( - use: old.InboundAttachMessage); -use_old_TypeAliasDeclaration_InboundAttachMessage( - get_current_TypeAliasDeclaration_InboundAttachMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IProvideFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideFluidDataStoreFactory(): - old.IProvideFluidDataStoreFactory; -declare function use_current_InterfaceDeclaration_IProvideFluidDataStoreFactory( - use: current.IProvideFluidDataStoreFactory); -use_current_InterfaceDeclaration_IProvideFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IProvideFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideFluidDataStoreFactory(): - current.IProvideFluidDataStoreFactory; -declare function use_old_InterfaceDeclaration_IProvideFluidDataStoreFactory( - use: old.IProvideFluidDataStoreFactory); -use_old_InterfaceDeclaration_IProvideFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IProvideFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry(): - old.IProvideFluidDataStoreRegistry; -declare function use_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - use: current.IProvideFluidDataStoreRegistry); -use_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_IProvideFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry(): - current.IProvideFluidDataStoreRegistry; -declare function use_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - use: old.IProvideFluidDataStoreRegistry); -use_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISignalEnvelope": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISignalEnvelope(): - old.ISignalEnvelope; -declare function use_current_InterfaceDeclaration_ISignalEnvelope( - use: current.ISignalEnvelope); -use_current_InterfaceDeclaration_ISignalEnvelope( - get_old_InterfaceDeclaration_ISignalEnvelope()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISignalEnvelope": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISignalEnvelope(): - current.ISignalEnvelope; -declare function use_old_InterfaceDeclaration_ISignalEnvelope( - use: old.ISignalEnvelope); -use_old_InterfaceDeclaration_ISignalEnvelope( - get_current_InterfaceDeclaration_ISignalEnvelope()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISummarizeInternalResult": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizeInternalResult(): - old.ISummarizeInternalResult; -declare function use_current_InterfaceDeclaration_ISummarizeInternalResult( - use: current.ISummarizeInternalResult); -use_current_InterfaceDeclaration_ISummarizeInternalResult( - get_old_InterfaceDeclaration_ISummarizeInternalResult()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISummarizeInternalResult": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizeInternalResult(): - current.ISummarizeInternalResult; -declare function use_old_InterfaceDeclaration_ISummarizeInternalResult( - use: old.ISummarizeInternalResult); -use_old_InterfaceDeclaration_ISummarizeInternalResult( - get_current_InterfaceDeclaration_ISummarizeInternalResult()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISummarizeResult": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizeResult(): - old.ISummarizeResult; -declare function use_current_InterfaceDeclaration_ISummarizeResult( - use: current.ISummarizeResult); -use_current_InterfaceDeclaration_ISummarizeResult( - get_old_InterfaceDeclaration_ISummarizeResult()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISummarizeResult": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizeResult(): - current.ISummarizeResult; -declare function use_old_InterfaceDeclaration_ISummarizeResult( - use: old.ISummarizeResult); -use_old_InterfaceDeclaration_ISummarizeResult( - get_current_InterfaceDeclaration_ISummarizeResult()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISummarizerNode": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNode(): - old.ISummarizerNode; -declare function use_current_InterfaceDeclaration_ISummarizerNode( - use: current.ISummarizerNode); -use_current_InterfaceDeclaration_ISummarizerNode( - get_old_InterfaceDeclaration_ISummarizerNode()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISummarizerNode": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNode(): - current.ISummarizerNode; -declare function use_old_InterfaceDeclaration_ISummarizerNode( - use: old.ISummarizerNode); -use_old_InterfaceDeclaration_ISummarizerNode( - get_current_InterfaceDeclaration_ISummarizerNode()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISummarizerNodeConfig": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeConfig(): - old.ISummarizerNodeConfig; -declare function use_current_InterfaceDeclaration_ISummarizerNodeConfig( - use: current.ISummarizerNodeConfig); -use_current_InterfaceDeclaration_ISummarizerNodeConfig( - get_old_InterfaceDeclaration_ISummarizerNodeConfig()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISummarizerNodeConfig": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeConfig(): - current.ISummarizerNodeConfig; -declare function use_old_InterfaceDeclaration_ISummarizerNodeConfig( - use: old.ISummarizerNodeConfig); -use_old_InterfaceDeclaration_ISummarizerNodeConfig( - get_current_InterfaceDeclaration_ISummarizerNodeConfig()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISummarizerNodeConfigWithGC": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC(): - old.ISummarizerNodeConfigWithGC; -declare function use_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - use: current.ISummarizerNodeConfigWithGC); -use_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - get_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISummarizerNodeConfigWithGC": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC(): - current.ISummarizerNodeConfigWithGC; -declare function use_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - use: old.ISummarizerNodeConfigWithGC); -use_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - get_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISummarizerNodeWithGC": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeWithGC(): - old.ISummarizerNodeWithGC; -declare function use_current_InterfaceDeclaration_ISummarizerNodeWithGC( - use: current.ISummarizerNodeWithGC); -use_current_InterfaceDeclaration_ISummarizerNodeWithGC( - get_old_InterfaceDeclaration_ISummarizerNodeWithGC()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISummarizerNodeWithGC": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeWithGC(): - current.ISummarizerNodeWithGC; -declare function use_old_InterfaceDeclaration_ISummarizerNodeWithGC( - use: old.ISummarizerNodeWithGC); -use_old_InterfaceDeclaration_ISummarizerNodeWithGC( - get_current_InterfaceDeclaration_ISummarizerNodeWithGC()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISummaryStats": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummaryStats(): - old.ISummaryStats; -declare function use_current_InterfaceDeclaration_ISummaryStats( - use: current.ISummaryStats); -use_current_InterfaceDeclaration_ISummaryStats( - get_old_InterfaceDeclaration_ISummaryStats()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISummaryStats": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummaryStats(): - current.ISummaryStats; -declare function use_old_InterfaceDeclaration_ISummaryStats( - use: old.ISummaryStats); -use_old_InterfaceDeclaration_ISummaryStats( - get_current_InterfaceDeclaration_ISummaryStats()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISummaryTreeWithStats": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummaryTreeWithStats(): - old.ISummaryTreeWithStats; -declare function use_current_InterfaceDeclaration_ISummaryTreeWithStats( - use: current.ISummaryTreeWithStats); -use_current_InterfaceDeclaration_ISummaryTreeWithStats( - get_old_InterfaceDeclaration_ISummaryTreeWithStats()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "InterfaceDeclaration_ISummaryTreeWithStats": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummaryTreeWithStats(): - current.ISummaryTreeWithStats; -declare function use_old_InterfaceDeclaration_ISummaryTreeWithStats( - use: old.ISummaryTreeWithStats); -use_old_InterfaceDeclaration_ISummaryTreeWithStats( - get_current_InterfaceDeclaration_ISummaryTreeWithStats()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries(): - old.NamedFluidDataStoreRegistryEntries; -declare function use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - use: current.NamedFluidDataStoreRegistryEntries); -use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries(): - current.NamedFluidDataStoreRegistryEntries; -declare function use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - use: old.NamedFluidDataStoreRegistryEntries); -use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry(): - old.NamedFluidDataStoreRegistryEntry; -declare function use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - use: current.NamedFluidDataStoreRegistryEntry); -use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry(): - current.NamedFluidDataStoreRegistryEntry; -declare function use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - use: old.NamedFluidDataStoreRegistryEntry); -use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_SummarizeInternalFn": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_SummarizeInternalFn(): - old.SummarizeInternalFn; -declare function use_current_TypeAliasDeclaration_SummarizeInternalFn( - use: current.SummarizeInternalFn); -use_current_TypeAliasDeclaration_SummarizeInternalFn( - get_old_TypeAliasDeclaration_SummarizeInternalFn()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.51.1: -* "TypeAliasDeclaration_SummarizeInternalFn": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_SummarizeInternalFn(): - current.SummarizeInternalFn; -declare function use_old_TypeAliasDeclaration_SummarizeInternalFn( - use: old.SummarizeInternalFn); -use_old_TypeAliasDeclaration_SummarizeInternalFn( - get_current_TypeAliasDeclaration_SummarizeInternalFn()); diff --git a/packages/runtime/runtime-definitions/src/test/types/validate0.52.0.ts b/packages/runtime/runtime-definitions/src/test/types/validate0.52.0.ts deleted file mode 100644 index ea427f30d3d7..000000000000 --- a/packages/runtime/runtime-definitions/src/test/types/validate0.52.0.ts +++ /dev/null @@ -1,918 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/runtime-definitions-0.52.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "VariableDeclaration_channelsTreeName": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_channelsTreeName(): - typeof old.channelsTreeName; -declare function use_current_VariableDeclaration_channelsTreeName( - use: typeof current.channelsTreeName); -use_current_VariableDeclaration_channelsTreeName( - get_old_VariableDeclaration_channelsTreeName()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "VariableDeclaration_channelsTreeName": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_channelsTreeName(): - typeof current.channelsTreeName; -declare function use_old_VariableDeclaration_channelsTreeName( - use: typeof old.channelsTreeName); -use_old_VariableDeclaration_channelsTreeName( - get_current_VariableDeclaration_channelsTreeName()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeFn": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn(): - old.CreateChildSummarizerNodeFn; -declare function use_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - use: current.CreateChildSummarizerNodeFn); -use_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - get_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeFn": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn(): - current.CreateChildSummarizerNodeFn; -declare function use_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - use: old.CreateChildSummarizerNodeFn); -use_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - get_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeParam": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam(): - old.CreateChildSummarizerNodeParam; -declare function use_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - use: current.CreateChildSummarizerNodeParam); -use_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - get_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeParam": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam(): - current.CreateChildSummarizerNodeParam; -declare function use_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - use: old.CreateChildSummarizerNodeParam); -use_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - get_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "EnumDeclaration_CreateSummarizerNodeSource": {"forwardCompat": false} -*/ -declare function get_old_EnumDeclaration_CreateSummarizerNodeSource(): - old.CreateSummarizerNodeSource; -declare function use_current_EnumDeclaration_CreateSummarizerNodeSource( - use: current.CreateSummarizerNodeSource); -use_current_EnumDeclaration_CreateSummarizerNodeSource( - get_old_EnumDeclaration_CreateSummarizerNodeSource()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "EnumDeclaration_CreateSummarizerNodeSource": {"backCompat": false} -*/ -declare function get_current_EnumDeclaration_CreateSummarizerNodeSource(): - current.CreateSummarizerNodeSource; -declare function use_old_EnumDeclaration_CreateSummarizerNodeSource( - use: old.CreateSummarizerNodeSource); -use_old_EnumDeclaration_CreateSummarizerNodeSource( - get_current_EnumDeclaration_CreateSummarizerNodeSource()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_FluidDataStoreRegistryEntry": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry(): - old.FluidDataStoreRegistryEntry; -declare function use_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - use: current.FluidDataStoreRegistryEntry); -use_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_FluidDataStoreRegistryEntry": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry(): - current.FluidDataStoreRegistryEntry; -declare function use_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - use: old.FluidDataStoreRegistryEntry); -use_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "EnumDeclaration_FlushMode": {"forwardCompat": false} -*/ -declare function get_old_EnumDeclaration_FlushMode(): - old.FlushMode; -declare function use_current_EnumDeclaration_FlushMode( - use: current.FlushMode); -use_current_EnumDeclaration_FlushMode( - get_old_EnumDeclaration_FlushMode()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "EnumDeclaration_FlushMode": {"backCompat": false} -*/ -declare function get_current_EnumDeclaration_FlushMode(): - current.FlushMode; -declare function use_old_EnumDeclaration_FlushMode( - use: old.FlushMode); -use_old_EnumDeclaration_FlushMode( - get_current_EnumDeclaration_FlushMode()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "VariableDeclaration_gcBlobKey": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_gcBlobKey(): - typeof old.gcBlobKey; -declare function use_current_VariableDeclaration_gcBlobKey( - use: typeof current.gcBlobKey); -use_current_VariableDeclaration_gcBlobKey( - get_old_VariableDeclaration_gcBlobKey()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "VariableDeclaration_gcBlobKey": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_gcBlobKey(): - typeof current.gcBlobKey; -declare function use_old_VariableDeclaration_gcBlobKey( - use: typeof old.gcBlobKey); -use_old_VariableDeclaration_gcBlobKey( - get_current_VariableDeclaration_gcBlobKey()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IAttachMessage": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IAttachMessage(): - old.IAttachMessage; -declare function use_current_InterfaceDeclaration_IAttachMessage( - use: current.IAttachMessage); -use_current_InterfaceDeclaration_IAttachMessage( - get_old_InterfaceDeclaration_IAttachMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IAttachMessage": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IAttachMessage(): - current.IAttachMessage; -declare function use_old_InterfaceDeclaration_IAttachMessage( - use: old.IAttachMessage); -use_old_InterfaceDeclaration_IAttachMessage( - get_current_InterfaceDeclaration_IAttachMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IContainerRuntimeBase": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeBase(): - old.IContainerRuntimeBase; -declare function use_current_InterfaceDeclaration_IContainerRuntimeBase( - use: current.IContainerRuntimeBase); -use_current_InterfaceDeclaration_IContainerRuntimeBase( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IContainerRuntimeBase()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IContainerRuntimeBase": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeBase(): - current.IContainerRuntimeBase; -declare function use_old_InterfaceDeclaration_IContainerRuntimeBase( - use: old.IContainerRuntimeBase); -use_old_InterfaceDeclaration_IContainerRuntimeBase( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IContainerRuntimeBase()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IContainerRuntimeBaseEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeBaseEvents(): - old.IContainerRuntimeBaseEvents; -declare function use_current_InterfaceDeclaration_IContainerRuntimeBaseEvents( - use: current.IContainerRuntimeBaseEvents); -use_current_InterfaceDeclaration_IContainerRuntimeBaseEvents( - get_old_InterfaceDeclaration_IContainerRuntimeBaseEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IContainerRuntimeBaseEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeBaseEvents(): - current.IContainerRuntimeBaseEvents; -declare function use_old_InterfaceDeclaration_IContainerRuntimeBaseEvents( - use: old.IContainerRuntimeBaseEvents); -use_old_InterfaceDeclaration_IContainerRuntimeBaseEvents( - get_current_InterfaceDeclaration_IContainerRuntimeBaseEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IEnvelope": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IEnvelope(): - old.IEnvelope; -declare function use_current_InterfaceDeclaration_IEnvelope( - use: current.IEnvelope); -use_current_InterfaceDeclaration_IEnvelope( - get_old_InterfaceDeclaration_IEnvelope()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IEnvelope": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IEnvelope(): - current.IEnvelope; -declare function use_old_InterfaceDeclaration_IEnvelope( - use: old.IEnvelope); -use_old_InterfaceDeclaration_IEnvelope( - get_current_InterfaceDeclaration_IEnvelope()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IFluidDataStoreChannel": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreChannel(): - old.IFluidDataStoreChannel; -declare function use_current_InterfaceDeclaration_IFluidDataStoreChannel( - use: current.IFluidDataStoreChannel); -use_current_InterfaceDeclaration_IFluidDataStoreChannel( - get_old_InterfaceDeclaration_IFluidDataStoreChannel()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IFluidDataStoreChannel": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreChannel(): - current.IFluidDataStoreChannel; -declare function use_old_InterfaceDeclaration_IFluidDataStoreChannel( - use: old.IFluidDataStoreChannel); -use_old_InterfaceDeclaration_IFluidDataStoreChannel( - get_current_InterfaceDeclaration_IFluidDataStoreChannel()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IFluidDataStoreContext": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContext(): - old.IFluidDataStoreContext; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContext( - use: current.IFluidDataStoreContext); -use_current_InterfaceDeclaration_IFluidDataStoreContext( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreContext()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IFluidDataStoreContext": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContext(): - current.IFluidDataStoreContext; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContext( - use: old.IFluidDataStoreContext); -use_old_InterfaceDeclaration_IFluidDataStoreContext( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreContext()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IFluidDataStoreContextDetached": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContextDetached(): - old.IFluidDataStoreContextDetached; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContextDetached( - use: current.IFluidDataStoreContextDetached); -use_current_InterfaceDeclaration_IFluidDataStoreContextDetached( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreContextDetached()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IFluidDataStoreContextDetached": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContextDetached(): - current.IFluidDataStoreContextDetached; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContextDetached( - use: old.IFluidDataStoreContextDetached); -use_old_InterfaceDeclaration_IFluidDataStoreContextDetached( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreContextDetached()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IFluidDataStoreContextEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContextEvents(): - old.IFluidDataStoreContextEvents; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContextEvents( - use: current.IFluidDataStoreContextEvents); -use_current_InterfaceDeclaration_IFluidDataStoreContextEvents( - get_old_InterfaceDeclaration_IFluidDataStoreContextEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IFluidDataStoreContextEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContextEvents(): - current.IFluidDataStoreContextEvents; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContextEvents( - use: old.IFluidDataStoreContextEvents); -use_old_InterfaceDeclaration_IFluidDataStoreContextEvents( - get_current_InterfaceDeclaration_IFluidDataStoreContextEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "VariableDeclaration_IFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IFluidDataStoreFactory(): - typeof old.IFluidDataStoreFactory; -declare function use_current_VariableDeclaration_IFluidDataStoreFactory( - use: typeof current.IFluidDataStoreFactory); -use_current_VariableDeclaration_IFluidDataStoreFactory( - get_old_VariableDeclaration_IFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "VariableDeclaration_IFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IFluidDataStoreFactory(): - typeof current.IFluidDataStoreFactory; -declare function use_old_VariableDeclaration_IFluidDataStoreFactory( - use: typeof old.IFluidDataStoreFactory); -use_old_VariableDeclaration_IFluidDataStoreFactory( - get_current_VariableDeclaration_IFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreFactory(): - old.IFluidDataStoreFactory; -declare function use_current_InterfaceDeclaration_IFluidDataStoreFactory( - use: current.IFluidDataStoreFactory); -use_current_InterfaceDeclaration_IFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreFactory(): - current.IFluidDataStoreFactory; -declare function use_old_InterfaceDeclaration_IFluidDataStoreFactory( - use: old.IFluidDataStoreFactory); -use_old_InterfaceDeclaration_IFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "VariableDeclaration_IFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IFluidDataStoreRegistry(): - typeof old.IFluidDataStoreRegistry; -declare function use_current_VariableDeclaration_IFluidDataStoreRegistry( - use: typeof current.IFluidDataStoreRegistry); -use_current_VariableDeclaration_IFluidDataStoreRegistry( - get_old_VariableDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "VariableDeclaration_IFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IFluidDataStoreRegistry(): - typeof current.IFluidDataStoreRegistry; -declare function use_old_VariableDeclaration_IFluidDataStoreRegistry( - use: typeof old.IFluidDataStoreRegistry); -use_old_VariableDeclaration_IFluidDataStoreRegistry( - get_current_VariableDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRegistry(): - old.IFluidDataStoreRegistry; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRegistry( - use: current.IFluidDataStoreRegistry); -use_current_InterfaceDeclaration_IFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRegistry(): - current.IFluidDataStoreRegistry; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRegistry( - use: old.IFluidDataStoreRegistry); -use_old_InterfaceDeclaration_IFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IGarbageCollectionData": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionData(): - old.IGarbageCollectionData; -declare function use_current_InterfaceDeclaration_IGarbageCollectionData( - use: current.IGarbageCollectionData); -use_current_InterfaceDeclaration_IGarbageCollectionData( - get_old_InterfaceDeclaration_IGarbageCollectionData()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IGarbageCollectionData": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionData(): - current.IGarbageCollectionData; -declare function use_old_InterfaceDeclaration_IGarbageCollectionData( - use: old.IGarbageCollectionData); -use_old_InterfaceDeclaration_IGarbageCollectionData( - get_current_InterfaceDeclaration_IGarbageCollectionData()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionSummaryDetails(): - old.IGarbageCollectionSummaryDetails; -declare function use_current_RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails( - use: current.IGarbageCollectionSummaryDetails); -use_current_RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails( - get_old_InterfaceDeclaration_IGarbageCollectionSummaryDetails()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails": {"backCompat": false} -*/ -declare function get_current_RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails(): - current.IGarbageCollectionSummaryDetails; -declare function use_old_InterfaceDeclaration_IGarbageCollectionSummaryDetails( - use: old.IGarbageCollectionSummaryDetails); -use_old_InterfaceDeclaration_IGarbageCollectionSummaryDetails( - get_current_RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IInboundSignalMessage": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IInboundSignalMessage(): - old.IInboundSignalMessage; -declare function use_current_InterfaceDeclaration_IInboundSignalMessage( - use: current.IInboundSignalMessage); -use_current_InterfaceDeclaration_IInboundSignalMessage( - get_old_InterfaceDeclaration_IInboundSignalMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IInboundSignalMessage": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IInboundSignalMessage(): - current.IInboundSignalMessage; -declare function use_old_InterfaceDeclaration_IInboundSignalMessage( - use: old.IInboundSignalMessage); -use_old_InterfaceDeclaration_IInboundSignalMessage( - get_current_InterfaceDeclaration_IInboundSignalMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_InboundAttachMessage": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_InboundAttachMessage(): - old.InboundAttachMessage; -declare function use_current_TypeAliasDeclaration_InboundAttachMessage( - use: current.InboundAttachMessage); -use_current_TypeAliasDeclaration_InboundAttachMessage( - get_old_TypeAliasDeclaration_InboundAttachMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_InboundAttachMessage": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_InboundAttachMessage(): - current.InboundAttachMessage; -declare function use_old_TypeAliasDeclaration_InboundAttachMessage( - use: old.InboundAttachMessage); -use_old_TypeAliasDeclaration_InboundAttachMessage( - get_current_TypeAliasDeclaration_InboundAttachMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IProvideFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideFluidDataStoreFactory(): - old.IProvideFluidDataStoreFactory; -declare function use_current_InterfaceDeclaration_IProvideFluidDataStoreFactory( - use: current.IProvideFluidDataStoreFactory); -use_current_InterfaceDeclaration_IProvideFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IProvideFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideFluidDataStoreFactory(): - current.IProvideFluidDataStoreFactory; -declare function use_old_InterfaceDeclaration_IProvideFluidDataStoreFactory( - use: old.IProvideFluidDataStoreFactory); -use_old_InterfaceDeclaration_IProvideFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IProvideFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry(): - old.IProvideFluidDataStoreRegistry; -declare function use_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - use: current.IProvideFluidDataStoreRegistry); -use_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_IProvideFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry(): - current.IProvideFluidDataStoreRegistry; -declare function use_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - use: old.IProvideFluidDataStoreRegistry); -use_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISignalEnvelope": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISignalEnvelope(): - old.ISignalEnvelope; -declare function use_current_InterfaceDeclaration_ISignalEnvelope( - use: current.ISignalEnvelope); -use_current_InterfaceDeclaration_ISignalEnvelope( - get_old_InterfaceDeclaration_ISignalEnvelope()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISignalEnvelope": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISignalEnvelope(): - current.ISignalEnvelope; -declare function use_old_InterfaceDeclaration_ISignalEnvelope( - use: old.ISignalEnvelope); -use_old_InterfaceDeclaration_ISignalEnvelope( - get_current_InterfaceDeclaration_ISignalEnvelope()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISummarizeInternalResult": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizeInternalResult(): - old.ISummarizeInternalResult; -declare function use_current_InterfaceDeclaration_ISummarizeInternalResult( - use: current.ISummarizeInternalResult); -use_current_InterfaceDeclaration_ISummarizeInternalResult( - get_old_InterfaceDeclaration_ISummarizeInternalResult()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISummarizeInternalResult": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizeInternalResult(): - current.ISummarizeInternalResult; -declare function use_old_InterfaceDeclaration_ISummarizeInternalResult( - use: old.ISummarizeInternalResult); -use_old_InterfaceDeclaration_ISummarizeInternalResult( - get_current_InterfaceDeclaration_ISummarizeInternalResult()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISummarizeResult": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizeResult(): - old.ISummarizeResult; -declare function use_current_InterfaceDeclaration_ISummarizeResult( - use: current.ISummarizeResult); -use_current_InterfaceDeclaration_ISummarizeResult( - get_old_InterfaceDeclaration_ISummarizeResult()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISummarizeResult": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizeResult(): - current.ISummarizeResult; -declare function use_old_InterfaceDeclaration_ISummarizeResult( - use: old.ISummarizeResult); -use_old_InterfaceDeclaration_ISummarizeResult( - get_current_InterfaceDeclaration_ISummarizeResult()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISummarizerNode": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNode(): - old.ISummarizerNode; -declare function use_current_InterfaceDeclaration_ISummarizerNode( - use: current.ISummarizerNode); -use_current_InterfaceDeclaration_ISummarizerNode( - get_old_InterfaceDeclaration_ISummarizerNode()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISummarizerNode": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNode(): - current.ISummarizerNode; -declare function use_old_InterfaceDeclaration_ISummarizerNode( - use: old.ISummarizerNode); -use_old_InterfaceDeclaration_ISummarizerNode( - get_current_InterfaceDeclaration_ISummarizerNode()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISummarizerNodeConfig": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeConfig(): - old.ISummarizerNodeConfig; -declare function use_current_InterfaceDeclaration_ISummarizerNodeConfig( - use: current.ISummarizerNodeConfig); -use_current_InterfaceDeclaration_ISummarizerNodeConfig( - get_old_InterfaceDeclaration_ISummarizerNodeConfig()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISummarizerNodeConfig": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeConfig(): - current.ISummarizerNodeConfig; -declare function use_old_InterfaceDeclaration_ISummarizerNodeConfig( - use: old.ISummarizerNodeConfig); -use_old_InterfaceDeclaration_ISummarizerNodeConfig( - get_current_InterfaceDeclaration_ISummarizerNodeConfig()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISummarizerNodeConfigWithGC": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC(): - old.ISummarizerNodeConfigWithGC; -declare function use_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - use: current.ISummarizerNodeConfigWithGC); -use_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - get_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISummarizerNodeConfigWithGC": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC(): - current.ISummarizerNodeConfigWithGC; -declare function use_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - use: old.ISummarizerNodeConfigWithGC); -use_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - get_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISummarizerNodeWithGC": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeWithGC(): - old.ISummarizerNodeWithGC; -declare function use_current_InterfaceDeclaration_ISummarizerNodeWithGC( - use: current.ISummarizerNodeWithGC); -use_current_InterfaceDeclaration_ISummarizerNodeWithGC( - get_old_InterfaceDeclaration_ISummarizerNodeWithGC()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISummarizerNodeWithGC": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeWithGC(): - current.ISummarizerNodeWithGC; -declare function use_old_InterfaceDeclaration_ISummarizerNodeWithGC( - use: old.ISummarizerNodeWithGC); -use_old_InterfaceDeclaration_ISummarizerNodeWithGC( - get_current_InterfaceDeclaration_ISummarizerNodeWithGC()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISummaryStats": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummaryStats(): - old.ISummaryStats; -declare function use_current_InterfaceDeclaration_ISummaryStats( - use: current.ISummaryStats); -use_current_InterfaceDeclaration_ISummaryStats( - get_old_InterfaceDeclaration_ISummaryStats()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISummaryStats": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummaryStats(): - current.ISummaryStats; -declare function use_old_InterfaceDeclaration_ISummaryStats( - use: old.ISummaryStats); -use_old_InterfaceDeclaration_ISummaryStats( - get_current_InterfaceDeclaration_ISummaryStats()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISummaryTreeWithStats": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummaryTreeWithStats(): - old.ISummaryTreeWithStats; -declare function use_current_InterfaceDeclaration_ISummaryTreeWithStats( - use: current.ISummaryTreeWithStats); -use_current_InterfaceDeclaration_ISummaryTreeWithStats( - get_old_InterfaceDeclaration_ISummaryTreeWithStats()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "InterfaceDeclaration_ISummaryTreeWithStats": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummaryTreeWithStats(): - current.ISummaryTreeWithStats; -declare function use_old_InterfaceDeclaration_ISummaryTreeWithStats( - use: old.ISummaryTreeWithStats); -use_old_InterfaceDeclaration_ISummaryTreeWithStats( - get_current_InterfaceDeclaration_ISummaryTreeWithStats()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries(): - old.NamedFluidDataStoreRegistryEntries; -declare function use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - use: current.NamedFluidDataStoreRegistryEntries); -use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries(): - current.NamedFluidDataStoreRegistryEntries; -declare function use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - use: old.NamedFluidDataStoreRegistryEntries); -use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry(): - old.NamedFluidDataStoreRegistryEntry; -declare function use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - use: current.NamedFluidDataStoreRegistryEntry); -use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry(): - current.NamedFluidDataStoreRegistryEntry; -declare function use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - use: old.NamedFluidDataStoreRegistryEntry); -use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_SummarizeInternalFn": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_SummarizeInternalFn(): - old.SummarizeInternalFn; -declare function use_current_TypeAliasDeclaration_SummarizeInternalFn( - use: current.SummarizeInternalFn); -use_current_TypeAliasDeclaration_SummarizeInternalFn( - get_old_TypeAliasDeclaration_SummarizeInternalFn()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.52.0: -* "TypeAliasDeclaration_SummarizeInternalFn": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_SummarizeInternalFn(): - current.SummarizeInternalFn; -declare function use_old_TypeAliasDeclaration_SummarizeInternalFn( - use: old.SummarizeInternalFn); -use_old_TypeAliasDeclaration_SummarizeInternalFn( - get_current_TypeAliasDeclaration_SummarizeInternalFn()); diff --git a/packages/runtime/runtime-definitions/src/test/types/validate0.53.0.ts b/packages/runtime/runtime-definitions/src/test/types/validate0.53.0.ts deleted file mode 100644 index de431e0b810d..000000000000 --- a/packages/runtime/runtime-definitions/src/test/types/validate0.53.0.ts +++ /dev/null @@ -1,966 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/runtime-definitions-0.53.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "VariableDeclaration_channelsTreeName": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_channelsTreeName(): - typeof old.channelsTreeName; -declare function use_current_VariableDeclaration_channelsTreeName( - use: typeof current.channelsTreeName); -use_current_VariableDeclaration_channelsTreeName( - get_old_VariableDeclaration_channelsTreeName()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "VariableDeclaration_channelsTreeName": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_channelsTreeName(): - typeof current.channelsTreeName; -declare function use_old_VariableDeclaration_channelsTreeName( - use: typeof old.channelsTreeName); -use_old_VariableDeclaration_channelsTreeName( - get_current_VariableDeclaration_channelsTreeName()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeFn": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn(): - old.CreateChildSummarizerNodeFn; -declare function use_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - use: current.CreateChildSummarizerNodeFn); -use_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - get_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeFn": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn(): - current.CreateChildSummarizerNodeFn; -declare function use_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - use: old.CreateChildSummarizerNodeFn); -use_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - get_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeParam": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam(): - old.CreateChildSummarizerNodeParam; -declare function use_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - use: current.CreateChildSummarizerNodeParam); -use_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - get_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeParam": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam(): - current.CreateChildSummarizerNodeParam; -declare function use_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - use: old.CreateChildSummarizerNodeParam); -use_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - get_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "EnumDeclaration_CreateSummarizerNodeSource": {"forwardCompat": false} -*/ -declare function get_old_EnumDeclaration_CreateSummarizerNodeSource(): - old.CreateSummarizerNodeSource; -declare function use_current_EnumDeclaration_CreateSummarizerNodeSource( - use: current.CreateSummarizerNodeSource); -use_current_EnumDeclaration_CreateSummarizerNodeSource( - get_old_EnumDeclaration_CreateSummarizerNodeSource()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "EnumDeclaration_CreateSummarizerNodeSource": {"backCompat": false} -*/ -declare function get_current_EnumDeclaration_CreateSummarizerNodeSource(): - current.CreateSummarizerNodeSource; -declare function use_old_EnumDeclaration_CreateSummarizerNodeSource( - use: old.CreateSummarizerNodeSource); -use_old_EnumDeclaration_CreateSummarizerNodeSource( - get_current_EnumDeclaration_CreateSummarizerNodeSource()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_FluidDataStoreRegistryEntry": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry(): - old.FluidDataStoreRegistryEntry; -declare function use_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - use: current.FluidDataStoreRegistryEntry); -use_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_FluidDataStoreRegistryEntry": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry(): - current.FluidDataStoreRegistryEntry; -declare function use_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - use: old.FluidDataStoreRegistryEntry); -use_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "EnumDeclaration_FlushMode": {"forwardCompat": false} -*/ -declare function get_old_EnumDeclaration_FlushMode(): - old.FlushMode; -declare function use_current_EnumDeclaration_FlushMode( - use: current.FlushMode); -use_current_EnumDeclaration_FlushMode( - get_old_EnumDeclaration_FlushMode()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "EnumDeclaration_FlushMode": {"backCompat": false} -*/ -declare function get_current_EnumDeclaration_FlushMode(): - current.FlushMode; -declare function use_old_EnumDeclaration_FlushMode( - use: old.FlushMode); -use_old_EnumDeclaration_FlushMode( - get_current_EnumDeclaration_FlushMode()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "VariableDeclaration_gcBlobKey": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_gcBlobKey(): - typeof old.gcBlobKey; -declare function use_current_VariableDeclaration_gcBlobKey( - use: typeof current.gcBlobKey); -use_current_VariableDeclaration_gcBlobKey( - get_old_VariableDeclaration_gcBlobKey()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "VariableDeclaration_gcBlobKey": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_gcBlobKey(): - typeof current.gcBlobKey; -declare function use_old_VariableDeclaration_gcBlobKey( - use: typeof old.gcBlobKey); -use_old_VariableDeclaration_gcBlobKey( - get_current_VariableDeclaration_gcBlobKey()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IAttachMessage": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IAttachMessage(): - old.IAttachMessage; -declare function use_current_InterfaceDeclaration_IAttachMessage( - use: current.IAttachMessage); -use_current_InterfaceDeclaration_IAttachMessage( - get_old_InterfaceDeclaration_IAttachMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IAttachMessage": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IAttachMessage(): - current.IAttachMessage; -declare function use_old_InterfaceDeclaration_IAttachMessage( - use: old.IAttachMessage); -use_old_InterfaceDeclaration_IAttachMessage( - get_current_InterfaceDeclaration_IAttachMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IContainerRuntimeBase": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeBase(): - old.IContainerRuntimeBase; -declare function use_current_InterfaceDeclaration_IContainerRuntimeBase( - use: current.IContainerRuntimeBase); -use_current_InterfaceDeclaration_IContainerRuntimeBase( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IContainerRuntimeBase()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IContainerRuntimeBase": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeBase(): - current.IContainerRuntimeBase; -declare function use_old_InterfaceDeclaration_IContainerRuntimeBase( - use: old.IContainerRuntimeBase); -use_old_InterfaceDeclaration_IContainerRuntimeBase( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IContainerRuntimeBase()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IContainerRuntimeBaseEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeBaseEvents(): - old.IContainerRuntimeBaseEvents; -declare function use_current_InterfaceDeclaration_IContainerRuntimeBaseEvents( - use: current.IContainerRuntimeBaseEvents); -use_current_InterfaceDeclaration_IContainerRuntimeBaseEvents( - get_old_InterfaceDeclaration_IContainerRuntimeBaseEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IContainerRuntimeBaseEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeBaseEvents(): - current.IContainerRuntimeBaseEvents; -declare function use_old_InterfaceDeclaration_IContainerRuntimeBaseEvents( - use: old.IContainerRuntimeBaseEvents); -use_old_InterfaceDeclaration_IContainerRuntimeBaseEvents( - get_current_InterfaceDeclaration_IContainerRuntimeBaseEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IEnvelope": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IEnvelope(): - old.IEnvelope; -declare function use_current_InterfaceDeclaration_IEnvelope( - use: current.IEnvelope); -use_current_InterfaceDeclaration_IEnvelope( - get_old_InterfaceDeclaration_IEnvelope()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IEnvelope": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IEnvelope(): - current.IEnvelope; -declare function use_old_InterfaceDeclaration_IEnvelope( - use: old.IEnvelope); -use_old_InterfaceDeclaration_IEnvelope( - get_current_InterfaceDeclaration_IEnvelope()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IFluidDataStoreChannel": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreChannel(): - old.IFluidDataStoreChannel; -declare function use_current_InterfaceDeclaration_IFluidDataStoreChannel( - use: current.IFluidDataStoreChannel); -use_current_InterfaceDeclaration_IFluidDataStoreChannel( - get_old_InterfaceDeclaration_IFluidDataStoreChannel()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IFluidDataStoreChannel": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreChannel(): - current.IFluidDataStoreChannel; -declare function use_old_InterfaceDeclaration_IFluidDataStoreChannel( - use: old.IFluidDataStoreChannel); -use_old_InterfaceDeclaration_IFluidDataStoreChannel( - get_current_InterfaceDeclaration_IFluidDataStoreChannel()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IFluidDataStoreContext": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContext(): - old.IFluidDataStoreContext; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContext( - use: current.IFluidDataStoreContext); -use_current_InterfaceDeclaration_IFluidDataStoreContext( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreContext()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IFluidDataStoreContext": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContext(): - current.IFluidDataStoreContext; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContext( - use: old.IFluidDataStoreContext); -use_old_InterfaceDeclaration_IFluidDataStoreContext( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreContext()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IFluidDataStoreContextDetached": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContextDetached(): - old.IFluidDataStoreContextDetached; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContextDetached( - use: current.IFluidDataStoreContextDetached); -use_current_InterfaceDeclaration_IFluidDataStoreContextDetached( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreContextDetached()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IFluidDataStoreContextDetached": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContextDetached(): - current.IFluidDataStoreContextDetached; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContextDetached( - use: old.IFluidDataStoreContextDetached); -use_old_InterfaceDeclaration_IFluidDataStoreContextDetached( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreContextDetached()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IFluidDataStoreContextEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContextEvents(): - old.IFluidDataStoreContextEvents; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContextEvents( - use: current.IFluidDataStoreContextEvents); -use_current_InterfaceDeclaration_IFluidDataStoreContextEvents( - get_old_InterfaceDeclaration_IFluidDataStoreContextEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IFluidDataStoreContextEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContextEvents(): - current.IFluidDataStoreContextEvents; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContextEvents( - use: old.IFluidDataStoreContextEvents); -use_old_InterfaceDeclaration_IFluidDataStoreContextEvents( - get_current_InterfaceDeclaration_IFluidDataStoreContextEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "VariableDeclaration_IFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IFluidDataStoreFactory(): - typeof old.IFluidDataStoreFactory; -declare function use_current_VariableDeclaration_IFluidDataStoreFactory( - use: typeof current.IFluidDataStoreFactory); -use_current_VariableDeclaration_IFluidDataStoreFactory( - get_old_VariableDeclaration_IFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "VariableDeclaration_IFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IFluidDataStoreFactory(): - typeof current.IFluidDataStoreFactory; -declare function use_old_VariableDeclaration_IFluidDataStoreFactory( - use: typeof old.IFluidDataStoreFactory); -use_old_VariableDeclaration_IFluidDataStoreFactory( - get_current_VariableDeclaration_IFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreFactory(): - old.IFluidDataStoreFactory; -declare function use_current_InterfaceDeclaration_IFluidDataStoreFactory( - use: current.IFluidDataStoreFactory); -use_current_InterfaceDeclaration_IFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreFactory(): - current.IFluidDataStoreFactory; -declare function use_old_InterfaceDeclaration_IFluidDataStoreFactory( - use: old.IFluidDataStoreFactory); -use_old_InterfaceDeclaration_IFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "VariableDeclaration_IFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IFluidDataStoreRegistry(): - typeof old.IFluidDataStoreRegistry; -declare function use_current_VariableDeclaration_IFluidDataStoreRegistry( - use: typeof current.IFluidDataStoreRegistry); -use_current_VariableDeclaration_IFluidDataStoreRegistry( - get_old_VariableDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "VariableDeclaration_IFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IFluidDataStoreRegistry(): - typeof current.IFluidDataStoreRegistry; -declare function use_old_VariableDeclaration_IFluidDataStoreRegistry( - use: typeof old.IFluidDataStoreRegistry); -use_old_VariableDeclaration_IFluidDataStoreRegistry( - get_current_VariableDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRegistry(): - old.IFluidDataStoreRegistry; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRegistry( - use: current.IFluidDataStoreRegistry); -use_current_InterfaceDeclaration_IFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRegistry(): - current.IFluidDataStoreRegistry; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRegistry( - use: old.IFluidDataStoreRegistry); -use_old_InterfaceDeclaration_IFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IGarbageCollectionData": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionData(): - old.IGarbageCollectionData; -declare function use_current_InterfaceDeclaration_IGarbageCollectionData( - use: current.IGarbageCollectionData); -use_current_InterfaceDeclaration_IGarbageCollectionData( - get_old_InterfaceDeclaration_IGarbageCollectionData()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IGarbageCollectionData": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionData(): - current.IGarbageCollectionData; -declare function use_old_InterfaceDeclaration_IGarbageCollectionData( - use: old.IGarbageCollectionData); -use_old_InterfaceDeclaration_IGarbageCollectionData( - get_current_InterfaceDeclaration_IGarbageCollectionData()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IGarbageCollectionNodeData": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionNodeData(): - old.IGarbageCollectionNodeData; -declare function use_current_InterfaceDeclaration_IGarbageCollectionNodeData( - use: current.IGarbageCollectionNodeData); -use_current_InterfaceDeclaration_IGarbageCollectionNodeData( - get_old_InterfaceDeclaration_IGarbageCollectionNodeData()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IGarbageCollectionNodeData": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionNodeData(): - current.IGarbageCollectionNodeData; -declare function use_old_InterfaceDeclaration_IGarbageCollectionNodeData( - use: old.IGarbageCollectionNodeData); -use_old_InterfaceDeclaration_IGarbageCollectionNodeData( - get_current_InterfaceDeclaration_IGarbageCollectionNodeData()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IGarbageCollectionState": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionState(): - old.IGarbageCollectionState; -declare function use_current_InterfaceDeclaration_IGarbageCollectionState( - use: current.IGarbageCollectionState); -use_current_InterfaceDeclaration_IGarbageCollectionState( - get_old_InterfaceDeclaration_IGarbageCollectionState()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IGarbageCollectionState": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionState(): - current.IGarbageCollectionState; -declare function use_old_InterfaceDeclaration_IGarbageCollectionState( - use: old.IGarbageCollectionState); -use_old_InterfaceDeclaration_IGarbageCollectionState( - get_current_InterfaceDeclaration_IGarbageCollectionState()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionSummaryDetails(): - old.IGarbageCollectionSummaryDetails; -declare function use_current_RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails( - use: current.IGarbageCollectionSummaryDetails); -use_current_RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails( - get_old_InterfaceDeclaration_IGarbageCollectionSummaryDetails()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails": {"backCompat": false} -*/ -declare function get_current_RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails(): - current.IGarbageCollectionSummaryDetails; -declare function use_old_InterfaceDeclaration_IGarbageCollectionSummaryDetails( - use: old.IGarbageCollectionSummaryDetails); -use_old_InterfaceDeclaration_IGarbageCollectionSummaryDetails( - get_current_RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IInboundSignalMessage": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IInboundSignalMessage(): - old.IInboundSignalMessage; -declare function use_current_InterfaceDeclaration_IInboundSignalMessage( - use: current.IInboundSignalMessage); -use_current_InterfaceDeclaration_IInboundSignalMessage( - get_old_InterfaceDeclaration_IInboundSignalMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IInboundSignalMessage": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IInboundSignalMessage(): - current.IInboundSignalMessage; -declare function use_old_InterfaceDeclaration_IInboundSignalMessage( - use: old.IInboundSignalMessage); -use_old_InterfaceDeclaration_IInboundSignalMessage( - get_current_InterfaceDeclaration_IInboundSignalMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_InboundAttachMessage": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_InboundAttachMessage(): - old.InboundAttachMessage; -declare function use_current_TypeAliasDeclaration_InboundAttachMessage( - use: current.InboundAttachMessage); -use_current_TypeAliasDeclaration_InboundAttachMessage( - get_old_TypeAliasDeclaration_InboundAttachMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_InboundAttachMessage": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_InboundAttachMessage(): - current.InboundAttachMessage; -declare function use_old_TypeAliasDeclaration_InboundAttachMessage( - use: old.InboundAttachMessage); -use_old_TypeAliasDeclaration_InboundAttachMessage( - get_current_TypeAliasDeclaration_InboundAttachMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IProvideFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideFluidDataStoreFactory(): - old.IProvideFluidDataStoreFactory; -declare function use_current_InterfaceDeclaration_IProvideFluidDataStoreFactory( - use: current.IProvideFluidDataStoreFactory); -use_current_InterfaceDeclaration_IProvideFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IProvideFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideFluidDataStoreFactory(): - current.IProvideFluidDataStoreFactory; -declare function use_old_InterfaceDeclaration_IProvideFluidDataStoreFactory( - use: old.IProvideFluidDataStoreFactory); -use_old_InterfaceDeclaration_IProvideFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IProvideFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry(): - old.IProvideFluidDataStoreRegistry; -declare function use_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - use: current.IProvideFluidDataStoreRegistry); -use_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_IProvideFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry(): - current.IProvideFluidDataStoreRegistry; -declare function use_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - use: old.IProvideFluidDataStoreRegistry); -use_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISignalEnvelope": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISignalEnvelope(): - old.ISignalEnvelope; -declare function use_current_InterfaceDeclaration_ISignalEnvelope( - use: current.ISignalEnvelope); -use_current_InterfaceDeclaration_ISignalEnvelope( - get_old_InterfaceDeclaration_ISignalEnvelope()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISignalEnvelope": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISignalEnvelope(): - current.ISignalEnvelope; -declare function use_old_InterfaceDeclaration_ISignalEnvelope( - use: old.ISignalEnvelope); -use_old_InterfaceDeclaration_ISignalEnvelope( - get_current_InterfaceDeclaration_ISignalEnvelope()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISummarizeInternalResult": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizeInternalResult(): - old.ISummarizeInternalResult; -declare function use_current_InterfaceDeclaration_ISummarizeInternalResult( - use: current.ISummarizeInternalResult); -use_current_InterfaceDeclaration_ISummarizeInternalResult( - get_old_InterfaceDeclaration_ISummarizeInternalResult()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISummarizeInternalResult": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizeInternalResult(): - current.ISummarizeInternalResult; -declare function use_old_InterfaceDeclaration_ISummarizeInternalResult( - use: old.ISummarizeInternalResult); -use_old_InterfaceDeclaration_ISummarizeInternalResult( - get_current_InterfaceDeclaration_ISummarizeInternalResult()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISummarizeResult": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizeResult(): - old.ISummarizeResult; -declare function use_current_InterfaceDeclaration_ISummarizeResult( - use: current.ISummarizeResult); -use_current_InterfaceDeclaration_ISummarizeResult( - get_old_InterfaceDeclaration_ISummarizeResult()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISummarizeResult": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizeResult(): - current.ISummarizeResult; -declare function use_old_InterfaceDeclaration_ISummarizeResult( - use: old.ISummarizeResult); -use_old_InterfaceDeclaration_ISummarizeResult( - get_current_InterfaceDeclaration_ISummarizeResult()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISummarizerNode": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNode(): - old.ISummarizerNode; -declare function use_current_InterfaceDeclaration_ISummarizerNode( - use: current.ISummarizerNode); -use_current_InterfaceDeclaration_ISummarizerNode( - get_old_InterfaceDeclaration_ISummarizerNode()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISummarizerNode": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNode(): - current.ISummarizerNode; -declare function use_old_InterfaceDeclaration_ISummarizerNode( - use: old.ISummarizerNode); -use_old_InterfaceDeclaration_ISummarizerNode( - get_current_InterfaceDeclaration_ISummarizerNode()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISummarizerNodeConfig": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeConfig(): - old.ISummarizerNodeConfig; -declare function use_current_InterfaceDeclaration_ISummarizerNodeConfig( - use: current.ISummarizerNodeConfig); -use_current_InterfaceDeclaration_ISummarizerNodeConfig( - get_old_InterfaceDeclaration_ISummarizerNodeConfig()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISummarizerNodeConfig": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeConfig(): - current.ISummarizerNodeConfig; -declare function use_old_InterfaceDeclaration_ISummarizerNodeConfig( - use: old.ISummarizerNodeConfig); -use_old_InterfaceDeclaration_ISummarizerNodeConfig( - get_current_InterfaceDeclaration_ISummarizerNodeConfig()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISummarizerNodeConfigWithGC": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC(): - old.ISummarizerNodeConfigWithGC; -declare function use_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - use: current.ISummarizerNodeConfigWithGC); -use_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - get_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISummarizerNodeConfigWithGC": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC(): - current.ISummarizerNodeConfigWithGC; -declare function use_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - use: old.ISummarizerNodeConfigWithGC); -use_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - get_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISummarizerNodeWithGC": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeWithGC(): - old.ISummarizerNodeWithGC; -declare function use_current_InterfaceDeclaration_ISummarizerNodeWithGC( - use: current.ISummarizerNodeWithGC); -use_current_InterfaceDeclaration_ISummarizerNodeWithGC( - get_old_InterfaceDeclaration_ISummarizerNodeWithGC()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISummarizerNodeWithGC": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeWithGC(): - current.ISummarizerNodeWithGC; -declare function use_old_InterfaceDeclaration_ISummarizerNodeWithGC( - use: old.ISummarizerNodeWithGC); -use_old_InterfaceDeclaration_ISummarizerNodeWithGC( - get_current_InterfaceDeclaration_ISummarizerNodeWithGC()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISummaryStats": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummaryStats(): - old.ISummaryStats; -declare function use_current_InterfaceDeclaration_ISummaryStats( - use: current.ISummaryStats); -use_current_InterfaceDeclaration_ISummaryStats( - get_old_InterfaceDeclaration_ISummaryStats()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISummaryStats": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummaryStats(): - current.ISummaryStats; -declare function use_old_InterfaceDeclaration_ISummaryStats( - use: old.ISummaryStats); -use_old_InterfaceDeclaration_ISummaryStats( - get_current_InterfaceDeclaration_ISummaryStats()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISummaryTreeWithStats": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummaryTreeWithStats(): - old.ISummaryTreeWithStats; -declare function use_current_InterfaceDeclaration_ISummaryTreeWithStats( - use: current.ISummaryTreeWithStats); -use_current_InterfaceDeclaration_ISummaryTreeWithStats( - get_old_InterfaceDeclaration_ISummaryTreeWithStats()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "InterfaceDeclaration_ISummaryTreeWithStats": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummaryTreeWithStats(): - current.ISummaryTreeWithStats; -declare function use_old_InterfaceDeclaration_ISummaryTreeWithStats( - use: old.ISummaryTreeWithStats); -use_old_InterfaceDeclaration_ISummaryTreeWithStats( - get_current_InterfaceDeclaration_ISummaryTreeWithStats()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries(): - old.NamedFluidDataStoreRegistryEntries; -declare function use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - use: current.NamedFluidDataStoreRegistryEntries); -use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries(): - current.NamedFluidDataStoreRegistryEntries; -declare function use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - use: old.NamedFluidDataStoreRegistryEntries); -use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry(): - old.NamedFluidDataStoreRegistryEntry; -declare function use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - use: current.NamedFluidDataStoreRegistryEntry); -use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry(): - current.NamedFluidDataStoreRegistryEntry; -declare function use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - use: old.NamedFluidDataStoreRegistryEntry); -use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_SummarizeInternalFn": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_SummarizeInternalFn(): - old.SummarizeInternalFn; -declare function use_current_TypeAliasDeclaration_SummarizeInternalFn( - use: current.SummarizeInternalFn); -use_current_TypeAliasDeclaration_SummarizeInternalFn( - get_old_TypeAliasDeclaration_SummarizeInternalFn()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.53.0: -* "TypeAliasDeclaration_SummarizeInternalFn": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_SummarizeInternalFn(): - current.SummarizeInternalFn; -declare function use_old_TypeAliasDeclaration_SummarizeInternalFn( - use: old.SummarizeInternalFn); -use_old_TypeAliasDeclaration_SummarizeInternalFn( - get_current_TypeAliasDeclaration_SummarizeInternalFn()); diff --git a/packages/runtime/runtime-definitions/src/test/types/validate0.54.0.ts b/packages/runtime/runtime-definitions/src/test/types/validate0.54.0.ts deleted file mode 100644 index 5f389330ee91..000000000000 --- a/packages/runtime/runtime-definitions/src/test/types/validate0.54.0.ts +++ /dev/null @@ -1,966 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/runtime-definitions-0.54.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "VariableDeclaration_channelsTreeName": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_channelsTreeName(): - typeof old.channelsTreeName; -declare function use_current_VariableDeclaration_channelsTreeName( - use: typeof current.channelsTreeName); -use_current_VariableDeclaration_channelsTreeName( - get_old_VariableDeclaration_channelsTreeName()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "VariableDeclaration_channelsTreeName": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_channelsTreeName(): - typeof current.channelsTreeName; -declare function use_old_VariableDeclaration_channelsTreeName( - use: typeof old.channelsTreeName); -use_old_VariableDeclaration_channelsTreeName( - get_current_VariableDeclaration_channelsTreeName()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeFn": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn(): - old.CreateChildSummarizerNodeFn; -declare function use_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - use: current.CreateChildSummarizerNodeFn); -use_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - get_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeFn": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn(): - current.CreateChildSummarizerNodeFn; -declare function use_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - use: old.CreateChildSummarizerNodeFn); -use_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - get_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeParam": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam(): - old.CreateChildSummarizerNodeParam; -declare function use_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - use: current.CreateChildSummarizerNodeParam); -use_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - get_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeParam": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam(): - current.CreateChildSummarizerNodeParam; -declare function use_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - use: old.CreateChildSummarizerNodeParam); -use_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - get_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "EnumDeclaration_CreateSummarizerNodeSource": {"forwardCompat": false} -*/ -declare function get_old_EnumDeclaration_CreateSummarizerNodeSource(): - old.CreateSummarizerNodeSource; -declare function use_current_EnumDeclaration_CreateSummarizerNodeSource( - use: current.CreateSummarizerNodeSource); -use_current_EnumDeclaration_CreateSummarizerNodeSource( - get_old_EnumDeclaration_CreateSummarizerNodeSource()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "EnumDeclaration_CreateSummarizerNodeSource": {"backCompat": false} -*/ -declare function get_current_EnumDeclaration_CreateSummarizerNodeSource(): - current.CreateSummarizerNodeSource; -declare function use_old_EnumDeclaration_CreateSummarizerNodeSource( - use: old.CreateSummarizerNodeSource); -use_old_EnumDeclaration_CreateSummarizerNodeSource( - get_current_EnumDeclaration_CreateSummarizerNodeSource()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "TypeAliasDeclaration_FluidDataStoreRegistryEntry": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry(): - old.FluidDataStoreRegistryEntry; -declare function use_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - use: current.FluidDataStoreRegistryEntry); -use_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "TypeAliasDeclaration_FluidDataStoreRegistryEntry": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry(): - current.FluidDataStoreRegistryEntry; -declare function use_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - use: old.FluidDataStoreRegistryEntry); -use_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "EnumDeclaration_FlushMode": {"forwardCompat": false} -*/ -declare function get_old_EnumDeclaration_FlushMode(): - old.FlushMode; -declare function use_current_EnumDeclaration_FlushMode( - use: current.FlushMode); -use_current_EnumDeclaration_FlushMode( - get_old_EnumDeclaration_FlushMode()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "EnumDeclaration_FlushMode": {"backCompat": false} -*/ -declare function get_current_EnumDeclaration_FlushMode(): - current.FlushMode; -declare function use_old_EnumDeclaration_FlushMode( - use: old.FlushMode); -use_old_EnumDeclaration_FlushMode( - get_current_EnumDeclaration_FlushMode()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "VariableDeclaration_gcBlobKey": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_gcBlobKey(): - typeof old.gcBlobKey; -declare function use_current_VariableDeclaration_gcBlobKey( - use: typeof current.gcBlobKey); -use_current_VariableDeclaration_gcBlobKey( - get_old_VariableDeclaration_gcBlobKey()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "VariableDeclaration_gcBlobKey": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_gcBlobKey(): - typeof current.gcBlobKey; -declare function use_old_VariableDeclaration_gcBlobKey( - use: typeof old.gcBlobKey); -use_old_VariableDeclaration_gcBlobKey( - get_current_VariableDeclaration_gcBlobKey()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IAttachMessage": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IAttachMessage(): - old.IAttachMessage; -declare function use_current_InterfaceDeclaration_IAttachMessage( - use: current.IAttachMessage); -use_current_InterfaceDeclaration_IAttachMessage( - get_old_InterfaceDeclaration_IAttachMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IAttachMessage": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IAttachMessage(): - current.IAttachMessage; -declare function use_old_InterfaceDeclaration_IAttachMessage( - use: old.IAttachMessage); -use_old_InterfaceDeclaration_IAttachMessage( - get_current_InterfaceDeclaration_IAttachMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IContainerRuntimeBase": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeBase(): - old.IContainerRuntimeBase; -declare function use_current_InterfaceDeclaration_IContainerRuntimeBase( - use: current.IContainerRuntimeBase); -use_current_InterfaceDeclaration_IContainerRuntimeBase( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IContainerRuntimeBase()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IContainerRuntimeBase": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeBase(): - current.IContainerRuntimeBase; -declare function use_old_InterfaceDeclaration_IContainerRuntimeBase( - use: old.IContainerRuntimeBase); -use_old_InterfaceDeclaration_IContainerRuntimeBase( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IContainerRuntimeBase()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IContainerRuntimeBaseEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeBaseEvents(): - old.IContainerRuntimeBaseEvents; -declare function use_current_InterfaceDeclaration_IContainerRuntimeBaseEvents( - use: current.IContainerRuntimeBaseEvents); -use_current_InterfaceDeclaration_IContainerRuntimeBaseEvents( - get_old_InterfaceDeclaration_IContainerRuntimeBaseEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IContainerRuntimeBaseEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeBaseEvents(): - current.IContainerRuntimeBaseEvents; -declare function use_old_InterfaceDeclaration_IContainerRuntimeBaseEvents( - use: old.IContainerRuntimeBaseEvents); -use_old_InterfaceDeclaration_IContainerRuntimeBaseEvents( - get_current_InterfaceDeclaration_IContainerRuntimeBaseEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IEnvelope": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IEnvelope(): - old.IEnvelope; -declare function use_current_InterfaceDeclaration_IEnvelope( - use: current.IEnvelope); -use_current_InterfaceDeclaration_IEnvelope( - get_old_InterfaceDeclaration_IEnvelope()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IEnvelope": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IEnvelope(): - current.IEnvelope; -declare function use_old_InterfaceDeclaration_IEnvelope( - use: old.IEnvelope); -use_old_InterfaceDeclaration_IEnvelope( - get_current_InterfaceDeclaration_IEnvelope()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IFluidDataStoreChannel": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreChannel(): - old.IFluidDataStoreChannel; -declare function use_current_InterfaceDeclaration_IFluidDataStoreChannel( - use: current.IFluidDataStoreChannel); -use_current_InterfaceDeclaration_IFluidDataStoreChannel( - get_old_InterfaceDeclaration_IFluidDataStoreChannel()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IFluidDataStoreChannel": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreChannel(): - current.IFluidDataStoreChannel; -declare function use_old_InterfaceDeclaration_IFluidDataStoreChannel( - use: old.IFluidDataStoreChannel); -use_old_InterfaceDeclaration_IFluidDataStoreChannel( - get_current_InterfaceDeclaration_IFluidDataStoreChannel()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IFluidDataStoreContext": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContext(): - old.IFluidDataStoreContext; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContext( - use: current.IFluidDataStoreContext); -use_current_InterfaceDeclaration_IFluidDataStoreContext( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreContext()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IFluidDataStoreContext": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContext(): - current.IFluidDataStoreContext; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContext( - use: old.IFluidDataStoreContext); -use_old_InterfaceDeclaration_IFluidDataStoreContext( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreContext()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IFluidDataStoreContextDetached": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContextDetached(): - old.IFluidDataStoreContextDetached; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContextDetached( - use: current.IFluidDataStoreContextDetached); -use_current_InterfaceDeclaration_IFluidDataStoreContextDetached( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreContextDetached()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IFluidDataStoreContextDetached": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContextDetached(): - current.IFluidDataStoreContextDetached; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContextDetached( - use: old.IFluidDataStoreContextDetached); -use_old_InterfaceDeclaration_IFluidDataStoreContextDetached( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreContextDetached()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IFluidDataStoreContextEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContextEvents(): - old.IFluidDataStoreContextEvents; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContextEvents( - use: current.IFluidDataStoreContextEvents); -use_current_InterfaceDeclaration_IFluidDataStoreContextEvents( - get_old_InterfaceDeclaration_IFluidDataStoreContextEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IFluidDataStoreContextEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContextEvents(): - current.IFluidDataStoreContextEvents; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContextEvents( - use: old.IFluidDataStoreContextEvents); -use_old_InterfaceDeclaration_IFluidDataStoreContextEvents( - get_current_InterfaceDeclaration_IFluidDataStoreContextEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "VariableDeclaration_IFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IFluidDataStoreFactory(): - typeof old.IFluidDataStoreFactory; -declare function use_current_VariableDeclaration_IFluidDataStoreFactory( - use: typeof current.IFluidDataStoreFactory); -use_current_VariableDeclaration_IFluidDataStoreFactory( - get_old_VariableDeclaration_IFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "VariableDeclaration_IFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IFluidDataStoreFactory(): - typeof current.IFluidDataStoreFactory; -declare function use_old_VariableDeclaration_IFluidDataStoreFactory( - use: typeof old.IFluidDataStoreFactory); -use_old_VariableDeclaration_IFluidDataStoreFactory( - get_current_VariableDeclaration_IFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreFactory(): - old.IFluidDataStoreFactory; -declare function use_current_InterfaceDeclaration_IFluidDataStoreFactory( - use: current.IFluidDataStoreFactory); -use_current_InterfaceDeclaration_IFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreFactory(): - current.IFluidDataStoreFactory; -declare function use_old_InterfaceDeclaration_IFluidDataStoreFactory( - use: old.IFluidDataStoreFactory); -use_old_InterfaceDeclaration_IFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "VariableDeclaration_IFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IFluidDataStoreRegistry(): - typeof old.IFluidDataStoreRegistry; -declare function use_current_VariableDeclaration_IFluidDataStoreRegistry( - use: typeof current.IFluidDataStoreRegistry); -use_current_VariableDeclaration_IFluidDataStoreRegistry( - get_old_VariableDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "VariableDeclaration_IFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IFluidDataStoreRegistry(): - typeof current.IFluidDataStoreRegistry; -declare function use_old_VariableDeclaration_IFluidDataStoreRegistry( - use: typeof old.IFluidDataStoreRegistry); -use_old_VariableDeclaration_IFluidDataStoreRegistry( - get_current_VariableDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRegistry(): - old.IFluidDataStoreRegistry; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRegistry( - use: current.IFluidDataStoreRegistry); -use_current_InterfaceDeclaration_IFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRegistry(): - current.IFluidDataStoreRegistry; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRegistry( - use: old.IFluidDataStoreRegistry); -use_old_InterfaceDeclaration_IFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IGarbageCollectionData": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionData(): - old.IGarbageCollectionData; -declare function use_current_InterfaceDeclaration_IGarbageCollectionData( - use: current.IGarbageCollectionData); -use_current_InterfaceDeclaration_IGarbageCollectionData( - get_old_InterfaceDeclaration_IGarbageCollectionData()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IGarbageCollectionData": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionData(): - current.IGarbageCollectionData; -declare function use_old_InterfaceDeclaration_IGarbageCollectionData( - use: old.IGarbageCollectionData); -use_old_InterfaceDeclaration_IGarbageCollectionData( - get_current_InterfaceDeclaration_IGarbageCollectionData()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IGarbageCollectionNodeData": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionNodeData(): - old.IGarbageCollectionNodeData; -declare function use_current_InterfaceDeclaration_IGarbageCollectionNodeData( - use: current.IGarbageCollectionNodeData); -use_current_InterfaceDeclaration_IGarbageCollectionNodeData( - get_old_InterfaceDeclaration_IGarbageCollectionNodeData()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IGarbageCollectionNodeData": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionNodeData(): - current.IGarbageCollectionNodeData; -declare function use_old_InterfaceDeclaration_IGarbageCollectionNodeData( - use: old.IGarbageCollectionNodeData); -use_old_InterfaceDeclaration_IGarbageCollectionNodeData( - get_current_InterfaceDeclaration_IGarbageCollectionNodeData()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IGarbageCollectionState": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionState(): - old.IGarbageCollectionState; -declare function use_current_InterfaceDeclaration_IGarbageCollectionState( - use: current.IGarbageCollectionState); -use_current_InterfaceDeclaration_IGarbageCollectionState( - get_old_InterfaceDeclaration_IGarbageCollectionState()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IGarbageCollectionState": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionState(): - current.IGarbageCollectionState; -declare function use_old_InterfaceDeclaration_IGarbageCollectionState( - use: old.IGarbageCollectionState); -use_old_InterfaceDeclaration_IGarbageCollectionState( - get_current_InterfaceDeclaration_IGarbageCollectionState()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionSummaryDetails(): - old.IGarbageCollectionSummaryDetails; -declare function use_current_RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails( - use: current.IGarbageCollectionSummaryDetails); -use_current_RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails( - get_old_InterfaceDeclaration_IGarbageCollectionSummaryDetails()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails": {"backCompat": false} -*/ -declare function get_current_RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails(): - current.IGarbageCollectionSummaryDetails; -declare function use_old_InterfaceDeclaration_IGarbageCollectionSummaryDetails( - use: old.IGarbageCollectionSummaryDetails); -use_old_InterfaceDeclaration_IGarbageCollectionSummaryDetails( - get_current_RemovedInterfaceDeclaration_IGarbageCollectionSummaryDetails()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IInboundSignalMessage": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IInboundSignalMessage(): - old.IInboundSignalMessage; -declare function use_current_InterfaceDeclaration_IInboundSignalMessage( - use: current.IInboundSignalMessage); -use_current_InterfaceDeclaration_IInboundSignalMessage( - get_old_InterfaceDeclaration_IInboundSignalMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IInboundSignalMessage": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IInboundSignalMessage(): - current.IInboundSignalMessage; -declare function use_old_InterfaceDeclaration_IInboundSignalMessage( - use: old.IInboundSignalMessage); -use_old_InterfaceDeclaration_IInboundSignalMessage( - get_current_InterfaceDeclaration_IInboundSignalMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "TypeAliasDeclaration_InboundAttachMessage": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_InboundAttachMessage(): - old.InboundAttachMessage; -declare function use_current_TypeAliasDeclaration_InboundAttachMessage( - use: current.InboundAttachMessage); -use_current_TypeAliasDeclaration_InboundAttachMessage( - get_old_TypeAliasDeclaration_InboundAttachMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "TypeAliasDeclaration_InboundAttachMessage": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_InboundAttachMessage(): - current.InboundAttachMessage; -declare function use_old_TypeAliasDeclaration_InboundAttachMessage( - use: old.InboundAttachMessage); -use_old_TypeAliasDeclaration_InboundAttachMessage( - get_current_TypeAliasDeclaration_InboundAttachMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IProvideFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideFluidDataStoreFactory(): - old.IProvideFluidDataStoreFactory; -declare function use_current_InterfaceDeclaration_IProvideFluidDataStoreFactory( - use: current.IProvideFluidDataStoreFactory); -use_current_InterfaceDeclaration_IProvideFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IProvideFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideFluidDataStoreFactory(): - current.IProvideFluidDataStoreFactory; -declare function use_old_InterfaceDeclaration_IProvideFluidDataStoreFactory( - use: old.IProvideFluidDataStoreFactory); -use_old_InterfaceDeclaration_IProvideFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IProvideFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry(): - old.IProvideFluidDataStoreRegistry; -declare function use_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - use: current.IProvideFluidDataStoreRegistry); -use_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_IProvideFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry(): - current.IProvideFluidDataStoreRegistry; -declare function use_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - use: old.IProvideFluidDataStoreRegistry); -use_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISignalEnvelope": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISignalEnvelope(): - old.ISignalEnvelope; -declare function use_current_InterfaceDeclaration_ISignalEnvelope( - use: current.ISignalEnvelope); -use_current_InterfaceDeclaration_ISignalEnvelope( - get_old_InterfaceDeclaration_ISignalEnvelope()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISignalEnvelope": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISignalEnvelope(): - current.ISignalEnvelope; -declare function use_old_InterfaceDeclaration_ISignalEnvelope( - use: old.ISignalEnvelope); -use_old_InterfaceDeclaration_ISignalEnvelope( - get_current_InterfaceDeclaration_ISignalEnvelope()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISummarizeInternalResult": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizeInternalResult(): - old.ISummarizeInternalResult; -declare function use_current_InterfaceDeclaration_ISummarizeInternalResult( - use: current.ISummarizeInternalResult); -use_current_InterfaceDeclaration_ISummarizeInternalResult( - get_old_InterfaceDeclaration_ISummarizeInternalResult()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISummarizeInternalResult": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizeInternalResult(): - current.ISummarizeInternalResult; -declare function use_old_InterfaceDeclaration_ISummarizeInternalResult( - use: old.ISummarizeInternalResult); -use_old_InterfaceDeclaration_ISummarizeInternalResult( - get_current_InterfaceDeclaration_ISummarizeInternalResult()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISummarizeResult": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizeResult(): - old.ISummarizeResult; -declare function use_current_InterfaceDeclaration_ISummarizeResult( - use: current.ISummarizeResult); -use_current_InterfaceDeclaration_ISummarizeResult( - get_old_InterfaceDeclaration_ISummarizeResult()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISummarizeResult": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizeResult(): - current.ISummarizeResult; -declare function use_old_InterfaceDeclaration_ISummarizeResult( - use: old.ISummarizeResult); -use_old_InterfaceDeclaration_ISummarizeResult( - get_current_InterfaceDeclaration_ISummarizeResult()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISummarizerNode": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNode(): - old.ISummarizerNode; -declare function use_current_InterfaceDeclaration_ISummarizerNode( - use: current.ISummarizerNode); -use_current_InterfaceDeclaration_ISummarizerNode( - get_old_InterfaceDeclaration_ISummarizerNode()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISummarizerNode": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNode(): - current.ISummarizerNode; -declare function use_old_InterfaceDeclaration_ISummarizerNode( - use: old.ISummarizerNode); -use_old_InterfaceDeclaration_ISummarizerNode( - get_current_InterfaceDeclaration_ISummarizerNode()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISummarizerNodeConfig": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeConfig(): - old.ISummarizerNodeConfig; -declare function use_current_InterfaceDeclaration_ISummarizerNodeConfig( - use: current.ISummarizerNodeConfig); -use_current_InterfaceDeclaration_ISummarizerNodeConfig( - get_old_InterfaceDeclaration_ISummarizerNodeConfig()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISummarizerNodeConfig": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeConfig(): - current.ISummarizerNodeConfig; -declare function use_old_InterfaceDeclaration_ISummarizerNodeConfig( - use: old.ISummarizerNodeConfig); -use_old_InterfaceDeclaration_ISummarizerNodeConfig( - get_current_InterfaceDeclaration_ISummarizerNodeConfig()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISummarizerNodeConfigWithGC": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC(): - old.ISummarizerNodeConfigWithGC; -declare function use_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - use: current.ISummarizerNodeConfigWithGC); -use_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - get_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISummarizerNodeConfigWithGC": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC(): - current.ISummarizerNodeConfigWithGC; -declare function use_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - use: old.ISummarizerNodeConfigWithGC); -use_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - get_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISummarizerNodeWithGC": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeWithGC(): - old.ISummarizerNodeWithGC; -declare function use_current_InterfaceDeclaration_ISummarizerNodeWithGC( - use: current.ISummarizerNodeWithGC); -use_current_InterfaceDeclaration_ISummarizerNodeWithGC( - get_old_InterfaceDeclaration_ISummarizerNodeWithGC()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISummarizerNodeWithGC": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeWithGC(): - current.ISummarizerNodeWithGC; -declare function use_old_InterfaceDeclaration_ISummarizerNodeWithGC( - use: old.ISummarizerNodeWithGC); -use_old_InterfaceDeclaration_ISummarizerNodeWithGC( - get_current_InterfaceDeclaration_ISummarizerNodeWithGC()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISummaryStats": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummaryStats(): - old.ISummaryStats; -declare function use_current_InterfaceDeclaration_ISummaryStats( - use: current.ISummaryStats); -use_current_InterfaceDeclaration_ISummaryStats( - get_old_InterfaceDeclaration_ISummaryStats()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISummaryStats": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummaryStats(): - current.ISummaryStats; -declare function use_old_InterfaceDeclaration_ISummaryStats( - use: old.ISummaryStats); -use_old_InterfaceDeclaration_ISummaryStats( - get_current_InterfaceDeclaration_ISummaryStats()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISummaryTreeWithStats": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummaryTreeWithStats(): - old.ISummaryTreeWithStats; -declare function use_current_InterfaceDeclaration_ISummaryTreeWithStats( - use: current.ISummaryTreeWithStats); -use_current_InterfaceDeclaration_ISummaryTreeWithStats( - get_old_InterfaceDeclaration_ISummaryTreeWithStats()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "InterfaceDeclaration_ISummaryTreeWithStats": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummaryTreeWithStats(): - current.ISummaryTreeWithStats; -declare function use_old_InterfaceDeclaration_ISummaryTreeWithStats( - use: old.ISummaryTreeWithStats); -use_old_InterfaceDeclaration_ISummaryTreeWithStats( - get_current_InterfaceDeclaration_ISummaryTreeWithStats()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries(): - old.NamedFluidDataStoreRegistryEntries; -declare function use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - use: current.NamedFluidDataStoreRegistryEntries); -use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries(): - current.NamedFluidDataStoreRegistryEntries; -declare function use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - use: old.NamedFluidDataStoreRegistryEntries); -use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry(): - old.NamedFluidDataStoreRegistryEntry; -declare function use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - use: current.NamedFluidDataStoreRegistryEntry); -use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry(): - current.NamedFluidDataStoreRegistryEntry; -declare function use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - use: old.NamedFluidDataStoreRegistryEntry); -use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "TypeAliasDeclaration_SummarizeInternalFn": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_SummarizeInternalFn(): - old.SummarizeInternalFn; -declare function use_current_TypeAliasDeclaration_SummarizeInternalFn( - use: current.SummarizeInternalFn); -use_current_TypeAliasDeclaration_SummarizeInternalFn( - get_old_TypeAliasDeclaration_SummarizeInternalFn()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.54.0: -* "TypeAliasDeclaration_SummarizeInternalFn": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_SummarizeInternalFn(): - current.SummarizeInternalFn; -declare function use_old_TypeAliasDeclaration_SummarizeInternalFn( - use: old.SummarizeInternalFn); -use_old_TypeAliasDeclaration_SummarizeInternalFn( - get_current_TypeAliasDeclaration_SummarizeInternalFn()); diff --git a/packages/runtime/runtime-definitions/src/test/types/validate0.55.0.ts b/packages/runtime/runtime-definitions/src/test/types/validate0.55.0.ts deleted file mode 100644 index bc9cb7d2671e..000000000000 --- a/packages/runtime/runtime-definitions/src/test/types/validate0.55.0.ts +++ /dev/null @@ -1,990 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/runtime-definitions-0.55.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "VariableDeclaration_channelsTreeName": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_channelsTreeName(): - typeof old.channelsTreeName; -declare function use_current_VariableDeclaration_channelsTreeName( - use: typeof current.channelsTreeName); -use_current_VariableDeclaration_channelsTreeName( - get_old_VariableDeclaration_channelsTreeName()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "VariableDeclaration_channelsTreeName": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_channelsTreeName(): - typeof current.channelsTreeName; -declare function use_old_VariableDeclaration_channelsTreeName( - use: typeof old.channelsTreeName); -use_old_VariableDeclaration_channelsTreeName( - get_current_VariableDeclaration_channelsTreeName()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeFn": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn(): - old.CreateChildSummarizerNodeFn; -declare function use_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - use: current.CreateChildSummarizerNodeFn); -use_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - get_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeFn": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn(): - current.CreateChildSummarizerNodeFn; -declare function use_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - use: old.CreateChildSummarizerNodeFn); -use_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - get_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeParam": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam(): - old.CreateChildSummarizerNodeParam; -declare function use_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - use: current.CreateChildSummarizerNodeParam); -use_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - get_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeParam": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam(): - current.CreateChildSummarizerNodeParam; -declare function use_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - use: old.CreateChildSummarizerNodeParam); -use_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - get_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "EnumDeclaration_CreateSummarizerNodeSource": {"forwardCompat": false} -*/ -declare function get_old_EnumDeclaration_CreateSummarizerNodeSource(): - old.CreateSummarizerNodeSource; -declare function use_current_EnumDeclaration_CreateSummarizerNodeSource( - use: current.CreateSummarizerNodeSource); -use_current_EnumDeclaration_CreateSummarizerNodeSource( - get_old_EnumDeclaration_CreateSummarizerNodeSource()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "EnumDeclaration_CreateSummarizerNodeSource": {"backCompat": false} -*/ -declare function get_current_EnumDeclaration_CreateSummarizerNodeSource(): - current.CreateSummarizerNodeSource; -declare function use_old_EnumDeclaration_CreateSummarizerNodeSource( - use: old.CreateSummarizerNodeSource); -use_old_EnumDeclaration_CreateSummarizerNodeSource( - get_current_EnumDeclaration_CreateSummarizerNodeSource()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_FluidDataStoreRegistryEntry": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry(): - old.FluidDataStoreRegistryEntry; -declare function use_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - use: current.FluidDataStoreRegistryEntry); -use_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_FluidDataStoreRegistryEntry": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry(): - current.FluidDataStoreRegistryEntry; -declare function use_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - use: old.FluidDataStoreRegistryEntry); -use_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "EnumDeclaration_FlushMode": {"forwardCompat": false} -*/ -declare function get_old_EnumDeclaration_FlushMode(): - old.FlushMode; -declare function use_current_EnumDeclaration_FlushMode( - use: current.FlushMode); -use_current_EnumDeclaration_FlushMode( - get_old_EnumDeclaration_FlushMode()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "EnumDeclaration_FlushMode": {"backCompat": false} -*/ -declare function get_current_EnumDeclaration_FlushMode(): - current.FlushMode; -declare function use_old_EnumDeclaration_FlushMode( - use: old.FlushMode); -use_old_EnumDeclaration_FlushMode( - get_current_EnumDeclaration_FlushMode()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "VariableDeclaration_gcBlobKey": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_gcBlobKey(): - typeof old.gcBlobKey; -declare function use_current_VariableDeclaration_gcBlobKey( - use: typeof current.gcBlobKey); -use_current_VariableDeclaration_gcBlobKey( - get_old_VariableDeclaration_gcBlobKey()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "VariableDeclaration_gcBlobKey": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_gcBlobKey(): - typeof current.gcBlobKey; -declare function use_old_VariableDeclaration_gcBlobKey( - use: typeof old.gcBlobKey); -use_old_VariableDeclaration_gcBlobKey( - get_current_VariableDeclaration_gcBlobKey()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IAttachMessage": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IAttachMessage(): - old.IAttachMessage; -declare function use_current_InterfaceDeclaration_IAttachMessage( - use: current.IAttachMessage); -use_current_InterfaceDeclaration_IAttachMessage( - get_old_InterfaceDeclaration_IAttachMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IAttachMessage": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IAttachMessage(): - current.IAttachMessage; -declare function use_old_InterfaceDeclaration_IAttachMessage( - use: old.IAttachMessage); -use_old_InterfaceDeclaration_IAttachMessage( - get_current_InterfaceDeclaration_IAttachMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IContainerRuntimeBase": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeBase(): - old.IContainerRuntimeBase; -declare function use_current_InterfaceDeclaration_IContainerRuntimeBase( - use: current.IContainerRuntimeBase); -use_current_InterfaceDeclaration_IContainerRuntimeBase( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IContainerRuntimeBase()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IContainerRuntimeBase": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeBase(): - current.IContainerRuntimeBase; -declare function use_old_InterfaceDeclaration_IContainerRuntimeBase( - use: old.IContainerRuntimeBase); -use_old_InterfaceDeclaration_IContainerRuntimeBase( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IContainerRuntimeBase()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IContainerRuntimeBaseEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeBaseEvents(): - old.IContainerRuntimeBaseEvents; -declare function use_current_InterfaceDeclaration_IContainerRuntimeBaseEvents( - use: current.IContainerRuntimeBaseEvents); -use_current_InterfaceDeclaration_IContainerRuntimeBaseEvents( - get_old_InterfaceDeclaration_IContainerRuntimeBaseEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IContainerRuntimeBaseEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeBaseEvents(): - current.IContainerRuntimeBaseEvents; -declare function use_old_InterfaceDeclaration_IContainerRuntimeBaseEvents( - use: old.IContainerRuntimeBaseEvents); -use_old_InterfaceDeclaration_IContainerRuntimeBaseEvents( - get_current_InterfaceDeclaration_IContainerRuntimeBaseEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IEnvelope": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IEnvelope(): - old.IEnvelope; -declare function use_current_InterfaceDeclaration_IEnvelope( - use: current.IEnvelope); -use_current_InterfaceDeclaration_IEnvelope( - get_old_InterfaceDeclaration_IEnvelope()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IEnvelope": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IEnvelope(): - current.IEnvelope; -declare function use_old_InterfaceDeclaration_IEnvelope( - use: old.IEnvelope); -use_old_InterfaceDeclaration_IEnvelope( - get_current_InterfaceDeclaration_IEnvelope()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IFluidDataStoreChannel": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreChannel(): - old.IFluidDataStoreChannel; -declare function use_current_InterfaceDeclaration_IFluidDataStoreChannel( - use: current.IFluidDataStoreChannel); -use_current_InterfaceDeclaration_IFluidDataStoreChannel( - get_old_InterfaceDeclaration_IFluidDataStoreChannel()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IFluidDataStoreChannel": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreChannel(): - current.IFluidDataStoreChannel; -declare function use_old_InterfaceDeclaration_IFluidDataStoreChannel( - use: old.IFluidDataStoreChannel); -use_old_InterfaceDeclaration_IFluidDataStoreChannel( - get_current_InterfaceDeclaration_IFluidDataStoreChannel()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IFluidDataStoreContext": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContext(): - old.IFluidDataStoreContext; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContext( - use: current.IFluidDataStoreContext); -use_current_InterfaceDeclaration_IFluidDataStoreContext( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreContext()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IFluidDataStoreContext": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContext(): - current.IFluidDataStoreContext; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContext( - use: old.IFluidDataStoreContext); -use_old_InterfaceDeclaration_IFluidDataStoreContext( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreContext()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IFluidDataStoreContextDetached": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContextDetached(): - old.IFluidDataStoreContextDetached; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContextDetached( - use: current.IFluidDataStoreContextDetached); -use_current_InterfaceDeclaration_IFluidDataStoreContextDetached( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreContextDetached()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IFluidDataStoreContextDetached": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContextDetached(): - current.IFluidDataStoreContextDetached; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContextDetached( - use: old.IFluidDataStoreContextDetached); -use_old_InterfaceDeclaration_IFluidDataStoreContextDetached( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreContextDetached()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IFluidDataStoreContextEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContextEvents(): - old.IFluidDataStoreContextEvents; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContextEvents( - use: current.IFluidDataStoreContextEvents); -use_current_InterfaceDeclaration_IFluidDataStoreContextEvents( - get_old_InterfaceDeclaration_IFluidDataStoreContextEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IFluidDataStoreContextEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContextEvents(): - current.IFluidDataStoreContextEvents; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContextEvents( - use: old.IFluidDataStoreContextEvents); -use_old_InterfaceDeclaration_IFluidDataStoreContextEvents( - get_current_InterfaceDeclaration_IFluidDataStoreContextEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "VariableDeclaration_IFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IFluidDataStoreFactory(): - typeof old.IFluidDataStoreFactory; -declare function use_current_VariableDeclaration_IFluidDataStoreFactory( - use: typeof current.IFluidDataStoreFactory); -use_current_VariableDeclaration_IFluidDataStoreFactory( - get_old_VariableDeclaration_IFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "VariableDeclaration_IFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IFluidDataStoreFactory(): - typeof current.IFluidDataStoreFactory; -declare function use_old_VariableDeclaration_IFluidDataStoreFactory( - use: typeof old.IFluidDataStoreFactory); -use_old_VariableDeclaration_IFluidDataStoreFactory( - get_current_VariableDeclaration_IFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreFactory(): - old.IFluidDataStoreFactory; -declare function use_current_InterfaceDeclaration_IFluidDataStoreFactory( - use: current.IFluidDataStoreFactory); -use_current_InterfaceDeclaration_IFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreFactory(): - current.IFluidDataStoreFactory; -declare function use_old_InterfaceDeclaration_IFluidDataStoreFactory( - use: old.IFluidDataStoreFactory); -use_old_InterfaceDeclaration_IFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "VariableDeclaration_IFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IFluidDataStoreRegistry(): - typeof old.IFluidDataStoreRegistry; -declare function use_current_VariableDeclaration_IFluidDataStoreRegistry( - use: typeof current.IFluidDataStoreRegistry); -use_current_VariableDeclaration_IFluidDataStoreRegistry( - get_old_VariableDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "VariableDeclaration_IFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IFluidDataStoreRegistry(): - typeof current.IFluidDataStoreRegistry; -declare function use_old_VariableDeclaration_IFluidDataStoreRegistry( - use: typeof old.IFluidDataStoreRegistry); -use_old_VariableDeclaration_IFluidDataStoreRegistry( - get_current_VariableDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRegistry(): - old.IFluidDataStoreRegistry; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRegistry( - use: current.IFluidDataStoreRegistry); -use_current_InterfaceDeclaration_IFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRegistry(): - current.IFluidDataStoreRegistry; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRegistry( - use: old.IFluidDataStoreRegistry); -use_old_InterfaceDeclaration_IFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IGarbageCollectionData": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionData(): - old.IGarbageCollectionData; -declare function use_current_InterfaceDeclaration_IGarbageCollectionData( - use: current.IGarbageCollectionData); -use_current_InterfaceDeclaration_IGarbageCollectionData( - get_old_InterfaceDeclaration_IGarbageCollectionData()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IGarbageCollectionData": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionData(): - current.IGarbageCollectionData; -declare function use_old_InterfaceDeclaration_IGarbageCollectionData( - use: old.IGarbageCollectionData); -use_old_InterfaceDeclaration_IGarbageCollectionData( - get_current_InterfaceDeclaration_IGarbageCollectionData()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IGarbageCollectionDetailsBase": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionDetailsBase(): - old.IGarbageCollectionDetailsBase; -declare function use_current_InterfaceDeclaration_IGarbageCollectionDetailsBase( - use: current.IGarbageCollectionDetailsBase); -use_current_InterfaceDeclaration_IGarbageCollectionDetailsBase( - get_old_InterfaceDeclaration_IGarbageCollectionDetailsBase()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IGarbageCollectionDetailsBase": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionDetailsBase(): - current.IGarbageCollectionDetailsBase; -declare function use_old_InterfaceDeclaration_IGarbageCollectionDetailsBase( - use: old.IGarbageCollectionDetailsBase); -use_old_InterfaceDeclaration_IGarbageCollectionDetailsBase( - get_current_InterfaceDeclaration_IGarbageCollectionDetailsBase()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IGarbageCollectionNodeData": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionNodeData(): - old.IGarbageCollectionNodeData; -declare function use_current_InterfaceDeclaration_IGarbageCollectionNodeData( - use: current.IGarbageCollectionNodeData); -use_current_InterfaceDeclaration_IGarbageCollectionNodeData( - get_old_InterfaceDeclaration_IGarbageCollectionNodeData()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IGarbageCollectionNodeData": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionNodeData(): - current.IGarbageCollectionNodeData; -declare function use_old_InterfaceDeclaration_IGarbageCollectionNodeData( - use: old.IGarbageCollectionNodeData); -use_old_InterfaceDeclaration_IGarbageCollectionNodeData( - get_current_InterfaceDeclaration_IGarbageCollectionNodeData()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IGarbageCollectionState": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionState(): - old.IGarbageCollectionState; -declare function use_current_InterfaceDeclaration_IGarbageCollectionState( - use: current.IGarbageCollectionState); -use_current_InterfaceDeclaration_IGarbageCollectionState( - get_old_InterfaceDeclaration_IGarbageCollectionState()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IGarbageCollectionState": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionState(): - current.IGarbageCollectionState; -declare function use_old_InterfaceDeclaration_IGarbageCollectionState( - use: old.IGarbageCollectionState); -use_old_InterfaceDeclaration_IGarbageCollectionState( - get_current_InterfaceDeclaration_IGarbageCollectionState()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_IGarbageCollectionSummaryDetails": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_IGarbageCollectionSummaryDetails(): - old.IGarbageCollectionSummaryDetails; -declare function use_current_TypeAliasDeclaration_IGarbageCollectionSummaryDetails( - use: current.IGarbageCollectionSummaryDetails); -use_current_TypeAliasDeclaration_IGarbageCollectionSummaryDetails( - get_old_TypeAliasDeclaration_IGarbageCollectionSummaryDetails()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_IGarbageCollectionSummaryDetails": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_IGarbageCollectionSummaryDetails(): - current.IGarbageCollectionSummaryDetails; -declare function use_old_TypeAliasDeclaration_IGarbageCollectionSummaryDetails( - use: old.IGarbageCollectionSummaryDetails); -use_old_TypeAliasDeclaration_IGarbageCollectionSummaryDetails( - get_current_TypeAliasDeclaration_IGarbageCollectionSummaryDetails()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IInboundSignalMessage": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IInboundSignalMessage(): - old.IInboundSignalMessage; -declare function use_current_InterfaceDeclaration_IInboundSignalMessage( - use: current.IInboundSignalMessage); -use_current_InterfaceDeclaration_IInboundSignalMessage( - get_old_InterfaceDeclaration_IInboundSignalMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IInboundSignalMessage": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IInboundSignalMessage(): - current.IInboundSignalMessage; -declare function use_old_InterfaceDeclaration_IInboundSignalMessage( - use: old.IInboundSignalMessage); -use_old_InterfaceDeclaration_IInboundSignalMessage( - get_current_InterfaceDeclaration_IInboundSignalMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_InboundAttachMessage": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_InboundAttachMessage(): - old.InboundAttachMessage; -declare function use_current_TypeAliasDeclaration_InboundAttachMessage( - use: current.InboundAttachMessage); -use_current_TypeAliasDeclaration_InboundAttachMessage( - get_old_TypeAliasDeclaration_InboundAttachMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_InboundAttachMessage": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_InboundAttachMessage(): - current.InboundAttachMessage; -declare function use_old_TypeAliasDeclaration_InboundAttachMessage( - use: old.InboundAttachMessage); -use_old_TypeAliasDeclaration_InboundAttachMessage( - get_current_TypeAliasDeclaration_InboundAttachMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IProvideFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideFluidDataStoreFactory(): - old.IProvideFluidDataStoreFactory; -declare function use_current_InterfaceDeclaration_IProvideFluidDataStoreFactory( - use: current.IProvideFluidDataStoreFactory); -use_current_InterfaceDeclaration_IProvideFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IProvideFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideFluidDataStoreFactory(): - current.IProvideFluidDataStoreFactory; -declare function use_old_InterfaceDeclaration_IProvideFluidDataStoreFactory( - use: old.IProvideFluidDataStoreFactory); -use_old_InterfaceDeclaration_IProvideFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IProvideFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry(): - old.IProvideFluidDataStoreRegistry; -declare function use_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - use: current.IProvideFluidDataStoreRegistry); -use_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_IProvideFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry(): - current.IProvideFluidDataStoreRegistry; -declare function use_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - use: old.IProvideFluidDataStoreRegistry); -use_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISignalEnvelope": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISignalEnvelope(): - old.ISignalEnvelope; -declare function use_current_InterfaceDeclaration_ISignalEnvelope( - use: current.ISignalEnvelope); -use_current_InterfaceDeclaration_ISignalEnvelope( - get_old_InterfaceDeclaration_ISignalEnvelope()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISignalEnvelope": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISignalEnvelope(): - current.ISignalEnvelope; -declare function use_old_InterfaceDeclaration_ISignalEnvelope( - use: old.ISignalEnvelope); -use_old_InterfaceDeclaration_ISignalEnvelope( - get_current_InterfaceDeclaration_ISignalEnvelope()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISummarizeInternalResult": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizeInternalResult(): - old.ISummarizeInternalResult; -declare function use_current_InterfaceDeclaration_ISummarizeInternalResult( - use: current.ISummarizeInternalResult); -use_current_InterfaceDeclaration_ISummarizeInternalResult( - get_old_InterfaceDeclaration_ISummarizeInternalResult()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISummarizeInternalResult": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizeInternalResult(): - current.ISummarizeInternalResult; -declare function use_old_InterfaceDeclaration_ISummarizeInternalResult( - use: old.ISummarizeInternalResult); -use_old_InterfaceDeclaration_ISummarizeInternalResult( - get_current_InterfaceDeclaration_ISummarizeInternalResult()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISummarizeResult": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizeResult(): - old.ISummarizeResult; -declare function use_current_InterfaceDeclaration_ISummarizeResult( - use: current.ISummarizeResult); -use_current_InterfaceDeclaration_ISummarizeResult( - get_old_InterfaceDeclaration_ISummarizeResult()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISummarizeResult": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizeResult(): - current.ISummarizeResult; -declare function use_old_InterfaceDeclaration_ISummarizeResult( - use: old.ISummarizeResult); -use_old_InterfaceDeclaration_ISummarizeResult( - get_current_InterfaceDeclaration_ISummarizeResult()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISummarizerNode": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNode(): - old.ISummarizerNode; -declare function use_current_InterfaceDeclaration_ISummarizerNode( - use: current.ISummarizerNode); -use_current_InterfaceDeclaration_ISummarizerNode( - get_old_InterfaceDeclaration_ISummarizerNode()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISummarizerNode": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNode(): - current.ISummarizerNode; -declare function use_old_InterfaceDeclaration_ISummarizerNode( - use: old.ISummarizerNode); -use_old_InterfaceDeclaration_ISummarizerNode( - get_current_InterfaceDeclaration_ISummarizerNode()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISummarizerNodeConfig": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeConfig(): - old.ISummarizerNodeConfig; -declare function use_current_InterfaceDeclaration_ISummarizerNodeConfig( - use: current.ISummarizerNodeConfig); -use_current_InterfaceDeclaration_ISummarizerNodeConfig( - get_old_InterfaceDeclaration_ISummarizerNodeConfig()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISummarizerNodeConfig": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeConfig(): - current.ISummarizerNodeConfig; -declare function use_old_InterfaceDeclaration_ISummarizerNodeConfig( - use: old.ISummarizerNodeConfig); -use_old_InterfaceDeclaration_ISummarizerNodeConfig( - get_current_InterfaceDeclaration_ISummarizerNodeConfig()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISummarizerNodeConfigWithGC": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC(): - old.ISummarizerNodeConfigWithGC; -declare function use_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - use: current.ISummarizerNodeConfigWithGC); -use_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - get_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISummarizerNodeConfigWithGC": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC(): - current.ISummarizerNodeConfigWithGC; -declare function use_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - use: old.ISummarizerNodeConfigWithGC); -use_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - get_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISummarizerNodeWithGC": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeWithGC(): - old.ISummarizerNodeWithGC; -declare function use_current_InterfaceDeclaration_ISummarizerNodeWithGC( - use: current.ISummarizerNodeWithGC); -use_current_InterfaceDeclaration_ISummarizerNodeWithGC( - get_old_InterfaceDeclaration_ISummarizerNodeWithGC()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISummarizerNodeWithGC": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeWithGC(): - current.ISummarizerNodeWithGC; -declare function use_old_InterfaceDeclaration_ISummarizerNodeWithGC( - use: old.ISummarizerNodeWithGC); -use_old_InterfaceDeclaration_ISummarizerNodeWithGC( - get_current_InterfaceDeclaration_ISummarizerNodeWithGC()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISummaryStats": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummaryStats(): - old.ISummaryStats; -declare function use_current_InterfaceDeclaration_ISummaryStats( - use: current.ISummaryStats); -use_current_InterfaceDeclaration_ISummaryStats( - get_old_InterfaceDeclaration_ISummaryStats()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISummaryStats": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummaryStats(): - current.ISummaryStats; -declare function use_old_InterfaceDeclaration_ISummaryStats( - use: old.ISummaryStats); -use_old_InterfaceDeclaration_ISummaryStats( - get_current_InterfaceDeclaration_ISummaryStats()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISummaryTreeWithStats": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummaryTreeWithStats(): - old.ISummaryTreeWithStats; -declare function use_current_InterfaceDeclaration_ISummaryTreeWithStats( - use: current.ISummaryTreeWithStats); -use_current_InterfaceDeclaration_ISummaryTreeWithStats( - get_old_InterfaceDeclaration_ISummaryTreeWithStats()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "InterfaceDeclaration_ISummaryTreeWithStats": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummaryTreeWithStats(): - current.ISummaryTreeWithStats; -declare function use_old_InterfaceDeclaration_ISummaryTreeWithStats( - use: old.ISummaryTreeWithStats); -use_old_InterfaceDeclaration_ISummaryTreeWithStats( - get_current_InterfaceDeclaration_ISummaryTreeWithStats()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries(): - old.NamedFluidDataStoreRegistryEntries; -declare function use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - use: current.NamedFluidDataStoreRegistryEntries); -use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries(): - current.NamedFluidDataStoreRegistryEntries; -declare function use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - use: old.NamedFluidDataStoreRegistryEntries); -use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry(): - old.NamedFluidDataStoreRegistryEntry; -declare function use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - use: current.NamedFluidDataStoreRegistryEntry); -use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry(): - current.NamedFluidDataStoreRegistryEntry; -declare function use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - use: old.NamedFluidDataStoreRegistryEntry); -use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_SummarizeInternalFn": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_SummarizeInternalFn(): - old.SummarizeInternalFn; -declare function use_current_TypeAliasDeclaration_SummarizeInternalFn( - use: current.SummarizeInternalFn); -use_current_TypeAliasDeclaration_SummarizeInternalFn( - get_old_TypeAliasDeclaration_SummarizeInternalFn()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.55.0: -* "TypeAliasDeclaration_SummarizeInternalFn": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_SummarizeInternalFn(): - current.SummarizeInternalFn; -declare function use_old_TypeAliasDeclaration_SummarizeInternalFn( - use: old.SummarizeInternalFn); -use_old_TypeAliasDeclaration_SummarizeInternalFn( - get_current_TypeAliasDeclaration_SummarizeInternalFn()); diff --git a/packages/runtime/runtime-definitions/src/test/types/validate0.56.0.ts b/packages/runtime/runtime-definitions/src/test/types/validate0.56.0.ts deleted file mode 100644 index 24c749f87c36..000000000000 --- a/packages/runtime/runtime-definitions/src/test/types/validate0.56.0.ts +++ /dev/null @@ -1,990 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/runtime-definitions-0.56.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "VariableDeclaration_channelsTreeName": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_channelsTreeName(): - typeof old.channelsTreeName; -declare function use_current_VariableDeclaration_channelsTreeName( - use: typeof current.channelsTreeName); -use_current_VariableDeclaration_channelsTreeName( - get_old_VariableDeclaration_channelsTreeName()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "VariableDeclaration_channelsTreeName": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_channelsTreeName(): - typeof current.channelsTreeName; -declare function use_old_VariableDeclaration_channelsTreeName( - use: typeof old.channelsTreeName); -use_old_VariableDeclaration_channelsTreeName( - get_current_VariableDeclaration_channelsTreeName()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeFn": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn(): - old.CreateChildSummarizerNodeFn; -declare function use_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - use: current.CreateChildSummarizerNodeFn); -use_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - get_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeFn": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn(): - current.CreateChildSummarizerNodeFn; -declare function use_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - use: old.CreateChildSummarizerNodeFn); -use_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - get_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeParam": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam(): - old.CreateChildSummarizerNodeParam; -declare function use_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - use: current.CreateChildSummarizerNodeParam); -use_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - get_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeParam": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam(): - current.CreateChildSummarizerNodeParam; -declare function use_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - use: old.CreateChildSummarizerNodeParam); -use_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - get_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "EnumDeclaration_CreateSummarizerNodeSource": {"forwardCompat": false} -*/ -declare function get_old_EnumDeclaration_CreateSummarizerNodeSource(): - old.CreateSummarizerNodeSource; -declare function use_current_EnumDeclaration_CreateSummarizerNodeSource( - use: current.CreateSummarizerNodeSource); -use_current_EnumDeclaration_CreateSummarizerNodeSource( - get_old_EnumDeclaration_CreateSummarizerNodeSource()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "EnumDeclaration_CreateSummarizerNodeSource": {"backCompat": false} -*/ -declare function get_current_EnumDeclaration_CreateSummarizerNodeSource(): - current.CreateSummarizerNodeSource; -declare function use_old_EnumDeclaration_CreateSummarizerNodeSource( - use: old.CreateSummarizerNodeSource); -use_old_EnumDeclaration_CreateSummarizerNodeSource( - get_current_EnumDeclaration_CreateSummarizerNodeSource()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_FluidDataStoreRegistryEntry": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry(): - old.FluidDataStoreRegistryEntry; -declare function use_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - use: current.FluidDataStoreRegistryEntry); -use_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_FluidDataStoreRegistryEntry": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry(): - current.FluidDataStoreRegistryEntry; -declare function use_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - use: old.FluidDataStoreRegistryEntry); -use_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "EnumDeclaration_FlushMode": {"forwardCompat": false} -*/ -declare function get_old_EnumDeclaration_FlushMode(): - old.FlushMode; -declare function use_current_EnumDeclaration_FlushMode( - use: current.FlushMode); -use_current_EnumDeclaration_FlushMode( - get_old_EnumDeclaration_FlushMode()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "EnumDeclaration_FlushMode": {"backCompat": false} -*/ -declare function get_current_EnumDeclaration_FlushMode(): - current.FlushMode; -declare function use_old_EnumDeclaration_FlushMode( - use: old.FlushMode); -use_old_EnumDeclaration_FlushMode( - get_current_EnumDeclaration_FlushMode()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "VariableDeclaration_gcBlobKey": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_gcBlobKey(): - typeof old.gcBlobKey; -declare function use_current_VariableDeclaration_gcBlobKey( - use: typeof current.gcBlobKey); -use_current_VariableDeclaration_gcBlobKey( - get_old_VariableDeclaration_gcBlobKey()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "VariableDeclaration_gcBlobKey": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_gcBlobKey(): - typeof current.gcBlobKey; -declare function use_old_VariableDeclaration_gcBlobKey( - use: typeof old.gcBlobKey); -use_old_VariableDeclaration_gcBlobKey( - get_current_VariableDeclaration_gcBlobKey()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IAttachMessage": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IAttachMessage(): - old.IAttachMessage; -declare function use_current_InterfaceDeclaration_IAttachMessage( - use: current.IAttachMessage); -use_current_InterfaceDeclaration_IAttachMessage( - get_old_InterfaceDeclaration_IAttachMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IAttachMessage": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IAttachMessage(): - current.IAttachMessage; -declare function use_old_InterfaceDeclaration_IAttachMessage( - use: old.IAttachMessage); -use_old_InterfaceDeclaration_IAttachMessage( - get_current_InterfaceDeclaration_IAttachMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IContainerRuntimeBase": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeBase(): - old.IContainerRuntimeBase; -declare function use_current_InterfaceDeclaration_IContainerRuntimeBase( - use: current.IContainerRuntimeBase); -use_current_InterfaceDeclaration_IContainerRuntimeBase( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IContainerRuntimeBase()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IContainerRuntimeBase": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeBase(): - current.IContainerRuntimeBase; -declare function use_old_InterfaceDeclaration_IContainerRuntimeBase( - use: old.IContainerRuntimeBase); -use_old_InterfaceDeclaration_IContainerRuntimeBase( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IContainerRuntimeBase()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IContainerRuntimeBaseEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeBaseEvents(): - old.IContainerRuntimeBaseEvents; -declare function use_current_InterfaceDeclaration_IContainerRuntimeBaseEvents( - use: current.IContainerRuntimeBaseEvents); -use_current_InterfaceDeclaration_IContainerRuntimeBaseEvents( - get_old_InterfaceDeclaration_IContainerRuntimeBaseEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IContainerRuntimeBaseEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeBaseEvents(): - current.IContainerRuntimeBaseEvents; -declare function use_old_InterfaceDeclaration_IContainerRuntimeBaseEvents( - use: old.IContainerRuntimeBaseEvents); -use_old_InterfaceDeclaration_IContainerRuntimeBaseEvents( - get_current_InterfaceDeclaration_IContainerRuntimeBaseEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IEnvelope": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IEnvelope(): - old.IEnvelope; -declare function use_current_InterfaceDeclaration_IEnvelope( - use: current.IEnvelope); -use_current_InterfaceDeclaration_IEnvelope( - get_old_InterfaceDeclaration_IEnvelope()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IEnvelope": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IEnvelope(): - current.IEnvelope; -declare function use_old_InterfaceDeclaration_IEnvelope( - use: old.IEnvelope); -use_old_InterfaceDeclaration_IEnvelope( - get_current_InterfaceDeclaration_IEnvelope()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IFluidDataStoreChannel": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreChannel(): - old.IFluidDataStoreChannel; -declare function use_current_InterfaceDeclaration_IFluidDataStoreChannel( - use: current.IFluidDataStoreChannel); -use_current_InterfaceDeclaration_IFluidDataStoreChannel( - get_old_InterfaceDeclaration_IFluidDataStoreChannel()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IFluidDataStoreChannel": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreChannel(): - current.IFluidDataStoreChannel; -declare function use_old_InterfaceDeclaration_IFluidDataStoreChannel( - use: old.IFluidDataStoreChannel); -use_old_InterfaceDeclaration_IFluidDataStoreChannel( - get_current_InterfaceDeclaration_IFluidDataStoreChannel()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IFluidDataStoreContext": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContext(): - old.IFluidDataStoreContext; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContext( - use: current.IFluidDataStoreContext); -use_current_InterfaceDeclaration_IFluidDataStoreContext( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreContext()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IFluidDataStoreContext": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContext(): - current.IFluidDataStoreContext; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContext( - use: old.IFluidDataStoreContext); -use_old_InterfaceDeclaration_IFluidDataStoreContext( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreContext()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IFluidDataStoreContextDetached": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContextDetached(): - old.IFluidDataStoreContextDetached; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContextDetached( - use: current.IFluidDataStoreContextDetached); -use_current_InterfaceDeclaration_IFluidDataStoreContextDetached( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreContextDetached()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IFluidDataStoreContextDetached": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContextDetached(): - current.IFluidDataStoreContextDetached; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContextDetached( - use: old.IFluidDataStoreContextDetached); -use_old_InterfaceDeclaration_IFluidDataStoreContextDetached( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreContextDetached()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IFluidDataStoreContextEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContextEvents(): - old.IFluidDataStoreContextEvents; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContextEvents( - use: current.IFluidDataStoreContextEvents); -use_current_InterfaceDeclaration_IFluidDataStoreContextEvents( - get_old_InterfaceDeclaration_IFluidDataStoreContextEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IFluidDataStoreContextEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContextEvents(): - current.IFluidDataStoreContextEvents; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContextEvents( - use: old.IFluidDataStoreContextEvents); -use_old_InterfaceDeclaration_IFluidDataStoreContextEvents( - get_current_InterfaceDeclaration_IFluidDataStoreContextEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "VariableDeclaration_IFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IFluidDataStoreFactory(): - typeof old.IFluidDataStoreFactory; -declare function use_current_VariableDeclaration_IFluidDataStoreFactory( - use: typeof current.IFluidDataStoreFactory); -use_current_VariableDeclaration_IFluidDataStoreFactory( - get_old_VariableDeclaration_IFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "VariableDeclaration_IFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IFluidDataStoreFactory(): - typeof current.IFluidDataStoreFactory; -declare function use_old_VariableDeclaration_IFluidDataStoreFactory( - use: typeof old.IFluidDataStoreFactory); -use_old_VariableDeclaration_IFluidDataStoreFactory( - get_current_VariableDeclaration_IFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreFactory(): - old.IFluidDataStoreFactory; -declare function use_current_InterfaceDeclaration_IFluidDataStoreFactory( - use: current.IFluidDataStoreFactory); -use_current_InterfaceDeclaration_IFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreFactory(): - current.IFluidDataStoreFactory; -declare function use_old_InterfaceDeclaration_IFluidDataStoreFactory( - use: old.IFluidDataStoreFactory); -use_old_InterfaceDeclaration_IFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "VariableDeclaration_IFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IFluidDataStoreRegistry(): - typeof old.IFluidDataStoreRegistry; -declare function use_current_VariableDeclaration_IFluidDataStoreRegistry( - use: typeof current.IFluidDataStoreRegistry); -use_current_VariableDeclaration_IFluidDataStoreRegistry( - get_old_VariableDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "VariableDeclaration_IFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IFluidDataStoreRegistry(): - typeof current.IFluidDataStoreRegistry; -declare function use_old_VariableDeclaration_IFluidDataStoreRegistry( - use: typeof old.IFluidDataStoreRegistry); -use_old_VariableDeclaration_IFluidDataStoreRegistry( - get_current_VariableDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRegistry(): - old.IFluidDataStoreRegistry; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRegistry( - use: current.IFluidDataStoreRegistry); -use_current_InterfaceDeclaration_IFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRegistry(): - current.IFluidDataStoreRegistry; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRegistry( - use: old.IFluidDataStoreRegistry); -use_old_InterfaceDeclaration_IFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IGarbageCollectionData": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionData(): - old.IGarbageCollectionData; -declare function use_current_InterfaceDeclaration_IGarbageCollectionData( - use: current.IGarbageCollectionData); -use_current_InterfaceDeclaration_IGarbageCollectionData( - get_old_InterfaceDeclaration_IGarbageCollectionData()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IGarbageCollectionData": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionData(): - current.IGarbageCollectionData; -declare function use_old_InterfaceDeclaration_IGarbageCollectionData( - use: old.IGarbageCollectionData); -use_old_InterfaceDeclaration_IGarbageCollectionData( - get_current_InterfaceDeclaration_IGarbageCollectionData()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IGarbageCollectionDetailsBase": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionDetailsBase(): - old.IGarbageCollectionDetailsBase; -declare function use_current_InterfaceDeclaration_IGarbageCollectionDetailsBase( - use: current.IGarbageCollectionDetailsBase); -use_current_InterfaceDeclaration_IGarbageCollectionDetailsBase( - get_old_InterfaceDeclaration_IGarbageCollectionDetailsBase()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IGarbageCollectionDetailsBase": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionDetailsBase(): - current.IGarbageCollectionDetailsBase; -declare function use_old_InterfaceDeclaration_IGarbageCollectionDetailsBase( - use: old.IGarbageCollectionDetailsBase); -use_old_InterfaceDeclaration_IGarbageCollectionDetailsBase( - get_current_InterfaceDeclaration_IGarbageCollectionDetailsBase()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IGarbageCollectionNodeData": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionNodeData(): - old.IGarbageCollectionNodeData; -declare function use_current_InterfaceDeclaration_IGarbageCollectionNodeData( - use: current.IGarbageCollectionNodeData); -use_current_InterfaceDeclaration_IGarbageCollectionNodeData( - get_old_InterfaceDeclaration_IGarbageCollectionNodeData()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IGarbageCollectionNodeData": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionNodeData(): - current.IGarbageCollectionNodeData; -declare function use_old_InterfaceDeclaration_IGarbageCollectionNodeData( - use: old.IGarbageCollectionNodeData); -use_old_InterfaceDeclaration_IGarbageCollectionNodeData( - get_current_InterfaceDeclaration_IGarbageCollectionNodeData()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IGarbageCollectionState": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionState(): - old.IGarbageCollectionState; -declare function use_current_InterfaceDeclaration_IGarbageCollectionState( - use: current.IGarbageCollectionState); -use_current_InterfaceDeclaration_IGarbageCollectionState( - get_old_InterfaceDeclaration_IGarbageCollectionState()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IGarbageCollectionState": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionState(): - current.IGarbageCollectionState; -declare function use_old_InterfaceDeclaration_IGarbageCollectionState( - use: old.IGarbageCollectionState); -use_old_InterfaceDeclaration_IGarbageCollectionState( - get_current_InterfaceDeclaration_IGarbageCollectionState()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_IGarbageCollectionSummaryDetails": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_IGarbageCollectionSummaryDetails(): - old.IGarbageCollectionSummaryDetails; -declare function use_current_TypeAliasDeclaration_IGarbageCollectionSummaryDetails( - use: current.IGarbageCollectionSummaryDetails); -use_current_TypeAliasDeclaration_IGarbageCollectionSummaryDetails( - get_old_TypeAliasDeclaration_IGarbageCollectionSummaryDetails()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_IGarbageCollectionSummaryDetails": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_IGarbageCollectionSummaryDetails(): - current.IGarbageCollectionSummaryDetails; -declare function use_old_TypeAliasDeclaration_IGarbageCollectionSummaryDetails( - use: old.IGarbageCollectionSummaryDetails); -use_old_TypeAliasDeclaration_IGarbageCollectionSummaryDetails( - get_current_TypeAliasDeclaration_IGarbageCollectionSummaryDetails()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IInboundSignalMessage": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IInboundSignalMessage(): - old.IInboundSignalMessage; -declare function use_current_InterfaceDeclaration_IInboundSignalMessage( - use: current.IInboundSignalMessage); -use_current_InterfaceDeclaration_IInboundSignalMessage( - get_old_InterfaceDeclaration_IInboundSignalMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IInboundSignalMessage": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IInboundSignalMessage(): - current.IInboundSignalMessage; -declare function use_old_InterfaceDeclaration_IInboundSignalMessage( - use: old.IInboundSignalMessage); -use_old_InterfaceDeclaration_IInboundSignalMessage( - get_current_InterfaceDeclaration_IInboundSignalMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_InboundAttachMessage": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_InboundAttachMessage(): - old.InboundAttachMessage; -declare function use_current_TypeAliasDeclaration_InboundAttachMessage( - use: current.InboundAttachMessage); -use_current_TypeAliasDeclaration_InboundAttachMessage( - get_old_TypeAliasDeclaration_InboundAttachMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_InboundAttachMessage": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_InboundAttachMessage(): - current.InboundAttachMessage; -declare function use_old_TypeAliasDeclaration_InboundAttachMessage( - use: old.InboundAttachMessage); -use_old_TypeAliasDeclaration_InboundAttachMessage( - get_current_TypeAliasDeclaration_InboundAttachMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IProvideFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideFluidDataStoreFactory(): - old.IProvideFluidDataStoreFactory; -declare function use_current_InterfaceDeclaration_IProvideFluidDataStoreFactory( - use: current.IProvideFluidDataStoreFactory); -use_current_InterfaceDeclaration_IProvideFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IProvideFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideFluidDataStoreFactory(): - current.IProvideFluidDataStoreFactory; -declare function use_old_InterfaceDeclaration_IProvideFluidDataStoreFactory( - use: old.IProvideFluidDataStoreFactory); -use_old_InterfaceDeclaration_IProvideFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IProvideFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry(): - old.IProvideFluidDataStoreRegistry; -declare function use_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - use: current.IProvideFluidDataStoreRegistry); -use_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_IProvideFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry(): - current.IProvideFluidDataStoreRegistry; -declare function use_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - use: old.IProvideFluidDataStoreRegistry); -use_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISignalEnvelope": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISignalEnvelope(): - old.ISignalEnvelope; -declare function use_current_InterfaceDeclaration_ISignalEnvelope( - use: current.ISignalEnvelope); -use_current_InterfaceDeclaration_ISignalEnvelope( - get_old_InterfaceDeclaration_ISignalEnvelope()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISignalEnvelope": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISignalEnvelope(): - current.ISignalEnvelope; -declare function use_old_InterfaceDeclaration_ISignalEnvelope( - use: old.ISignalEnvelope); -use_old_InterfaceDeclaration_ISignalEnvelope( - get_current_InterfaceDeclaration_ISignalEnvelope()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISummarizeInternalResult": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizeInternalResult(): - old.ISummarizeInternalResult; -declare function use_current_InterfaceDeclaration_ISummarizeInternalResult( - use: current.ISummarizeInternalResult); -use_current_InterfaceDeclaration_ISummarizeInternalResult( - get_old_InterfaceDeclaration_ISummarizeInternalResult()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISummarizeInternalResult": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizeInternalResult(): - current.ISummarizeInternalResult; -declare function use_old_InterfaceDeclaration_ISummarizeInternalResult( - use: old.ISummarizeInternalResult); -use_old_InterfaceDeclaration_ISummarizeInternalResult( - get_current_InterfaceDeclaration_ISummarizeInternalResult()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISummarizeResult": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizeResult(): - old.ISummarizeResult; -declare function use_current_InterfaceDeclaration_ISummarizeResult( - use: current.ISummarizeResult); -use_current_InterfaceDeclaration_ISummarizeResult( - get_old_InterfaceDeclaration_ISummarizeResult()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISummarizeResult": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizeResult(): - current.ISummarizeResult; -declare function use_old_InterfaceDeclaration_ISummarizeResult( - use: old.ISummarizeResult); -use_old_InterfaceDeclaration_ISummarizeResult( - get_current_InterfaceDeclaration_ISummarizeResult()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISummarizerNode": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNode(): - old.ISummarizerNode; -declare function use_current_InterfaceDeclaration_ISummarizerNode( - use: current.ISummarizerNode); -use_current_InterfaceDeclaration_ISummarizerNode( - get_old_InterfaceDeclaration_ISummarizerNode()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISummarizerNode": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNode(): - current.ISummarizerNode; -declare function use_old_InterfaceDeclaration_ISummarizerNode( - use: old.ISummarizerNode); -use_old_InterfaceDeclaration_ISummarizerNode( - get_current_InterfaceDeclaration_ISummarizerNode()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISummarizerNodeConfig": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeConfig(): - old.ISummarizerNodeConfig; -declare function use_current_InterfaceDeclaration_ISummarizerNodeConfig( - use: current.ISummarizerNodeConfig); -use_current_InterfaceDeclaration_ISummarizerNodeConfig( - get_old_InterfaceDeclaration_ISummarizerNodeConfig()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISummarizerNodeConfig": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeConfig(): - current.ISummarizerNodeConfig; -declare function use_old_InterfaceDeclaration_ISummarizerNodeConfig( - use: old.ISummarizerNodeConfig); -use_old_InterfaceDeclaration_ISummarizerNodeConfig( - get_current_InterfaceDeclaration_ISummarizerNodeConfig()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISummarizerNodeConfigWithGC": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC(): - old.ISummarizerNodeConfigWithGC; -declare function use_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - use: current.ISummarizerNodeConfigWithGC); -use_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - get_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISummarizerNodeConfigWithGC": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC(): - current.ISummarizerNodeConfigWithGC; -declare function use_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - use: old.ISummarizerNodeConfigWithGC); -use_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - get_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISummarizerNodeWithGC": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeWithGC(): - old.ISummarizerNodeWithGC; -declare function use_current_InterfaceDeclaration_ISummarizerNodeWithGC( - use: current.ISummarizerNodeWithGC); -use_current_InterfaceDeclaration_ISummarizerNodeWithGC( - get_old_InterfaceDeclaration_ISummarizerNodeWithGC()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISummarizerNodeWithGC": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeWithGC(): - current.ISummarizerNodeWithGC; -declare function use_old_InterfaceDeclaration_ISummarizerNodeWithGC( - use: old.ISummarizerNodeWithGC); -use_old_InterfaceDeclaration_ISummarizerNodeWithGC( - get_current_InterfaceDeclaration_ISummarizerNodeWithGC()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISummaryStats": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummaryStats(): - old.ISummaryStats; -declare function use_current_InterfaceDeclaration_ISummaryStats( - use: current.ISummaryStats); -use_current_InterfaceDeclaration_ISummaryStats( - get_old_InterfaceDeclaration_ISummaryStats()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISummaryStats": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummaryStats(): - current.ISummaryStats; -declare function use_old_InterfaceDeclaration_ISummaryStats( - use: old.ISummaryStats); -use_old_InterfaceDeclaration_ISummaryStats( - get_current_InterfaceDeclaration_ISummaryStats()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISummaryTreeWithStats": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummaryTreeWithStats(): - old.ISummaryTreeWithStats; -declare function use_current_InterfaceDeclaration_ISummaryTreeWithStats( - use: current.ISummaryTreeWithStats); -use_current_InterfaceDeclaration_ISummaryTreeWithStats( - get_old_InterfaceDeclaration_ISummaryTreeWithStats()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "InterfaceDeclaration_ISummaryTreeWithStats": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummaryTreeWithStats(): - current.ISummaryTreeWithStats; -declare function use_old_InterfaceDeclaration_ISummaryTreeWithStats( - use: old.ISummaryTreeWithStats); -use_old_InterfaceDeclaration_ISummaryTreeWithStats( - get_current_InterfaceDeclaration_ISummaryTreeWithStats()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries(): - old.NamedFluidDataStoreRegistryEntries; -declare function use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - use: current.NamedFluidDataStoreRegistryEntries); -use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries(): - current.NamedFluidDataStoreRegistryEntries; -declare function use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - use: old.NamedFluidDataStoreRegistryEntries); -use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry(): - old.NamedFluidDataStoreRegistryEntry; -declare function use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - use: current.NamedFluidDataStoreRegistryEntry); -use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry(): - current.NamedFluidDataStoreRegistryEntry; -declare function use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - use: old.NamedFluidDataStoreRegistryEntry); -use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_SummarizeInternalFn": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_SummarizeInternalFn(): - old.SummarizeInternalFn; -declare function use_current_TypeAliasDeclaration_SummarizeInternalFn( - use: current.SummarizeInternalFn); -use_current_TypeAliasDeclaration_SummarizeInternalFn( - get_old_TypeAliasDeclaration_SummarizeInternalFn()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.56.0: -* "TypeAliasDeclaration_SummarizeInternalFn": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_SummarizeInternalFn(): - current.SummarizeInternalFn; -declare function use_old_TypeAliasDeclaration_SummarizeInternalFn( - use: old.SummarizeInternalFn); -use_old_TypeAliasDeclaration_SummarizeInternalFn( - get_current_TypeAliasDeclaration_SummarizeInternalFn()); diff --git a/packages/runtime/runtime-definitions/src/test/types/validate0.57.0.ts b/packages/runtime/runtime-definitions/src/test/types/validate0.57.0.ts deleted file mode 100644 index 8c127bedf4cf..000000000000 --- a/packages/runtime/runtime-definitions/src/test/types/validate0.57.0.ts +++ /dev/null @@ -1,990 +0,0 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ -/* - * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. - * Generated by fluid-type-validator in @fluidframework/build-tools. - */ -import * as old from "@fluidframework/runtime-definitions-0.57.0"; -import * as current from "../../index"; - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "VariableDeclaration_channelsTreeName": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_channelsTreeName(): - typeof old.channelsTreeName; -declare function use_current_VariableDeclaration_channelsTreeName( - use: typeof current.channelsTreeName); -use_current_VariableDeclaration_channelsTreeName( - get_old_VariableDeclaration_channelsTreeName()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "VariableDeclaration_channelsTreeName": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_channelsTreeName(): - typeof current.channelsTreeName; -declare function use_old_VariableDeclaration_channelsTreeName( - use: typeof old.channelsTreeName); -use_old_VariableDeclaration_channelsTreeName( - get_current_VariableDeclaration_channelsTreeName()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeFn": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn(): - old.CreateChildSummarizerNodeFn; -declare function use_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - use: current.CreateChildSummarizerNodeFn); -use_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - get_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeFn": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn(): - current.CreateChildSummarizerNodeFn; -declare function use_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - use: old.CreateChildSummarizerNodeFn); -use_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - get_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeParam": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam(): - old.CreateChildSummarizerNodeParam; -declare function use_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - use: current.CreateChildSummarizerNodeParam); -use_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - get_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_CreateChildSummarizerNodeParam": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam(): - current.CreateChildSummarizerNodeParam; -declare function use_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - use: old.CreateChildSummarizerNodeParam); -use_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - get_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "EnumDeclaration_CreateSummarizerNodeSource": {"forwardCompat": false} -*/ -declare function get_old_EnumDeclaration_CreateSummarizerNodeSource(): - old.CreateSummarizerNodeSource; -declare function use_current_EnumDeclaration_CreateSummarizerNodeSource( - use: current.CreateSummarizerNodeSource); -use_current_EnumDeclaration_CreateSummarizerNodeSource( - get_old_EnumDeclaration_CreateSummarizerNodeSource()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "EnumDeclaration_CreateSummarizerNodeSource": {"backCompat": false} -*/ -declare function get_current_EnumDeclaration_CreateSummarizerNodeSource(): - current.CreateSummarizerNodeSource; -declare function use_old_EnumDeclaration_CreateSummarizerNodeSource( - use: old.CreateSummarizerNodeSource); -use_old_EnumDeclaration_CreateSummarizerNodeSource( - get_current_EnumDeclaration_CreateSummarizerNodeSource()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_FluidDataStoreRegistryEntry": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry(): - old.FluidDataStoreRegistryEntry; -declare function use_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - use: current.FluidDataStoreRegistryEntry); -use_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_FluidDataStoreRegistryEntry": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry(): - current.FluidDataStoreRegistryEntry; -declare function use_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - use: old.FluidDataStoreRegistryEntry); -use_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "EnumDeclaration_FlushMode": {"forwardCompat": false} -*/ -declare function get_old_EnumDeclaration_FlushMode(): - old.FlushMode; -declare function use_current_EnumDeclaration_FlushMode( - use: current.FlushMode); -use_current_EnumDeclaration_FlushMode( - get_old_EnumDeclaration_FlushMode()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "EnumDeclaration_FlushMode": {"backCompat": false} -*/ -declare function get_current_EnumDeclaration_FlushMode(): - current.FlushMode; -declare function use_old_EnumDeclaration_FlushMode( - use: old.FlushMode); -use_old_EnumDeclaration_FlushMode( - get_current_EnumDeclaration_FlushMode()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "VariableDeclaration_gcBlobKey": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_gcBlobKey(): - typeof old.gcBlobKey; -declare function use_current_VariableDeclaration_gcBlobKey( - use: typeof current.gcBlobKey); -use_current_VariableDeclaration_gcBlobKey( - get_old_VariableDeclaration_gcBlobKey()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "VariableDeclaration_gcBlobKey": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_gcBlobKey(): - typeof current.gcBlobKey; -declare function use_old_VariableDeclaration_gcBlobKey( - use: typeof old.gcBlobKey); -use_old_VariableDeclaration_gcBlobKey( - get_current_VariableDeclaration_gcBlobKey()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IAttachMessage": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IAttachMessage(): - old.IAttachMessage; -declare function use_current_InterfaceDeclaration_IAttachMessage( - use: current.IAttachMessage); -use_current_InterfaceDeclaration_IAttachMessage( - get_old_InterfaceDeclaration_IAttachMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IAttachMessage": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IAttachMessage(): - current.IAttachMessage; -declare function use_old_InterfaceDeclaration_IAttachMessage( - use: old.IAttachMessage); -use_old_InterfaceDeclaration_IAttachMessage( - get_current_InterfaceDeclaration_IAttachMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IContainerRuntimeBase": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeBase(): - old.IContainerRuntimeBase; -declare function use_current_InterfaceDeclaration_IContainerRuntimeBase( - use: current.IContainerRuntimeBase); -use_current_InterfaceDeclaration_IContainerRuntimeBase( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IContainerRuntimeBase()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IContainerRuntimeBase": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeBase(): - current.IContainerRuntimeBase; -declare function use_old_InterfaceDeclaration_IContainerRuntimeBase( - use: old.IContainerRuntimeBase); -use_old_InterfaceDeclaration_IContainerRuntimeBase( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IContainerRuntimeBase()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IContainerRuntimeBaseEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IContainerRuntimeBaseEvents(): - old.IContainerRuntimeBaseEvents; -declare function use_current_InterfaceDeclaration_IContainerRuntimeBaseEvents( - use: current.IContainerRuntimeBaseEvents); -use_current_InterfaceDeclaration_IContainerRuntimeBaseEvents( - get_old_InterfaceDeclaration_IContainerRuntimeBaseEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IContainerRuntimeBaseEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IContainerRuntimeBaseEvents(): - current.IContainerRuntimeBaseEvents; -declare function use_old_InterfaceDeclaration_IContainerRuntimeBaseEvents( - use: old.IContainerRuntimeBaseEvents); -use_old_InterfaceDeclaration_IContainerRuntimeBaseEvents( - get_current_InterfaceDeclaration_IContainerRuntimeBaseEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IEnvelope": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IEnvelope(): - old.IEnvelope; -declare function use_current_InterfaceDeclaration_IEnvelope( - use: current.IEnvelope); -use_current_InterfaceDeclaration_IEnvelope( - get_old_InterfaceDeclaration_IEnvelope()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IEnvelope": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IEnvelope(): - current.IEnvelope; -declare function use_old_InterfaceDeclaration_IEnvelope( - use: old.IEnvelope); -use_old_InterfaceDeclaration_IEnvelope( - get_current_InterfaceDeclaration_IEnvelope()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IFluidDataStoreChannel": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreChannel(): - old.IFluidDataStoreChannel; -declare function use_current_InterfaceDeclaration_IFluidDataStoreChannel( - use: current.IFluidDataStoreChannel); -use_current_InterfaceDeclaration_IFluidDataStoreChannel( - get_old_InterfaceDeclaration_IFluidDataStoreChannel()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IFluidDataStoreChannel": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreChannel(): - current.IFluidDataStoreChannel; -declare function use_old_InterfaceDeclaration_IFluidDataStoreChannel( - use: old.IFluidDataStoreChannel); -use_old_InterfaceDeclaration_IFluidDataStoreChannel( - get_current_InterfaceDeclaration_IFluidDataStoreChannel()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IFluidDataStoreContext": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContext(): - old.IFluidDataStoreContext; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContext( - use: current.IFluidDataStoreContext); -use_current_InterfaceDeclaration_IFluidDataStoreContext( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreContext()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IFluidDataStoreContext": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContext(): - current.IFluidDataStoreContext; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContext( - use: old.IFluidDataStoreContext); -use_old_InterfaceDeclaration_IFluidDataStoreContext( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreContext()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IFluidDataStoreContextDetached": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContextDetached(): - old.IFluidDataStoreContextDetached; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContextDetached( - use: current.IFluidDataStoreContextDetached); -use_current_InterfaceDeclaration_IFluidDataStoreContextDetached( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreContextDetached()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IFluidDataStoreContextDetached": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContextDetached(): - current.IFluidDataStoreContextDetached; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContextDetached( - use: old.IFluidDataStoreContextDetached); -use_old_InterfaceDeclaration_IFluidDataStoreContextDetached( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreContextDetached()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IFluidDataStoreContextEvents": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreContextEvents(): - old.IFluidDataStoreContextEvents; -declare function use_current_InterfaceDeclaration_IFluidDataStoreContextEvents( - use: current.IFluidDataStoreContextEvents); -use_current_InterfaceDeclaration_IFluidDataStoreContextEvents( - get_old_InterfaceDeclaration_IFluidDataStoreContextEvents()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IFluidDataStoreContextEvents": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreContextEvents(): - current.IFluidDataStoreContextEvents; -declare function use_old_InterfaceDeclaration_IFluidDataStoreContextEvents( - use: old.IFluidDataStoreContextEvents); -use_old_InterfaceDeclaration_IFluidDataStoreContextEvents( - get_current_InterfaceDeclaration_IFluidDataStoreContextEvents()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "VariableDeclaration_IFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IFluidDataStoreFactory(): - typeof old.IFluidDataStoreFactory; -declare function use_current_VariableDeclaration_IFluidDataStoreFactory( - use: typeof current.IFluidDataStoreFactory); -use_current_VariableDeclaration_IFluidDataStoreFactory( - get_old_VariableDeclaration_IFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "VariableDeclaration_IFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IFluidDataStoreFactory(): - typeof current.IFluidDataStoreFactory; -declare function use_old_VariableDeclaration_IFluidDataStoreFactory( - use: typeof old.IFluidDataStoreFactory); -use_old_VariableDeclaration_IFluidDataStoreFactory( - get_current_VariableDeclaration_IFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreFactory(): - old.IFluidDataStoreFactory; -declare function use_current_InterfaceDeclaration_IFluidDataStoreFactory( - use: current.IFluidDataStoreFactory); -use_current_InterfaceDeclaration_IFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreFactory(): - current.IFluidDataStoreFactory; -declare function use_old_InterfaceDeclaration_IFluidDataStoreFactory( - use: old.IFluidDataStoreFactory); -use_old_InterfaceDeclaration_IFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "VariableDeclaration_IFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_VariableDeclaration_IFluidDataStoreRegistry(): - typeof old.IFluidDataStoreRegistry; -declare function use_current_VariableDeclaration_IFluidDataStoreRegistry( - use: typeof current.IFluidDataStoreRegistry); -use_current_VariableDeclaration_IFluidDataStoreRegistry( - get_old_VariableDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "VariableDeclaration_IFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_VariableDeclaration_IFluidDataStoreRegistry(): - typeof current.IFluidDataStoreRegistry; -declare function use_old_VariableDeclaration_IFluidDataStoreRegistry( - use: typeof old.IFluidDataStoreRegistry); -use_old_VariableDeclaration_IFluidDataStoreRegistry( - get_current_VariableDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IFluidDataStoreRegistry(): - old.IFluidDataStoreRegistry; -declare function use_current_InterfaceDeclaration_IFluidDataStoreRegistry( - use: current.IFluidDataStoreRegistry); -use_current_InterfaceDeclaration_IFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IFluidDataStoreRegistry(): - current.IFluidDataStoreRegistry; -declare function use_old_InterfaceDeclaration_IFluidDataStoreRegistry( - use: old.IFluidDataStoreRegistry); -use_old_InterfaceDeclaration_IFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IGarbageCollectionData": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionData(): - old.IGarbageCollectionData; -declare function use_current_InterfaceDeclaration_IGarbageCollectionData( - use: current.IGarbageCollectionData); -use_current_InterfaceDeclaration_IGarbageCollectionData( - get_old_InterfaceDeclaration_IGarbageCollectionData()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IGarbageCollectionData": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionData(): - current.IGarbageCollectionData; -declare function use_old_InterfaceDeclaration_IGarbageCollectionData( - use: old.IGarbageCollectionData); -use_old_InterfaceDeclaration_IGarbageCollectionData( - get_current_InterfaceDeclaration_IGarbageCollectionData()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IGarbageCollectionDetailsBase": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionDetailsBase(): - old.IGarbageCollectionDetailsBase; -declare function use_current_InterfaceDeclaration_IGarbageCollectionDetailsBase( - use: current.IGarbageCollectionDetailsBase); -use_current_InterfaceDeclaration_IGarbageCollectionDetailsBase( - get_old_InterfaceDeclaration_IGarbageCollectionDetailsBase()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IGarbageCollectionDetailsBase": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionDetailsBase(): - current.IGarbageCollectionDetailsBase; -declare function use_old_InterfaceDeclaration_IGarbageCollectionDetailsBase( - use: old.IGarbageCollectionDetailsBase); -use_old_InterfaceDeclaration_IGarbageCollectionDetailsBase( - get_current_InterfaceDeclaration_IGarbageCollectionDetailsBase()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IGarbageCollectionNodeData": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionNodeData(): - old.IGarbageCollectionNodeData; -declare function use_current_InterfaceDeclaration_IGarbageCollectionNodeData( - use: current.IGarbageCollectionNodeData); -use_current_InterfaceDeclaration_IGarbageCollectionNodeData( - get_old_InterfaceDeclaration_IGarbageCollectionNodeData()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IGarbageCollectionNodeData": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionNodeData(): - current.IGarbageCollectionNodeData; -declare function use_old_InterfaceDeclaration_IGarbageCollectionNodeData( - use: old.IGarbageCollectionNodeData); -use_old_InterfaceDeclaration_IGarbageCollectionNodeData( - get_current_InterfaceDeclaration_IGarbageCollectionNodeData()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IGarbageCollectionState": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IGarbageCollectionState(): - old.IGarbageCollectionState; -declare function use_current_InterfaceDeclaration_IGarbageCollectionState( - use: current.IGarbageCollectionState); -use_current_InterfaceDeclaration_IGarbageCollectionState( - get_old_InterfaceDeclaration_IGarbageCollectionState()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IGarbageCollectionState": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IGarbageCollectionState(): - current.IGarbageCollectionState; -declare function use_old_InterfaceDeclaration_IGarbageCollectionState( - use: old.IGarbageCollectionState); -use_old_InterfaceDeclaration_IGarbageCollectionState( - get_current_InterfaceDeclaration_IGarbageCollectionState()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_IGarbageCollectionSummaryDetails": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_IGarbageCollectionSummaryDetails(): - old.IGarbageCollectionSummaryDetails; -declare function use_current_TypeAliasDeclaration_IGarbageCollectionSummaryDetails( - use: current.IGarbageCollectionSummaryDetails); -use_current_TypeAliasDeclaration_IGarbageCollectionSummaryDetails( - get_old_TypeAliasDeclaration_IGarbageCollectionSummaryDetails()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_IGarbageCollectionSummaryDetails": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_IGarbageCollectionSummaryDetails(): - current.IGarbageCollectionSummaryDetails; -declare function use_old_TypeAliasDeclaration_IGarbageCollectionSummaryDetails( - use: old.IGarbageCollectionSummaryDetails); -use_old_TypeAliasDeclaration_IGarbageCollectionSummaryDetails( - get_current_TypeAliasDeclaration_IGarbageCollectionSummaryDetails()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IInboundSignalMessage": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IInboundSignalMessage(): - old.IInboundSignalMessage; -declare function use_current_InterfaceDeclaration_IInboundSignalMessage( - use: current.IInboundSignalMessage); -use_current_InterfaceDeclaration_IInboundSignalMessage( - get_old_InterfaceDeclaration_IInboundSignalMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IInboundSignalMessage": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IInboundSignalMessage(): - current.IInboundSignalMessage; -declare function use_old_InterfaceDeclaration_IInboundSignalMessage( - use: old.IInboundSignalMessage); -use_old_InterfaceDeclaration_IInboundSignalMessage( - get_current_InterfaceDeclaration_IInboundSignalMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_InboundAttachMessage": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_InboundAttachMessage(): - old.InboundAttachMessage; -declare function use_current_TypeAliasDeclaration_InboundAttachMessage( - use: current.InboundAttachMessage); -use_current_TypeAliasDeclaration_InboundAttachMessage( - get_old_TypeAliasDeclaration_InboundAttachMessage()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_InboundAttachMessage": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_InboundAttachMessage(): - current.InboundAttachMessage; -declare function use_old_TypeAliasDeclaration_InboundAttachMessage( - use: old.InboundAttachMessage); -use_old_TypeAliasDeclaration_InboundAttachMessage( - get_current_TypeAliasDeclaration_InboundAttachMessage()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IProvideFluidDataStoreFactory": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideFluidDataStoreFactory(): - old.IProvideFluidDataStoreFactory; -declare function use_current_InterfaceDeclaration_IProvideFluidDataStoreFactory( - use: current.IProvideFluidDataStoreFactory); -use_current_InterfaceDeclaration_IProvideFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideFluidDataStoreFactory()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IProvideFluidDataStoreFactory": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideFluidDataStoreFactory(): - current.IProvideFluidDataStoreFactory; -declare function use_old_InterfaceDeclaration_IProvideFluidDataStoreFactory( - use: old.IProvideFluidDataStoreFactory); -use_old_InterfaceDeclaration_IProvideFluidDataStoreFactory( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideFluidDataStoreFactory()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IProvideFluidDataStoreRegistry": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry(): - old.IProvideFluidDataStoreRegistry; -declare function use_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - use: current.IProvideFluidDataStoreRegistry); -use_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_IProvideFluidDataStoreRegistry": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry(): - current.IProvideFluidDataStoreRegistry; -declare function use_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - use: old.IProvideFluidDataStoreRegistry); -use_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - // @ts-expect-error compatibility expected to be broken - get_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISignalEnvelope": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISignalEnvelope(): - old.ISignalEnvelope; -declare function use_current_InterfaceDeclaration_ISignalEnvelope( - use: current.ISignalEnvelope); -use_current_InterfaceDeclaration_ISignalEnvelope( - get_old_InterfaceDeclaration_ISignalEnvelope()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISignalEnvelope": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISignalEnvelope(): - current.ISignalEnvelope; -declare function use_old_InterfaceDeclaration_ISignalEnvelope( - use: old.ISignalEnvelope); -use_old_InterfaceDeclaration_ISignalEnvelope( - get_current_InterfaceDeclaration_ISignalEnvelope()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISummarizeInternalResult": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizeInternalResult(): - old.ISummarizeInternalResult; -declare function use_current_InterfaceDeclaration_ISummarizeInternalResult( - use: current.ISummarizeInternalResult); -use_current_InterfaceDeclaration_ISummarizeInternalResult( - get_old_InterfaceDeclaration_ISummarizeInternalResult()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISummarizeInternalResult": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizeInternalResult(): - current.ISummarizeInternalResult; -declare function use_old_InterfaceDeclaration_ISummarizeInternalResult( - use: old.ISummarizeInternalResult); -use_old_InterfaceDeclaration_ISummarizeInternalResult( - get_current_InterfaceDeclaration_ISummarizeInternalResult()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISummarizeResult": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizeResult(): - old.ISummarizeResult; -declare function use_current_InterfaceDeclaration_ISummarizeResult( - use: current.ISummarizeResult); -use_current_InterfaceDeclaration_ISummarizeResult( - get_old_InterfaceDeclaration_ISummarizeResult()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISummarizeResult": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizeResult(): - current.ISummarizeResult; -declare function use_old_InterfaceDeclaration_ISummarizeResult( - use: old.ISummarizeResult); -use_old_InterfaceDeclaration_ISummarizeResult( - get_current_InterfaceDeclaration_ISummarizeResult()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISummarizerNode": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNode(): - old.ISummarizerNode; -declare function use_current_InterfaceDeclaration_ISummarizerNode( - use: current.ISummarizerNode); -use_current_InterfaceDeclaration_ISummarizerNode( - get_old_InterfaceDeclaration_ISummarizerNode()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISummarizerNode": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNode(): - current.ISummarizerNode; -declare function use_old_InterfaceDeclaration_ISummarizerNode( - use: old.ISummarizerNode); -use_old_InterfaceDeclaration_ISummarizerNode( - get_current_InterfaceDeclaration_ISummarizerNode()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISummarizerNodeConfig": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeConfig(): - old.ISummarizerNodeConfig; -declare function use_current_InterfaceDeclaration_ISummarizerNodeConfig( - use: current.ISummarizerNodeConfig); -use_current_InterfaceDeclaration_ISummarizerNodeConfig( - get_old_InterfaceDeclaration_ISummarizerNodeConfig()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISummarizerNodeConfig": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeConfig(): - current.ISummarizerNodeConfig; -declare function use_old_InterfaceDeclaration_ISummarizerNodeConfig( - use: old.ISummarizerNodeConfig); -use_old_InterfaceDeclaration_ISummarizerNodeConfig( - get_current_InterfaceDeclaration_ISummarizerNodeConfig()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISummarizerNodeConfigWithGC": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC(): - old.ISummarizerNodeConfigWithGC; -declare function use_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - use: current.ISummarizerNodeConfigWithGC); -use_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - get_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISummarizerNodeConfigWithGC": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC(): - current.ISummarizerNodeConfigWithGC; -declare function use_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - use: old.ISummarizerNodeConfigWithGC); -use_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - get_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISummarizerNodeWithGC": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummarizerNodeWithGC(): - old.ISummarizerNodeWithGC; -declare function use_current_InterfaceDeclaration_ISummarizerNodeWithGC( - use: current.ISummarizerNodeWithGC); -use_current_InterfaceDeclaration_ISummarizerNodeWithGC( - get_old_InterfaceDeclaration_ISummarizerNodeWithGC()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISummarizerNodeWithGC": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummarizerNodeWithGC(): - current.ISummarizerNodeWithGC; -declare function use_old_InterfaceDeclaration_ISummarizerNodeWithGC( - use: old.ISummarizerNodeWithGC); -use_old_InterfaceDeclaration_ISummarizerNodeWithGC( - get_current_InterfaceDeclaration_ISummarizerNodeWithGC()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISummaryStats": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummaryStats(): - old.ISummaryStats; -declare function use_current_InterfaceDeclaration_ISummaryStats( - use: current.ISummaryStats); -use_current_InterfaceDeclaration_ISummaryStats( - get_old_InterfaceDeclaration_ISummaryStats()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISummaryStats": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummaryStats(): - current.ISummaryStats; -declare function use_old_InterfaceDeclaration_ISummaryStats( - use: old.ISummaryStats); -use_old_InterfaceDeclaration_ISummaryStats( - get_current_InterfaceDeclaration_ISummaryStats()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISummaryTreeWithStats": {"forwardCompat": false} -*/ -declare function get_old_InterfaceDeclaration_ISummaryTreeWithStats(): - old.ISummaryTreeWithStats; -declare function use_current_InterfaceDeclaration_ISummaryTreeWithStats( - use: current.ISummaryTreeWithStats); -use_current_InterfaceDeclaration_ISummaryTreeWithStats( - get_old_InterfaceDeclaration_ISummaryTreeWithStats()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "InterfaceDeclaration_ISummaryTreeWithStats": {"backCompat": false} -*/ -declare function get_current_InterfaceDeclaration_ISummaryTreeWithStats(): - current.ISummaryTreeWithStats; -declare function use_old_InterfaceDeclaration_ISummaryTreeWithStats( - use: old.ISummaryTreeWithStats); -use_old_InterfaceDeclaration_ISummaryTreeWithStats( - get_current_InterfaceDeclaration_ISummaryTreeWithStats()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries(): - old.NamedFluidDataStoreRegistryEntries; -declare function use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - use: current.NamedFluidDataStoreRegistryEntries); -use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries(): - current.NamedFluidDataStoreRegistryEntries; -declare function use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - use: old.NamedFluidDataStoreRegistryEntries); -use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry(): - old.NamedFluidDataStoreRegistryEntry; -declare function use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - use: current.NamedFluidDataStoreRegistryEntry); -use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry(): - current.NamedFluidDataStoreRegistryEntry; -declare function use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - use: old.NamedFluidDataStoreRegistryEntry); -use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - // @ts-expect-error compatibility expected to be broken - get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry()); - -/* -* Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_SummarizeInternalFn": {"forwardCompat": false} -*/ -declare function get_old_TypeAliasDeclaration_SummarizeInternalFn(): - old.SummarizeInternalFn; -declare function use_current_TypeAliasDeclaration_SummarizeInternalFn( - use: current.SummarizeInternalFn); -use_current_TypeAliasDeclaration_SummarizeInternalFn( - get_old_TypeAliasDeclaration_SummarizeInternalFn()); - -/* -* Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.57.0: -* "TypeAliasDeclaration_SummarizeInternalFn": {"backCompat": false} -*/ -declare function get_current_TypeAliasDeclaration_SummarizeInternalFn(): - current.SummarizeInternalFn; -declare function use_old_TypeAliasDeclaration_SummarizeInternalFn( - use: old.SummarizeInternalFn); -use_old_TypeAliasDeclaration_SummarizeInternalFn( - get_current_TypeAliasDeclaration_SummarizeInternalFn()); diff --git a/packages/runtime/runtime-definitions/src/test/types/validate0.58.1000.ts b/packages/runtime/runtime-definitions/src/test/types/validateRuntimeDefinitionsPrevious.ts similarity index 79% rename from packages/runtime/runtime-definitions/src/test/types/validate0.58.1000.ts rename to packages/runtime/runtime-definitions/src/test/types/validateRuntimeDefinitionsPrevious.ts index 1a94d22bc8e6..550d1c562ae5 100644 --- a/packages/runtime/runtime-definitions/src/test/types/validate0.58.1000.ts +++ b/packages/runtime/runtime-definitions/src/test/types/validateRuntimeDefinitionsPrevious.ts @@ -6,1013 +6,1018 @@ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. * Generated by fluid-type-validator in @fluidframework/build-tools. */ -import * as old from "@fluidframework/runtime-definitions-0.58.1000"; +/* eslint-disable max-lines */ +import * as old from "@fluidframework/runtime-definitions-previous"; import * as current from "../../index"; +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_AliasResult": {"forwardCompat": false} */ declare function get_old_TypeAliasDeclaration_AliasResult(): - old.AliasResult; + TypeOnly; declare function use_current_TypeAliasDeclaration_AliasResult( - use: current.AliasResult); + use: TypeOnly); use_current_TypeAliasDeclaration_AliasResult( get_old_TypeAliasDeclaration_AliasResult()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_AliasResult": {"backCompat": false} */ declare function get_current_TypeAliasDeclaration_AliasResult(): - current.AliasResult; + TypeOnly; declare function use_old_TypeAliasDeclaration_AliasResult( - use: old.AliasResult); + use: TypeOnly); use_old_TypeAliasDeclaration_AliasResult( get_current_TypeAliasDeclaration_AliasResult()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "VariableDeclaration_channelsTreeName": {"forwardCompat": false} */ declare function get_old_VariableDeclaration_channelsTreeName(): - typeof old.channelsTreeName; + TypeOnly; declare function use_current_VariableDeclaration_channelsTreeName( - use: typeof current.channelsTreeName); + use: TypeOnly); use_current_VariableDeclaration_channelsTreeName( get_old_VariableDeclaration_channelsTreeName()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "VariableDeclaration_channelsTreeName": {"backCompat": false} */ declare function get_current_VariableDeclaration_channelsTreeName(): - typeof current.channelsTreeName; + TypeOnly; declare function use_old_VariableDeclaration_channelsTreeName( - use: typeof old.channelsTreeName); + use: TypeOnly); use_old_VariableDeclaration_channelsTreeName( get_current_VariableDeclaration_channelsTreeName()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_CreateChildSummarizerNodeFn": {"forwardCompat": false} */ declare function get_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn(): - old.CreateChildSummarizerNodeFn; + TypeOnly; declare function use_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - use: current.CreateChildSummarizerNodeFn); + use: TypeOnly); use_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn( get_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_CreateChildSummarizerNodeFn": {"backCompat": false} */ declare function get_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn(): - current.CreateChildSummarizerNodeFn; + TypeOnly; declare function use_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn( - use: old.CreateChildSummarizerNodeFn); + use: TypeOnly); use_old_TypeAliasDeclaration_CreateChildSummarizerNodeFn( get_current_TypeAliasDeclaration_CreateChildSummarizerNodeFn()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_CreateChildSummarizerNodeParam": {"forwardCompat": false} */ declare function get_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam(): - old.CreateChildSummarizerNodeParam; + TypeOnly; declare function use_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - use: current.CreateChildSummarizerNodeParam); + use: TypeOnly); use_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam( get_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_CreateChildSummarizerNodeParam": {"backCompat": false} */ declare function get_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam(): - current.CreateChildSummarizerNodeParam; + TypeOnly; declare function use_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam( - use: old.CreateChildSummarizerNodeParam); + use: TypeOnly); use_old_TypeAliasDeclaration_CreateChildSummarizerNodeParam( get_current_TypeAliasDeclaration_CreateChildSummarizerNodeParam()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "EnumDeclaration_CreateSummarizerNodeSource": {"forwardCompat": false} */ declare function get_old_EnumDeclaration_CreateSummarizerNodeSource(): - old.CreateSummarizerNodeSource; + TypeOnly; declare function use_current_EnumDeclaration_CreateSummarizerNodeSource( - use: current.CreateSummarizerNodeSource); + use: TypeOnly); use_current_EnumDeclaration_CreateSummarizerNodeSource( get_old_EnumDeclaration_CreateSummarizerNodeSource()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "EnumDeclaration_CreateSummarizerNodeSource": {"backCompat": false} */ declare function get_current_EnumDeclaration_CreateSummarizerNodeSource(): - current.CreateSummarizerNodeSource; + TypeOnly; declare function use_old_EnumDeclaration_CreateSummarizerNodeSource( - use: old.CreateSummarizerNodeSource); + use: TypeOnly); use_old_EnumDeclaration_CreateSummarizerNodeSource( get_current_EnumDeclaration_CreateSummarizerNodeSource()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_FluidDataStoreRegistryEntry": {"forwardCompat": false} */ declare function get_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry(): - old.FluidDataStoreRegistryEntry; + TypeOnly; declare function use_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - use: current.FluidDataStoreRegistryEntry); + use: TypeOnly); use_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry( get_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_FluidDataStoreRegistryEntry": {"backCompat": false} */ declare function get_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry(): - current.FluidDataStoreRegistryEntry; + TypeOnly; declare function use_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry( - use: old.FluidDataStoreRegistryEntry); + use: TypeOnly); use_old_TypeAliasDeclaration_FluidDataStoreRegistryEntry( get_current_TypeAliasDeclaration_FluidDataStoreRegistryEntry()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "EnumDeclaration_FlushMode": {"forwardCompat": false} */ declare function get_old_EnumDeclaration_FlushMode(): - old.FlushMode; + TypeOnly; declare function use_current_EnumDeclaration_FlushMode( - use: current.FlushMode); + use: TypeOnly); use_current_EnumDeclaration_FlushMode( get_old_EnumDeclaration_FlushMode()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "EnumDeclaration_FlushMode": {"backCompat": false} */ declare function get_current_EnumDeclaration_FlushMode(): - current.FlushMode; + TypeOnly; declare function use_old_EnumDeclaration_FlushMode( - use: old.FlushMode); + use: TypeOnly); use_old_EnumDeclaration_FlushMode( get_current_EnumDeclaration_FlushMode()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "VariableDeclaration_gcBlobKey": {"forwardCompat": false} */ declare function get_old_VariableDeclaration_gcBlobKey(): - typeof old.gcBlobKey; + TypeOnly; declare function use_current_VariableDeclaration_gcBlobKey( - use: typeof current.gcBlobKey); + use: TypeOnly); use_current_VariableDeclaration_gcBlobKey( get_old_VariableDeclaration_gcBlobKey()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "VariableDeclaration_gcBlobKey": {"backCompat": false} */ declare function get_current_VariableDeclaration_gcBlobKey(): - typeof current.gcBlobKey; + TypeOnly; declare function use_old_VariableDeclaration_gcBlobKey( - use: typeof old.gcBlobKey); + use: TypeOnly); use_old_VariableDeclaration_gcBlobKey( get_current_VariableDeclaration_gcBlobKey()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IAttachMessage": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IAttachMessage(): - old.IAttachMessage; + TypeOnly; declare function use_current_InterfaceDeclaration_IAttachMessage( - use: current.IAttachMessage); + use: TypeOnly); use_current_InterfaceDeclaration_IAttachMessage( get_old_InterfaceDeclaration_IAttachMessage()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IAttachMessage": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IAttachMessage(): - current.IAttachMessage; + TypeOnly; declare function use_old_InterfaceDeclaration_IAttachMessage( - use: old.IAttachMessage); + use: TypeOnly); use_old_InterfaceDeclaration_IAttachMessage( get_current_InterfaceDeclaration_IAttachMessage()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IContainerRuntimeBase": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IContainerRuntimeBase(): - old.IContainerRuntimeBase; + TypeOnly; declare function use_current_InterfaceDeclaration_IContainerRuntimeBase( - use: current.IContainerRuntimeBase); + use: TypeOnly); use_current_InterfaceDeclaration_IContainerRuntimeBase( get_old_InterfaceDeclaration_IContainerRuntimeBase()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IContainerRuntimeBase": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IContainerRuntimeBase(): - current.IContainerRuntimeBase; + TypeOnly; declare function use_old_InterfaceDeclaration_IContainerRuntimeBase( - use: old.IContainerRuntimeBase); + use: TypeOnly); use_old_InterfaceDeclaration_IContainerRuntimeBase( get_current_InterfaceDeclaration_IContainerRuntimeBase()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IContainerRuntimeBaseEvents": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IContainerRuntimeBaseEvents(): - old.IContainerRuntimeBaseEvents; + TypeOnly; declare function use_current_InterfaceDeclaration_IContainerRuntimeBaseEvents( - use: current.IContainerRuntimeBaseEvents); + use: TypeOnly); use_current_InterfaceDeclaration_IContainerRuntimeBaseEvents( get_old_InterfaceDeclaration_IContainerRuntimeBaseEvents()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IContainerRuntimeBaseEvents": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IContainerRuntimeBaseEvents(): - current.IContainerRuntimeBaseEvents; + TypeOnly; declare function use_old_InterfaceDeclaration_IContainerRuntimeBaseEvents( - use: old.IContainerRuntimeBaseEvents); + use: TypeOnly); use_old_InterfaceDeclaration_IContainerRuntimeBaseEvents( get_current_InterfaceDeclaration_IContainerRuntimeBaseEvents()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IDataStore": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IDataStore(): - old.IDataStore; + TypeOnly; declare function use_current_InterfaceDeclaration_IDataStore( - use: current.IDataStore); + use: TypeOnly); use_current_InterfaceDeclaration_IDataStore( get_old_InterfaceDeclaration_IDataStore()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IDataStore": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IDataStore(): - current.IDataStore; + TypeOnly; declare function use_old_InterfaceDeclaration_IDataStore( - use: old.IDataStore); + use: TypeOnly); use_old_InterfaceDeclaration_IDataStore( get_current_InterfaceDeclaration_IDataStore()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IEnvelope": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IEnvelope(): - old.IEnvelope; + TypeOnly; declare function use_current_InterfaceDeclaration_IEnvelope( - use: current.IEnvelope); + use: TypeOnly); use_current_InterfaceDeclaration_IEnvelope( get_old_InterfaceDeclaration_IEnvelope()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IEnvelope": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IEnvelope(): - current.IEnvelope; + TypeOnly; declare function use_old_InterfaceDeclaration_IEnvelope( - use: old.IEnvelope); + use: TypeOnly); use_old_InterfaceDeclaration_IEnvelope( get_current_InterfaceDeclaration_IEnvelope()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IFluidDataStoreChannel": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IFluidDataStoreChannel(): - old.IFluidDataStoreChannel; + TypeOnly; declare function use_current_InterfaceDeclaration_IFluidDataStoreChannel( - use: current.IFluidDataStoreChannel); + use: TypeOnly); use_current_InterfaceDeclaration_IFluidDataStoreChannel( get_old_InterfaceDeclaration_IFluidDataStoreChannel()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IFluidDataStoreChannel": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IFluidDataStoreChannel(): - current.IFluidDataStoreChannel; + TypeOnly; declare function use_old_InterfaceDeclaration_IFluidDataStoreChannel( - use: old.IFluidDataStoreChannel); + use: TypeOnly); use_old_InterfaceDeclaration_IFluidDataStoreChannel( get_current_InterfaceDeclaration_IFluidDataStoreChannel()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IFluidDataStoreContext": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IFluidDataStoreContext(): - old.IFluidDataStoreContext; + TypeOnly; declare function use_current_InterfaceDeclaration_IFluidDataStoreContext( - use: current.IFluidDataStoreContext); + use: TypeOnly); use_current_InterfaceDeclaration_IFluidDataStoreContext( get_old_InterfaceDeclaration_IFluidDataStoreContext()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IFluidDataStoreContext": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IFluidDataStoreContext(): - current.IFluidDataStoreContext; + TypeOnly; declare function use_old_InterfaceDeclaration_IFluidDataStoreContext( - use: old.IFluidDataStoreContext); + use: TypeOnly); use_old_InterfaceDeclaration_IFluidDataStoreContext( get_current_InterfaceDeclaration_IFluidDataStoreContext()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IFluidDataStoreContextDetached": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IFluidDataStoreContextDetached(): - old.IFluidDataStoreContextDetached; + TypeOnly; declare function use_current_InterfaceDeclaration_IFluidDataStoreContextDetached( - use: current.IFluidDataStoreContextDetached); + use: TypeOnly); use_current_InterfaceDeclaration_IFluidDataStoreContextDetached( get_old_InterfaceDeclaration_IFluidDataStoreContextDetached()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IFluidDataStoreContextDetached": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IFluidDataStoreContextDetached(): - current.IFluidDataStoreContextDetached; + TypeOnly; declare function use_old_InterfaceDeclaration_IFluidDataStoreContextDetached( - use: old.IFluidDataStoreContextDetached); + use: TypeOnly); use_old_InterfaceDeclaration_IFluidDataStoreContextDetached( get_current_InterfaceDeclaration_IFluidDataStoreContextDetached()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IFluidDataStoreContextEvents": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IFluidDataStoreContextEvents(): - old.IFluidDataStoreContextEvents; + TypeOnly; declare function use_current_InterfaceDeclaration_IFluidDataStoreContextEvents( - use: current.IFluidDataStoreContextEvents); + use: TypeOnly); use_current_InterfaceDeclaration_IFluidDataStoreContextEvents( get_old_InterfaceDeclaration_IFluidDataStoreContextEvents()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IFluidDataStoreContextEvents": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IFluidDataStoreContextEvents(): - current.IFluidDataStoreContextEvents; + TypeOnly; declare function use_old_InterfaceDeclaration_IFluidDataStoreContextEvents( - use: old.IFluidDataStoreContextEvents); + use: TypeOnly); use_old_InterfaceDeclaration_IFluidDataStoreContextEvents( get_current_InterfaceDeclaration_IFluidDataStoreContextEvents()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "VariableDeclaration_IFluidDataStoreFactory": {"forwardCompat": false} */ declare function get_old_VariableDeclaration_IFluidDataStoreFactory(): - typeof old.IFluidDataStoreFactory; + TypeOnly; declare function use_current_VariableDeclaration_IFluidDataStoreFactory( - use: typeof current.IFluidDataStoreFactory); + use: TypeOnly); use_current_VariableDeclaration_IFluidDataStoreFactory( get_old_VariableDeclaration_IFluidDataStoreFactory()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "VariableDeclaration_IFluidDataStoreFactory": {"backCompat": false} */ declare function get_current_VariableDeclaration_IFluidDataStoreFactory(): - typeof current.IFluidDataStoreFactory; + TypeOnly; declare function use_old_VariableDeclaration_IFluidDataStoreFactory( - use: typeof old.IFluidDataStoreFactory); + use: TypeOnly); use_old_VariableDeclaration_IFluidDataStoreFactory( get_current_VariableDeclaration_IFluidDataStoreFactory()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IFluidDataStoreFactory": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IFluidDataStoreFactory(): - old.IFluidDataStoreFactory; + TypeOnly; declare function use_current_InterfaceDeclaration_IFluidDataStoreFactory( - use: current.IFluidDataStoreFactory); + use: TypeOnly); use_current_InterfaceDeclaration_IFluidDataStoreFactory( get_old_InterfaceDeclaration_IFluidDataStoreFactory()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IFluidDataStoreFactory": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IFluidDataStoreFactory(): - current.IFluidDataStoreFactory; + TypeOnly; declare function use_old_InterfaceDeclaration_IFluidDataStoreFactory( - use: old.IFluidDataStoreFactory); + use: TypeOnly); use_old_InterfaceDeclaration_IFluidDataStoreFactory( get_current_InterfaceDeclaration_IFluidDataStoreFactory()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "VariableDeclaration_IFluidDataStoreRegistry": {"forwardCompat": false} */ declare function get_old_VariableDeclaration_IFluidDataStoreRegistry(): - typeof old.IFluidDataStoreRegistry; + TypeOnly; declare function use_current_VariableDeclaration_IFluidDataStoreRegistry( - use: typeof current.IFluidDataStoreRegistry); + use: TypeOnly); use_current_VariableDeclaration_IFluidDataStoreRegistry( get_old_VariableDeclaration_IFluidDataStoreRegistry()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "VariableDeclaration_IFluidDataStoreRegistry": {"backCompat": false} */ declare function get_current_VariableDeclaration_IFluidDataStoreRegistry(): - typeof current.IFluidDataStoreRegistry; + TypeOnly; declare function use_old_VariableDeclaration_IFluidDataStoreRegistry( - use: typeof old.IFluidDataStoreRegistry); + use: TypeOnly); use_old_VariableDeclaration_IFluidDataStoreRegistry( get_current_VariableDeclaration_IFluidDataStoreRegistry()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IFluidDataStoreRegistry": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IFluidDataStoreRegistry(): - old.IFluidDataStoreRegistry; + TypeOnly; declare function use_current_InterfaceDeclaration_IFluidDataStoreRegistry( - use: current.IFluidDataStoreRegistry); + use: TypeOnly); use_current_InterfaceDeclaration_IFluidDataStoreRegistry( get_old_InterfaceDeclaration_IFluidDataStoreRegistry()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IFluidDataStoreRegistry": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IFluidDataStoreRegistry(): - current.IFluidDataStoreRegistry; + TypeOnly; declare function use_old_InterfaceDeclaration_IFluidDataStoreRegistry( - use: old.IFluidDataStoreRegistry); + use: TypeOnly); use_old_InterfaceDeclaration_IFluidDataStoreRegistry( get_current_InterfaceDeclaration_IFluidDataStoreRegistry()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IGarbageCollectionData": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IGarbageCollectionData(): - old.IGarbageCollectionData; + TypeOnly; declare function use_current_InterfaceDeclaration_IGarbageCollectionData( - use: current.IGarbageCollectionData); + use: TypeOnly); use_current_InterfaceDeclaration_IGarbageCollectionData( get_old_InterfaceDeclaration_IGarbageCollectionData()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IGarbageCollectionData": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IGarbageCollectionData(): - current.IGarbageCollectionData; + TypeOnly; declare function use_old_InterfaceDeclaration_IGarbageCollectionData( - use: old.IGarbageCollectionData); + use: TypeOnly); use_old_InterfaceDeclaration_IGarbageCollectionData( get_current_InterfaceDeclaration_IGarbageCollectionData()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IGarbageCollectionDetailsBase": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IGarbageCollectionDetailsBase(): - old.IGarbageCollectionDetailsBase; + TypeOnly; declare function use_current_InterfaceDeclaration_IGarbageCollectionDetailsBase( - use: current.IGarbageCollectionDetailsBase); + use: TypeOnly); use_current_InterfaceDeclaration_IGarbageCollectionDetailsBase( get_old_InterfaceDeclaration_IGarbageCollectionDetailsBase()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IGarbageCollectionDetailsBase": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IGarbageCollectionDetailsBase(): - current.IGarbageCollectionDetailsBase; + TypeOnly; declare function use_old_InterfaceDeclaration_IGarbageCollectionDetailsBase( - use: old.IGarbageCollectionDetailsBase); + use: TypeOnly); use_old_InterfaceDeclaration_IGarbageCollectionDetailsBase( get_current_InterfaceDeclaration_IGarbageCollectionDetailsBase()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IGarbageCollectionNodeData": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IGarbageCollectionNodeData(): - old.IGarbageCollectionNodeData; + TypeOnly; declare function use_current_InterfaceDeclaration_IGarbageCollectionNodeData( - use: current.IGarbageCollectionNodeData); + use: TypeOnly); use_current_InterfaceDeclaration_IGarbageCollectionNodeData( get_old_InterfaceDeclaration_IGarbageCollectionNodeData()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IGarbageCollectionNodeData": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IGarbageCollectionNodeData(): - current.IGarbageCollectionNodeData; + TypeOnly; declare function use_old_InterfaceDeclaration_IGarbageCollectionNodeData( - use: old.IGarbageCollectionNodeData); + use: TypeOnly); use_old_InterfaceDeclaration_IGarbageCollectionNodeData( get_current_InterfaceDeclaration_IGarbageCollectionNodeData()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IGarbageCollectionState": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IGarbageCollectionState(): - old.IGarbageCollectionState; + TypeOnly; declare function use_current_InterfaceDeclaration_IGarbageCollectionState( - use: current.IGarbageCollectionState); + use: TypeOnly); use_current_InterfaceDeclaration_IGarbageCollectionState( get_old_InterfaceDeclaration_IGarbageCollectionState()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IGarbageCollectionState": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IGarbageCollectionState(): - current.IGarbageCollectionState; + TypeOnly; declare function use_old_InterfaceDeclaration_IGarbageCollectionState( - use: old.IGarbageCollectionState); + use: TypeOnly); use_old_InterfaceDeclaration_IGarbageCollectionState( get_current_InterfaceDeclaration_IGarbageCollectionState()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_IGarbageCollectionSummaryDetails": {"forwardCompat": false} */ declare function get_old_TypeAliasDeclaration_IGarbageCollectionSummaryDetails(): - old.IGarbageCollectionSummaryDetails; + TypeOnly; declare function use_current_TypeAliasDeclaration_IGarbageCollectionSummaryDetails( - use: current.IGarbageCollectionSummaryDetails); + use: TypeOnly); use_current_TypeAliasDeclaration_IGarbageCollectionSummaryDetails( get_old_TypeAliasDeclaration_IGarbageCollectionSummaryDetails()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_IGarbageCollectionSummaryDetails": {"backCompat": false} */ declare function get_current_TypeAliasDeclaration_IGarbageCollectionSummaryDetails(): - current.IGarbageCollectionSummaryDetails; + TypeOnly; declare function use_old_TypeAliasDeclaration_IGarbageCollectionSummaryDetails( - use: old.IGarbageCollectionSummaryDetails); + use: TypeOnly); use_old_TypeAliasDeclaration_IGarbageCollectionSummaryDetails( get_current_TypeAliasDeclaration_IGarbageCollectionSummaryDetails()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IInboundSignalMessage": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IInboundSignalMessage(): - old.IInboundSignalMessage; + TypeOnly; declare function use_current_InterfaceDeclaration_IInboundSignalMessage( - use: current.IInboundSignalMessage); + use: TypeOnly); use_current_InterfaceDeclaration_IInboundSignalMessage( get_old_InterfaceDeclaration_IInboundSignalMessage()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IInboundSignalMessage": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IInboundSignalMessage(): - current.IInboundSignalMessage; + TypeOnly; declare function use_old_InterfaceDeclaration_IInboundSignalMessage( - use: old.IInboundSignalMessage); + use: TypeOnly); use_old_InterfaceDeclaration_IInboundSignalMessage( get_current_InterfaceDeclaration_IInboundSignalMessage()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_InboundAttachMessage": {"forwardCompat": false} */ declare function get_old_TypeAliasDeclaration_InboundAttachMessage(): - old.InboundAttachMessage; + TypeOnly; declare function use_current_TypeAliasDeclaration_InboundAttachMessage( - use: current.InboundAttachMessage); + use: TypeOnly); use_current_TypeAliasDeclaration_InboundAttachMessage( get_old_TypeAliasDeclaration_InboundAttachMessage()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_InboundAttachMessage": {"backCompat": false} */ declare function get_current_TypeAliasDeclaration_InboundAttachMessage(): - current.InboundAttachMessage; + TypeOnly; declare function use_old_TypeAliasDeclaration_InboundAttachMessage( - use: old.InboundAttachMessage); + use: TypeOnly); use_old_TypeAliasDeclaration_InboundAttachMessage( get_current_TypeAliasDeclaration_InboundAttachMessage()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IProvideFluidDataStoreFactory": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IProvideFluidDataStoreFactory(): - old.IProvideFluidDataStoreFactory; + TypeOnly; declare function use_current_InterfaceDeclaration_IProvideFluidDataStoreFactory( - use: current.IProvideFluidDataStoreFactory); + use: TypeOnly); use_current_InterfaceDeclaration_IProvideFluidDataStoreFactory( get_old_InterfaceDeclaration_IProvideFluidDataStoreFactory()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IProvideFluidDataStoreFactory": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IProvideFluidDataStoreFactory(): - current.IProvideFluidDataStoreFactory; + TypeOnly; declare function use_old_InterfaceDeclaration_IProvideFluidDataStoreFactory( - use: old.IProvideFluidDataStoreFactory); + use: TypeOnly); use_old_InterfaceDeclaration_IProvideFluidDataStoreFactory( get_current_InterfaceDeclaration_IProvideFluidDataStoreFactory()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IProvideFluidDataStoreRegistry": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry(): - old.IProvideFluidDataStoreRegistry; + TypeOnly; declare function use_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - use: current.IProvideFluidDataStoreRegistry); + use: TypeOnly); use_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry( get_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_IProvideFluidDataStoreRegistry": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry(): - current.IProvideFluidDataStoreRegistry; + TypeOnly; declare function use_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry( - use: old.IProvideFluidDataStoreRegistry); + use: TypeOnly); use_old_InterfaceDeclaration_IProvideFluidDataStoreRegistry( get_current_InterfaceDeclaration_IProvideFluidDataStoreRegistry()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISignalEnvelope": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_ISignalEnvelope(): - old.ISignalEnvelope; + TypeOnly; declare function use_current_InterfaceDeclaration_ISignalEnvelope( - use: current.ISignalEnvelope); + use: TypeOnly); use_current_InterfaceDeclaration_ISignalEnvelope( get_old_InterfaceDeclaration_ISignalEnvelope()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISignalEnvelope": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_ISignalEnvelope(): - current.ISignalEnvelope; + TypeOnly; declare function use_old_InterfaceDeclaration_ISignalEnvelope( - use: old.ISignalEnvelope); + use: TypeOnly); use_old_InterfaceDeclaration_ISignalEnvelope( get_current_InterfaceDeclaration_ISignalEnvelope()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISummarizeInternalResult": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_ISummarizeInternalResult(): - old.ISummarizeInternalResult; + TypeOnly; declare function use_current_InterfaceDeclaration_ISummarizeInternalResult( - use: current.ISummarizeInternalResult); + use: TypeOnly); use_current_InterfaceDeclaration_ISummarizeInternalResult( get_old_InterfaceDeclaration_ISummarizeInternalResult()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISummarizeInternalResult": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_ISummarizeInternalResult(): - current.ISummarizeInternalResult; + TypeOnly; declare function use_old_InterfaceDeclaration_ISummarizeInternalResult( - use: old.ISummarizeInternalResult); + use: TypeOnly); use_old_InterfaceDeclaration_ISummarizeInternalResult( get_current_InterfaceDeclaration_ISummarizeInternalResult()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISummarizeResult": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_ISummarizeResult(): - old.ISummarizeResult; + TypeOnly; declare function use_current_InterfaceDeclaration_ISummarizeResult( - use: current.ISummarizeResult); + use: TypeOnly); use_current_InterfaceDeclaration_ISummarizeResult( get_old_InterfaceDeclaration_ISummarizeResult()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISummarizeResult": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_ISummarizeResult(): - current.ISummarizeResult; + TypeOnly; declare function use_old_InterfaceDeclaration_ISummarizeResult( - use: old.ISummarizeResult); + use: TypeOnly); use_old_InterfaceDeclaration_ISummarizeResult( get_current_InterfaceDeclaration_ISummarizeResult()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISummarizerNode": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_ISummarizerNode(): - old.ISummarizerNode; + TypeOnly; declare function use_current_InterfaceDeclaration_ISummarizerNode( - use: current.ISummarizerNode); + use: TypeOnly); use_current_InterfaceDeclaration_ISummarizerNode( get_old_InterfaceDeclaration_ISummarizerNode()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISummarizerNode": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_ISummarizerNode(): - current.ISummarizerNode; + TypeOnly; declare function use_old_InterfaceDeclaration_ISummarizerNode( - use: old.ISummarizerNode); + use: TypeOnly); use_old_InterfaceDeclaration_ISummarizerNode( get_current_InterfaceDeclaration_ISummarizerNode()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISummarizerNodeConfig": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_ISummarizerNodeConfig(): - old.ISummarizerNodeConfig; + TypeOnly; declare function use_current_InterfaceDeclaration_ISummarizerNodeConfig( - use: current.ISummarizerNodeConfig); + use: TypeOnly); use_current_InterfaceDeclaration_ISummarizerNodeConfig( get_old_InterfaceDeclaration_ISummarizerNodeConfig()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISummarizerNodeConfig": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_ISummarizerNodeConfig(): - current.ISummarizerNodeConfig; + TypeOnly; declare function use_old_InterfaceDeclaration_ISummarizerNodeConfig( - use: old.ISummarizerNodeConfig); + use: TypeOnly); use_old_InterfaceDeclaration_ISummarizerNodeConfig( get_current_InterfaceDeclaration_ISummarizerNodeConfig()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISummarizerNodeConfigWithGC": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC(): - old.ISummarizerNodeConfigWithGC; + TypeOnly; declare function use_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - use: current.ISummarizerNodeConfigWithGC); + use: TypeOnly); use_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC( get_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISummarizerNodeConfigWithGC": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC(): - current.ISummarizerNodeConfigWithGC; + TypeOnly; declare function use_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC( - use: old.ISummarizerNodeConfigWithGC); + use: TypeOnly); use_old_InterfaceDeclaration_ISummarizerNodeConfigWithGC( get_current_InterfaceDeclaration_ISummarizerNodeConfigWithGC()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISummarizerNodeWithGC": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_ISummarizerNodeWithGC(): - old.ISummarizerNodeWithGC; + TypeOnly; declare function use_current_InterfaceDeclaration_ISummarizerNodeWithGC( - use: current.ISummarizerNodeWithGC); + use: TypeOnly); use_current_InterfaceDeclaration_ISummarizerNodeWithGC( get_old_InterfaceDeclaration_ISummarizerNodeWithGC()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISummarizerNodeWithGC": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_ISummarizerNodeWithGC(): - current.ISummarizerNodeWithGC; + TypeOnly; declare function use_old_InterfaceDeclaration_ISummarizerNodeWithGC( - use: old.ISummarizerNodeWithGC); + use: TypeOnly); use_old_InterfaceDeclaration_ISummarizerNodeWithGC( get_current_InterfaceDeclaration_ISummarizerNodeWithGC()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISummaryStats": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_ISummaryStats(): - old.ISummaryStats; + TypeOnly; declare function use_current_InterfaceDeclaration_ISummaryStats( - use: current.ISummaryStats); + use: TypeOnly); use_current_InterfaceDeclaration_ISummaryStats( get_old_InterfaceDeclaration_ISummaryStats()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISummaryStats": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_ISummaryStats(): - current.ISummaryStats; + TypeOnly; declare function use_old_InterfaceDeclaration_ISummaryStats( - use: old.ISummaryStats); + use: TypeOnly); use_old_InterfaceDeclaration_ISummaryStats( get_current_InterfaceDeclaration_ISummaryStats()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISummaryTreeWithStats": {"forwardCompat": false} */ declare function get_old_InterfaceDeclaration_ISummaryTreeWithStats(): - old.ISummaryTreeWithStats; + TypeOnly; declare function use_current_InterfaceDeclaration_ISummaryTreeWithStats( - use: current.ISummaryTreeWithStats); + use: TypeOnly); use_current_InterfaceDeclaration_ISummaryTreeWithStats( get_old_InterfaceDeclaration_ISummaryTreeWithStats()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "InterfaceDeclaration_ISummaryTreeWithStats": {"backCompat": false} */ declare function get_current_InterfaceDeclaration_ISummaryTreeWithStats(): - current.ISummaryTreeWithStats; + TypeOnly; declare function use_old_InterfaceDeclaration_ISummaryTreeWithStats( - use: old.ISummaryTreeWithStats); + use: TypeOnly); use_old_InterfaceDeclaration_ISummaryTreeWithStats( get_current_InterfaceDeclaration_ISummaryTreeWithStats()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": {"forwardCompat": false} */ declare function get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries(): - old.NamedFluidDataStoreRegistryEntries; + TypeOnly; declare function use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - use: current.NamedFluidDataStoreRegistryEntries); + use: TypeOnly); use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries": {"backCompat": false} */ declare function get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries(): - current.NamedFluidDataStoreRegistryEntries; + TypeOnly; declare function use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( - use: old.NamedFluidDataStoreRegistryEntries); + use: TypeOnly); use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries( get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntries()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": {"forwardCompat": false} */ declare function get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry(): - old.NamedFluidDataStoreRegistryEntry; + TypeOnly; declare function use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - use: current.NamedFluidDataStoreRegistryEntry); + use: TypeOnly); use_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( get_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry": {"backCompat": false} */ declare function get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry(): - current.NamedFluidDataStoreRegistryEntry; + TypeOnly; declare function use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( - use: old.NamedFluidDataStoreRegistryEntry); + use: TypeOnly); use_old_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry( get_current_TypeAliasDeclaration_NamedFluidDataStoreRegistryEntry()); /* * Validate forward compat by using old type in place of current type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_SummarizeInternalFn": {"forwardCompat": false} */ declare function get_old_TypeAliasDeclaration_SummarizeInternalFn(): - old.SummarizeInternalFn; + TypeOnly; declare function use_current_TypeAliasDeclaration_SummarizeInternalFn( - use: current.SummarizeInternalFn); + use: TypeOnly); use_current_TypeAliasDeclaration_SummarizeInternalFn( get_old_TypeAliasDeclaration_SummarizeInternalFn()); /* * Validate back compat by using current type in place of old type -* If breaking change required, add in package.json under typeValidation.broken.0.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: * "TypeAliasDeclaration_SummarizeInternalFn": {"backCompat": false} */ declare function get_current_TypeAliasDeclaration_SummarizeInternalFn(): - current.SummarizeInternalFn; + TypeOnly; declare function use_old_TypeAliasDeclaration_SummarizeInternalFn( - use: old.SummarizeInternalFn); + use: TypeOnly); use_old_TypeAliasDeclaration_SummarizeInternalFn( get_current_TypeAliasDeclaration_SummarizeInternalFn()); diff --git a/packages/runtime/runtime-utils/package.json b/packages/runtime/runtime-utils/package.json index 78c8a667ab6a..75279f6022cb 100644 --- a/packages/runtime/runtime-utils/package.json +++ b/packages/runtime/runtime-utils/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -75,6 +75,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/runtime-utils-previous": "npm:@fluidframework/runtime-utils@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", @@ -98,5 +99,9 @@ "ts-node": "^7.0.1", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/runtime/runtime-utils/src/test/types/validateRuntimeUtilsPrevious.ts b/packages/runtime/runtime-utils/src/test/types/validateRuntimeUtilsPrevious.ts new file mode 100644 index 000000000000..77f2889e9cf9 --- /dev/null +++ b/packages/runtime/runtime-utils/src/test/types/validateRuntimeUtilsPrevious.ts @@ -0,0 +1,783 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/runtime-utils-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_addBlobToSummary": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_addBlobToSummary(): + TypeOnly; +declare function use_current_FunctionDeclaration_addBlobToSummary( + use: TypeOnly); +use_current_FunctionDeclaration_addBlobToSummary( + get_old_FunctionDeclaration_addBlobToSummary()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_addBlobToSummary": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_addBlobToSummary(): + TypeOnly; +declare function use_old_FunctionDeclaration_addBlobToSummary( + use: TypeOnly); +use_old_FunctionDeclaration_addBlobToSummary( + get_current_FunctionDeclaration_addBlobToSummary()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_addTreeToSummary": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_addTreeToSummary(): + TypeOnly; +declare function use_current_FunctionDeclaration_addTreeToSummary( + use: TypeOnly); +use_current_FunctionDeclaration_addTreeToSummary( + get_old_FunctionDeclaration_addTreeToSummary()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_addTreeToSummary": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_addTreeToSummary(): + TypeOnly; +declare function use_old_FunctionDeclaration_addTreeToSummary( + use: TypeOnly); +use_old_FunctionDeclaration_addTreeToSummary( + get_current_FunctionDeclaration_addTreeToSummary()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_calculateStats": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_calculateStats(): + TypeOnly; +declare function use_current_FunctionDeclaration_calculateStats( + use: TypeOnly); +use_current_FunctionDeclaration_calculateStats( + get_old_FunctionDeclaration_calculateStats()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_calculateStats": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_calculateStats(): + TypeOnly; +declare function use_old_FunctionDeclaration_calculateStats( + use: TypeOnly); +use_old_FunctionDeclaration_calculateStats( + get_current_FunctionDeclaration_calculateStats()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_convertSnapshotTreeToSummaryTree": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_convertSnapshotTreeToSummaryTree(): + TypeOnly; +declare function use_current_FunctionDeclaration_convertSnapshotTreeToSummaryTree( + use: TypeOnly); +use_current_FunctionDeclaration_convertSnapshotTreeToSummaryTree( + get_old_FunctionDeclaration_convertSnapshotTreeToSummaryTree()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_convertSnapshotTreeToSummaryTree": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_convertSnapshotTreeToSummaryTree(): + TypeOnly; +declare function use_old_FunctionDeclaration_convertSnapshotTreeToSummaryTree( + use: TypeOnly); +use_old_FunctionDeclaration_convertSnapshotTreeToSummaryTree( + get_current_FunctionDeclaration_convertSnapshotTreeToSummaryTree()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_convertSummaryTreeToITree": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_convertSummaryTreeToITree(): + TypeOnly; +declare function use_current_FunctionDeclaration_convertSummaryTreeToITree( + use: TypeOnly); +use_current_FunctionDeclaration_convertSummaryTreeToITree( + get_old_FunctionDeclaration_convertSummaryTreeToITree()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_convertSummaryTreeToITree": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_convertSummaryTreeToITree(): + TypeOnly; +declare function use_old_FunctionDeclaration_convertSummaryTreeToITree( + use: TypeOnly); +use_old_FunctionDeclaration_convertSummaryTreeToITree( + get_current_FunctionDeclaration_convertSummaryTreeToITree()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_convertToSummaryTree": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_convertToSummaryTree(): + TypeOnly; +declare function use_current_FunctionDeclaration_convertToSummaryTree( + use: TypeOnly); +use_current_FunctionDeclaration_convertToSummaryTree( + get_old_FunctionDeclaration_convertToSummaryTree()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_convertToSummaryTree": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_convertToSummaryTree(): + TypeOnly; +declare function use_old_FunctionDeclaration_convertToSummaryTree( + use: TypeOnly); +use_old_FunctionDeclaration_convertToSummaryTree( + get_current_FunctionDeclaration_convertToSummaryTree()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_convertToSummaryTreeWithStats": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_convertToSummaryTreeWithStats(): + TypeOnly; +declare function use_current_FunctionDeclaration_convertToSummaryTreeWithStats( + use: TypeOnly); +use_current_FunctionDeclaration_convertToSummaryTreeWithStats( + get_old_FunctionDeclaration_convertToSummaryTreeWithStats()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_convertToSummaryTreeWithStats": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_convertToSummaryTreeWithStats(): + TypeOnly; +declare function use_old_FunctionDeclaration_convertToSummaryTreeWithStats( + use: TypeOnly); +use_old_FunctionDeclaration_convertToSummaryTreeWithStats( + get_current_FunctionDeclaration_convertToSummaryTreeWithStats()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_create404Response": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_create404Response(): + TypeOnly; +declare function use_current_VariableDeclaration_create404Response( + use: TypeOnly); +use_current_VariableDeclaration_create404Response( + get_old_VariableDeclaration_create404Response()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_create404Response": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_create404Response(): + TypeOnly; +declare function use_old_VariableDeclaration_create404Response( + use: TypeOnly); +use_old_VariableDeclaration_create404Response( + get_current_VariableDeclaration_create404Response()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createDataStoreFactory": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_createDataStoreFactory(): + TypeOnly; +declare function use_current_FunctionDeclaration_createDataStoreFactory( + use: TypeOnly); +use_current_FunctionDeclaration_createDataStoreFactory( + get_old_FunctionDeclaration_createDataStoreFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createDataStoreFactory": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_createDataStoreFactory(): + TypeOnly; +declare function use_old_FunctionDeclaration_createDataStoreFactory( + use: TypeOnly); +use_old_FunctionDeclaration_createDataStoreFactory( + get_current_FunctionDeclaration_createDataStoreFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createResponseError": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_createResponseError(): + TypeOnly; +declare function use_current_FunctionDeclaration_createResponseError( + use: TypeOnly); +use_current_FunctionDeclaration_createResponseError( + get_old_FunctionDeclaration_createResponseError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createResponseError": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_createResponseError(): + TypeOnly; +declare function use_old_FunctionDeclaration_createResponseError( + use: TypeOnly); +use_old_FunctionDeclaration_createResponseError( + get_current_FunctionDeclaration_createResponseError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_createRootSummarizerNode": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_createRootSummarizerNode(): + TypeOnly; +declare function use_current_VariableDeclaration_createRootSummarizerNode( + use: TypeOnly); +use_current_VariableDeclaration_createRootSummarizerNode( + get_old_VariableDeclaration_createRootSummarizerNode()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_createRootSummarizerNode": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_createRootSummarizerNode(): + TypeOnly; +declare function use_old_VariableDeclaration_createRootSummarizerNode( + use: TypeOnly); +use_old_VariableDeclaration_createRootSummarizerNode( + get_current_VariableDeclaration_createRootSummarizerNode()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_createRootSummarizerNodeWithGC": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_createRootSummarizerNodeWithGC(): + TypeOnly; +declare function use_current_VariableDeclaration_createRootSummarizerNodeWithGC( + use: TypeOnly); +use_current_VariableDeclaration_createRootSummarizerNodeWithGC( + get_old_VariableDeclaration_createRootSummarizerNodeWithGC()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_createRootSummarizerNodeWithGC": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_createRootSummarizerNodeWithGC(): + TypeOnly; +declare function use_old_VariableDeclaration_createRootSummarizerNodeWithGC( + use: TypeOnly); +use_old_VariableDeclaration_createRootSummarizerNodeWithGC( + get_current_VariableDeclaration_createRootSummarizerNodeWithGC()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_exceptionToResponse": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_exceptionToResponse(): + TypeOnly; +declare function use_current_FunctionDeclaration_exceptionToResponse( + use: TypeOnly); +use_current_FunctionDeclaration_exceptionToResponse( + get_old_FunctionDeclaration_exceptionToResponse()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_exceptionToResponse": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_exceptionToResponse(): + TypeOnly; +declare function use_old_FunctionDeclaration_exceptionToResponse( + use: TypeOnly); +use_old_FunctionDeclaration_exceptionToResponse( + get_current_FunctionDeclaration_exceptionToResponse()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_Factory": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_Factory(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_Factory( + use: TypeOnly); +use_current_TypeAliasDeclaration_Factory( + get_old_TypeAliasDeclaration_Factory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_Factory": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_Factory(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_Factory( + use: TypeOnly); +use_old_TypeAliasDeclaration_Factory( + get_current_TypeAliasDeclaration_Factory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_generateHandleContextPath": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_generateHandleContextPath(): + TypeOnly; +declare function use_current_FunctionDeclaration_generateHandleContextPath( + use: TypeOnly); +use_current_FunctionDeclaration_generateHandleContextPath( + get_old_FunctionDeclaration_generateHandleContextPath()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_generateHandleContextPath": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_generateHandleContextPath(): + TypeOnly; +declare function use_old_FunctionDeclaration_generateHandleContextPath( + use: TypeOnly); +use_old_FunctionDeclaration_generateHandleContextPath( + get_current_FunctionDeclaration_generateHandleContextPath()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getBlobSize": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getBlobSize(): + TypeOnly; +declare function use_current_FunctionDeclaration_getBlobSize( + use: TypeOnly); +use_current_FunctionDeclaration_getBlobSize( + get_old_FunctionDeclaration_getBlobSize()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getBlobSize": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getBlobSize(): + TypeOnly; +declare function use_old_FunctionDeclaration_getBlobSize( + use: TypeOnly); +use_old_FunctionDeclaration_getBlobSize( + get_current_FunctionDeclaration_getBlobSize()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getNormalizedObjectStoragePathParts": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getNormalizedObjectStoragePathParts(): + TypeOnly; +declare function use_current_FunctionDeclaration_getNormalizedObjectStoragePathParts( + use: TypeOnly); +use_current_FunctionDeclaration_getNormalizedObjectStoragePathParts( + get_old_FunctionDeclaration_getNormalizedObjectStoragePathParts()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getNormalizedObjectStoragePathParts": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getNormalizedObjectStoragePathParts(): + TypeOnly; +declare function use_old_FunctionDeclaration_getNormalizedObjectStoragePathParts( + use: TypeOnly); +use_old_FunctionDeclaration_getNormalizedObjectStoragePathParts( + get_current_FunctionDeclaration_getNormalizedObjectStoragePathParts()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IRootSummarizerNode": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IRootSummarizerNode(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IRootSummarizerNode( + use: TypeOnly); +use_current_InterfaceDeclaration_IRootSummarizerNode( + get_old_InterfaceDeclaration_IRootSummarizerNode()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IRootSummarizerNode": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IRootSummarizerNode(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IRootSummarizerNode( + use: TypeOnly); +use_old_InterfaceDeclaration_IRootSummarizerNode( + get_current_InterfaceDeclaration_IRootSummarizerNode()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IRootSummarizerNodeWithGC": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IRootSummarizerNodeWithGC(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IRootSummarizerNodeWithGC( + use: TypeOnly); +use_current_InterfaceDeclaration_IRootSummarizerNodeWithGC( + get_old_InterfaceDeclaration_IRootSummarizerNodeWithGC()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IRootSummarizerNodeWithGC": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IRootSummarizerNodeWithGC(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IRootSummarizerNodeWithGC( + use: TypeOnly); +use_old_InterfaceDeclaration_IRootSummarizerNodeWithGC( + get_current_InterfaceDeclaration_IRootSummarizerNodeWithGC()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizerNodeRootContract": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISummarizerNodeRootContract(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISummarizerNodeRootContract( + use: TypeOnly); +use_current_InterfaceDeclaration_ISummarizerNodeRootContract( + get_old_InterfaceDeclaration_ISummarizerNodeRootContract()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISummarizerNodeRootContract": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISummarizerNodeRootContract(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISummarizerNodeRootContract( + use: TypeOnly); +use_old_InterfaceDeclaration_ISummarizerNodeRootContract( + get_current_InterfaceDeclaration_ISummarizerNodeRootContract()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_listBlobsAtTreePath": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_listBlobsAtTreePath(): + TypeOnly; +declare function use_current_FunctionDeclaration_listBlobsAtTreePath( + use: TypeOnly); +use_current_FunctionDeclaration_listBlobsAtTreePath( + get_old_FunctionDeclaration_listBlobsAtTreePath()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_listBlobsAtTreePath": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_listBlobsAtTreePath(): + TypeOnly; +declare function use_old_FunctionDeclaration_listBlobsAtTreePath( + use: TypeOnly); +use_old_FunctionDeclaration_listBlobsAtTreePath( + get_current_FunctionDeclaration_listBlobsAtTreePath()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_mergeStats": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_mergeStats(): + TypeOnly; +declare function use_current_FunctionDeclaration_mergeStats( + use: TypeOnly); +use_current_FunctionDeclaration_mergeStats( + get_old_FunctionDeclaration_mergeStats()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_mergeStats": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_mergeStats(): + TypeOnly; +declare function use_old_FunctionDeclaration_mergeStats( + use: TypeOnly); +use_old_FunctionDeclaration_mergeStats( + get_current_FunctionDeclaration_mergeStats()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ObjectStoragePartition": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ObjectStoragePartition(): + TypeOnly; +declare function use_current_ClassDeclaration_ObjectStoragePartition( + use: TypeOnly); +use_current_ClassDeclaration_ObjectStoragePartition( + get_old_ClassDeclaration_ObjectStoragePartition()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ObjectStoragePartition": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ObjectStoragePartition(): + TypeOnly; +declare function use_old_ClassDeclaration_ObjectStoragePartition( + use: TypeOnly); +use_old_ClassDeclaration_ObjectStoragePartition( + get_current_ClassDeclaration_ObjectStoragePartition()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ReadAndParseBlob": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_ReadAndParseBlob(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_ReadAndParseBlob( + use: TypeOnly); +use_current_TypeAliasDeclaration_ReadAndParseBlob( + get_old_TypeAliasDeclaration_ReadAndParseBlob()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ReadAndParseBlob": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_ReadAndParseBlob(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_ReadAndParseBlob( + use: TypeOnly); +use_old_TypeAliasDeclaration_ReadAndParseBlob( + get_current_TypeAliasDeclaration_ReadAndParseBlob()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_RefreshSummaryResult": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_RefreshSummaryResult(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_RefreshSummaryResult( + use: TypeOnly); +use_current_TypeAliasDeclaration_RefreshSummaryResult( + get_old_TypeAliasDeclaration_RefreshSummaryResult()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_RefreshSummaryResult": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_RefreshSummaryResult(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_RefreshSummaryResult( + use: TypeOnly); +use_old_TypeAliasDeclaration_RefreshSummaryResult( + get_current_TypeAliasDeclaration_RefreshSummaryResult()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_requestFluidObject": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_requestFluidObject(): + TypeOnly; +declare function use_current_FunctionDeclaration_requestFluidObject( + use: TypeOnly); +use_current_FunctionDeclaration_requestFluidObject( + get_old_FunctionDeclaration_requestFluidObject()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_requestFluidObject": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_requestFluidObject(): + TypeOnly; +declare function use_old_FunctionDeclaration_requestFluidObject( + use: TypeOnly); +use_old_FunctionDeclaration_requestFluidObject( + get_current_FunctionDeclaration_requestFluidObject()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RequestParser": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_RequestParser(): + TypeOnly; +declare function use_current_ClassDeclaration_RequestParser( + use: TypeOnly); +use_current_ClassDeclaration_RequestParser( + get_old_ClassDeclaration_RequestParser()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RequestParser": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_RequestParser(): + TypeOnly; +declare function use_old_ClassDeclaration_RequestParser( + use: TypeOnly); +use_old_ClassDeclaration_RequestParser( + get_current_ClassDeclaration_RequestParser()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_responseToException": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_responseToException(): + TypeOnly; +declare function use_current_FunctionDeclaration_responseToException( + use: TypeOnly); +use_current_FunctionDeclaration_responseToException( + get_old_FunctionDeclaration_responseToException()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_responseToException": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_responseToException(): + TypeOnly; +declare function use_old_FunctionDeclaration_responseToException( + use: TypeOnly); +use_old_FunctionDeclaration_responseToException( + get_current_FunctionDeclaration_responseToException()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RuntimeFactoryHelper": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_RuntimeFactoryHelper(): + TypeOnly; +declare function use_current_ClassDeclaration_RuntimeFactoryHelper( + use: TypeOnly); +use_current_ClassDeclaration_RuntimeFactoryHelper( + get_old_ClassDeclaration_RuntimeFactoryHelper()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RuntimeFactoryHelper": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_RuntimeFactoryHelper(): + TypeOnly; +declare function use_old_ClassDeclaration_RuntimeFactoryHelper( + use: TypeOnly); +use_old_ClassDeclaration_RuntimeFactoryHelper( + get_current_ClassDeclaration_RuntimeFactoryHelper()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_seqFromTree": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_seqFromTree(): + TypeOnly; +declare function use_current_FunctionDeclaration_seqFromTree( + use: TypeOnly); +use_current_FunctionDeclaration_seqFromTree( + get_old_FunctionDeclaration_seqFromTree()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_seqFromTree": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_seqFromTree(): + TypeOnly; +declare function use_old_FunctionDeclaration_seqFromTree( + use: TypeOnly); +use_old_FunctionDeclaration_seqFromTree( + get_current_FunctionDeclaration_seqFromTree()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SummaryTreeBuilder": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SummaryTreeBuilder(): + TypeOnly; +declare function use_current_ClassDeclaration_SummaryTreeBuilder( + use: TypeOnly); +use_current_ClassDeclaration_SummaryTreeBuilder( + get_old_ClassDeclaration_SummaryTreeBuilder()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_SummaryTreeBuilder": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_SummaryTreeBuilder(): + TypeOnly; +declare function use_old_ClassDeclaration_SummaryTreeBuilder( + use: TypeOnly); +use_old_ClassDeclaration_SummaryTreeBuilder( + get_current_ClassDeclaration_SummaryTreeBuilder()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_utf8ByteLength": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_utf8ByteLength(): + TypeOnly; +declare function use_current_FunctionDeclaration_utf8ByteLength( + use: TypeOnly); +use_current_FunctionDeclaration_utf8ByteLength( + get_old_FunctionDeclaration_utf8ByteLength()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_utf8ByteLength": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_utf8ByteLength(): + TypeOnly; +declare function use_old_FunctionDeclaration_utf8ByteLength( + use: TypeOnly); +use_old_FunctionDeclaration_utf8ByteLength( + get_current_FunctionDeclaration_utf8ByteLength()); diff --git a/packages/runtime/test-runtime-utils/package.json b/packages/runtime/test-runtime-utils/package.json index b410a3848932..a51c1ca0b978 100644 --- a/packages/runtime/test-runtime-utils/package.json +++ b/packages/runtime/test-runtime-utils/package.json @@ -30,7 +30,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -77,6 +77,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/test-runtime-utils-previous": "npm:@fluidframework/test-runtime-utils@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", @@ -99,5 +100,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/runtime/test-runtime-utils/src/test/types/validateTestRuntimeUtilsPrevious.ts b/packages/runtime/test-runtime-utils/src/test/types/validateTestRuntimeUtilsPrevious.ts new file mode 100644 index 000000000000..5de34e7a9460 --- /dev/null +++ b/packages/runtime/test-runtime-utils/src/test/types/validateTestRuntimeUtilsPrevious.ts @@ -0,0 +1,423 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/test-runtime-utils-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IMockContainerRuntimePendingMessage": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IMockContainerRuntimePendingMessage(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IMockContainerRuntimePendingMessage( + use: TypeOnly); +use_current_InterfaceDeclaration_IMockContainerRuntimePendingMessage( + get_old_InterfaceDeclaration_IMockContainerRuntimePendingMessage()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IMockContainerRuntimePendingMessage": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IMockContainerRuntimePendingMessage(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IMockContainerRuntimePendingMessage( + use: TypeOnly); +use_old_InterfaceDeclaration_IMockContainerRuntimePendingMessage( + get_current_InterfaceDeclaration_IMockContainerRuntimePendingMessage()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InsecureTokenProvider": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_InsecureTokenProvider(): + TypeOnly; +declare function use_current_ClassDeclaration_InsecureTokenProvider( + use: TypeOnly); +use_current_ClassDeclaration_InsecureTokenProvider( + get_old_ClassDeclaration_InsecureTokenProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_InsecureTokenProvider": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_InsecureTokenProvider(): + TypeOnly; +declare function use_old_ClassDeclaration_InsecureTokenProvider( + use: TypeOnly); +use_old_ClassDeclaration_InsecureTokenProvider( + get_current_ClassDeclaration_InsecureTokenProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockContainerRuntime": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockContainerRuntime(): + TypeOnly; +declare function use_current_ClassDeclaration_MockContainerRuntime( + use: TypeOnly); +use_current_ClassDeclaration_MockContainerRuntime( + get_old_ClassDeclaration_MockContainerRuntime()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockContainerRuntime": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockContainerRuntime(): + TypeOnly; +declare function use_old_ClassDeclaration_MockContainerRuntime( + use: TypeOnly); +use_old_ClassDeclaration_MockContainerRuntime( + get_current_ClassDeclaration_MockContainerRuntime()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockContainerRuntimeFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockContainerRuntimeFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_MockContainerRuntimeFactory( + use: TypeOnly); +use_current_ClassDeclaration_MockContainerRuntimeFactory( + get_old_ClassDeclaration_MockContainerRuntimeFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockContainerRuntimeFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockContainerRuntimeFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_MockContainerRuntimeFactory( + use: TypeOnly); +use_old_ClassDeclaration_MockContainerRuntimeFactory( + get_current_ClassDeclaration_MockContainerRuntimeFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockContainerRuntimeFactoryForReconnection": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockContainerRuntimeFactoryForReconnection(): + TypeOnly; +declare function use_current_ClassDeclaration_MockContainerRuntimeFactoryForReconnection( + use: TypeOnly); +use_current_ClassDeclaration_MockContainerRuntimeFactoryForReconnection( + get_old_ClassDeclaration_MockContainerRuntimeFactoryForReconnection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockContainerRuntimeFactoryForReconnection": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockContainerRuntimeFactoryForReconnection(): + TypeOnly; +declare function use_old_ClassDeclaration_MockContainerRuntimeFactoryForReconnection( + use: TypeOnly); +use_old_ClassDeclaration_MockContainerRuntimeFactoryForReconnection( + get_current_ClassDeclaration_MockContainerRuntimeFactoryForReconnection()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockContainerRuntimeForReconnection": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockContainerRuntimeForReconnection(): + TypeOnly; +declare function use_current_ClassDeclaration_MockContainerRuntimeForReconnection( + use: TypeOnly); +use_current_ClassDeclaration_MockContainerRuntimeForReconnection( + get_old_ClassDeclaration_MockContainerRuntimeForReconnection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockContainerRuntimeForReconnection": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockContainerRuntimeForReconnection(): + TypeOnly; +declare function use_old_ClassDeclaration_MockContainerRuntimeForReconnection( + use: TypeOnly); +use_old_ClassDeclaration_MockContainerRuntimeForReconnection( + get_current_ClassDeclaration_MockContainerRuntimeForReconnection()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockDeltaConnection": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockDeltaConnection(): + TypeOnly; +declare function use_current_ClassDeclaration_MockDeltaConnection( + use: TypeOnly); +use_current_ClassDeclaration_MockDeltaConnection( + get_old_ClassDeclaration_MockDeltaConnection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockDeltaConnection": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockDeltaConnection(): + TypeOnly; +declare function use_old_ClassDeclaration_MockDeltaConnection( + use: TypeOnly); +use_old_ClassDeclaration_MockDeltaConnection( + get_current_ClassDeclaration_MockDeltaConnection()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockDeltaManager": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockDeltaManager(): + TypeOnly; +declare function use_current_ClassDeclaration_MockDeltaManager( + use: TypeOnly); +use_current_ClassDeclaration_MockDeltaManager( + get_old_ClassDeclaration_MockDeltaManager()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockDeltaManager": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockDeltaManager(): + TypeOnly; +declare function use_old_ClassDeclaration_MockDeltaManager( + use: TypeOnly); +use_old_ClassDeclaration_MockDeltaManager( + get_current_ClassDeclaration_MockDeltaManager()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockDeltaQueue": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockDeltaQueue(): + TypeOnly>; +declare function use_current_ClassDeclaration_MockDeltaQueue( + use: TypeOnly>); +use_current_ClassDeclaration_MockDeltaQueue( + get_old_ClassDeclaration_MockDeltaQueue()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockDeltaQueue": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockDeltaQueue(): + TypeOnly>; +declare function use_old_ClassDeclaration_MockDeltaQueue( + use: TypeOnly>); +use_old_ClassDeclaration_MockDeltaQueue( + get_current_ClassDeclaration_MockDeltaQueue()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockEmptyDeltaConnection": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockEmptyDeltaConnection(): + TypeOnly; +declare function use_current_ClassDeclaration_MockEmptyDeltaConnection( + use: TypeOnly); +use_current_ClassDeclaration_MockEmptyDeltaConnection( + get_old_ClassDeclaration_MockEmptyDeltaConnection()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockEmptyDeltaConnection": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockEmptyDeltaConnection(): + TypeOnly; +declare function use_old_ClassDeclaration_MockEmptyDeltaConnection( + use: TypeOnly); +use_old_ClassDeclaration_MockEmptyDeltaConnection( + get_current_ClassDeclaration_MockEmptyDeltaConnection()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockFluidDataStoreContext": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockFluidDataStoreContext(): + TypeOnly; +declare function use_current_ClassDeclaration_MockFluidDataStoreContext( + use: TypeOnly); +use_current_ClassDeclaration_MockFluidDataStoreContext( + get_old_ClassDeclaration_MockFluidDataStoreContext()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockFluidDataStoreContext": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockFluidDataStoreContext(): + TypeOnly; +declare function use_old_ClassDeclaration_MockFluidDataStoreContext( + use: TypeOnly); +use_old_ClassDeclaration_MockFluidDataStoreContext( + get_current_ClassDeclaration_MockFluidDataStoreContext()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockFluidDataStoreRuntime": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockFluidDataStoreRuntime(): + TypeOnly; +declare function use_current_ClassDeclaration_MockFluidDataStoreRuntime( + use: TypeOnly); +use_current_ClassDeclaration_MockFluidDataStoreRuntime( + get_old_ClassDeclaration_MockFluidDataStoreRuntime()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockFluidDataStoreRuntime": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockFluidDataStoreRuntime(): + TypeOnly; +declare function use_old_ClassDeclaration_MockFluidDataStoreRuntime( + use: TypeOnly); +use_old_ClassDeclaration_MockFluidDataStoreRuntime( + get_current_ClassDeclaration_MockFluidDataStoreRuntime()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockHandle": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockHandle(): + TypeOnly>; +declare function use_current_ClassDeclaration_MockHandle( + use: TypeOnly>); +use_current_ClassDeclaration_MockHandle( + get_old_ClassDeclaration_MockHandle()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockHandle": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockHandle(): + TypeOnly>; +declare function use_old_ClassDeclaration_MockHandle( + use: TypeOnly>); +use_old_ClassDeclaration_MockHandle( + get_current_ClassDeclaration_MockHandle()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockObjectStorageService": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockObjectStorageService(): + TypeOnly; +declare function use_current_ClassDeclaration_MockObjectStorageService( + use: TypeOnly); +use_current_ClassDeclaration_MockObjectStorageService( + get_old_ClassDeclaration_MockObjectStorageService()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockObjectStorageService": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockObjectStorageService(): + TypeOnly; +declare function use_old_ClassDeclaration_MockObjectStorageService( + use: TypeOnly); +use_old_ClassDeclaration_MockObjectStorageService( + get_current_ClassDeclaration_MockObjectStorageService()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockQuorum": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockQuorum(): + TypeOnly; +declare function use_current_ClassDeclaration_MockQuorum( + use: TypeOnly); +use_current_ClassDeclaration_MockQuorum( + get_old_ClassDeclaration_MockQuorum()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockQuorum": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockQuorum(): + TypeOnly; +declare function use_old_ClassDeclaration_MockQuorum( + use: TypeOnly); +use_old_ClassDeclaration_MockQuorum( + get_current_ClassDeclaration_MockQuorum()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockSharedObjectServices": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockSharedObjectServices(): + TypeOnly; +declare function use_current_ClassDeclaration_MockSharedObjectServices( + use: TypeOnly); +use_current_ClassDeclaration_MockSharedObjectServices( + get_old_ClassDeclaration_MockSharedObjectServices()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockSharedObjectServices": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockSharedObjectServices(): + TypeOnly; +declare function use_old_ClassDeclaration_MockSharedObjectServices( + use: TypeOnly); +use_old_ClassDeclaration_MockSharedObjectServices( + get_current_ClassDeclaration_MockSharedObjectServices()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockStorage": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockStorage(): + TypeOnly; +declare function use_current_ClassDeclaration_MockStorage( + use: TypeOnly); +use_current_ClassDeclaration_MockStorage( + get_old_ClassDeclaration_MockStorage()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockStorage": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockStorage(): + TypeOnly; +declare function use_old_ClassDeclaration_MockStorage( + use: TypeOnly); +use_old_ClassDeclaration_MockStorage( + get_current_ClassDeclaration_MockStorage()); diff --git a/packages/test/functional-tests/package.json b/packages/test/functional-tests/package.json index 67df315173e3..fbb2315025e2 100644 --- a/packages/test/functional-tests/package.json +++ b/packages/test/functional-tests/package.json @@ -29,7 +29,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test --exit -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test --exit -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", diff --git a/packages/test/mocha-test-setup/package.json b/packages/test/mocha-test-setup/package.json index 2f9965df6027..58412098ef1b 100644 --- a/packages/test/mocha-test-setup/package.json +++ b/packages/test/mocha-test-setup/package.json @@ -61,6 +61,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/mocha-test-setup-previous": "npm:@fluidframework/mocha-test-setup@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", @@ -80,5 +81,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/test/mocha-test-setup/src/test/types/validateMochaTestSetupPrevious.ts b/packages/test/mocha-test-setup/src/test/types/validateMochaTestSetupPrevious.ts new file mode 100644 index 000000000000..f3f57140f61f --- /dev/null +++ b/packages/test/mocha-test-setup/src/test/types/validateMochaTestSetupPrevious.ts @@ -0,0 +1,39 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/mocha-test-setup-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_mochaHooks": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_mochaHooks(): + TypeOnly; +declare function use_current_VariableDeclaration_mochaHooks( + use: TypeOnly); +use_current_VariableDeclaration_mochaHooks( + get_old_VariableDeclaration_mochaHooks()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_mochaHooks": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_mochaHooks(): + TypeOnly; +declare function use_old_VariableDeclaration_mochaHooks( + use: TypeOnly); +use_old_VariableDeclaration_mochaHooks( + get_current_VariableDeclaration_mochaHooks()); diff --git a/packages/test/test-driver-definitions/.eslintrc.js b/packages/test/test-driver-definitions/.eslintrc.js index 3578a406f090..f8ce4200b6c4 100644 --- a/packages/test/test-driver-definitions/.eslintrc.js +++ b/packages/test/test-driver-definitions/.eslintrc.js @@ -6,5 +6,8 @@ module.exports = { "extends": [ "@fluidframework/eslint-config-fluid" - ] + ], + "parserOptions": { + "project": ["./tsconfig.json", "./src/test/tsconfig.json"] + }, } diff --git a/packages/test/test-driver-definitions/package.json b/packages/test/test-driver-definitions/package.json index 677523272ec5..32ca66021753 100644 --- a/packages/test/test-driver-definitions/package.json +++ b/packages/test/test-driver-definitions/package.json @@ -16,13 +16,14 @@ "types": "dist/index.d.ts", "scripts": { "build": "npm run build:genver && concurrently npm:build:compile npm:lint && npm run build:docs", - "build:compile": "concurrently npm:tsc npm:build:esnext", + "build:compile": "npm run tsc && npm run build:test && npm run build:esnext", "build:compile:min": "npm run build:compile", "build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", "build:esnext": "tsc --project ./tsconfig.esnext.json", "build:full": "npm run build", "build:full:compile": "npm run build:compile", "build:genver": "gen-version", + "build:test": "tsc --project ./src/test/tsconfig.json", "ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/", "clean": "rimraf dist lib *.tsbuildinfo *.build.log", "eslint": "eslint --format stylish src", @@ -63,6 +64,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/test-driver-definitions-previous": "npm:@fluidframework/test-driver-definitions@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", @@ -82,5 +84,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/test/test-driver-definitions/src/test/tsconfig.json b/packages/test/test-driver-definitions/src/test/tsconfig.json new file mode 100644 index 000000000000..913f09ed3b1b --- /dev/null +++ b/packages/test/test-driver-definitions/src/test/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@fluidframework/build-common/ts-common-config.json", + "compilerOptions": { + "rootDir": "./", + "outDir": "../../dist/test", + "declaration": false, + "declarationMap": false, + "skipLibCheck": true, + "noEmit": true, + }, + "include": [ + "./**/*" + ], + "references": [ + { + "path": "../.." + } + ] +} diff --git a/packages/test/test-driver-definitions/src/test/types/validateTestDriverDefinitionsPrevious.ts b/packages/test/test-driver-definitions/src/test/types/validateTestDriverDefinitionsPrevious.ts new file mode 100644 index 000000000000..42c3fe6e8d30 --- /dev/null +++ b/packages/test/test-driver-definitions/src/test/types/validateTestDriverDefinitionsPrevious.ts @@ -0,0 +1,87 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/test-driver-definitions-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITelemetryBufferedLogger": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITelemetryBufferedLogger(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITelemetryBufferedLogger( + use: TypeOnly); +use_current_InterfaceDeclaration_ITelemetryBufferedLogger( + get_old_InterfaceDeclaration_ITelemetryBufferedLogger()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITelemetryBufferedLogger": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITelemetryBufferedLogger(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITelemetryBufferedLogger( + use: TypeOnly); +use_old_InterfaceDeclaration_ITelemetryBufferedLogger( + get_current_InterfaceDeclaration_ITelemetryBufferedLogger()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITestDriver": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITestDriver(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITestDriver( + use: TypeOnly); +use_current_InterfaceDeclaration_ITestDriver( + get_old_InterfaceDeclaration_ITestDriver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITestDriver": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITestDriver(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITestDriver( + use: TypeOnly); +use_old_InterfaceDeclaration_ITestDriver( + get_current_InterfaceDeclaration_ITestDriver()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_TestDriverTypes": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_TestDriverTypes(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_TestDriverTypes( + use: TypeOnly); +use_current_TypeAliasDeclaration_TestDriverTypes( + get_old_TypeAliasDeclaration_TestDriverTypes()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_TestDriverTypes": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_TestDriverTypes(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_TestDriverTypes( + use: TypeOnly); +use_old_TypeAliasDeclaration_TestDriverTypes( + get_current_TypeAliasDeclaration_TestDriverTypes()); diff --git a/packages/test/test-driver-definitions/tsconfig.json b/packages/test/test-driver-definitions/tsconfig.json index d587a42cee57..9fec6f091b7d 100644 --- a/packages/test/test-driver-definitions/tsconfig.json +++ b/packages/test/test-driver-definitions/tsconfig.json @@ -1,14 +1,15 @@ -{ +{ "extends": "@fluidframework/build-common/ts-common-config.json", "exclude": [ - "dist", - "node_modules" + "src/test/**/*" ], "compilerOptions": { "rootDir": "./src", "outDir": "./dist", - "types": [ "node", "mocha" ] + "types": [ "node" ], + "composite": true }, + "include": [ "src/**/*" ] diff --git a/packages/test/test-drivers/.eslintrc.js b/packages/test/test-drivers/.eslintrc.js index 3578a406f090..f8ce4200b6c4 100644 --- a/packages/test/test-drivers/.eslintrc.js +++ b/packages/test/test-drivers/.eslintrc.js @@ -6,5 +6,8 @@ module.exports = { "extends": [ "@fluidframework/eslint-config-fluid" - ] + ], + "parserOptions": { + "project": ["./tsconfig.json", "./src/test/tsconfig.json"] + }, } diff --git a/packages/test/test-drivers/package.json b/packages/test/test-drivers/package.json index e47dcba0c769..fddeba28c7bb 100644 --- a/packages/test/test-drivers/package.json +++ b/packages/test/test-drivers/package.json @@ -16,13 +16,14 @@ "types": "dist/index.d.ts", "scripts": { "build": "npm run build:genver && concurrently npm:build:compile npm:lint && npm run build:docs", - "build:compile": "concurrently npm:tsc npm:build:esnext", + "build:compile": "npm run tsc && npm run build:test && npm run build:esnext", "build:compile:min": "npm run build:compile", "build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", "build:esnext": "tsc --project ./tsconfig.esnext.json", "build:full": "npm run build", "build:full:compile": "npm run build:compile", "build:genver": "gen-version", + "build:test": "tsc --project ./src/test/tsconfig.json", "ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/", "clean": "rimraf dist lib *.tsbuildinfo *.build.log", "eslint": "eslint --format stylish src", @@ -78,6 +79,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/test-drivers-previous": "npm:@fluidframework/test-drivers@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", @@ -98,5 +100,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/test/test-drivers/src/test/tsconfig.json b/packages/test/test-drivers/src/test/tsconfig.json new file mode 100644 index 000000000000..913f09ed3b1b --- /dev/null +++ b/packages/test/test-drivers/src/test/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@fluidframework/build-common/ts-common-config.json", + "compilerOptions": { + "rootDir": "./", + "outDir": "../../dist/test", + "declaration": false, + "declarationMap": false, + "skipLibCheck": true, + "noEmit": true, + }, + "include": [ + "./**/*" + ], + "references": [ + { + "path": "../.." + } + ] +} diff --git a/packages/test/test-drivers/src/test/types/validateTestDriversPrevious.ts b/packages/test/test-drivers/src/test/types/validateTestDriversPrevious.ts new file mode 100644 index 000000000000..e8de2ec09dc1 --- /dev/null +++ b/packages/test/test-drivers/src/test/types/validateTestDriversPrevious.ts @@ -0,0 +1,399 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/test-drivers-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createFluidTestDriver": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_createFluidTestDriver(): + TypeOnly; +declare function use_current_FunctionDeclaration_createFluidTestDriver( + use: TypeOnly); +use_current_FunctionDeclaration_createFluidTestDriver( + get_old_FunctionDeclaration_createFluidTestDriver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createFluidTestDriver": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_createFluidTestDriver(): + TypeOnly; +declare function use_old_FunctionDeclaration_createFluidTestDriver( + use: TypeOnly); +use_old_FunctionDeclaration_createFluidTestDriver( + get_current_FunctionDeclaration_createFluidTestDriver()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_CreateFromEnvConfigParam": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_CreateFromEnvConfigParam(): + TypeOnly>; +declare function use_current_TypeAliasDeclaration_CreateFromEnvConfigParam( + use: TypeOnly>); +use_current_TypeAliasDeclaration_CreateFromEnvConfigParam( + get_old_TypeAliasDeclaration_CreateFromEnvConfigParam()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_CreateFromEnvConfigParam": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_CreateFromEnvConfigParam(): + TypeOnly>; +declare function use_old_TypeAliasDeclaration_CreateFromEnvConfigParam( + use: TypeOnly>); +use_old_TypeAliasDeclaration_CreateFromEnvConfigParam( + get_current_TypeAliasDeclaration_CreateFromEnvConfigParam()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_DriverApi": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_DriverApi(): + TypeOnly; +declare function use_current_VariableDeclaration_DriverApi( + use: TypeOnly); +use_current_VariableDeclaration_DriverApi( + get_old_VariableDeclaration_DriverApi()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_DriverApi": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_DriverApi(): + TypeOnly; +declare function use_old_VariableDeclaration_DriverApi( + use: TypeOnly); +use_old_VariableDeclaration_DriverApi( + get_current_VariableDeclaration_DriverApi()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_DriverApiType": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_DriverApiType(): + TypeOnly; +declare function use_current_InterfaceDeclaration_DriverApiType( + use: TypeOnly); +use_current_InterfaceDeclaration_DriverApiType( + get_old_InterfaceDeclaration_DriverApiType()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_DriverApiType": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_DriverApiType(): + TypeOnly; +declare function use_old_InterfaceDeclaration_DriverApiType( + use: TypeOnly); +use_old_InterfaceDeclaration_DriverApiType( + get_current_InterfaceDeclaration_DriverApiType()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_FluidTestDriverConfig": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_FluidTestDriverConfig(): + TypeOnly; +declare function use_current_InterfaceDeclaration_FluidTestDriverConfig( + use: TypeOnly); +use_current_InterfaceDeclaration_FluidTestDriverConfig( + get_old_InterfaceDeclaration_FluidTestDriverConfig()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_FluidTestDriverConfig": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_FluidTestDriverConfig(): + TypeOnly; +declare function use_old_InterfaceDeclaration_FluidTestDriverConfig( + use: TypeOnly); +use_old_InterfaceDeclaration_FluidTestDriverConfig( + get_current_InterfaceDeclaration_FluidTestDriverConfig()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_generateOdspHostStoragePolicy": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_generateOdspHostStoragePolicy(): + TypeOnly; +declare function use_current_VariableDeclaration_generateOdspHostStoragePolicy( + use: TypeOnly); +use_current_VariableDeclaration_generateOdspHostStoragePolicy( + get_old_VariableDeclaration_generateOdspHostStoragePolicy()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_generateOdspHostStoragePolicy": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_generateOdspHostStoragePolicy(): + TypeOnly; +declare function use_old_VariableDeclaration_generateOdspHostStoragePolicy( + use: TypeOnly); +use_old_VariableDeclaration_generateOdspHostStoragePolicy( + get_current_VariableDeclaration_generateOdspHostStoragePolicy()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_LocalDriverApi": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_LocalDriverApi(): + TypeOnly; +declare function use_current_VariableDeclaration_LocalDriverApi( + use: TypeOnly); +use_current_VariableDeclaration_LocalDriverApi( + get_old_VariableDeclaration_LocalDriverApi()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_LocalDriverApi": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_LocalDriverApi(): + TypeOnly; +declare function use_old_VariableDeclaration_LocalDriverApi( + use: TypeOnly); +use_old_VariableDeclaration_LocalDriverApi( + get_current_VariableDeclaration_LocalDriverApi()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_LocalDriverApiType": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_LocalDriverApiType(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_LocalDriverApiType( + use: TypeOnly); +use_current_TypeAliasDeclaration_LocalDriverApiType( + get_old_TypeAliasDeclaration_LocalDriverApiType()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_LocalDriverApiType": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_LocalDriverApiType(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_LocalDriverApiType( + use: TypeOnly); +use_old_TypeAliasDeclaration_LocalDriverApiType( + get_current_TypeAliasDeclaration_LocalDriverApiType()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LocalServerTestDriver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_LocalServerTestDriver(): + TypeOnly; +declare function use_current_ClassDeclaration_LocalServerTestDriver( + use: TypeOnly); +use_current_ClassDeclaration_LocalServerTestDriver( + get_old_ClassDeclaration_LocalServerTestDriver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LocalServerTestDriver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_LocalServerTestDriver(): + TypeOnly; +declare function use_old_ClassDeclaration_LocalServerTestDriver( + use: TypeOnly); +use_old_ClassDeclaration_LocalServerTestDriver( + get_current_ClassDeclaration_LocalServerTestDriver()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_OdspDriverApi": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_OdspDriverApi(): + TypeOnly; +declare function use_current_VariableDeclaration_OdspDriverApi( + use: TypeOnly); +use_current_VariableDeclaration_OdspDriverApi( + get_old_VariableDeclaration_OdspDriverApi()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_OdspDriverApi": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_OdspDriverApi(): + TypeOnly; +declare function use_old_VariableDeclaration_OdspDriverApi( + use: TypeOnly); +use_old_VariableDeclaration_OdspDriverApi( + get_current_VariableDeclaration_OdspDriverApi()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_OdspDriverApiType": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_OdspDriverApiType(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_OdspDriverApiType( + use: TypeOnly); +use_current_TypeAliasDeclaration_OdspDriverApiType( + get_old_TypeAliasDeclaration_OdspDriverApiType()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_OdspDriverApiType": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_OdspDriverApiType(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_OdspDriverApiType( + use: TypeOnly); +use_old_TypeAliasDeclaration_OdspDriverApiType( + get_current_TypeAliasDeclaration_OdspDriverApiType()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OdspTestDriver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_OdspTestDriver(): + TypeOnly; +declare function use_current_ClassDeclaration_OdspTestDriver( + use: TypeOnly); +use_current_ClassDeclaration_OdspTestDriver( + get_old_ClassDeclaration_OdspTestDriver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OdspTestDriver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_OdspTestDriver(): + TypeOnly; +declare function use_old_ClassDeclaration_OdspTestDriver( + use: TypeOnly); +use_old_ClassDeclaration_OdspTestDriver( + get_current_ClassDeclaration_OdspTestDriver()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_RouterliciousDriverApi": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_RouterliciousDriverApi(): + TypeOnly; +declare function use_current_VariableDeclaration_RouterliciousDriverApi( + use: TypeOnly); +use_current_VariableDeclaration_RouterliciousDriverApi( + get_old_VariableDeclaration_RouterliciousDriverApi()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_RouterliciousDriverApi": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_RouterliciousDriverApi(): + TypeOnly; +declare function use_old_VariableDeclaration_RouterliciousDriverApi( + use: TypeOnly); +use_old_VariableDeclaration_RouterliciousDriverApi( + get_current_VariableDeclaration_RouterliciousDriverApi()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_RouterliciousDriverApiType": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_RouterliciousDriverApiType(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_RouterliciousDriverApiType( + use: TypeOnly); +use_current_TypeAliasDeclaration_RouterliciousDriverApiType( + get_old_TypeAliasDeclaration_RouterliciousDriverApiType()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_RouterliciousDriverApiType": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_RouterliciousDriverApiType(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_RouterliciousDriverApiType( + use: TypeOnly); +use_old_TypeAliasDeclaration_RouterliciousDriverApiType( + get_current_TypeAliasDeclaration_RouterliciousDriverApiType()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RouterliciousTestDriver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_RouterliciousTestDriver(): + TypeOnly; +declare function use_current_ClassDeclaration_RouterliciousTestDriver( + use: TypeOnly); +use_current_ClassDeclaration_RouterliciousTestDriver( + get_old_ClassDeclaration_RouterliciousTestDriver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_RouterliciousTestDriver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_RouterliciousTestDriver(): + TypeOnly; +declare function use_old_ClassDeclaration_RouterliciousTestDriver( + use: TypeOnly); +use_old_ClassDeclaration_RouterliciousTestDriver( + get_current_ClassDeclaration_RouterliciousTestDriver()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TinyliciousTestDriver": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_TinyliciousTestDriver(): + TypeOnly; +declare function use_current_ClassDeclaration_TinyliciousTestDriver( + use: TypeOnly); +use_current_ClassDeclaration_TinyliciousTestDriver( + get_old_ClassDeclaration_TinyliciousTestDriver()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TinyliciousTestDriver": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_TinyliciousTestDriver(): + TypeOnly; +declare function use_old_ClassDeclaration_TinyliciousTestDriver( + use: TypeOnly); +use_old_ClassDeclaration_TinyliciousTestDriver( + get_current_ClassDeclaration_TinyliciousTestDriver()); diff --git a/packages/test/test-drivers/tsconfig.json b/packages/test/test-drivers/tsconfig.json index 064d553b7841..7c3e890df4f6 100644 --- a/packages/test/test-drivers/tsconfig.json +++ b/packages/test/test-drivers/tsconfig.json @@ -1,13 +1,13 @@ { "extends": "@fluidframework/build-common/ts-common-config.json", "exclude": [ - "dist", - "node_modules" + "src/test/**/*" ], "compilerOptions": { "rootDir": "./src", "outDir": "./dist", - "types": [ "node", "mocha" ] + "types": [ "node"], + "composite": true }, "include": [ "src/**/*" diff --git a/packages/test/test-end-to-end-tests/package.json b/packages/test/test-end-to-end-tests/package.json index 955fd593c4e1..41e997333d54 100644 --- a/packages/test/test-end-to-end-tests/package.json +++ b/packages/test/test-end-to-end-tests/package.json @@ -11,9 +11,6 @@ "license": "MIT", "author": "Microsoft and contributors", "sideEffects": false, - "main": "dist/index.js", - "module": "lib/index.js", - "types": "dist/index.d.ts", "scripts": { "build": "npm run build:genver && concurrently npm:build:compile npm:lint", "build:compile": "npm run build:test", @@ -120,6 +117,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/test-end-to-end-tests-previous": "npm:@fluidframework/test-end-to-end-tests@0.58.2000", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", "@types/nock": "^9.3.0", @@ -141,4 +139,4 @@ "typescript": "~4.1.3", "typescript-formatter": "7.1.0" } -} +} \ No newline at end of file diff --git a/packages/test/test-end-to-end-tests/src/test/sharedStringLoading.spec.ts b/packages/test/test-end-to-end-tests/src/test/sharedStringLoading.spec.ts index 8f74dc9fe1e4..6b14ba7fcabe 100644 --- a/packages/test/test-end-to-end-tests/src/test/sharedStringLoading.spec.ts +++ b/packages/test/test-end-to-end-tests/src/test/sharedStringLoading.spec.ts @@ -24,7 +24,8 @@ import { import { NonRetryableError, readAndParse } from "@fluidframework/driver-utils"; import { IFluidHandle } from "@fluidframework/core-interfaces"; import { ReferenceType, TextSegment } from "@fluidframework/merge-tree"; -import { describeNoCompat, itExpects, pkgVersion } from "@fluidframework/test-version-utils"; +import { describeNoCompat, itExpects } from "@fluidframework/test-version-utils"; +import { pkgVersion } from "../packageVersion"; // REVIEW: enable compat testing? describeNoCompat("SharedString", (getTestObjectProvider) => { diff --git a/packages/test/test-pairwise-generator/package.json b/packages/test/test-pairwise-generator/package.json index 2ac1cf484eb6..df9e1f8e5eed 100644 --- a/packages/test/test-pairwise-generator/package.json +++ b/packages/test/test-pairwise-generator/package.json @@ -57,6 +57,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/test-pairwise-generator-previous": "npm:@fluidframework/test-pairwise-generator@0.58.2000", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", "@types/node": "^14.18.0", @@ -75,5 +76,9 @@ "nyc": "^15.0.0", "rimraf": "^2.6.2", "typescript": "~4.1.3" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/test/test-pairwise-generator/src/test/types/validateTestPairwiseGeneratorPrevious.ts b/packages/test/test-pairwise-generator/src/test/types/validateTestPairwiseGeneratorPrevious.ts new file mode 100644 index 000000000000..90a149a60d53 --- /dev/null +++ b/packages/test/test-pairwise-generator/src/test/types/validateTestPairwiseGeneratorPrevious.ts @@ -0,0 +1,111 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/test-pairwise-generator-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_booleanCases": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_booleanCases(): + TypeOnly; +declare function use_current_VariableDeclaration_booleanCases( + use: TypeOnly); +use_current_VariableDeclaration_booleanCases( + get_old_VariableDeclaration_booleanCases()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_booleanCases": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_booleanCases(): + TypeOnly; +declare function use_old_VariableDeclaration_booleanCases( + use: TypeOnly); +use_old_VariableDeclaration_booleanCases( + get_current_VariableDeclaration_booleanCases()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_generatePairwiseOptions": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_generatePairwiseOptions(): + TypeOnly; +declare function use_current_FunctionDeclaration_generatePairwiseOptions( + use: TypeOnly); +use_current_FunctionDeclaration_generatePairwiseOptions( + get_old_FunctionDeclaration_generatePairwiseOptions()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_generatePairwiseOptions": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_generatePairwiseOptions(): + TypeOnly; +declare function use_old_FunctionDeclaration_generatePairwiseOptions( + use: TypeOnly); +use_old_FunctionDeclaration_generatePairwiseOptions( + get_current_FunctionDeclaration_generatePairwiseOptions()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_numberCases": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_numberCases(): + TypeOnly; +declare function use_current_VariableDeclaration_numberCases( + use: TypeOnly); +use_current_VariableDeclaration_numberCases( + get_old_VariableDeclaration_numberCases()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_numberCases": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_numberCases(): + TypeOnly; +declare function use_old_VariableDeclaration_numberCases( + use: TypeOnly); +use_old_VariableDeclaration_numberCases( + get_current_VariableDeclaration_numberCases()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_OptionsMatrix": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_OptionsMatrix(): + TypeOnly>; +declare function use_current_TypeAliasDeclaration_OptionsMatrix( + use: TypeOnly>); +use_current_TypeAliasDeclaration_OptionsMatrix( + get_old_TypeAliasDeclaration_OptionsMatrix()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_OptionsMatrix": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_OptionsMatrix(): + TypeOnly>; +declare function use_old_TypeAliasDeclaration_OptionsMatrix( + use: TypeOnly>); +use_old_TypeAliasDeclaration_OptionsMatrix( + get_current_TypeAliasDeclaration_OptionsMatrix()); diff --git a/packages/test/test-utils/.eslintrc.js b/packages/test/test-utils/.eslintrc.js index 3578a406f090..f8ce4200b6c4 100644 --- a/packages/test/test-utils/.eslintrc.js +++ b/packages/test/test-utils/.eslintrc.js @@ -6,5 +6,8 @@ module.exports = { "extends": [ "@fluidframework/eslint-config-fluid" - ] + ], + "parserOptions": { + "project": ["./tsconfig.json", "./src/test/tsconfig.json"] + }, } diff --git a/packages/test/test-utils/package.json b/packages/test/test-utils/package.json index f4676230bd30..5e2b665d0ae4 100644 --- a/packages/test/test-utils/package.json +++ b/packages/test/test-utils/package.json @@ -16,12 +16,13 @@ "types": "dist/index.d.ts", "scripts": { "build": "npm run build:genver && concurrently npm:build:compile npm:lint && npm run build:docs", - "build:compile": "npm run tsc", + "build:compile": "npm run tsc && npm run build:test", "build:compile:min": "npm run build:compile", "build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", "build:full": "npm run build", "build:full:compile": "npm run build:compile", "build:genver": "gen-version", + "build:test": "tsc --project ./src/test/tsconfig.json", "ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/", "clean": "rimraf dist lib *.tsbuildinfo *.build.log", "eslint": "eslint --format stylish src", @@ -81,6 +82,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/test-utils-previous": "npm:@fluidframework/test-utils@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/diff": "^3.5.1", @@ -105,5 +107,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/test/test-utils/src/test/tsconfig.json b/packages/test/test-utils/src/test/tsconfig.json new file mode 100644 index 000000000000..913f09ed3b1b --- /dev/null +++ b/packages/test/test-utils/src/test/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@fluidframework/build-common/ts-common-config.json", + "compilerOptions": { + "rootDir": "./", + "outDir": "../../dist/test", + "declaration": false, + "declarationMap": false, + "skipLibCheck": true, + "noEmit": true, + }, + "include": [ + "./**/*" + ], + "references": [ + { + "path": "../.." + } + ] +} diff --git a/packages/test/test-utils/src/test/types/validateTestUtilsPrevious.ts b/packages/test/test-utils/src/test/types/validateTestUtilsPrevious.ts new file mode 100644 index 000000000000..bd98ca23bb42 --- /dev/null +++ b/packages/test/test-utils/src/test/types/validateTestUtilsPrevious.ts @@ -0,0 +1,663 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/test-utils-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ChannelFactoryRegistry": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_ChannelFactoryRegistry(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_ChannelFactoryRegistry( + use: TypeOnly); +use_current_TypeAliasDeclaration_ChannelFactoryRegistry( + get_old_TypeAliasDeclaration_ChannelFactoryRegistry()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ChannelFactoryRegistry": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_ChannelFactoryRegistry(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_ChannelFactoryRegistry( + use: TypeOnly); +use_old_TypeAliasDeclaration_ChannelFactoryRegistry( + get_current_TypeAliasDeclaration_ChannelFactoryRegistry()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createAndAttachContainer": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_createAndAttachContainer(): + TypeOnly; +declare function use_current_FunctionDeclaration_createAndAttachContainer( + use: TypeOnly); +use_current_FunctionDeclaration_createAndAttachContainer( + get_old_FunctionDeclaration_createAndAttachContainer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createAndAttachContainer": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_createAndAttachContainer(): + TypeOnly; +declare function use_old_FunctionDeclaration_createAndAttachContainer( + use: TypeOnly); +use_old_FunctionDeclaration_createAndAttachContainer( + get_current_FunctionDeclaration_createAndAttachContainer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_createDocumentId": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_createDocumentId(): + TypeOnly; +declare function use_current_VariableDeclaration_createDocumentId( + use: TypeOnly); +use_current_VariableDeclaration_createDocumentId( + get_old_VariableDeclaration_createDocumentId()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_createDocumentId": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_createDocumentId(): + TypeOnly; +declare function use_old_VariableDeclaration_createDocumentId( + use: TypeOnly); +use_old_VariableDeclaration_createDocumentId( + get_current_VariableDeclaration_createDocumentId()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createLoader": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_createLoader(): + TypeOnly; +declare function use_current_FunctionDeclaration_createLoader( + use: TypeOnly); +use_current_FunctionDeclaration_createLoader( + get_old_FunctionDeclaration_createLoader()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createLoader": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_createLoader(): + TypeOnly; +declare function use_old_FunctionDeclaration_createLoader( + use: TypeOnly); +use_old_FunctionDeclaration_createLoader( + get_current_FunctionDeclaration_createLoader()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_createTestContainerRuntimeFactory": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_createTestContainerRuntimeFactory(): + TypeOnly; +declare function use_current_VariableDeclaration_createTestContainerRuntimeFactory( + use: TypeOnly); +use_current_VariableDeclaration_createTestContainerRuntimeFactory( + get_old_VariableDeclaration_createTestContainerRuntimeFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_createTestContainerRuntimeFactory": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_createTestContainerRuntimeFactory(): + TypeOnly; +declare function use_old_VariableDeclaration_createTestContainerRuntimeFactory( + use: TypeOnly); +use_old_VariableDeclaration_createTestContainerRuntimeFactory( + get_current_VariableDeclaration_createTestContainerRuntimeFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_DataObjectFactoryType": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_DataObjectFactoryType(): + TypeOnly; +declare function use_current_EnumDeclaration_DataObjectFactoryType( + use: TypeOnly); +use_current_EnumDeclaration_DataObjectFactoryType( + get_old_EnumDeclaration_DataObjectFactoryType()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_DataObjectFactoryType": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_DataObjectFactoryType(): + TypeOnly; +declare function use_old_EnumDeclaration_DataObjectFactoryType( + use: TypeOnly); +use_old_EnumDeclaration_DataObjectFactoryType( + get_current_EnumDeclaration_DataObjectFactoryType()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_defaultTimeoutDurationMs": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_defaultTimeoutDurationMs(): + TypeOnly; +declare function use_current_VariableDeclaration_defaultTimeoutDurationMs( + use: TypeOnly); +use_current_VariableDeclaration_defaultTimeoutDurationMs( + get_old_VariableDeclaration_defaultTimeoutDurationMs()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_defaultTimeoutDurationMs": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_defaultTimeoutDurationMs(): + TypeOnly; +declare function use_old_VariableDeclaration_defaultTimeoutDurationMs( + use: TypeOnly); +use_old_VariableDeclaration_defaultTimeoutDurationMs( + get_current_VariableDeclaration_defaultTimeoutDurationMs()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_EventAndErrorTrackingLogger": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_EventAndErrorTrackingLogger(): + TypeOnly; +declare function use_current_ClassDeclaration_EventAndErrorTrackingLogger( + use: TypeOnly); +use_current_ClassDeclaration_EventAndErrorTrackingLogger( + get_old_ClassDeclaration_EventAndErrorTrackingLogger()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_EventAndErrorTrackingLogger": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_EventAndErrorTrackingLogger(): + TypeOnly; +declare function use_old_ClassDeclaration_EventAndErrorTrackingLogger( + use: TypeOnly); +use_old_ClassDeclaration_EventAndErrorTrackingLogger( + get_current_ClassDeclaration_EventAndErrorTrackingLogger()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_fluidEntryPoint": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_fluidEntryPoint(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_fluidEntryPoint( + use: TypeOnly); +use_current_TypeAliasDeclaration_fluidEntryPoint( + get_old_TypeAliasDeclaration_fluidEntryPoint()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_fluidEntryPoint": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_fluidEntryPoint(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_fluidEntryPoint( + use: TypeOnly); +use_old_TypeAliasDeclaration_fluidEntryPoint( + get_current_TypeAliasDeclaration_fluidEntryPoint()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getUnexpectedLogErrorException": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getUnexpectedLogErrorException(): + TypeOnly; +declare function use_current_FunctionDeclaration_getUnexpectedLogErrorException( + use: TypeOnly); +use_current_FunctionDeclaration_getUnexpectedLogErrorException( + get_old_FunctionDeclaration_getUnexpectedLogErrorException()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getUnexpectedLogErrorException": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getUnexpectedLogErrorException(): + TypeOnly; +declare function use_old_FunctionDeclaration_getUnexpectedLogErrorException( + use: TypeOnly); +use_old_FunctionDeclaration_getUnexpectedLogErrorException( + get_current_FunctionDeclaration_getUnexpectedLogErrorException()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOpProcessingController": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IOpProcessingController(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IOpProcessingController( + use: TypeOnly); +use_current_InterfaceDeclaration_IOpProcessingController( + get_old_InterfaceDeclaration_IOpProcessingController()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOpProcessingController": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IOpProcessingController(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IOpProcessingController( + use: TypeOnly); +use_old_InterfaceDeclaration_IOpProcessingController( + get_current_InterfaceDeclaration_IOpProcessingController()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IProvideTestFluidObject": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IProvideTestFluidObject(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IProvideTestFluidObject( + use: TypeOnly); +use_current_InterfaceDeclaration_IProvideTestFluidObject( + get_old_InterfaceDeclaration_IProvideTestFluidObject()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IProvideTestFluidObject": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IProvideTestFluidObject(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IProvideTestFluidObject( + use: TypeOnly); +use_old_InterfaceDeclaration_IProvideTestFluidObject( + get_current_InterfaceDeclaration_IProvideTestFluidObject()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITestContainerConfig": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITestContainerConfig(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITestContainerConfig( + use: TypeOnly); +use_current_InterfaceDeclaration_ITestContainerConfig( + get_old_InterfaceDeclaration_ITestContainerConfig()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITestContainerConfig": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITestContainerConfig(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITestContainerConfig( + use: TypeOnly); +use_old_InterfaceDeclaration_ITestContainerConfig( + get_current_InterfaceDeclaration_ITestContainerConfig()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITestFluidObject": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITestFluidObject(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITestFluidObject( + use: TypeOnly); +use_current_InterfaceDeclaration_ITestFluidObject( + get_old_InterfaceDeclaration_ITestFluidObject()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITestFluidObject": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITestFluidObject(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITestFluidObject( + use: TypeOnly); +use_old_InterfaceDeclaration_ITestFluidObject( + get_current_InterfaceDeclaration_ITestFluidObject()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITestObjectProvider": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITestObjectProvider(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITestObjectProvider( + use: TypeOnly); +use_current_InterfaceDeclaration_ITestObjectProvider( + get_old_InterfaceDeclaration_ITestObjectProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITestObjectProvider": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITestObjectProvider(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITestObjectProvider( + use: TypeOnly); +use_old_InterfaceDeclaration_ITestObjectProvider( + get_current_InterfaceDeclaration_ITestObjectProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LoaderContainerTracker": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_LoaderContainerTracker(): + TypeOnly; +declare function use_current_ClassDeclaration_LoaderContainerTracker( + use: TypeOnly); +use_current_ClassDeclaration_LoaderContainerTracker( + get_old_ClassDeclaration_LoaderContainerTracker()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LoaderContainerTracker": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_LoaderContainerTracker(): + TypeOnly; +declare function use_old_ClassDeclaration_LoaderContainerTracker( + use: TypeOnly); +use_old_ClassDeclaration_LoaderContainerTracker( + get_current_ClassDeclaration_LoaderContainerTracker()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LocalCodeLoader": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_LocalCodeLoader(): + TypeOnly; +declare function use_current_ClassDeclaration_LocalCodeLoader( + use: TypeOnly); +use_current_ClassDeclaration_LocalCodeLoader( + get_old_ClassDeclaration_LocalCodeLoader()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LocalCodeLoader": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_LocalCodeLoader(): + TypeOnly; +declare function use_old_ClassDeclaration_LocalCodeLoader( + use: TypeOnly); +use_old_ClassDeclaration_LocalCodeLoader( + get_current_ClassDeclaration_LocalCodeLoader()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_retryWithEventualValue": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_retryWithEventualValue(): + TypeOnly; +declare function use_current_VariableDeclaration_retryWithEventualValue( + use: TypeOnly); +use_current_VariableDeclaration_retryWithEventualValue( + get_old_VariableDeclaration_retryWithEventualValue()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_retryWithEventualValue": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_retryWithEventualValue(): + TypeOnly; +declare function use_old_VariableDeclaration_retryWithEventualValue( + use: TypeOnly); +use_old_VariableDeclaration_retryWithEventualValue( + get_current_VariableDeclaration_retryWithEventualValue()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_SupportedExportInterfaces": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_SupportedExportInterfaces(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_SupportedExportInterfaces( + use: TypeOnly); +use_current_TypeAliasDeclaration_SupportedExportInterfaces( + get_old_TypeAliasDeclaration_SupportedExportInterfaces()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_SupportedExportInterfaces": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_SupportedExportInterfaces(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_SupportedExportInterfaces( + use: TypeOnly); +use_old_TypeAliasDeclaration_SupportedExportInterfaces( + get_current_TypeAliasDeclaration_SupportedExportInterfaces()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_TestContainerRuntimeFactory": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_TestContainerRuntimeFactory(): + TypeOnly; +declare function use_current_VariableDeclaration_TestContainerRuntimeFactory( + use: TypeOnly); +use_current_VariableDeclaration_TestContainerRuntimeFactory( + get_old_VariableDeclaration_TestContainerRuntimeFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_TestContainerRuntimeFactory": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_TestContainerRuntimeFactory(): + TypeOnly; +declare function use_old_VariableDeclaration_TestContainerRuntimeFactory( + use: TypeOnly); +use_old_VariableDeclaration_TestContainerRuntimeFactory( + get_current_VariableDeclaration_TestContainerRuntimeFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TestFluidObject": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_TestFluidObject(): + TypeOnly; +declare function use_current_ClassDeclaration_TestFluidObject( + use: TypeOnly); +use_current_ClassDeclaration_TestFluidObject( + get_old_ClassDeclaration_TestFluidObject()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TestFluidObject": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_TestFluidObject(): + TypeOnly; +declare function use_old_ClassDeclaration_TestFluidObject( + use: TypeOnly); +use_old_ClassDeclaration_TestFluidObject( + get_current_ClassDeclaration_TestFluidObject()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TestFluidObjectFactory": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_TestFluidObjectFactory(): + TypeOnly; +declare function use_current_ClassDeclaration_TestFluidObjectFactory( + use: TypeOnly); +use_current_ClassDeclaration_TestFluidObjectFactory( + get_old_ClassDeclaration_TestFluidObjectFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TestFluidObjectFactory": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_TestFluidObjectFactory(): + TypeOnly; +declare function use_old_ClassDeclaration_TestFluidObjectFactory( + use: TypeOnly); +use_old_ClassDeclaration_TestFluidObjectFactory( + get_current_ClassDeclaration_TestFluidObjectFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TestObjectProvider": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_TestObjectProvider(): + TypeOnly; +declare function use_current_ClassDeclaration_TestObjectProvider( + use: TypeOnly); +use_current_ClassDeclaration_TestObjectProvider( + get_old_ClassDeclaration_TestObjectProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TestObjectProvider": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_TestObjectProvider(): + TypeOnly; +declare function use_old_ClassDeclaration_TestObjectProvider( + use: TypeOnly); +use_old_ClassDeclaration_TestObjectProvider( + get_current_ClassDeclaration_TestObjectProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_timeoutAwait": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_timeoutAwait(): + TypeOnly; +declare function use_current_FunctionDeclaration_timeoutAwait( + use: TypeOnly); +use_current_FunctionDeclaration_timeoutAwait( + get_old_FunctionDeclaration_timeoutAwait()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_timeoutAwait": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_timeoutAwait(): + TypeOnly; +declare function use_old_FunctionDeclaration_timeoutAwait( + use: TypeOnly); +use_old_FunctionDeclaration_timeoutAwait( + get_current_FunctionDeclaration_timeoutAwait()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_timeoutPromise": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_timeoutPromise(): + TypeOnly; +declare function use_current_FunctionDeclaration_timeoutPromise( + use: TypeOnly); +use_current_FunctionDeclaration_timeoutPromise( + get_old_FunctionDeclaration_timeoutPromise()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_timeoutPromise": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_timeoutPromise(): + TypeOnly; +declare function use_old_FunctionDeclaration_timeoutPromise( + use: TypeOnly); +use_old_FunctionDeclaration_timeoutPromise( + get_current_FunctionDeclaration_timeoutPromise()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_TimeoutWithError": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_TimeoutWithError(): + TypeOnly; +declare function use_current_InterfaceDeclaration_TimeoutWithError( + use: TypeOnly); +use_current_InterfaceDeclaration_TimeoutWithError( + get_old_InterfaceDeclaration_TimeoutWithError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_TimeoutWithError": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_TimeoutWithError(): + TypeOnly; +declare function use_old_InterfaceDeclaration_TimeoutWithError( + use: TypeOnly); +use_old_InterfaceDeclaration_TimeoutWithError( + get_current_InterfaceDeclaration_TimeoutWithError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_TimeoutWithValue": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_TimeoutWithValue(): + TypeOnly; +declare function use_current_InterfaceDeclaration_TimeoutWithValue( + use: TypeOnly); +use_current_InterfaceDeclaration_TimeoutWithValue( + get_old_InterfaceDeclaration_TimeoutWithValue()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_TimeoutWithValue": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_TimeoutWithValue(): + TypeOnly; +declare function use_old_InterfaceDeclaration_TimeoutWithValue( + use: TypeOnly); +use_old_InterfaceDeclaration_TimeoutWithValue( + get_current_InterfaceDeclaration_TimeoutWithValue()); diff --git a/packages/test/test-utils/tsconfig.json b/packages/test/test-utils/tsconfig.json index 0faa88712565..93054c3ae27f 100644 --- a/packages/test/test-utils/tsconfig.json +++ b/packages/test/test-utils/tsconfig.json @@ -1,13 +1,13 @@ -{ +{ "extends": "@fluidframework/build-common/ts-common-config.json", "exclude": [ - "dist", - "node_modules" + "src/test/**/*" ], "compilerOptions": { "rootDir": "./src", "outDir": "./dist", - "types": [ "mocha" ] + "types": [ "mocha" ], + "composite": true }, "include": [ "src/**/*" diff --git a/packages/test/test-version-utils/.eslintrc.js b/packages/test/test-version-utils/.eslintrc.js index c3e5357fc63e..81a3d0c0acf0 100644 --- a/packages/test/test-version-utils/.eslintrc.js +++ b/packages/test/test-version-utils/.eslintrc.js @@ -10,4 +10,7 @@ module.exports = { "rules": { "@typescript-eslint/strict-boolean-expressions": "off", // requires strictNullChecks=true in tsconfig }, + "parserOptions": { + "project": ["./tsconfig.json", "./src/test/tsconfig.json"] + } } diff --git a/packages/test/test-version-utils/package.json b/packages/test/test-version-utils/package.json index fb3418ed6c80..1c7c530417c5 100644 --- a/packages/test/test-version-utils/package.json +++ b/packages/test/test-version-utils/package.json @@ -16,10 +16,11 @@ "types": "dist/index.d.ts", "scripts": { "build": "npm run build:genver && concurrently npm:build:compile npm:lint", - "build:compile": "npm run tsc", + "build:compile": "npm run tsc && npm run build:test", "build:full": "npm run build", "build:full:compile": "npm run build:compile", "build:genver": "gen-version", + "build:test": "tsc --project ./src/test/tsconfig.json", "clean": "rimraf dist lib *.tsbuildinfo *.build.log node_modules/.legacy", "eslint": "eslint --format stylish src", "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout", @@ -81,6 +82,7 @@ "devDependencies": { "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/test-version-utils-previous": "npm:@fluidframework/test-version-utils@0.58.2000", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", "@types/nock": "^9.3.0", @@ -107,5 +109,14 @@ "uuid": "^8.3.1", "webpack": "^4.43.0", "webpack-cli": "^3.3.11" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": { + "0.58.2000":{ + "RemovedVariableDeclaration_pkgName": {"forwardCompat": false, "backCompat": false}, + "RemovedVariableDeclaration_pkgVersion": {"forwardCompat": false, "backCompat": false} + } + } } -} +} \ No newline at end of file diff --git a/packages/test/test-version-utils/src/index.ts b/packages/test/test-version-utils/src/index.ts index 22700276b06d..d6366702274f 100644 --- a/packages/test/test-version-utils/src/index.ts +++ b/packages/test/test-version-utils/src/index.ts @@ -4,7 +4,6 @@ */ export { mochaGlobalSetup } from "./compatConfig"; export * from "./compatUtils"; -export * from "./packageVersion"; export * from "./testApi"; export * from "./itExpects"; export * from "./describeCompat"; diff --git a/packages/test/test-version-utils/src/test/tsconfig.json b/packages/test/test-version-utils/src/test/tsconfig.json new file mode 100644 index 000000000000..913f09ed3b1b --- /dev/null +++ b/packages/test/test-version-utils/src/test/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "@fluidframework/build-common/ts-common-config.json", + "compilerOptions": { + "rootDir": "./", + "outDir": "../../dist/test", + "declaration": false, + "declarationMap": false, + "skipLibCheck": true, + "noEmit": true, + }, + "include": [ + "./**/*" + ], + "references": [ + { + "path": "../.." + } + ] +} diff --git a/packages/test/test-version-utils/src/test/types/validateTestVersionUtilsPrevious.ts b/packages/test/test-version-utils/src/test/types/validateTestVersionUtilsPrevious.ts new file mode 100644 index 000000000000..7242da9bb149 --- /dev/null +++ b/packages/test/test-version-utils/src/test/types/validateTestVersionUtilsPrevious.ts @@ -0,0 +1,475 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/test-version-utils-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_DescribeCompat": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_DescribeCompat(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_DescribeCompat( + use: TypeOnly); +use_current_TypeAliasDeclaration_DescribeCompat( + get_old_TypeAliasDeclaration_DescribeCompat()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_DescribeCompat": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_DescribeCompat(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_DescribeCompat( + use: TypeOnly); +use_old_TypeAliasDeclaration_DescribeCompat( + get_current_TypeAliasDeclaration_DescribeCompat()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_DescribeCompatSuite": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_DescribeCompatSuite(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_DescribeCompatSuite( + use: TypeOnly); +use_current_TypeAliasDeclaration_DescribeCompatSuite( + get_old_TypeAliasDeclaration_DescribeCompatSuite()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_DescribeCompatSuite": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_DescribeCompatSuite(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_DescribeCompatSuite( + use: TypeOnly); +use_old_TypeAliasDeclaration_DescribeCompatSuite( + get_current_TypeAliasDeclaration_DescribeCompatSuite()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_describeFullCompat": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_describeFullCompat(): + TypeOnly; +declare function use_current_VariableDeclaration_describeFullCompat( + use: TypeOnly); +use_current_VariableDeclaration_describeFullCompat( + get_old_VariableDeclaration_describeFullCompat()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_describeFullCompat": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_describeFullCompat(): + TypeOnly; +declare function use_old_VariableDeclaration_describeFullCompat( + use: TypeOnly); +use_old_VariableDeclaration_describeFullCompat( + get_current_VariableDeclaration_describeFullCompat()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_describeLoaderCompat": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_describeLoaderCompat(): + TypeOnly; +declare function use_current_VariableDeclaration_describeLoaderCompat( + use: TypeOnly); +use_current_VariableDeclaration_describeLoaderCompat( + get_old_VariableDeclaration_describeLoaderCompat()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_describeLoaderCompat": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_describeLoaderCompat(): + TypeOnly; +declare function use_old_VariableDeclaration_describeLoaderCompat( + use: TypeOnly); +use_old_VariableDeclaration_describeLoaderCompat( + get_current_VariableDeclaration_describeLoaderCompat()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_describeNoCompat": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_describeNoCompat(): + TypeOnly; +declare function use_current_VariableDeclaration_describeNoCompat( + use: TypeOnly); +use_current_VariableDeclaration_describeNoCompat( + get_old_VariableDeclaration_describeNoCompat()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_describeNoCompat": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_describeNoCompat(): + TypeOnly; +declare function use_old_VariableDeclaration_describeNoCompat( + use: TypeOnly); +use_old_VariableDeclaration_describeNoCompat( + get_current_VariableDeclaration_describeNoCompat()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_ensurePackageInstalled": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_ensurePackageInstalled(): + TypeOnly; +declare function use_current_VariableDeclaration_ensurePackageInstalled( + use: TypeOnly); +use_current_VariableDeclaration_ensurePackageInstalled( + get_old_VariableDeclaration_ensurePackageInstalled()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_ensurePackageInstalled": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_ensurePackageInstalled(): + TypeOnly; +declare function use_old_VariableDeclaration_ensurePackageInstalled( + use: TypeOnly); +use_old_VariableDeclaration_ensurePackageInstalled( + get_current_VariableDeclaration_ensurePackageInstalled()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ExpectsTest": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_ExpectsTest(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_ExpectsTest( + use: TypeOnly); +use_current_TypeAliasDeclaration_ExpectsTest( + get_old_TypeAliasDeclaration_ExpectsTest()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ExpectsTest": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_ExpectsTest(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_ExpectsTest( + use: TypeOnly); +use_old_TypeAliasDeclaration_ExpectsTest( + get_current_TypeAliasDeclaration_ExpectsTest()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getContainerRuntimeApi": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getContainerRuntimeApi(): + TypeOnly; +declare function use_current_FunctionDeclaration_getContainerRuntimeApi( + use: TypeOnly); +use_current_FunctionDeclaration_getContainerRuntimeApi( + get_old_FunctionDeclaration_getContainerRuntimeApi()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getContainerRuntimeApi": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getContainerRuntimeApi(): + TypeOnly; +declare function use_old_FunctionDeclaration_getContainerRuntimeApi( + use: TypeOnly); +use_old_FunctionDeclaration_getContainerRuntimeApi( + get_current_FunctionDeclaration_getContainerRuntimeApi()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getDataRuntimeApi": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getDataRuntimeApi(): + TypeOnly; +declare function use_current_FunctionDeclaration_getDataRuntimeApi( + use: TypeOnly); +use_current_FunctionDeclaration_getDataRuntimeApi( + get_old_FunctionDeclaration_getDataRuntimeApi()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getDataRuntimeApi": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getDataRuntimeApi(): + TypeOnly; +declare function use_old_FunctionDeclaration_getDataRuntimeApi( + use: TypeOnly); +use_old_FunctionDeclaration_getDataRuntimeApi( + get_current_FunctionDeclaration_getDataRuntimeApi()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getDataStoreFactory": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_getDataStoreFactory(): + TypeOnly; +declare function use_current_VariableDeclaration_getDataStoreFactory( + use: TypeOnly); +use_current_VariableDeclaration_getDataStoreFactory( + get_old_VariableDeclaration_getDataStoreFactory()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getDataStoreFactory": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_getDataStoreFactory(): + TypeOnly; +declare function use_old_VariableDeclaration_getDataStoreFactory( + use: TypeOnly); +use_old_VariableDeclaration_getDataStoreFactory( + get_current_VariableDeclaration_getDataStoreFactory()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getDriverApi": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getDriverApi(): + TypeOnly; +declare function use_current_FunctionDeclaration_getDriverApi( + use: TypeOnly); +use_current_FunctionDeclaration_getDriverApi( + get_old_FunctionDeclaration_getDriverApi()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getDriverApi": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getDriverApi(): + TypeOnly; +declare function use_old_FunctionDeclaration_getDriverApi( + use: TypeOnly); +use_old_FunctionDeclaration_getDriverApi( + get_current_FunctionDeclaration_getDriverApi()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getLoaderApi": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getLoaderApi(): + TypeOnly; +declare function use_current_FunctionDeclaration_getLoaderApi( + use: TypeOnly); +use_current_FunctionDeclaration_getLoaderApi( + get_old_FunctionDeclaration_getLoaderApi()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getLoaderApi": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getLoaderApi(): + TypeOnly; +declare function use_old_FunctionDeclaration_getLoaderApi( + use: TypeOnly); +use_old_FunctionDeclaration_getLoaderApi( + get_current_FunctionDeclaration_getLoaderApi()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getVersionedTestObjectProvider": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getVersionedTestObjectProvider(): + TypeOnly; +declare function use_current_FunctionDeclaration_getVersionedTestObjectProvider( + use: TypeOnly); +use_current_FunctionDeclaration_getVersionedTestObjectProvider( + get_old_FunctionDeclaration_getVersionedTestObjectProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getVersionedTestObjectProvider": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getVersionedTestObjectProvider(): + TypeOnly; +declare function use_old_FunctionDeclaration_getVersionedTestObjectProvider( + use: TypeOnly); +use_old_FunctionDeclaration_getVersionedTestObjectProvider( + get_current_FunctionDeclaration_getVersionedTestObjectProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITestDataObject": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITestDataObject(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITestDataObject( + use: TypeOnly); +use_current_InterfaceDeclaration_ITestDataObject( + get_old_InterfaceDeclaration_ITestDataObject()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITestDataObject": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITestDataObject(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITestDataObject( + use: TypeOnly); +use_old_InterfaceDeclaration_ITestDataObject( + get_current_InterfaceDeclaration_ITestDataObject()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_itExpects": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_itExpects(): + TypeOnly; +declare function use_current_VariableDeclaration_itExpects( + use: TypeOnly); +use_current_VariableDeclaration_itExpects( + get_old_VariableDeclaration_itExpects()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_itExpects": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_itExpects(): + TypeOnly; +declare function use_old_VariableDeclaration_itExpects( + use: TypeOnly); +use_old_VariableDeclaration_itExpects( + get_current_VariableDeclaration_itExpects()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_mochaGlobalSetup": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_mochaGlobalSetup(): + TypeOnly; +declare function use_current_FunctionDeclaration_mochaGlobalSetup( + use: TypeOnly); +use_current_FunctionDeclaration_mochaGlobalSetup( + get_old_FunctionDeclaration_mochaGlobalSetup()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_mochaGlobalSetup": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_mochaGlobalSetup(): + TypeOnly; +declare function use_old_FunctionDeclaration_mochaGlobalSetup( + use: TypeOnly); +use_old_FunctionDeclaration_mochaGlobalSetup( + get_current_FunctionDeclaration_mochaGlobalSetup()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "RemovedVariableDeclaration_pkgName": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_pkgName(): + TypeOnly; +declare function use_current_RemovedVariableDeclaration_pkgName( + // @ts-expect-error compatibility expected to be broken + use: TypeOnly); +use_current_RemovedVariableDeclaration_pkgName( + get_old_VariableDeclaration_pkgName()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "RemovedVariableDeclaration_pkgName": {"backCompat": false} +*/ +declare function get_current_RemovedVariableDeclaration_pkgName(): + // @ts-expect-error compatibility expected to be broken + TypeOnly; +declare function use_old_VariableDeclaration_pkgName( + use: TypeOnly); +use_old_VariableDeclaration_pkgName( + get_current_RemovedVariableDeclaration_pkgName()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "RemovedVariableDeclaration_pkgVersion": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_pkgVersion(): + TypeOnly; +declare function use_current_RemovedVariableDeclaration_pkgVersion( + // @ts-expect-error compatibility expected to be broken + use: TypeOnly); +use_current_RemovedVariableDeclaration_pkgVersion( + get_old_VariableDeclaration_pkgVersion()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "RemovedVariableDeclaration_pkgVersion": {"backCompat": false} +*/ +declare function get_current_RemovedVariableDeclaration_pkgVersion(): + // @ts-expect-error compatibility expected to be broken + TypeOnly; +declare function use_old_VariableDeclaration_pkgVersion( + use: TypeOnly); +use_old_VariableDeclaration_pkgVersion( + get_current_RemovedVariableDeclaration_pkgVersion()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_TestDataObjectType": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_TestDataObjectType(): + TypeOnly; +declare function use_current_VariableDeclaration_TestDataObjectType( + use: TypeOnly); +use_current_VariableDeclaration_TestDataObjectType( + get_old_VariableDeclaration_TestDataObjectType()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_TestDataObjectType": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_TestDataObjectType(): + TypeOnly; +declare function use_old_VariableDeclaration_TestDataObjectType( + use: TypeOnly); +use_old_VariableDeclaration_TestDataObjectType( + get_current_VariableDeclaration_TestDataObjectType()); diff --git a/packages/tools/webpack-fluid-loader/package.json b/packages/tools/webpack-fluid-loader/package.json index b539014bbf84..76a7db90b7ed 100644 --- a/packages/tools/webpack-fluid-loader/package.json +++ b/packages/tools/webpack-fluid-loader/package.json @@ -33,7 +33,7 @@ "prepack": "npm run webpack", "test": "npm run test:mocha", "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", - "test:mocha": "mocha --recursive dist/test --exit -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test --exit -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "tsc": "tsc", "tsfmt": "tsfmt --verify", @@ -91,6 +91,7 @@ "webpack-dev-server": "^3.8.0" }, "devDependencies": { + "@fluid-tools/webpack-fluid-loader-previous": "npm:@fluid-tools/webpack-fluid-loader@0.58.2000", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", @@ -120,5 +121,9 @@ "typescript-formatter": "7.1.0", "webpack": "^4.43.0", "webpack-cli": "^3.3.11" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/tools/webpack-fluid-loader/src/test/types/validateWebpackFluidLoaderPrevious.ts b/packages/tools/webpack-fluid-loader/src/test/types/validateWebpackFluidLoaderPrevious.ts new file mode 100644 index 000000000000..10732531cca1 --- /dev/null +++ b/packages/tools/webpack-fluid-loader/src/test/types/validateWebpackFluidLoaderPrevious.ts @@ -0,0 +1,63 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluid-tools/webpack-fluid-loader-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_after": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_after(): + TypeOnly; +declare function use_current_VariableDeclaration_after( + use: TypeOnly); +use_current_VariableDeclaration_after( + get_old_VariableDeclaration_after()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_after": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_after(): + TypeOnly; +declare function use_old_VariableDeclaration_after( + use: TypeOnly); +use_old_VariableDeclaration_after( + get_current_VariableDeclaration_after()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_before": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_before(): + TypeOnly; +declare function use_current_VariableDeclaration_before( + use: TypeOnly); +use_current_VariableDeclaration_before( + get_old_VariableDeclaration_before()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_before": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_before(): + TypeOnly; +declare function use_old_VariableDeclaration_before( + use: TypeOnly); +use_old_VariableDeclaration_before( + get_current_VariableDeclaration_before()); diff --git a/packages/utils/odsp-doclib-utils/package.json b/packages/utils/odsp-doclib-utils/package.json index e17f2f221e25..df9144c08bc0 100644 --- a/packages/utils/odsp-doclib-utils/package.json +++ b/packages/utils/odsp-doclib-utils/package.json @@ -30,7 +30,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm run test:report", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "test:report": "npm test -- -- --reporter xunit --reporter-option output=nyc/mocha-junit-report.xml", "tsc": "tsc", @@ -70,6 +70,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/odsp-doclib-utils-previous": "npm:@fluidframework/odsp-doclib-utils@0.58.2000", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", "@types/node-fetch": "^2.5.10", @@ -89,5 +90,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/utils/odsp-doclib-utils/src/test/types/validateOdspDoclibUtilsPrevious.ts b/packages/utils/odsp-doclib-utils/src/test/types/validateOdspDoclibUtilsPrevious.ts new file mode 100644 index 000000000000..2a1588736903 --- /dev/null +++ b/packages/utils/odsp-doclib-utils/src/test/types/validateOdspDoclibUtilsPrevious.ts @@ -0,0 +1,999 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/odsp-doclib-utils-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_authRequestWithRetry": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_authRequestWithRetry(): + TypeOnly; +declare function use_current_FunctionDeclaration_authRequestWithRetry( + use: TypeOnly); +use_current_FunctionDeclaration_authRequestWithRetry( + get_old_FunctionDeclaration_authRequestWithRetry()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_authRequestWithRetry": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_authRequestWithRetry(): + TypeOnly; +declare function use_old_FunctionDeclaration_authRequestWithRetry( + use: TypeOnly); +use_old_FunctionDeclaration_authRequestWithRetry( + get_current_FunctionDeclaration_authRequestWithRetry()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createOdspNetworkError": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_createOdspNetworkError(): + TypeOnly; +declare function use_current_FunctionDeclaration_createOdspNetworkError( + use: TypeOnly); +use_current_FunctionDeclaration_createOdspNetworkError( + get_old_FunctionDeclaration_createOdspNetworkError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_createOdspNetworkError": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_createOdspNetworkError(): + TypeOnly; +declare function use_old_FunctionDeclaration_createOdspNetworkError( + use: TypeOnly); +use_old_FunctionDeclaration_createOdspNetworkError( + get_current_FunctionDeclaration_createOdspNetworkError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_enrichOdspError": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_enrichOdspError(): + TypeOnly; +declare function use_current_FunctionDeclaration_enrichOdspError( + use: TypeOnly); +use_current_FunctionDeclaration_enrichOdspError( + get_old_FunctionDeclaration_enrichOdspError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_enrichOdspError": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_enrichOdspError(): + TypeOnly; +declare function use_old_FunctionDeclaration_enrichOdspError( + use: TypeOnly); +use_old_FunctionDeclaration_enrichOdspError( + get_current_FunctionDeclaration_enrichOdspError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_fetchIncorrectResponse": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_fetchIncorrectResponse(): + TypeOnly; +declare function use_current_VariableDeclaration_fetchIncorrectResponse( + use: TypeOnly); +use_current_VariableDeclaration_fetchIncorrectResponse( + get_old_VariableDeclaration_fetchIncorrectResponse()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_fetchIncorrectResponse": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_fetchIncorrectResponse(): + TypeOnly; +declare function use_old_VariableDeclaration_fetchIncorrectResponse( + use: TypeOnly); +use_old_VariableDeclaration_fetchIncorrectResponse( + get_current_VariableDeclaration_fetchIncorrectResponse()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_fetchTokens": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_fetchTokens(): + TypeOnly; +declare function use_current_FunctionDeclaration_fetchTokens( + use: TypeOnly); +use_current_FunctionDeclaration_fetchTokens( + get_old_FunctionDeclaration_fetchTokens()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_fetchTokens": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_fetchTokens(): + TypeOnly; +declare function use_old_FunctionDeclaration_fetchTokens( + use: TypeOnly); +use_old_FunctionDeclaration_fetchTokens( + get_current_FunctionDeclaration_fetchTokens()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getAadTenant": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getAadTenant(): + TypeOnly; +declare function use_current_FunctionDeclaration_getAadTenant( + use: TypeOnly); +use_current_FunctionDeclaration_getAadTenant( + get_old_FunctionDeclaration_getAadTenant()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getAadTenant": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getAadTenant(): + TypeOnly; +declare function use_old_FunctionDeclaration_getAadTenant( + use: TypeOnly); +use_old_FunctionDeclaration_getAadTenant( + get_current_FunctionDeclaration_getAadTenant()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getAadUrl": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getAadUrl(): + TypeOnly; +declare function use_current_FunctionDeclaration_getAadUrl( + use: TypeOnly); +use_current_FunctionDeclaration_getAadUrl( + get_old_FunctionDeclaration_getAadUrl()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getAadUrl": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getAadUrl(): + TypeOnly; +declare function use_old_FunctionDeclaration_getAadUrl( + use: TypeOnly); +use_old_FunctionDeclaration_getAadUrl( + get_current_FunctionDeclaration_getAadUrl()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getAsync": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getAsync(): + TypeOnly; +declare function use_current_FunctionDeclaration_getAsync( + use: TypeOnly); +use_current_FunctionDeclaration_getAsync( + get_old_FunctionDeclaration_getAsync()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getAsync": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getAsync(): + TypeOnly; +declare function use_old_FunctionDeclaration_getAsync( + use: TypeOnly); +use_old_FunctionDeclaration_getAsync( + get_current_FunctionDeclaration_getAsync()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getChildrenByDriveItem": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getChildrenByDriveItem(): + TypeOnly; +declare function use_current_FunctionDeclaration_getChildrenByDriveItem( + use: TypeOnly); +use_current_FunctionDeclaration_getChildrenByDriveItem( + get_old_FunctionDeclaration_getChildrenByDriveItem()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getChildrenByDriveItem": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getChildrenByDriveItem(): + TypeOnly; +declare function use_old_FunctionDeclaration_getChildrenByDriveItem( + use: TypeOnly); +use_old_FunctionDeclaration_getChildrenByDriveItem( + get_current_FunctionDeclaration_getChildrenByDriveItem()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getDriveId": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getDriveId(): + TypeOnly; +declare function use_current_FunctionDeclaration_getDriveId( + use: TypeOnly); +use_current_FunctionDeclaration_getDriveId( + get_old_FunctionDeclaration_getDriveId()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getDriveId": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getDriveId(): + TypeOnly; +declare function use_old_FunctionDeclaration_getDriveId( + use: TypeOnly); +use_old_FunctionDeclaration_getDriveId( + get_current_FunctionDeclaration_getDriveId()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getDriveItemByRootFileName": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getDriveItemByRootFileName(): + TypeOnly; +declare function use_current_FunctionDeclaration_getDriveItemByRootFileName( + use: TypeOnly); +use_current_FunctionDeclaration_getDriveItemByRootFileName( + get_old_FunctionDeclaration_getDriveItemByRootFileName()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getDriveItemByRootFileName": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getDriveItemByRootFileName(): + TypeOnly; +declare function use_old_FunctionDeclaration_getDriveItemByRootFileName( + use: TypeOnly); +use_old_FunctionDeclaration_getDriveItemByRootFileName( + get_current_FunctionDeclaration_getDriveItemByRootFileName()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getDriveItemByServerRelativePath": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getDriveItemByServerRelativePath(): + TypeOnly; +declare function use_current_FunctionDeclaration_getDriveItemByServerRelativePath( + use: TypeOnly); +use_current_FunctionDeclaration_getDriveItemByServerRelativePath( + get_old_FunctionDeclaration_getDriveItemByServerRelativePath()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getDriveItemByServerRelativePath": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getDriveItemByServerRelativePath(): + TypeOnly; +declare function use_old_FunctionDeclaration_getDriveItemByServerRelativePath( + use: TypeOnly); +use_old_FunctionDeclaration_getDriveItemByServerRelativePath( + get_current_FunctionDeclaration_getDriveItemByServerRelativePath()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getDriveItemFromDriveAndItem": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getDriveItemFromDriveAndItem(): + TypeOnly; +declare function use_current_FunctionDeclaration_getDriveItemFromDriveAndItem( + use: TypeOnly); +use_current_FunctionDeclaration_getDriveItemFromDriveAndItem( + get_old_FunctionDeclaration_getDriveItemFromDriveAndItem()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getDriveItemFromDriveAndItem": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getDriveItemFromDriveAndItem(): + TypeOnly; +declare function use_old_FunctionDeclaration_getDriveItemFromDriveAndItem( + use: TypeOnly); +use_old_FunctionDeclaration_getDriveItemFromDriveAndItem( + get_current_FunctionDeclaration_getDriveItemFromDriveAndItem()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getFetchTokenUrl": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getFetchTokenUrl(): + TypeOnly; +declare function use_current_FunctionDeclaration_getFetchTokenUrl( + use: TypeOnly); +use_current_FunctionDeclaration_getFetchTokenUrl( + get_old_FunctionDeclaration_getFetchTokenUrl()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getFetchTokenUrl": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getFetchTokenUrl(): + TypeOnly; +declare function use_old_FunctionDeclaration_getFetchTokenUrl( + use: TypeOnly); +use_old_FunctionDeclaration_getFetchTokenUrl( + get_current_FunctionDeclaration_getFetchTokenUrl()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getLoginPageUrl": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getLoginPageUrl(): + TypeOnly; +declare function use_current_FunctionDeclaration_getLoginPageUrl( + use: TypeOnly); +use_current_FunctionDeclaration_getLoginPageUrl( + get_old_FunctionDeclaration_getLoginPageUrl()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getLoginPageUrl": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getLoginPageUrl(): + TypeOnly; +declare function use_old_FunctionDeclaration_getLoginPageUrl( + use: TypeOnly); +use_old_FunctionDeclaration_getLoginPageUrl( + get_current_FunctionDeclaration_getLoginPageUrl()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getOdspRefreshTokenFn": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_getOdspRefreshTokenFn(): + TypeOnly; +declare function use_current_VariableDeclaration_getOdspRefreshTokenFn( + use: TypeOnly); +use_current_VariableDeclaration_getOdspRefreshTokenFn( + get_old_VariableDeclaration_getOdspRefreshTokenFn()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getOdspRefreshTokenFn": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_getOdspRefreshTokenFn(): + TypeOnly; +declare function use_old_VariableDeclaration_getOdspRefreshTokenFn( + use: TypeOnly); +use_old_VariableDeclaration_getOdspRefreshTokenFn( + get_current_VariableDeclaration_getOdspRefreshTokenFn()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getOdspScope": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_getOdspScope(): + TypeOnly; +declare function use_current_VariableDeclaration_getOdspScope( + use: TypeOnly); +use_current_VariableDeclaration_getOdspScope( + get_old_VariableDeclaration_getOdspScope()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getOdspScope": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_getOdspScope(): + TypeOnly; +declare function use_old_VariableDeclaration_getOdspScope( + use: TypeOnly); +use_old_VariableDeclaration_getOdspScope( + get_current_VariableDeclaration_getOdspScope()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getPushRefreshTokenFn": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_getPushRefreshTokenFn(): + TypeOnly; +declare function use_current_VariableDeclaration_getPushRefreshTokenFn( + use: TypeOnly); +use_current_VariableDeclaration_getPushRefreshTokenFn( + get_old_VariableDeclaration_getPushRefreshTokenFn()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getPushRefreshTokenFn": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_getPushRefreshTokenFn(): + TypeOnly; +declare function use_old_VariableDeclaration_getPushRefreshTokenFn( + use: TypeOnly); +use_old_VariableDeclaration_getPushRefreshTokenFn( + get_current_VariableDeclaration_getPushRefreshTokenFn()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getRefreshTokenFn": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_getRefreshTokenFn(): + TypeOnly; +declare function use_current_VariableDeclaration_getRefreshTokenFn( + use: TypeOnly); +use_current_VariableDeclaration_getRefreshTokenFn( + get_old_VariableDeclaration_getRefreshTokenFn()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getRefreshTokenFn": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_getRefreshTokenFn(): + TypeOnly; +declare function use_old_VariableDeclaration_getRefreshTokenFn( + use: TypeOnly); +use_old_VariableDeclaration_getRefreshTokenFn( + get_current_VariableDeclaration_getRefreshTokenFn()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getServer": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getServer(): + TypeOnly; +declare function use_current_FunctionDeclaration_getServer( + use: TypeOnly); +use_current_FunctionDeclaration_getServer( + get_old_FunctionDeclaration_getServer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getServer": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getServer(): + TypeOnly; +declare function use_old_FunctionDeclaration_getServer( + use: TypeOnly); +use_old_FunctionDeclaration_getServer( + get_current_FunctionDeclaration_getServer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getSiteUrl": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getSiteUrl(): + TypeOnly; +declare function use_current_FunctionDeclaration_getSiteUrl( + use: TypeOnly); +use_current_FunctionDeclaration_getSiteUrl( + get_old_FunctionDeclaration_getSiteUrl()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getSiteUrl": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getSiteUrl(): + TypeOnly; +declare function use_old_FunctionDeclaration_getSiteUrl( + use: TypeOnly); +use_old_FunctionDeclaration_getSiteUrl( + get_current_FunctionDeclaration_getSiteUrl()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getSPOAndGraphRequestIdsFromResponse": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getSPOAndGraphRequestIdsFromResponse(): + TypeOnly; +declare function use_current_FunctionDeclaration_getSPOAndGraphRequestIdsFromResponse( + use: TypeOnly); +use_current_FunctionDeclaration_getSPOAndGraphRequestIdsFromResponse( + get_old_FunctionDeclaration_getSPOAndGraphRequestIdsFromResponse()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getSPOAndGraphRequestIdsFromResponse": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getSPOAndGraphRequestIdsFromResponse(): + TypeOnly; +declare function use_old_FunctionDeclaration_getSPOAndGraphRequestIdsFromResponse( + use: TypeOnly); +use_old_FunctionDeclaration_getSPOAndGraphRequestIdsFromResponse( + get_current_FunctionDeclaration_getSPOAndGraphRequestIdsFromResponse()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IClientConfig": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IClientConfig(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IClientConfig( + use: TypeOnly); +use_current_InterfaceDeclaration_IClientConfig( + get_old_InterfaceDeclaration_IClientConfig()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IClientConfig": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IClientConfig(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IClientConfig( + use: TypeOnly); +use_old_InterfaceDeclaration_IClientConfig( + get_current_InterfaceDeclaration_IClientConfig()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFacetCodes": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IFacetCodes(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IFacetCodes( + use: TypeOnly); +use_current_InterfaceDeclaration_IFacetCodes( + get_old_InterfaceDeclaration_IFacetCodes()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFacetCodes": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IFacetCodes(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IFacetCodes( + use: TypeOnly); +use_old_InterfaceDeclaration_IFacetCodes( + get_current_InterfaceDeclaration_IFacetCodes()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOdspAuthRequestInfo": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IOdspAuthRequestInfo(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IOdspAuthRequestInfo( + use: TypeOnly); +use_current_InterfaceDeclaration_IOdspAuthRequestInfo( + get_old_InterfaceDeclaration_IOdspAuthRequestInfo()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOdspAuthRequestInfo": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IOdspAuthRequestInfo(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IOdspAuthRequestInfo( + use: TypeOnly); +use_old_InterfaceDeclaration_IOdspAuthRequestInfo( + get_current_InterfaceDeclaration_IOdspAuthRequestInfo()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOdspDriveItem": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IOdspDriveItem(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IOdspDriveItem( + use: TypeOnly); +use_current_InterfaceDeclaration_IOdspDriveItem( + get_old_InterfaceDeclaration_IOdspDriveItem()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOdspDriveItem": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IOdspDriveItem(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IOdspDriveItem( + use: TypeOnly); +use_old_InterfaceDeclaration_IOdspDriveItem( + get_current_InterfaceDeclaration_IOdspDriveItem()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOdspTokens": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IOdspTokens(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IOdspTokens( + use: TypeOnly); +use_current_InterfaceDeclaration_IOdspTokens( + get_old_InterfaceDeclaration_IOdspTokens()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOdspTokens": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IOdspTokens(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IOdspTokens( + use: TypeOnly); +use_old_InterfaceDeclaration_IOdspTokens( + get_current_InterfaceDeclaration_IOdspTokens()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isOdspHostname": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_isOdspHostname(): + TypeOnly; +declare function use_current_FunctionDeclaration_isOdspHostname( + use: TypeOnly); +use_current_FunctionDeclaration_isOdspHostname( + get_old_FunctionDeclaration_isOdspHostname()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isOdspHostname": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_isOdspHostname(): + TypeOnly; +declare function use_old_FunctionDeclaration_isOdspHostname( + use: TypeOnly); +use_old_FunctionDeclaration_isOdspHostname( + get_current_FunctionDeclaration_isOdspHostname()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isPushChannelHostname": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_isPushChannelHostname(): + TypeOnly; +declare function use_current_FunctionDeclaration_isPushChannelHostname( + use: TypeOnly); +use_current_FunctionDeclaration_isPushChannelHostname( + get_old_FunctionDeclaration_isPushChannelHostname()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isPushChannelHostname": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_isPushChannelHostname(): + TypeOnly; +declare function use_old_FunctionDeclaration_isPushChannelHostname( + use: TypeOnly); +use_old_FunctionDeclaration_isPushChannelHostname( + get_current_FunctionDeclaration_isPushChannelHostname()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_OdspErrorResponse": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_OdspErrorResponse(): + TypeOnly; +declare function use_current_InterfaceDeclaration_OdspErrorResponse( + use: TypeOnly); +use_current_InterfaceDeclaration_OdspErrorResponse( + get_old_InterfaceDeclaration_OdspErrorResponse()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_OdspErrorResponse": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_OdspErrorResponse(): + TypeOnly; +declare function use_old_InterfaceDeclaration_OdspErrorResponse( + use: TypeOnly); +use_old_InterfaceDeclaration_OdspErrorResponse( + get_current_InterfaceDeclaration_OdspErrorResponse()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_OdspErrorResponseInnerError": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_OdspErrorResponseInnerError(): + TypeOnly; +declare function use_current_InterfaceDeclaration_OdspErrorResponseInnerError( + use: TypeOnly); +use_current_InterfaceDeclaration_OdspErrorResponseInnerError( + get_old_InterfaceDeclaration_OdspErrorResponseInnerError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_OdspErrorResponseInnerError": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_OdspErrorResponseInnerError(): + TypeOnly; +declare function use_old_InterfaceDeclaration_OdspErrorResponseInnerError( + use: TypeOnly); +use_old_InterfaceDeclaration_OdspErrorResponseInnerError( + get_current_InterfaceDeclaration_OdspErrorResponseInnerError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_OdspServiceReadOnlyErrorCode": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_OdspServiceReadOnlyErrorCode(): + TypeOnly; +declare function use_current_VariableDeclaration_OdspServiceReadOnlyErrorCode( + use: TypeOnly); +use_current_VariableDeclaration_OdspServiceReadOnlyErrorCode( + get_old_VariableDeclaration_OdspServiceReadOnlyErrorCode()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_OdspServiceReadOnlyErrorCode": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_OdspServiceReadOnlyErrorCode(): + TypeOnly; +declare function use_old_VariableDeclaration_OdspServiceReadOnlyErrorCode( + use: TypeOnly); +use_old_VariableDeclaration_OdspServiceReadOnlyErrorCode( + get_current_VariableDeclaration_OdspServiceReadOnlyErrorCode()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_parseFacetCodes": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_parseFacetCodes(): + TypeOnly; +declare function use_current_FunctionDeclaration_parseFacetCodes( + use: TypeOnly); +use_current_FunctionDeclaration_parseFacetCodes( + get_old_FunctionDeclaration_parseFacetCodes()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_parseFacetCodes": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_parseFacetCodes(): + TypeOnly; +declare function use_old_FunctionDeclaration_parseFacetCodes( + use: TypeOnly); +use_old_FunctionDeclaration_parseFacetCodes( + get_current_FunctionDeclaration_parseFacetCodes()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_postAsync": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_postAsync(): + TypeOnly; +declare function use_current_FunctionDeclaration_postAsync( + use: TypeOnly); +use_current_FunctionDeclaration_postAsync( + get_old_FunctionDeclaration_postAsync()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_postAsync": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_postAsync(): + TypeOnly; +declare function use_old_FunctionDeclaration_postAsync( + use: TypeOnly); +use_old_FunctionDeclaration_postAsync( + get_current_FunctionDeclaration_postAsync()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_pushScope": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_pushScope(): + TypeOnly; +declare function use_current_VariableDeclaration_pushScope( + use: TypeOnly); +use_current_VariableDeclaration_pushScope( + get_old_VariableDeclaration_pushScope()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_pushScope": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_pushScope(): + TypeOnly; +declare function use_old_VariableDeclaration_pushScope( + use: TypeOnly); +use_old_VariableDeclaration_pushScope( + get_current_VariableDeclaration_pushScope()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_putAsync": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_putAsync(): + TypeOnly; +declare function use_current_FunctionDeclaration_putAsync( + use: TypeOnly); +use_current_FunctionDeclaration_putAsync( + get_old_FunctionDeclaration_putAsync()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_putAsync": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_putAsync(): + TypeOnly; +declare function use_old_FunctionDeclaration_putAsync( + use: TypeOnly); +use_old_FunctionDeclaration_putAsync( + get_current_FunctionDeclaration_putAsync()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_refreshTokens": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_refreshTokens(): + TypeOnly; +declare function use_current_FunctionDeclaration_refreshTokens( + use: TypeOnly); +use_current_FunctionDeclaration_refreshTokens( + get_old_FunctionDeclaration_refreshTokens()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_refreshTokens": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_refreshTokens(): + TypeOnly; +declare function use_old_FunctionDeclaration_refreshTokens( + use: TypeOnly); +use_old_FunctionDeclaration_refreshTokens( + get_current_FunctionDeclaration_refreshTokens()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_throwOdspNetworkError": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_throwOdspNetworkError(): + TypeOnly; +declare function use_current_FunctionDeclaration_throwOdspNetworkError( + use: TypeOnly); +use_current_FunctionDeclaration_throwOdspNetworkError( + get_old_FunctionDeclaration_throwOdspNetworkError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_throwOdspNetworkError": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_throwOdspNetworkError(): + TypeOnly; +declare function use_old_FunctionDeclaration_throwOdspNetworkError( + use: TypeOnly); +use_old_FunctionDeclaration_throwOdspNetworkError( + get_current_FunctionDeclaration_throwOdspNetworkError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_TokenRequestCredentials": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_TokenRequestCredentials(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_TokenRequestCredentials( + use: TypeOnly); +use_current_TypeAliasDeclaration_TokenRequestCredentials( + get_old_TypeAliasDeclaration_TokenRequestCredentials()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_TokenRequestCredentials": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_TokenRequestCredentials(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_TokenRequestCredentials( + use: TypeOnly); +use_old_TypeAliasDeclaration_TokenRequestCredentials( + get_current_TypeAliasDeclaration_TokenRequestCredentials()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_tryParseErrorResponse": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_tryParseErrorResponse(): + TypeOnly; +declare function use_current_FunctionDeclaration_tryParseErrorResponse( + use: TypeOnly); +use_current_FunctionDeclaration_tryParseErrorResponse( + get_old_FunctionDeclaration_tryParseErrorResponse()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_tryParseErrorResponse": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_tryParseErrorResponse(): + TypeOnly; +declare function use_old_FunctionDeclaration_tryParseErrorResponse( + use: TypeOnly); +use_old_FunctionDeclaration_tryParseErrorResponse( + get_current_FunctionDeclaration_tryParseErrorResponse()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_unauthPostAsync": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_unauthPostAsync(): + TypeOnly; +declare function use_current_FunctionDeclaration_unauthPostAsync( + use: TypeOnly); +use_current_FunctionDeclaration_unauthPostAsync( + get_old_FunctionDeclaration_unauthPostAsync()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_unauthPostAsync": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_unauthPostAsync(): + TypeOnly; +declare function use_old_FunctionDeclaration_unauthPostAsync( + use: TypeOnly); +use_old_FunctionDeclaration_unauthPostAsync( + get_current_FunctionDeclaration_unauthPostAsync()); diff --git a/packages/utils/telemetry-utils/package.json b/packages/utils/telemetry-utils/package.json index 028c17cdce72..a18eabe27043 100644 --- a/packages/utils/telemetry-utils/package.json +++ b/packages/utils/telemetry-utils/package.json @@ -37,7 +37,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm run test:report", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "test:report": "npm test -- -- --reporter xunit --reporter-option output=nyc/mocha-junit-report.xml", "tsc": "tsc" @@ -73,6 +73,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/telemetry-utils-previous": "npm:@fluidframework/telemetry-utils@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/debug": "^4.1.5", @@ -96,5 +97,9 @@ "rimraf": "^2.6.2", "sinon": "^7.4.2", "typescript": "~4.1.3" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/utils/telemetry-utils/src/test/types/validateTelemetryUtilsPrevious.ts b/packages/utils/telemetry-utils/src/test/types/validateTelemetryUtilsPrevious.ts new file mode 100644 index 000000000000..c4cbf3d79b33 --- /dev/null +++ b/packages/utils/telemetry-utils/src/test/types/validateTelemetryUtilsPrevious.ts @@ -0,0 +1,1071 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/telemetry-utils-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ChildLogger": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ChildLogger(): + TypeOnly; +declare function use_current_ClassDeclaration_ChildLogger( + use: TypeOnly); +use_current_ClassDeclaration_ChildLogger( + get_old_ClassDeclaration_ChildLogger()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ChildLogger": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ChildLogger(): + TypeOnly; +declare function use_old_ClassDeclaration_ChildLogger( + use: TypeOnly); +use_old_ClassDeclaration_ChildLogger( + get_current_ClassDeclaration_ChildLogger()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ConfigTypes": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_ConfigTypes(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_ConfigTypes( + use: TypeOnly); +use_current_TypeAliasDeclaration_ConfigTypes( + get_old_TypeAliasDeclaration_ConfigTypes()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_ConfigTypes": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_ConfigTypes(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_ConfigTypes( + use: TypeOnly); +use_old_TypeAliasDeclaration_ConfigTypes( + get_current_TypeAliasDeclaration_ConfigTypes()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_connectedEventName": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_connectedEventName(): + TypeOnly; +declare function use_current_VariableDeclaration_connectedEventName( + use: TypeOnly); +use_current_VariableDeclaration_connectedEventName( + get_old_VariableDeclaration_connectedEventName()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_connectedEventName": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_connectedEventName(): + TypeOnly; +declare function use_old_VariableDeclaration_connectedEventName( + use: TypeOnly); +use_old_VariableDeclaration_connectedEventName( + get_current_VariableDeclaration_connectedEventName()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DebugLogger": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_DebugLogger(): + TypeOnly; +declare function use_current_ClassDeclaration_DebugLogger( + use: TypeOnly); +use_current_ClassDeclaration_DebugLogger( + get_old_ClassDeclaration_DebugLogger()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_DebugLogger": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_DebugLogger(): + TypeOnly; +declare function use_old_ClassDeclaration_DebugLogger( + use: TypeOnly); +use_old_ClassDeclaration_DebugLogger( + get_current_ClassDeclaration_DebugLogger()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_disconnectedEventName": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_disconnectedEventName(): + TypeOnly; +declare function use_current_VariableDeclaration_disconnectedEventName( + use: TypeOnly); +use_current_VariableDeclaration_disconnectedEventName( + get_old_VariableDeclaration_disconnectedEventName()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_disconnectedEventName": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_disconnectedEventName(): + TypeOnly; +declare function use_old_VariableDeclaration_disconnectedEventName( + use: TypeOnly); +use_old_VariableDeclaration_disconnectedEventName( + get_current_VariableDeclaration_disconnectedEventName()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_EventEmitterWithErrorHandling": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_EventEmitterWithErrorHandling(): + TypeOnly; +declare function use_current_ClassDeclaration_EventEmitterWithErrorHandling( + use: TypeOnly); +use_current_ClassDeclaration_EventEmitterWithErrorHandling( + get_old_ClassDeclaration_EventEmitterWithErrorHandling()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_EventEmitterWithErrorHandling": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_EventEmitterWithErrorHandling(): + TypeOnly; +declare function use_old_ClassDeclaration_EventEmitterWithErrorHandling( + use: TypeOnly); +use_old_ClassDeclaration_EventEmitterWithErrorHandling( + get_current_ClassDeclaration_EventEmitterWithErrorHandling()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_extractLogSafeErrorProperties": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_extractLogSafeErrorProperties(): + TypeOnly; +declare function use_current_FunctionDeclaration_extractLogSafeErrorProperties( + use: TypeOnly); +use_current_FunctionDeclaration_extractLogSafeErrorProperties( + get_old_FunctionDeclaration_extractLogSafeErrorProperties()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_extractLogSafeErrorProperties": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_extractLogSafeErrorProperties(): + TypeOnly; +declare function use_old_FunctionDeclaration_extractLogSafeErrorProperties( + use: TypeOnly); +use_old_FunctionDeclaration_extractLogSafeErrorProperties( + get_current_FunctionDeclaration_extractLogSafeErrorProperties()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_generateErrorWithStack": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_generateErrorWithStack(): + TypeOnly; +declare function use_current_FunctionDeclaration_generateErrorWithStack( + use: TypeOnly); +use_current_FunctionDeclaration_generateErrorWithStack( + get_old_FunctionDeclaration_generateErrorWithStack()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_generateErrorWithStack": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_generateErrorWithStack(): + TypeOnly; +declare function use_old_FunctionDeclaration_generateErrorWithStack( + use: TypeOnly); +use_old_FunctionDeclaration_generateErrorWithStack( + get_current_FunctionDeclaration_generateErrorWithStack()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_generateStack": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_generateStack(): + TypeOnly; +declare function use_current_FunctionDeclaration_generateStack( + use: TypeOnly); +use_current_FunctionDeclaration_generateStack( + get_old_FunctionDeclaration_generateStack()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_generateStack": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_generateStack(): + TypeOnly; +declare function use_old_FunctionDeclaration_generateStack( + use: TypeOnly); +use_old_FunctionDeclaration_generateStack( + get_current_FunctionDeclaration_generateStack()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getCircularReplacer": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_getCircularReplacer(): + TypeOnly; +declare function use_current_VariableDeclaration_getCircularReplacer( + use: TypeOnly); +use_current_VariableDeclaration_getCircularReplacer( + get_old_VariableDeclaration_getCircularReplacer()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getCircularReplacer": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_getCircularReplacer(): + TypeOnly; +declare function use_old_VariableDeclaration_getCircularReplacer( + use: TypeOnly); +use_old_VariableDeclaration_getCircularReplacer( + get_current_VariableDeclaration_getCircularReplacer()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_hasErrorInstanceId": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_hasErrorInstanceId(): + TypeOnly; +declare function use_current_VariableDeclaration_hasErrorInstanceId( + use: TypeOnly); +use_current_VariableDeclaration_hasErrorInstanceId( + get_old_VariableDeclaration_hasErrorInstanceId()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_hasErrorInstanceId": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_hasErrorInstanceId(): + TypeOnly; +declare function use_old_VariableDeclaration_hasErrorInstanceId( + use: TypeOnly); +use_old_VariableDeclaration_hasErrorInstanceId( + get_current_VariableDeclaration_hasErrorInstanceId()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConfigProvider": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IConfigProvider(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IConfigProvider( + use: TypeOnly); +use_current_InterfaceDeclaration_IConfigProvider( + get_old_InterfaceDeclaration_IConfigProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConfigProvider": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IConfigProvider(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IConfigProvider( + use: TypeOnly); +use_old_InterfaceDeclaration_IConfigProvider( + get_current_InterfaceDeclaration_IConfigProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConfigProviderBase": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IConfigProviderBase(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IConfigProviderBase( + use: TypeOnly); +use_current_InterfaceDeclaration_IConfigProviderBase( + get_old_InterfaceDeclaration_IConfigProviderBase()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IConfigProviderBase": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IConfigProviderBase(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IConfigProviderBase( + use: TypeOnly); +use_old_InterfaceDeclaration_IConfigProviderBase( + get_current_InterfaceDeclaration_IConfigProviderBase()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidErrorAnnotations": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IFluidErrorAnnotations(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IFluidErrorAnnotations( + use: TypeOnly); +use_current_InterfaceDeclaration_IFluidErrorAnnotations( + get_old_InterfaceDeclaration_IFluidErrorAnnotations()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidErrorAnnotations": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IFluidErrorAnnotations(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IFluidErrorAnnotations( + use: TypeOnly); +use_old_InterfaceDeclaration_IFluidErrorAnnotations( + get_current_InterfaceDeclaration_IFluidErrorAnnotations()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidErrorBase": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IFluidErrorBase(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IFluidErrorBase( + use: TypeOnly); +use_current_InterfaceDeclaration_IFluidErrorBase( + get_old_InterfaceDeclaration_IFluidErrorBase()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IFluidErrorBase": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IFluidErrorBase(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IFluidErrorBase( + use: TypeOnly); +use_old_InterfaceDeclaration_IFluidErrorBase( + get_current_InterfaceDeclaration_IFluidErrorBase()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IPerformanceEventMarkers": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IPerformanceEventMarkers(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IPerformanceEventMarkers( + use: TypeOnly); +use_current_InterfaceDeclaration_IPerformanceEventMarkers( + get_old_InterfaceDeclaration_IPerformanceEventMarkers()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IPerformanceEventMarkers": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IPerformanceEventMarkers(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IPerformanceEventMarkers( + use: TypeOnly); +use_old_InterfaceDeclaration_IPerformanceEventMarkers( + get_current_InterfaceDeclaration_IPerformanceEventMarkers()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isExternalError": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_isExternalError(): + TypeOnly; +declare function use_current_FunctionDeclaration_isExternalError( + use: TypeOnly); +use_current_FunctionDeclaration_isExternalError( + get_old_FunctionDeclaration_isExternalError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isExternalError": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_isExternalError(): + TypeOnly; +declare function use_old_FunctionDeclaration_isExternalError( + use: TypeOnly); +use_old_FunctionDeclaration_isExternalError( + get_current_FunctionDeclaration_isExternalError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isFluidError": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_isFluidError(): + TypeOnly; +declare function use_current_FunctionDeclaration_isFluidError( + use: TypeOnly); +use_current_FunctionDeclaration_isFluidError( + get_old_FunctionDeclaration_isFluidError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isFluidError": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_isFluidError(): + TypeOnly; +declare function use_old_FunctionDeclaration_isFluidError( + use: TypeOnly); +use_old_FunctionDeclaration_isFluidError( + get_current_FunctionDeclaration_isFluidError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_isILoggingError": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_isILoggingError(): + TypeOnly; +declare function use_current_VariableDeclaration_isILoggingError( + use: TypeOnly); +use_current_VariableDeclaration_isILoggingError( + get_old_VariableDeclaration_isILoggingError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_isILoggingError": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_isILoggingError(): + TypeOnly; +declare function use_old_VariableDeclaration_isILoggingError( + use: TypeOnly); +use_old_VariableDeclaration_isILoggingError( + get_current_VariableDeclaration_isILoggingError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isTaggedTelemetryPropertyValue": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_isTaggedTelemetryPropertyValue(): + TypeOnly; +declare function use_current_FunctionDeclaration_isTaggedTelemetryPropertyValue( + use: TypeOnly); +use_current_FunctionDeclaration_isTaggedTelemetryPropertyValue( + get_old_FunctionDeclaration_isTaggedTelemetryPropertyValue()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isTaggedTelemetryPropertyValue": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_isTaggedTelemetryPropertyValue(): + TypeOnly; +declare function use_old_FunctionDeclaration_isTaggedTelemetryPropertyValue( + use: TypeOnly); +use_old_FunctionDeclaration_isTaggedTelemetryPropertyValue( + get_current_FunctionDeclaration_isTaggedTelemetryPropertyValue()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isValidLegacyError": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_isValidLegacyError(): + TypeOnly; +declare function use_current_FunctionDeclaration_isValidLegacyError( + use: TypeOnly); +use_current_FunctionDeclaration_isValidLegacyError( + get_old_FunctionDeclaration_isValidLegacyError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_isValidLegacyError": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_isValidLegacyError(): + TypeOnly; +declare function use_old_FunctionDeclaration_isValidLegacyError( + use: TypeOnly); +use_old_FunctionDeclaration_isValidLegacyError( + get_current_FunctionDeclaration_isValidLegacyError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITelemetryLoggerPropertyBag": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITelemetryLoggerPropertyBag(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITelemetryLoggerPropertyBag( + use: TypeOnly); +use_current_InterfaceDeclaration_ITelemetryLoggerPropertyBag( + get_old_InterfaceDeclaration_ITelemetryLoggerPropertyBag()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITelemetryLoggerPropertyBag": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITelemetryLoggerPropertyBag(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITelemetryLoggerPropertyBag( + use: TypeOnly); +use_old_InterfaceDeclaration_ITelemetryLoggerPropertyBag( + get_current_InterfaceDeclaration_ITelemetryLoggerPropertyBag()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITelemetryLoggerPropertyBags": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ITelemetryLoggerPropertyBags(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ITelemetryLoggerPropertyBags( + use: TypeOnly); +use_current_InterfaceDeclaration_ITelemetryLoggerPropertyBags( + get_old_InterfaceDeclaration_ITelemetryLoggerPropertyBags()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ITelemetryLoggerPropertyBags": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITelemetryLoggerPropertyBags(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITelemetryLoggerPropertyBags( + use: TypeOnly); +use_old_InterfaceDeclaration_ITelemetryLoggerPropertyBags( + get_current_InterfaceDeclaration_ITelemetryLoggerPropertyBags()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_loggerToMonitoringContext": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_loggerToMonitoringContext(): + TypeOnly; +declare function use_current_FunctionDeclaration_loggerToMonitoringContext( + use: TypeOnly); +use_current_FunctionDeclaration_loggerToMonitoringContext( + get_old_FunctionDeclaration_loggerToMonitoringContext()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_loggerToMonitoringContext": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_loggerToMonitoringContext(): + TypeOnly; +declare function use_old_FunctionDeclaration_loggerToMonitoringContext( + use: TypeOnly); +use_old_FunctionDeclaration_loggerToMonitoringContext( + get_current_FunctionDeclaration_loggerToMonitoringContext()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LoggingError": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_LoggingError(): + TypeOnly; +declare function use_current_ClassDeclaration_LoggingError( + use: TypeOnly); +use_current_ClassDeclaration_LoggingError( + get_old_ClassDeclaration_LoggingError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_LoggingError": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_LoggingError(): + TypeOnly; +declare function use_old_ClassDeclaration_LoggingError( + use: TypeOnly); +use_old_ClassDeclaration_LoggingError( + get_current_ClassDeclaration_LoggingError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_logIfFalse": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_logIfFalse(): + TypeOnly; +declare function use_current_FunctionDeclaration_logIfFalse( + use: TypeOnly); +use_current_FunctionDeclaration_logIfFalse( + get_old_FunctionDeclaration_logIfFalse()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_logIfFalse": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_logIfFalse(): + TypeOnly; +declare function use_old_FunctionDeclaration_logIfFalse( + use: TypeOnly); +use_old_FunctionDeclaration_logIfFalse( + get_current_FunctionDeclaration_logIfFalse()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_mixinMonitoringContext": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_mixinMonitoringContext(): + TypeOnly; +declare function use_current_FunctionDeclaration_mixinMonitoringContext( + use: TypeOnly); +use_current_FunctionDeclaration_mixinMonitoringContext( + get_old_FunctionDeclaration_mixinMonitoringContext()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_mixinMonitoringContext": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_mixinMonitoringContext(): + TypeOnly; +declare function use_old_FunctionDeclaration_mixinMonitoringContext( + use: TypeOnly); +use_old_FunctionDeclaration_mixinMonitoringContext( + get_current_FunctionDeclaration_mixinMonitoringContext()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockLogger": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MockLogger(): + TypeOnly; +declare function use_current_ClassDeclaration_MockLogger( + use: TypeOnly); +use_current_ClassDeclaration_MockLogger( + get_old_ClassDeclaration_MockLogger()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MockLogger": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockLogger(): + TypeOnly; +declare function use_old_ClassDeclaration_MockLogger( + use: TypeOnly); +use_old_ClassDeclaration_MockLogger( + get_current_ClassDeclaration_MockLogger()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_MonitoringContext": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_MonitoringContext(): + TypeOnly; +declare function use_current_InterfaceDeclaration_MonitoringContext( + use: TypeOnly); +use_current_InterfaceDeclaration_MonitoringContext( + get_old_InterfaceDeclaration_MonitoringContext()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_MonitoringContext": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_MonitoringContext(): + TypeOnly; +declare function use_old_InterfaceDeclaration_MonitoringContext( + use: TypeOnly); +use_old_InterfaceDeclaration_MonitoringContext( + get_current_InterfaceDeclaration_MonitoringContext()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MultiSinkLogger": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_MultiSinkLogger(): + TypeOnly; +declare function use_current_ClassDeclaration_MultiSinkLogger( + use: TypeOnly); +use_current_ClassDeclaration_MultiSinkLogger( + get_old_ClassDeclaration_MultiSinkLogger()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_MultiSinkLogger": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MultiSinkLogger(): + TypeOnly; +declare function use_old_ClassDeclaration_MultiSinkLogger( + use: TypeOnly); +use_old_ClassDeclaration_MultiSinkLogger( + get_current_ClassDeclaration_MultiSinkLogger()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_normalizeError": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_normalizeError(): + TypeOnly; +declare function use_current_FunctionDeclaration_normalizeError( + use: TypeOnly); +use_current_FunctionDeclaration_normalizeError( + get_old_FunctionDeclaration_normalizeError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_normalizeError": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_normalizeError(): + TypeOnly; +declare function use_old_FunctionDeclaration_normalizeError( + use: TypeOnly); +use_old_FunctionDeclaration_normalizeError( + get_current_FunctionDeclaration_normalizeError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_originatedAsExternalError": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_originatedAsExternalError(): + TypeOnly; +declare function use_current_FunctionDeclaration_originatedAsExternalError( + use: TypeOnly); +use_current_FunctionDeclaration_originatedAsExternalError( + get_old_FunctionDeclaration_originatedAsExternalError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_originatedAsExternalError": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_originatedAsExternalError(): + TypeOnly; +declare function use_old_FunctionDeclaration_originatedAsExternalError( + use: TypeOnly); +use_old_FunctionDeclaration_originatedAsExternalError( + get_current_FunctionDeclaration_originatedAsExternalError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_PerformanceEvent": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_PerformanceEvent(): + TypeOnly; +declare function use_current_ClassDeclaration_PerformanceEvent( + use: TypeOnly); +use_current_ClassDeclaration_PerformanceEvent( + get_old_ClassDeclaration_PerformanceEvent()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_PerformanceEvent": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_PerformanceEvent(): + TypeOnly; +declare function use_old_ClassDeclaration_PerformanceEvent( + use: TypeOnly); +use_old_ClassDeclaration_PerformanceEvent( + get_current_ClassDeclaration_PerformanceEvent()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_raiseConnectedEvent": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_raiseConnectedEvent(): + TypeOnly; +declare function use_current_FunctionDeclaration_raiseConnectedEvent( + use: TypeOnly); +use_current_FunctionDeclaration_raiseConnectedEvent( + get_old_FunctionDeclaration_raiseConnectedEvent()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_raiseConnectedEvent": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_raiseConnectedEvent(): + TypeOnly; +declare function use_old_FunctionDeclaration_raiseConnectedEvent( + use: TypeOnly); +use_old_FunctionDeclaration_raiseConnectedEvent( + get_current_FunctionDeclaration_raiseConnectedEvent()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_safeRaiseEvent": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_safeRaiseEvent(): + TypeOnly; +declare function use_current_FunctionDeclaration_safeRaiseEvent( + use: TypeOnly); +use_current_FunctionDeclaration_safeRaiseEvent( + get_old_FunctionDeclaration_safeRaiseEvent()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_safeRaiseEvent": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_safeRaiseEvent(): + TypeOnly; +declare function use_old_FunctionDeclaration_safeRaiseEvent( + use: TypeOnly); +use_old_FunctionDeclaration_safeRaiseEvent( + get_current_FunctionDeclaration_safeRaiseEvent()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_sessionStorageConfigProvider": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_sessionStorageConfigProvider(): + TypeOnly; +declare function use_current_VariableDeclaration_sessionStorageConfigProvider( + use: TypeOnly); +use_current_VariableDeclaration_sessionStorageConfigProvider( + get_old_VariableDeclaration_sessionStorageConfigProvider()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_sessionStorageConfigProvider": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_sessionStorageConfigProvider(): + TypeOnly; +declare function use_old_VariableDeclaration_sessionStorageConfigProvider( + use: TypeOnly); +use_old_VariableDeclaration_sessionStorageConfigProvider( + get_current_VariableDeclaration_sessionStorageConfigProvider()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TaggedLoggerAdapter": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_TaggedLoggerAdapter(): + TypeOnly; +declare function use_current_ClassDeclaration_TaggedLoggerAdapter( + use: TypeOnly); +use_current_ClassDeclaration_TaggedLoggerAdapter( + get_old_ClassDeclaration_TaggedLoggerAdapter()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TaggedLoggerAdapter": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_TaggedLoggerAdapter(): + TypeOnly; +declare function use_old_ClassDeclaration_TaggedLoggerAdapter( + use: TypeOnly); +use_old_ClassDeclaration_TaggedLoggerAdapter( + get_current_ClassDeclaration_TaggedLoggerAdapter()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_TelemetryDataTag": {"forwardCompat": false} +*/ +declare function get_old_EnumDeclaration_TelemetryDataTag(): + TypeOnly; +declare function use_current_EnumDeclaration_TelemetryDataTag( + use: TypeOnly); +use_current_EnumDeclaration_TelemetryDataTag( + get_old_EnumDeclaration_TelemetryDataTag()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "EnumDeclaration_TelemetryDataTag": {"backCompat": false} +*/ +declare function get_current_EnumDeclaration_TelemetryDataTag(): + TypeOnly; +declare function use_old_EnumDeclaration_TelemetryDataTag( + use: TypeOnly); +use_old_EnumDeclaration_TelemetryDataTag( + get_current_EnumDeclaration_TelemetryDataTag()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_TelemetryEventPropertyTypes": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_TelemetryEventPropertyTypes(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_TelemetryEventPropertyTypes( + use: TypeOnly); +use_current_TypeAliasDeclaration_TelemetryEventPropertyTypes( + get_old_TypeAliasDeclaration_TelemetryEventPropertyTypes()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_TelemetryEventPropertyTypes": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_TelemetryEventPropertyTypes(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_TelemetryEventPropertyTypes( + use: TypeOnly); +use_old_TypeAliasDeclaration_TelemetryEventPropertyTypes( + get_current_TypeAliasDeclaration_TelemetryEventPropertyTypes()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TelemetryLogger": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_TelemetryLogger(): + TypeOnly; +declare function use_current_ClassDeclaration_TelemetryLogger( + use: TypeOnly); +use_current_ClassDeclaration_TelemetryLogger( + get_old_ClassDeclaration_TelemetryLogger()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TelemetryLogger": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_TelemetryLogger(): + TypeOnly; +declare function use_old_ClassDeclaration_TelemetryLogger( + use: TypeOnly); +use_old_ClassDeclaration_TelemetryLogger( + get_current_ClassDeclaration_TelemetryLogger()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TelemetryUTLogger": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_TelemetryUTLogger(): + TypeOnly; +declare function use_current_ClassDeclaration_TelemetryUTLogger( + use: TypeOnly); +use_current_ClassDeclaration_TelemetryUTLogger( + get_old_ClassDeclaration_TelemetryUTLogger()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_TelemetryUTLogger": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_TelemetryUTLogger(): + TypeOnly; +declare function use_old_ClassDeclaration_TelemetryUTLogger( + use: TypeOnly); +use_old_ClassDeclaration_TelemetryUTLogger( + get_current_ClassDeclaration_TelemetryUTLogger()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ThresholdCounter": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_ThresholdCounter(): + TypeOnly; +declare function use_current_ClassDeclaration_ThresholdCounter( + use: TypeOnly); +use_current_ClassDeclaration_ThresholdCounter( + get_old_ClassDeclaration_ThresholdCounter()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_ThresholdCounter": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_ThresholdCounter(): + TypeOnly; +declare function use_old_ClassDeclaration_ThresholdCounter( + use: TypeOnly); +use_old_ClassDeclaration_ThresholdCounter( + get_current_ClassDeclaration_ThresholdCounter()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_wrapError": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_wrapError(): + TypeOnly; +declare function use_current_FunctionDeclaration_wrapError( + use: TypeOnly); +use_current_FunctionDeclaration_wrapError( + get_old_FunctionDeclaration_wrapError()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_wrapError": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_wrapError(): + TypeOnly; +declare function use_old_FunctionDeclaration_wrapError( + use: TypeOnly); +use_old_FunctionDeclaration_wrapError( + get_current_FunctionDeclaration_wrapError()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_wrapErrorAndLog": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_wrapErrorAndLog(): + TypeOnly; +declare function use_current_FunctionDeclaration_wrapErrorAndLog( + use: TypeOnly); +use_current_FunctionDeclaration_wrapErrorAndLog( + get_old_FunctionDeclaration_wrapErrorAndLog()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_wrapErrorAndLog": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_wrapErrorAndLog(): + TypeOnly; +declare function use_old_FunctionDeclaration_wrapErrorAndLog( + use: TypeOnly); +use_old_FunctionDeclaration_wrapErrorAndLog( + get_current_FunctionDeclaration_wrapErrorAndLog()); diff --git a/packages/utils/tool-utils/package.json b/packages/utils/tool-utils/package.json index 6bb8b56bc635..ca23cf30997c 100644 --- a/packages/utils/tool-utils/package.json +++ b/packages/utils/tool-utils/package.json @@ -32,7 +32,7 @@ "lint:fix": "npm run eslint:fix", "test": "npm run test:mocha", "test:coverage": "nyc npm run test:report", - "test:mocha": "mocha --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", + "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict", "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha", "test:report": "npm test -- -- --reporter xunit --reporter-option output=nyc/mocha-junit-report.xml", "tsc": "tsc", @@ -73,6 +73,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.58.3000", + "@fluidframework/tool-utils-previous": "npm:@fluidframework/tool-utils@0.58.2000", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/debug": "^4.1.5", @@ -96,5 +97,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.58.3000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/utils/tool-utils/src/test/types/validateToolUtilsPrevious.ts b/packages/utils/tool-utils/src/test/types/validateToolUtilsPrevious.ts new file mode 100644 index 000000000000..4cfb1ab66641 --- /dev/null +++ b/packages/utils/tool-utils/src/test/types/validateToolUtilsPrevious.ts @@ -0,0 +1,327 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ +/* + * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + * Generated by fluid-type-validator in @fluidframework/build-tools. + */ +/* eslint-disable max-lines */ +import * as old from "@fluidframework/tool-utils-previous"; +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_gcBlobPrefix": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_gcBlobPrefix(): + TypeOnly; +declare function use_current_VariableDeclaration_gcBlobPrefix( + use: TypeOnly); +use_current_VariableDeclaration_gcBlobPrefix( + get_old_VariableDeclaration_gcBlobPrefix()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_gcBlobPrefix": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_gcBlobPrefix(): + TypeOnly; +declare function use_old_VariableDeclaration_gcBlobPrefix( + use: TypeOnly); +use_old_VariableDeclaration_gcBlobPrefix( + get_current_VariableDeclaration_gcBlobPrefix()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getMicrosoftConfiguration": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_getMicrosoftConfiguration(): + TypeOnly; +declare function use_current_VariableDeclaration_getMicrosoftConfiguration( + use: TypeOnly); +use_current_VariableDeclaration_getMicrosoftConfiguration( + get_old_VariableDeclaration_getMicrosoftConfiguration()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_getMicrosoftConfiguration": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_getMicrosoftConfiguration(): + TypeOnly; +declare function use_old_VariableDeclaration_getMicrosoftConfiguration( + use: TypeOnly); +use_old_VariableDeclaration_getMicrosoftConfiguration( + get_current_VariableDeclaration_getMicrosoftConfiguration()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getNormalizedSnapshot": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_getNormalizedSnapshot(): + TypeOnly; +declare function use_current_FunctionDeclaration_getNormalizedSnapshot( + use: TypeOnly); +use_current_FunctionDeclaration_getNormalizedSnapshot( + get_old_FunctionDeclaration_getNormalizedSnapshot()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_getNormalizedSnapshot": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_getNormalizedSnapshot(): + TypeOnly; +declare function use_old_FunctionDeclaration_getNormalizedSnapshot( + use: TypeOnly); +use_old_FunctionDeclaration_getNormalizedSnapshot( + get_current_FunctionDeclaration_getNormalizedSnapshot()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IAsyncCache": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IAsyncCache(): + TypeOnly>; +declare function use_current_InterfaceDeclaration_IAsyncCache( + use: TypeOnly>); +use_current_InterfaceDeclaration_IAsyncCache( + get_old_InterfaceDeclaration_IAsyncCache()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IAsyncCache": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IAsyncCache(): + TypeOnly>; +declare function use_old_InterfaceDeclaration_IAsyncCache( + use: TypeOnly>); +use_old_InterfaceDeclaration_IAsyncCache( + get_current_InterfaceDeclaration_IAsyncCache()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOdspTokenManagerCacheKey": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IOdspTokenManagerCacheKey(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IOdspTokenManagerCacheKey( + use: TypeOnly); +use_current_InterfaceDeclaration_IOdspTokenManagerCacheKey( + get_old_InterfaceDeclaration_IOdspTokenManagerCacheKey()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IOdspTokenManagerCacheKey": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IOdspTokenManagerCacheKey(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IOdspTokenManagerCacheKey( + use: TypeOnly); +use_old_InterfaceDeclaration_IOdspTokenManagerCacheKey( + get_current_InterfaceDeclaration_IOdspTokenManagerCacheKey()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IResources": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IResources(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IResources( + use: TypeOnly); +use_current_InterfaceDeclaration_IResources( + get_old_InterfaceDeclaration_IResources()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_IResources": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IResources(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IResources( + use: TypeOnly); +use_old_InterfaceDeclaration_IResources( + get_current_InterfaceDeclaration_IResources()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISnapshotNormalizerConfig": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_ISnapshotNormalizerConfig(): + TypeOnly; +declare function use_current_InterfaceDeclaration_ISnapshotNormalizerConfig( + use: TypeOnly); +use_current_InterfaceDeclaration_ISnapshotNormalizerConfig( + get_old_InterfaceDeclaration_ISnapshotNormalizerConfig()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "InterfaceDeclaration_ISnapshotNormalizerConfig": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ISnapshotNormalizerConfig(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ISnapshotNormalizerConfig( + use: TypeOnly); +use_old_InterfaceDeclaration_ISnapshotNormalizerConfig( + get_current_InterfaceDeclaration_ISnapshotNormalizerConfig()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_loadRC": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_loadRC(): + TypeOnly; +declare function use_current_FunctionDeclaration_loadRC( + use: TypeOnly); +use_current_FunctionDeclaration_loadRC( + get_old_FunctionDeclaration_loadRC()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_loadRC": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_loadRC(): + TypeOnly; +declare function use_old_FunctionDeclaration_loadRC( + use: TypeOnly); +use_old_FunctionDeclaration_loadRC( + get_current_FunctionDeclaration_loadRC()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_lockRC": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_lockRC(): + TypeOnly; +declare function use_current_FunctionDeclaration_lockRC( + use: TypeOnly); +use_current_FunctionDeclaration_lockRC( + get_old_FunctionDeclaration_lockRC()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_lockRC": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_lockRC(): + TypeOnly; +declare function use_old_FunctionDeclaration_lockRC( + use: TypeOnly); +use_old_FunctionDeclaration_lockRC( + get_current_FunctionDeclaration_lockRC()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_OdspTokenConfig": {"forwardCompat": false} +*/ +declare function get_old_TypeAliasDeclaration_OdspTokenConfig(): + TypeOnly; +declare function use_current_TypeAliasDeclaration_OdspTokenConfig( + use: TypeOnly); +use_current_TypeAliasDeclaration_OdspTokenConfig( + get_old_TypeAliasDeclaration_OdspTokenConfig()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "TypeAliasDeclaration_OdspTokenConfig": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_OdspTokenConfig(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_OdspTokenConfig( + use: TypeOnly); +use_old_TypeAliasDeclaration_OdspTokenConfig( + get_current_TypeAliasDeclaration_OdspTokenConfig()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OdspTokenManager": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_OdspTokenManager(): + TypeOnly; +declare function use_current_ClassDeclaration_OdspTokenManager( + use: TypeOnly); +use_current_ClassDeclaration_OdspTokenManager( + get_old_ClassDeclaration_OdspTokenManager()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "ClassDeclaration_OdspTokenManager": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_OdspTokenManager(): + TypeOnly; +declare function use_old_ClassDeclaration_OdspTokenManager( + use: TypeOnly); +use_old_ClassDeclaration_OdspTokenManager( + get_current_ClassDeclaration_OdspTokenManager()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_odspTokensCache": {"forwardCompat": false} +*/ +declare function get_old_VariableDeclaration_odspTokensCache(): + TypeOnly; +declare function use_current_VariableDeclaration_odspTokensCache( + use: TypeOnly); +use_current_VariableDeclaration_odspTokensCache( + get_old_VariableDeclaration_odspTokensCache()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "VariableDeclaration_odspTokensCache": {"backCompat": false} +*/ +declare function get_current_VariableDeclaration_odspTokensCache(): + TypeOnly; +declare function use_old_VariableDeclaration_odspTokensCache( + use: TypeOnly); +use_old_VariableDeclaration_odspTokensCache( + get_current_VariableDeclaration_odspTokensCache()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_saveRC": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_saveRC(): + TypeOnly; +declare function use_current_FunctionDeclaration_saveRC( + use: TypeOnly); +use_current_FunctionDeclaration_saveRC( + get_old_FunctionDeclaration_saveRC()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2000: +* "FunctionDeclaration_saveRC": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_saveRC(): + TypeOnly; +declare function use_old_FunctionDeclaration_saveRC( + use: TypeOnly); +use_old_FunctionDeclaration_saveRC( + get_current_FunctionDeclaration_saveRC());