From dbb95bf655a4d4107675cbbba5580cd66aff54a0 Mon Sep 17 00:00:00 2001 From: Helio Liu <59622401+heliocliu@users.noreply.github.com> Date: Tue, 5 Apr 2022 22:10:29 -0700 Subject: [PATCH] Integrate main to next up to the type validator changes (#9751) * Type Validation Tool Improvements (#9674) Make core type validation logic async to support parallelism on io, and make main loop parrallel Improve error handling in core type validation logic Enable loading from packages without source (from .d.ts) as we strip source from some packages, like aqueduct Improve type handling, specifically add TypeOnly utility the recursively turns all types into typescript types, otherwise we hit problems with privates on classes. Switch to single back compat test (Previous). The old format was overkill. In this new way every version will validation only it's previous, which will create a chain of validations between all versions. We have functional e2e test that validate back compat requirements which are runtime, not compile time. To see changes in action look at #9673 * Add stress test for testing new fluid binary wire format (#9391) * Disbale batching test (#9678) * Fixing runWithRetry with abort signal when container closes (#9195) * Reenable unbound method lint rule and preemptive fixes (#9689) * [GitRest] Refactoring APIs to support storage name header (#9672) * [GitRest] Refactoring APIs to support storage name header * Addressing comments * [r11s] Allowing getOrCreateRepo to handle headers (#9691) * 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 * Fix type validator issues * Additional type validator fixes Co-authored-by: Tony Murphy Co-authored-by: Jatin Garg <48029724+jatgarg@users.noreply.github.com> Co-authored-by: chensixx <34214774+chensixx@users.noreply.github.com> Co-authored-by: Matt Rakow Co-authored-by: Henrique Da Silveira <41453887+hedasilv@users.noreply.github.com> --- api-report/container-loader.api.md | 2 + api-report/driver-utils.api.md | 2 +- common/build/eslint-config-fluid/eslint7.js | 7 +- .../eslint-config-fluid/package-lock.json | 5 - .../packages/property-changeset/.eslintrc.js | 1 + .../property-properties/.eslintignore | 1 + .../packages/property-properties/.eslintrc.js | 1 + lerna-package-lock.json | 5849 ++++++++++++----- package-lock.json | 81 +- package.json | 4 +- packages/dds/cell/package.json | 9 +- packages/dds/cell/src/test/tsconfig.json | 3 +- .../src/test/types/validateCellPrevious.ts | 87 + packages/dds/counter/package.json | 9 +- packages/dds/counter/src/test/tsconfig.json | 3 +- .../src/test/types/validateCounterPrevious.ts | 87 + packages/dds/ink/package.json | 9 +- packages/dds/ink/src/test/tsconfig.json | 3 +- .../ink/src/test/types/validateInkPrevious.ts | 327 + packages/dds/map/package.json | 13 +- packages/dds/map/src/test/tsconfig.json | 3 +- .../map/src/test/types/validateMapPrevious.ts | 448 ++ packages/dds/matrix/package.json | 7 +- packages/dds/matrix/src/test/tsconfig.json | 3 +- .../src/test/types/validateMatrixPrevious.ts | 135 + packages/dds/merge-tree/package.json | 10 +- packages/dds/merge-tree/src/client.ts | 2 + packages/dds/merge-tree/src/collections.ts | 2 + packages/dds/merge-tree/src/partialLengths.ts | 2 + .../dds/merge-tree/src/test/testClient.ts | 1 + .../dds/merge-tree/src/test/testServer.ts | 1 + packages/dds/ordered-collection/package.json | 9 +- .../ordered-collection/src/test/tsconfig.json | 3 +- .../validateOrderedCollectionPrevious.ts | 279 + packages/dds/register-collection/package.json | 9 +- .../src/test/tsconfig.json | 3 +- .../validateRegisterCollectionPrevious.ts | 159 + packages/dds/sequence/package.json | 8 +- .../dds/sequence/src/intervalCollection.ts | 7 +- packages/dds/shared-object-base/package.json | 9 +- .../shared-object-base/src/test/tsconfig.json | 3 +- .../types/validateSharedObjectBasePrevious.ts | 351 + .../dds/shared-summary-block/package.json | 9 +- .../src/test/tsconfig.json | 3 +- .../validateSharedSummaryBlockPrevious.ts | 87 + packages/dds/task-manager/package.json | 9 +- .../dds/task-manager/src/test/tsconfig.json | 3 +- .../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 + .../drivers/driver-web-cache/package.json | 7 +- .../types/validateDriverWebCachePrevious.ts | 87 + 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 +- .../odsp-driver/src/compactSnapshotParser.ts | 18 +- .../odsp-driver/src/odspDocumentService.ts | 2 +- .../test/types/validateOdspDriverPrevious.ts | 663 ++ .../drivers/odsp-urlResolver/package.json | 9 +- .../types/validateOdspUrlresolverPrevious.ts | 63 + packages/drivers/replay-driver/package.json | 11 +- .../types/validateReplayDriverPrevious.ts | 256 + .../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 | 15 +- .../framework/aqueduct/src/test/tsconfig.json | 3 +- .../test/types/validateAqueductPrevious.ts | 496 ++ packages/framework/azure-client/package.json | 7 +- .../azure-client/src/test/tsconfig.json | 3 +- .../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/.eslintrc.js | 3 + .../framework/data-object-base/package.json | 12 +- .../data-object-base/src/test/tsconfig.json | 22 + .../types/validateDataObjectBasePrevious.ts | 87 + .../data-object-base/tsconfig.es5.json | 2 +- .../framework/data-object-base/tsconfig.json | 6 +- .../framework/dds-interceptions/package.json | 7 +- .../dds-interceptions/src/test/tsconfig.json | 3 +- .../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/.eslintrc.js | 2 +- packages/framework/fluid-static/package.json | 10 +- .../fluid-static/src/test/tsconfig.json | 21 + .../test/types/validateFluidStaticPrevious.ts | 447 ++ packages/framework/fluid-static/tsconfig.json | 3 +- .../framework/request-handler/package.json | 9 +- .../request-handler/src/test/tsconfig.json | 3 +- .../types/validateRequestHandlerPrevious.ts | 159 + packages/framework/synthesize/package.json | 9 +- .../synthesize/src/dependencyContainer.ts | 2 +- .../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 +- .../tinylicious-client/src/test/tsconfig.json | 3 +- .../validateTinyliciousClientPrevious.ts | 231 + packages/framework/undo-redo/package.json | 13 +- .../undo-redo/src/test/tsconfig.json | 3 +- .../test/types/validateUndoRedoPrevious.ts | 160 + 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 +- .../loader/container-loader/src/container.ts | 8 +- .../container-loader/src/deltaManager.ts | 2 +- .../src/retriableDocumentStorageService.ts | 2 +- .../container-loader/src/test/tsconfig.json | 3 +- .../types/validateContainerLoaderPrevious.ts | 329 + packages/loader/container-utils/package.json | 9 +- .../container-utils/src/test/tsconfig.json | 3 +- .../types/validateContainerUtilsPrevious.ts | 183 + packages/loader/driver-utils/package.json | 10 +- .../loader/driver-utils/src/runWithRetry.ts | 18 +- .../src/test/runWithRetry.spec.ts | 6 +- .../test/types/validateDriverUtilsPrevious.ts | 1071 +++ .../loader/test-loader-utils/package.json | 7 +- .../types/validateTestLoaderUtilsPrevious.ts | 87 + packages/loader/web-code-loader/.eslintrc.js | 5 +- packages/loader/web-code-loader/package.json | 10 +- .../web-code-loader/src/test/tsconfig.json | 19 + .../types/validateWebCodeLoaderPrevious.ts | 159 + packages/loader/web-code-loader/tsconfig.json | 6 +- packages/runtime/agent-scheduler/.eslintrc.js | 3 + packages/runtime/agent-scheduler/package.json | 10 +- .../agent-scheduler/src/test/tsconfig.json | 22 + .../types/validateAgentSchedulerPrevious.ts | 183 + .../runtime/agent-scheduler/tsconfig.json | 6 +- .../package.json | 125 +- .../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} | 82 +- .../runtime/container-runtime/package.json | 9 +- .../container-runtime/src/containerRuntime.ts | 7 +- .../src/test/batchTracker.spec.ts | 1 + .../src/test/containerRuntime.spec.ts | 2 + .../src/test/dataStoreContext.spec.ts | 3 + .../src/test/dataStoreCreation.spec.ts | 1 + .../container-runtime/src/test/tsconfig.json | 3 +- .../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 +- .../runtime/datastore/src/test/tsconfig.json | 3 +- .../test/types/validateDatastorePrevious.ts | 159 + .../runtime/garbage-collector/package.json | 9 +- .../garbage-collector/src/test/tsconfig.json | 3 +- .../types/validateGarbageCollectorPrevious.ts | 231 + .../runtime/runtime-definitions/package.json | 463 +- .../src/test/types/validate0.51.1.ts | 924 --- .../src/test/types/validate0.52.0.ts | 924 --- .../src/test/types/validate0.53.0.ts | 972 --- .../src/test/types/validate0.54.0.ts | 972 --- .../src/test/types/validate0.55.0.ts | 996 --- .../src/test/types/validate0.56.0.ts | 996 --- .../src/test/types/validate0.57.0.ts | 996 --- ... => validateRuntimeDefinitionsPrevious.ts} | 515 +- packages/runtime/runtime-utils/package.json | 13 +- .../runtime-utils/src/test/tsconfig.json | 3 +- .../types/validateRuntimeUtilsPrevious.ts | 784 +++ .../runtime/test-runtime-utils/package.json | 13 +- .../test-runtime-utils/src/test/tsconfig.json | 3 +- .../types/validateTestRuntimeUtilsPrevious.ts | 424 ++ 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/odspDriverApi.ts | 2 +- .../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 | 5 +- .../src/test/batching.spec.ts | 3 +- .../src/test/sharedStringLoading.spec.ts | 3 +- .../test/test-pairwise-generator/package.json | 7 +- .../validateTestPairwiseGeneratorPrevious.ts | 111 + .../test-service-load/src/optionsMatrix.ts | 12 + packages/test/test-service-load/src/runner.ts | 9 +- .../test-service-load/src/testConfigFile.ts | 6 +- packages/test/test-service-load/src/utils.ts | 11 +- .../test/test-service-load/testConfig.json | 14 + packages/test/test-utils/.eslintrc.js | 5 +- packages/test/test-utils/package.json | 16 +- .../test-utils/src/loaderContainerTracker.ts | 2 + .../test/test-utils/src/test/tsconfig.json | 19 + .../test/types/validateTestUtilsPrevious.ts | 666 ++ packages/test/test-utils/tsconfig.json | 8 +- packages/test/test-version-utils/.eslintrc.js | 3 + packages/test/test-version-utils/package.json | 16 +- packages/test/test-version-utils/src/index.ts | 1 - .../test-version-utils/src/test/tsconfig.json | 19 + .../types/validateTestVersionUtilsPrevious.ts | 476 ++ .../tools/webpack-fluid-loader/package.json | 9 +- .../src/test/tsconfig.json | 3 +- .../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 + .../gitrest/packages/gitrest-base/src/app.ts | 6 +- .../gitrest-base/src/routes/git/blobs.ts | 23 +- .../gitrest-base/src/routes/git/commits.ts | 14 +- .../gitrest-base/src/routes/git/refs.ts | 54 +- .../gitrest-base/src/routes/git/repos.ts | 17 +- .../gitrest-base/src/routes/git/tags.ts | 14 +- .../gitrest-base/src/routes/git/trees.ts | 14 +- .../packages/gitrest-base/src/routes/index.ts | 6 +- .../src/routes/repository/commits.ts | 16 +- .../src/routes/repository/contents.ts | 16 +- .../gitrest-base/src/routes/summaries.ts | 92 +- .../packages/gitrest-base/src/runner.ts | 6 +- .../gitrest-base/src/runnerFactory.ts | 16 +- .../gitrest-base/src/test/routes.spec.ts | 13 +- .../gitrest-base/src/utils/definitions.ts | 23 +- .../gitrest-base/src/utils/helpers.ts | 22 +- .../packages/gitrest-base/src/utils/index.ts | 3 +- .../src/utils/isomorphicgitManager.ts | 34 +- .../src/utils/nodeFsManagerFactory.ts | 13 + .../gitrest-base/src/utils/nodegitManager.ts | 27 +- .../api-report/server-services-client.api.md | 2 +- .../packages/protocol-base/src/quorum.ts | 1 + .../packages/services-client/src/historian.ts | 2 +- .../packages/services-client/src/utils.ts | 12 +- .../src/rdkafkaProducer.ts | 2 + .../src/typeValidator/packageJson.ts | 98 +- .../src/typeValidator/packageValidator.ts | 8 +- .../src/typeValidator/repoValidator.ts | 8 +- .../src/typeValidator/testGeneration.ts | 48 +- .../build-tools/src/typeValidator/typeData.ts | 76 +- .../src/typeValidator/typeValidator.ts | 74 +- 276 files changed, 23848 insertions(+), 12754 deletions(-) create mode 100644 experimental/PropertyDDS/packages/property-properties/.eslintignore 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/driver-web-cache/src/test/types/validateDriverWebCachePrevious.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/tsconfig.json 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/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/tsconfig.json create mode 100644 packages/loader/web-code-loader/src/test/types/validateWebCodeLoaderPrevious.ts create mode 100644 packages/runtime/agent-scheduler/src/test/tsconfig.json 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 create mode 100644 server/gitrest/packages/gitrest-base/src/utils/nodeFsManagerFactory.ts diff --git a/api-report/container-loader.api.md b/api-report/container-loader.api.md index 1b717953a6cb..90207f022f25 100644 --- a/api-report/container-loader.api.md +++ b/api-report/container-loader.api.md @@ -65,6 +65,8 @@ export class Container extends EventEmitterWithErrorHandling i // (undocumented) get closed(): boolean; // (undocumented) + get closeSignal(): AbortSignal; + // (undocumented) get connected(): boolean; // (undocumented) get connectionState(): ConnectionState; diff --git a/api-report/driver-utils.api.md b/api-report/driver-utils.api.md index 03b3445f4659..cdfccf288acb 100644 --- a/api-report/driver-utils.api.md +++ b/api-report/driver-utils.api.md @@ -214,7 +214,7 @@ export class InsecureUrlResolver implements IUrlResolver { // @public export interface IProgress { cancel?: AbortSignal; - retry?(delayInMs: number, error: any): void; + onRetry?(delayInMs: number, error: any): void; } // @public (undocumented) diff --git a/common/build/eslint-config-fluid/eslint7.js b/common/build/eslint-config-fluid/eslint7.js index d3e100284fad..5a0345828422 100644 --- a/common/build/eslint-config-fluid/eslint7.js +++ b/common/build/eslint-config-fluid/eslint7.js @@ -139,7 +139,12 @@ module.exports = { "@typescript-eslint/strict-boolean-expressions": "error", "@typescript-eslint/triple-slash-reference": "error", "@typescript-eslint/type-annotation-spacing": "error", - "@typescript-eslint/unbound-method": "off", + "@typescript-eslint/unbound-method": [ + "error", + { + "ignoreStatic": true + } + ], "@typescript-eslint/unified-signatures": "error", // eslint-plugin-eslint-comments diff --git a/common/build/eslint-config-fluid/package-lock.json b/common/build/eslint-config-fluid/package-lock.json index 1a2197a762f4..bcac58929030 100644 --- a/common/build/eslint-config-fluid/package-lock.json +++ b/common/build/eslint-config-fluid/package-lock.json @@ -927,11 +927,6 @@ } } }, - "eslint-plugin-no-null": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-no-null/-/eslint-plugin-no-null-1.0.2.tgz", - "integrity": "sha1-EjaoEjkTkKGHetQAfCbnRTQclR8=" - }, "eslint-plugin-promise": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-6.0.0.tgz", diff --git a/experimental/PropertyDDS/packages/property-changeset/.eslintrc.js b/experimental/PropertyDDS/packages/property-changeset/.eslintrc.js index 0992b1d3d1f5..3b71e994d424 100644 --- a/experimental/PropertyDDS/packages/property-changeset/.eslintrc.js +++ b/experimental/PropertyDDS/packages/property-changeset/.eslintrc.js @@ -30,6 +30,7 @@ module.exports = { "@typescript-eslint/quotes": "off", "@typescript-eslint/restrict-plus-operands": "off", "@typescript-eslint/strict-boolean-expressions": "off", + "@typescript-eslint/unbound-method": "off", "@typescript-eslint/unified-signatures": "off", "eqeqeq": "off", "import/no-internal-modules": "off", diff --git a/experimental/PropertyDDS/packages/property-properties/.eslintignore b/experimental/PropertyDDS/packages/property-properties/.eslintignore new file mode 100644 index 000000000000..b8b6af35d10c --- /dev/null +++ b/experimental/PropertyDDS/packages/property-properties/.eslintignore @@ -0,0 +1 @@ +src/index.d.ts diff --git a/experimental/PropertyDDS/packages/property-properties/.eslintrc.js b/experimental/PropertyDDS/packages/property-properties/.eslintrc.js index 7e0f46c61204..5dc9e481cb10 100644 --- a/experimental/PropertyDDS/packages/property-properties/.eslintrc.js +++ b/experimental/PropertyDDS/packages/property-properties/.eslintrc.js @@ -32,6 +32,7 @@ module.exports = { "@typescript-eslint/quotes": "off", "@typescript-eslint/restrict-plus-operands": "off", "@typescript-eslint/strict-boolean-expressions": "off", + "@typescript-eslint/unbound-method": "off", "guard-for-in": "off", "import/no-duplicates": "off", "import/no-internal-modules": "off", diff --git a/lerna-package-lock.json b/lerna-package-lock.json index a61d2a448b56..a3fb595ade42 100644 --- a/lerna-package-lock.json +++ b/lerna-package-lock.json @@ -1909,592 +1909,368 @@ "tslib": "^1.10.0" } }, - "@fluidframework/azure-local-service": { - "version": "0.1.38773", - "resolved": "https://registry.npmjs.org/@fluidframework/azure-local-service/-/azure-local-service-0.1.38773.tgz", - "integrity": "sha512-k6TmPOcU1LA5eFmD0IPDoauG6Mk5VkB9q2pADN0gJmyfh5HE11/YrtM3Bo/a2M5E65BrdqkpY7vSPH89rPf2jw==", - "requires": { - "tinylicious": "^0.4.38350" - } - }, - "@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==", - "dev": true, - "requires": { - "@fluidframework/bundle-size-tools": "^0.0.8505", - "async": "^3.2.0", - "chalk": "^2.4.2", - "commander": "^6.2.1", - "danger": "^10.9.0", - "fs-extra": "^9.0.1", - "glob": "^7.1.3", - "ignore": "^5.1.8", - "json5": "^2.1.3", - "lodash.isequal": "^4.5.0", - "lodash.merge": "^4.6.2", - "minimatch": "^3.0.4", - "npm-package-json-lint": "^6.0.0", - "replace-in-file": "^6.0.0", - "rimraf": "^2.6.2", - "semver": "^7.1.2", - "shelljs": "^0.8.4", - "sort-package-json": "1.54.0", - "ts-morph": "^7.1.2" - }, - "dependencies": { - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "commander": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", - "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", - "dev": true - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "@fluidframework/bundle-size-tools": { - "version": "0.0.8505", - "resolved": "https://registry.npmjs.org/@fluidframework/bundle-size-tools/-/bundle-size-tools-0.0.8505.tgz", - "integrity": "sha512-B99xAInCdQPtNdr42V7hezxyQQFWHbt1CoWcrOxJEL8w6qk/F1/fA/0x36H8LJdud+rywzEEenWYRdWs8J31dw==", - "requires": { - "assert": "^2.0.0", - "azure-devops-node-api": "^10.1.0", - "jszip": "^3.2.2", - "msgpack-lite": "^0.1.26", - "pako": "^1.0.10", - "typescript": "^3.7.4" - }, - "dependencies": { - "assert": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/assert/-/assert-2.0.0.tgz", - "integrity": "sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A==", - "requires": { - "es6-object-assign": "^1.1.0", - "is-nan": "^1.2.1", - "object-is": "^1.0.1", - "util": "^0.12.0" - } - }, - "typescript": { - "version": "3.9.9", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.9.tgz", - "integrity": "sha512-kdMjTiekY+z/ubJCATUPlRDl39vXYiMV9iyeMuEuXZh2we6zz80uovNN2WlAxmmdE/Z/YQe+EbOEXB5RHEED3w==" - } - } - }, - "@fluidframework/common-definitions": { - "version": "0.20.1", - "resolved": "https://registry.npmjs.org/@fluidframework/common-definitions/-/common-definitions-0.20.1.tgz", - "integrity": "sha512-KaoQ7w2MDH5OeRKVatL5yVOCFg+9wD6bLSLFh1/TV1EZM46l49iBqO7UVjUtPE6BIm0jvvOzJXULGVSpzokX3g==" - }, - "@fluidframework/common-utils": { - "version": "0.32.1", - "resolved": "https://registry.npmjs.org/@fluidframework/common-utils/-/common-utils-0.32.1.tgz", - "integrity": "sha512-8m7nTGLyzQqjGX9qZmE1L65IfSxrcEo35MtCVmH0qfttfVqEFghxXAgtmrcfvKkg6NUDTmb13hdyNx0hZlky7w==", + "@fluid-experimental/task-manager-previous": { + "version": "npm:@fluid-experimental/task-manager@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluid-experimental/task-manager/-/task-manager-0.58.2002.tgz", + "integrity": "sha512-0biEG/1GAOGzl+cU9FhdydtVYmlKAhzA70Pjiu67PByTH8/HU1tzUwsTUk6qI6bDNiMsqoKepMRWS3c7OyzShw==", "requires": { "@fluidframework/common-definitions": "^0.20.1", - "@types/events": "^3.0.0", - "base64-js": "^1.5.1", - "events": "^3.1.0", - "lodash": "^4.17.21", - "sha.js": "^2.4.11" - }, - "dependencies": { - "base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" - } - } - }, - "@fluidframework/container-definitions": { - "version": "0.48.1000-59255", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.48.1000-59255.tgz", - "integrity": "sha512-kP3Xt2lJxWPdgIXEvKj7urZFmXjKcfmdqurQW/JQV04Brjf0Kol5FUMvhmYeWHDnxnzEwXkYu/D6hbUcgWaskA==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", + "@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/driver-definitions": "^0.46.1000-0", - "@fluidframework/protocol-definitions": "^0.1028.1000-0" - } - }, - "@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==", - "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/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" }, "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==", + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", "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": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, - "@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/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, "@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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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/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==", + "@fluid-tools/fluidapp-odsp-urlresolver-previous": { + "version": "npm:@fluid-tools/fluidapp-odsp-urlresolver@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluid-tools/fluidapp-odsp-urlresolver/-/fluidapp-odsp-urlresolver-0.58.2002.tgz", + "integrity": "sha512-Fi33ULEkytY80fGZtYcpaUYuw0kUeQt+0t3RSspV4a9k/u8QK6EcSJwcDRa1dWvFz92E9UcwrnTy43RbS6EJNA==", "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/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/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/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, "@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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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" - } - }, - "@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==", + "@fluid-tools/webpack-fluid-loader-previous": { + "version": "npm:@fluid-tools/webpack-fluid-loader@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluid-tools/webpack-fluid-loader/-/webpack-fluid-loader-0.58.2002.tgz", + "integrity": "sha512-0O/jvgBaYBWlJoDYwJcBD6cLuyTS0pZDho1PLJWeavFu/Bv38pZhswGdZOFTeFEwwlaEI+f8E2+usxbqGjW0WA==", "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/aqueduct": "^0.58.2002", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-loader": "^0.58.2002", + "@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/protocol-definitions": "^0.1027.1000", + "@fluidframework/routerlicious-driver": "^0.58.2002", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/server-local-server": "^0.1035.1000", + "@fluidframework/server-services-client": "^0.1035.1000", + "@fluidframework/test-runtime-utils": "^0.58.2002", + "@fluidframework/tool-utils": "^0.58.2002", + "@fluidframework/view-adapters": "^0.58.2002", + "@fluidframework/view-interfaces": "^0.58.2002", + "@fluidframework/web-code-loader": "^0.58.2002", + "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/container-definitions": { - "version": "0.43.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.43.0.tgz", - "integrity": "sha512-MzVGTRJ2WxiCXmLTlCmkrLjizRDC2Dht6fFYEvyYGw+92xt3QZHe3D0Sjd389dZe1kyMRlhsFAyuKytEPf7N4w==", + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", "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": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, - "@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/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, - "@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/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" }, - "@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==", + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", "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" - } - }, - "@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==", - "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", - "@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==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0" + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" } }, "@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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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==", + "@fluidframework/server-services-client": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1035.1000.tgz", + "integrity": "sha512-zYXg7hIA57+3I4OnZP4s4vRIt0kjK7dG0kia7V9HnrJ1V+1u19tZwDUuj8zEydPaMGyraIRP5We+z6aYeZhErQ==", "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/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "axios": "^0.26.0", + "crc-32": "1.2.0", + "debug": "^4.1.1", + "json-stringify-safe": "^5.0.1", + "jsrsasign": "^10.2.0", + "jwt-decode": "^3.0.0", + "sillyname": "^0.1.0", + "uuid": "^8.3.1" } + }, + "jwt-decode": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", + "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" } } }, - "@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/agent-scheduler-previous": { + "version": "npm:@fluidframework/agent-scheduler@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/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", - "@types/node": "^14.18.0" + "@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" }, "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==", + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", "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": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, - "@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/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, "@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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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/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/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/container-definitions": "^0.45.0", + "@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/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.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" }, "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==", + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", "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": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, "@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": "^0.1027.1000" } }, "@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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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/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/aqueduct-previous": { + "version": "npm:@fluidframework/aqueduct@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/container-definitions": "^0.46.0", + "@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/driver-definitions": "^0.44.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@fluidframework/runtime-definitions": "^0.57.0", - "@types/node": "^14.18.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" }, "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==", + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", "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": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, "@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": "^0.1027.1000" } }, "@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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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/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/azure-client-previous": { + "version": "npm:@fluidframework/azure-client@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/azure-client/-/azure-client-0.58.2002.tgz", + "integrity": "sha512-F+jGb+YPWpPY7jfJpTGGY9FVAf1YQjsQVB06y6ig0gLSl08u+CprCnrZ4l81vu1kwii+uKcgHpu8Pp4VLjo5KQ==", "requires": { "@fluidframework/common-definitions": "^0.20.1", "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-loader": "^0.58.2002", "@fluidframework/core-interfaces": "^0.42.0", "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/fluid-static": "^0.58.2002", + "@fluidframework/map": "^0.58.2002", "@fluidframework/protocol-definitions": "^0.1027.1000", - "@fluidframework/runtime-definitions": "^0.58.1000", - "@types/node": "^14.18.0" + "@fluidframework/routerlicious-driver": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/server-services-client": "^0.1035.1000", + "axios": "^0.26.0", + "uuid": "^8.3.1" }, "dependencies": { "@fluidframework/container-definitions": { @@ -2518,6 +2294,22 @@ "@fluidframework/protocol-definitions": "^0.1027.1000" } }, + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + }, "@fluidframework/protocol-definitions": { "version": "0.1027.1000", "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", @@ -2526,477 +2318,471 @@ "@fluidframework/common-definitions": "^0.20.0" } }, - "@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/server-services-client": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1035.1000.tgz", + "integrity": "sha512-zYXg7hIA57+3I4OnZP4s4vRIt0kjK7dG0kia7V9HnrJ1V+1u19tZwDUuj8zEydPaMGyraIRP5We+z6aYeZhErQ==", "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-definitions": "^0.45.1000", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", "@fluidframework/protocol-definitions": "^0.1027.1000", - "@types/node": "^14.18.0" + "axios": "^0.26.0", + "crc-32": "1.2.0", + "debug": "^4.1.1", + "json-stringify-safe": "^5.0.1", + "jsrsasign": "^10.2.0", + "jwt-decode": "^3.0.0", + "sillyname": "^0.1.0", + "uuid": "^8.3.1" } + }, + "jwt-decode": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", + "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" } } }, - "@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/azure-local-service": { + "version": "0.1.38773", + "resolved": "https://registry.npmjs.org/@fluidframework/azure-local-service/-/azure-local-service-0.1.38773.tgz", + "integrity": "sha512-k6TmPOcU1LA5eFmD0IPDoauG6Mk5VkB9q2pADN0gJmyfh5HE11/YrtM3Bo/a2M5E65BrdqkpY7vSPH89rPf2jw==", + "requires": { + "tinylicious": "^0.4.38350" + } }, - "@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/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/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/protocol-definitions": "^0.1027.1000", + "jsrsasign": "^10.2.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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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/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/azure-service-utils-previous": { + "version": "npm:@fluidframework/azure-service-utils@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/azure-service-utils/-/azure-service-utils-0.58.2002.tgz", + "integrity": "sha512-2KrKPi0ua0GWMAoCRAOc5SHkW1WgcQycmKAAICe6VfiReb1bWwgPSdIUj4NNdmDFM2ulq6p5iuilvMcahoNk9w==", "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/protocol-definitions": "^0.1027.1000", + "jsrsasign": "^10.2.0" }, "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==", - "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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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" - } - }, - "@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/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.59529", + "resolved": "https://registry.npmjs.org/@fluidframework/build-tools/-/build-tools-0.2.59529.tgz", + "integrity": "sha512-YxXdjoVGVKp3cnLtFccsfeVf6niN1n0jBJ5DiZIPLloQnceFKA94e3tO4k68rVEYXxTm8/SfdD0s56cowWwmhw==", + "dev": true, "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/bundle-size-tools": "^0.0.8505", + "async": "^3.2.0", + "chalk": "^2.4.2", + "commander": "^6.2.1", + "danger": "^10.9.0", + "fs-extra": "^9.0.1", + "glob": "^7.1.3", + "ignore": "^5.1.8", + "json5": "^2.1.3", + "lodash.isequal": "^4.5.0", + "lodash.merge": "^4.6.2", + "minimatch": "^3.0.4", + "npm-package-json-lint": "^6.0.0", + "replace-in-file": "^6.0.0", + "rimraf": "^2.6.2", + "semver": "^7.1.2", + "shelljs": "^0.8.4", + "sort-package-json": "1.54.0", + "ts-morph": "^7.1.2" }, "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==", + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, "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" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.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==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0" - } + "commander": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", + "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", + "dev": true }, - "@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==", + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, "requires": { - "@fluidframework/common-definitions": "^0.20.0" + "has-flag": "^3.0.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==", + } + } + }, + "@fluidframework/bundle-size-tools": { + "version": "0.0.8505", + "resolved": "https://registry.npmjs.org/@fluidframework/bundle-size-tools/-/bundle-size-tools-0.0.8505.tgz", + "integrity": "sha512-B99xAInCdQPtNdr42V7hezxyQQFWHbt1CoWcrOxJEL8w6qk/F1/fA/0x36H8LJdud+rywzEEenWYRdWs8J31dw==", + "requires": { + "assert": "^2.0.0", + "azure-devops-node-api": "^10.1.0", + "jszip": "^3.2.2", + "msgpack-lite": "^0.1.26", + "pako": "^1.0.10", + "typescript": "^3.7.4" + }, + "dependencies": { + "assert": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/assert/-/assert-2.0.0.tgz", + "integrity": "sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A==", "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" + "es6-object-assign": "^1.1.0", + "is-nan": "^1.2.1", + "object-is": "^1.0.1", + "util": "^0.12.0" } }, - "@types/node": { - "version": "12.20.47", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.47.tgz", - "integrity": "sha512-BzcaRsnFuznzOItW1WpQrDHM7plAa7GIDMZ6b5pnMbkqEtM/6WCOhvZar39oeMQP79gwvFUWjjptE7/KGcNqFg==" + "typescript": { + "version": "3.9.9", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.9.tgz", + "integrity": "sha512-kdMjTiekY+z/ubJCATUPlRDl39vXYiMV9iyeMuEuXZh2we6zz80uovNN2WlAxmmdE/Z/YQe+EbOEXB5RHEED3w==" } } }, - "@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/cell": { + "version": "0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/cell/-/cell-0.58.2002.tgz", + "integrity": "sha512-oXFAxnnsXGv6AMWD10MJs7UCwz2dLkDcqQzbYoO82CyH1XN1fi9MXC4R9QiLWVQ+yewJaGNhA8Eo04fbbmlyFA==", "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.54.0", - "@types/node": "^14.18.0" + "@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" }, "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==", - "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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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==", + } + } + }, + "@fluidframework/cell-previous": { + "version": "npm:@fluidframework/cell@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" + }, + "dependencies": { + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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/common-definitions": "^0.20.0" } } } }, - "@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/common-definitions": { + "version": "0.20.1", + "resolved": "https://registry.npmjs.org/@fluidframework/common-definitions/-/common-definitions-0.20.1.tgz", + "integrity": "sha512-KaoQ7w2MDH5OeRKVatL5yVOCFg+9wD6bLSLFh1/TV1EZM46l49iBqO7UVjUtPE6BIm0jvvOzJXULGVSpzokX3g==" + }, + "@fluidframework/common-utils": { + "version": "0.32.1", + "resolved": "https://registry.npmjs.org/@fluidframework/common-utils/-/common-utils-0.32.1.tgz", + "integrity": "sha512-8m7nTGLyzQqjGX9qZmE1L65IfSxrcEo35MtCVmH0qfttfVqEFghxXAgtmrcfvKkg6NUDTmb13hdyNx0hZlky7w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@types/events": "^3.0.0", + "base64-js": "^1.5.1", + "events": "^3.1.0", + "lodash": "^4.17.21", + "sha.js": "^2.4.11" + }, + "dependencies": { + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + } + } + }, + "@fluidframework/container-definitions": { + "version": "0.48.1000-59255", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.48.1000-59255.tgz", + "integrity": "sha512-kP3Xt2lJxWPdgIXEvKj7urZFmXjKcfmdqurQW/JQV04Brjf0Kol5FUMvhmYeWHDnxnzEwXkYu/D6hbUcgWaskA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.46.1000-0", + "@fluidframework/protocol-definitions": "^0.1028.1000-0" + } + }, + "@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/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/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.44.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.44.0.tgz", - "integrity": "sha512-aoKjRwEeIQ1IH38QfAYAO7pqA5vknUItl2mF2/EWhCVZaWoyBsMXU5SkC3u2d7OmtkyjSvqFzMmR+BVunehhsw==", + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", "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": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, - "@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/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, - "@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==", + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", "requires": { - "@fluidframework/common-definitions": "^0.20.0" + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" } }, - "@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==", + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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/common-definitions": "^0.20.0" } } } }, - "@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/container-loader-previous": { + "version": "npm:@fluidframework/container-loader@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/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.45.0", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-utils": "^0.58.2002", "@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-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.45.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.45.0.tgz", - "integrity": "sha512-juwnf5uyTiya9ZupsF29xxrBZ4sWQ5YVctoacwu/44s98a+zctc2rChmakl26pmdk8i6dvLZzx7EVISWnNn4Kw==", + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", "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": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, "@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": "^0.1027.1000" } }, - "@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==", + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", "requires": { - "@fluidframework/common-definitions": "^0.20.0" + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" } }, - "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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/common-definitions": "^0.20.0" } } } }, - "@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/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/common-utils": "^0.32.1", - "@fluidframework/container-definitions": "^0.46.0", + "@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/protocol-definitions": "^0.1026.0", - "@fluidframework/runtime-definitions": "^0.57.0", - "@types/node": "^14.18.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.46.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.46.0.tgz", - "integrity": "sha512-wp1X1Qt9vNDlYKlBtDQvi2QtrL3EnRzeSj/M728ShdLT4ntkPlsKCeYTCUicKNzI5XQ340aLnxayU6/l0n7NiA==", + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", "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": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, "@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": "^0.1027.1000" } }, - "@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==", + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", "requires": { - "@fluidframework/common-definitions": "^0.20.0" + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" } }, - "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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/common-definitions": "^0.20.0" } } } }, - "@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/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/common-utils": "^0.32.1", "@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.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", "@types/node": "^14.18.0" }, "dependencies": { @@ -3028,494 +2814,439 @@ "requires": { "@fluidframework/common-definitions": "^0.20.0" } - }, - "@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.47.1000", - "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.45.1000", - "@fluidframework/protocol-definitions": "^0.1027.1000", - "@types/node": "^14.18.0" - } } } }, - "@fluidframework/driver-definitions": { - "version": "0.46.1000-59258", - "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.46.1000-59258.tgz", - "integrity": "sha512-r25bqm0FDmtzyByLjSpVgFdIFWT5bgY0PRjblf370t1DnKK8wapO+wyAUQmEZJGht2awKoIZlWBBAb7LgPsnpw==", - "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/protocol-definitions": "^0.1028.1000-0" - } - }, - "@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/gitresources": { - "version": "0.1036.1000-58953", - "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1036.1000-58953.tgz", - "integrity": "sha512-NUM29mMbDA4/6bV6FTgqUPVvASOqasCtBkiPaidZWM3vBUAYrxtf6mvx5CrTHK3EdDRbFO9LHq/27u57nltL+g==" - }, - "@fluidframework/protocol-base": { - "version": "0.1036.1000-58953", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1036.1000-58953.tgz", - "integrity": "sha512-PytxgFPlVT+TqvBmPVkecLuEzNQ4zWYCgVloXj/IBth/owfk1S6zyVOgOSyTOaoDBhsYzym4UEifemmBLRSZ2w==", - "requires": { - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/gitresources": "0.1036.1000-58953", - "@fluidframework/protocol-definitions": "^0.1028.1000-0", - "lodash": "^4.17.21" - } - }, - "@fluidframework/protocol-definitions": { - "version": "0.1028.1000-58358", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1028.1000-58358.tgz", - "integrity": "sha512-6nrwus9JfQy/94lnhjDO0Zs9Vctv9V/Z+Iesr5drSPcUdPbke+oRlQE3OHZt61WPwF6hR09ZYDieIauuZbn/Ew==", - "requires": { - "@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/container-runtime-definitions-previous": { + "version": "npm:@fluidframework/container-runtime-definitions@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/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/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.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.41.0.tgz", - "integrity": "sha512-3MrM3RA82azqJ9gHELCVjYm6uxRB5KJRxWhY0d/oYrj2OAme3MS3PI/mlHbpghlCt2pMpRaghV0m4NILYP/fmw==", + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", "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": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, - "@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/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, "@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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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/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/container-runtime-previous": { + "version": "npm:@fluidframework/container-runtime@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/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/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.41.0", - "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.41.0.tgz", - "integrity": "sha512-3MrM3RA82azqJ9gHELCVjYm6uxRB5KJRxWhY0d/oYrj2OAme3MS3PI/mlHbpghlCt2pMpRaghV0m4NILYP/fmw==", + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", "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": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, - "@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/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" } }, "@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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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/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/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.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/container-definitions": "^0.47.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/telemetry-utils": "^0.58.2002" }, "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==", + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", "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": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, - "@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/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, "@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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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/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/container-utils-previous": { + "version": "npm:@fluidframework/container-utils@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.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/container-definitions": "^0.47.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/telemetry-utils": "^0.58.2002" }, "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==", + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", "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": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, - "@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/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, "@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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "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/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/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-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/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" }, "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==", + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "requires": { - "@fluidframework/common-definitions": "^0.20.0", - "@fluidframework/core-interfaces": "^0.41.0", - "@fluidframework/protocol-definitions": "^0.1026.0" + "@fluidframework/common-definitions": "^0.20.0" } - }, + } + } + }, + "@fluidframework/counter-previous": { + "version": "npm:@fluidframework/counter@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" + }, + "dependencies": { "@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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "requires": { "@fluidframework/common-definitions": "^0.20.0" } } } }, - "@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/data-object-base-previous": { + "version": "npm:@fluidframework/data-object-base@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/data-object-base/-/data-object-base-0.58.2002.tgz", + "integrity": "sha512-CO24TM0oJHKB35/QnsCNfVDKJLrkIppxZ164WJCYyyFO6xUhWip90TmdDKJLhFQSfsR0GPIiE1ELs4G4cs6eQg==", "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/container-definitions": "^0.47.1000", + "@fluidframework/container-runtime": "^0.58.2002", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/datastore": "^0.58.2002", + "@fluidframework/datastore-definitions": "^0.58.2002", + "@fluidframework/request-handler": "^0.58.2002", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/shared-object-base": "^0.58.2002" }, "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==", + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", "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": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, - "@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/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, "@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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "requires": { "@fluidframework/common-definitions": "^0.20.0" } } } }, - "@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/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.45.0", + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/container-utils": "^0.58.2002", "@fluidframework/core-interfaces": "^0.42.0", - "@fluidframework/driver-definitions": "^0.44.0", - "@fluidframework/protocol-definitions": "^0.1026.0", - "@types/node": "^14.18.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/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==", + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", "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": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, "@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": "^0.1027.1000" + } + }, + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" } }, "@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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "requires": { "@fluidframework/common-definitions": "^0.20.0" } } } }, - "@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/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/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/protocol-definitions": "^0.1027.1000", + "@fluidframework/runtime-definitions": "^0.58.2002", "@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==", + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", "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": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, "@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": "^0.1027.1000" } }, "@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==", + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "requires": { "@fluidframework/common-definitions": "^0.20.0" } } } }, - "@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/datastore-definitions-previous": { + "version": "npm:@fluidframework/datastore-definitions@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/common-utils": "^0.32.1", "@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": { @@ -3550,32 +3281,50 @@ } } }, - "@fluidframework/server-lambdas": { - "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/server-lambdas/-/server-lambdas-0.1035.1000.tgz", - "integrity": "sha512-s8nYy6h1pK3eKW2jkMQt7dAezzoNdGlqlCMoJmVUbZuCCNoeNEmI334WZrdzXunxcedqyxIb3VqDdUoxFJcSAw==", + "@fluidframework/datastore-previous": { + "version": "npm:@fluidframework/datastore@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/gitresources": "^0.1035.1000", + "@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/server-lambdas-driver": "^0.1035.1000", - "@fluidframework/server-services-client": "^0.1035.1000", - "@fluidframework/server-services-core": "^0.1035.1000", - "@fluidframework/server-services-telemetry": "^0.1035.1000", - "@types/semver": "^6.0.1", - "async": "^3.2.0", - "axios": "^0.26.0", - "double-ended-queue": "^2.1.0-0", - "json-stringify-safe": "^5.0.1", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/telemetry-utils": "^0.58.2002", "lodash": "^4.17.21", - "nconf": "^0.11.0", - "semver": "^6.3.0", - "sha.js": "^2.4.11", "uuid": "^8.3.1" }, "dependencies": { + "@fluidframework/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/gitresources": { "version": "0.1035.1000", "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", @@ -3599,61 +3348,173 @@ "requires": { "@fluidframework/common-definitions": "^0.20.0" } - }, - "@fluidframework/server-services-client": { - "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1035.1000.tgz", - "integrity": "sha512-zYXg7hIA57+3I4OnZP4s4vRIt0kjK7dG0kia7V9HnrJ1V+1u19tZwDUuj8zEydPaMGyraIRP5We+z6aYeZhErQ==", + } + } + }, + "@fluidframework/dds-interceptions-previous": { + "version": "npm:@fluidframework/dds-interceptions@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/dds-interceptions/-/dds-interceptions-0.58.2002.tgz", + "integrity": "sha512-Cik0hwbYbORbeEKCaaI9JR542AXtAirKEt7IGZ+X1YaH6yD4zlqF2V+TFmwuN5UQkSwg2ZI3OcUTNYRr1Xw2BQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/map": "^0.58.2002", + "@fluidframework/merge-tree": "^0.58.2002", + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/sequence": "^0.58.2002" + } + }, + "@fluidframework/debugger-previous": { + "version": "npm:@fluidframework/debugger@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/debugger/-/debugger-0.58.2002.tgz", + "integrity": "sha512-bYB8LXj7ShCMIi5Y1l+iPq38NsBCnlxuoOB7jYb/7Fd1TxuDOXouahOwjsLmTEPfuaJzQTrio5bIcfRzaMl9Wg==", + "requires": { + "@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/replay-driver": "^0.58.2002", + "jsonschema": "^1.2.6" + }, + "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-utils": "^0.32.1", - "@fluidframework/gitresources": "^0.1035.1000", - "@fluidframework/protocol-base": "^0.1035.1000", - "@fluidframework/protocol-definitions": "^0.1027.1000", - "axios": "^0.26.0", - "crc-32": "1.2.0", - "debug": "^4.1.1", - "json-stringify-safe": "^5.0.1", - "jsrsasign": "^10.2.0", - "jwt-decode": "^3.0.0", - "sillyname": "^0.1.0", - "uuid": "^8.3.1" + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, - "@types/semver": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-6.2.3.tgz", - "integrity": "sha512-KQf+QAMWKMrtBMsB8/24w53tEsxllMj6TuA80TT/5igJalLI/zm0L3oXRbIAl4Ohfc85gyHX/jhMwsVkmhLU4A==" + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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/common-utils": "^0.32.1", + "@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/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" + } }, - "jwt-decode": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", - "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/driver-base-previous": { + "version": "npm:@fluidframework/driver-base@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/common-utils": "^0.32.1", + "@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/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" + } }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } } } }, - "@fluidframework/server-lambdas-driver": { - "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/server-lambdas-driver/-/server-lambdas-driver-0.1035.1000.tgz", - "integrity": "sha512-VdEn7bVVe6lRwXVj2fqgg47UieyycAEsoQTj0QqZ2V39rMtRPUx6WbbZB9JBlYcigPAuS5yAnet/j0Zf45zaNg==", + "@fluidframework/driver-definitions": { + "version": "0.46.1000-59258", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-definitions/-/driver-definitions-0.46.1000-59258.tgz", + "integrity": "sha512-r25bqm0FDmtzyByLjSpVgFdIFWT5bgY0PRjblf370t1DnKK8wapO+wyAUQmEZJGht2awKoIZlWBBAb7LgPsnpw==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1028.1000-0" + } + }, + "@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/server-services-client": "^0.1035.1000", - "@fluidframework/server-services-core": "^0.1035.1000", - "@fluidframework/server-services-telemetry": "^0.1035.1000", - "async": "^3.2.0", - "lodash": "^4.17.21" + "@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/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/gitresources": { "version": "0.1035.1000", "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + }, "@fluidframework/protocol-definitions": { "version": "0.1027.1000", "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", @@ -3661,69 +3522,379 @@ "requires": { "@fluidframework/common-definitions": "^0.20.0" } + } + } + }, + "@fluidframework/driver-utils-previous": { + "version": "npm:@fluidframework/driver-utils@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/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/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/server-services-client": { + "@fluidframework/gitresources": { "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1035.1000.tgz", - "integrity": "sha512-zYXg7hIA57+3I4OnZP4s4vRIt0kjK7dG0kia7V9HnrJ1V+1u19tZwDUuj8zEydPaMGyraIRP5We+z6aYeZhErQ==", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", "requires": { "@fluidframework/common-utils": "^0.32.1", "@fluidframework/gitresources": "^0.1035.1000", - "@fluidframework/protocol-base": "^0.1035.1000", "@fluidframework/protocol-definitions": "^0.1027.1000", - "axios": "^0.26.0", - "crc-32": "1.2.0", - "debug": "^4.1.1", - "json-stringify-safe": "^5.0.1", - "jsrsasign": "^10.2.0", - "jwt-decode": "^3.0.0", - "sillyname": "^0.1.0", - "uuid": "^8.3.1" - }, - "dependencies": { - "@fluidframework/protocol-base": { - "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", - "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", - "requires": { - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/gitresources": "^0.1035.1000", - "@fluidframework/protocol-definitions": "^0.1027.1000", - "lodash": "^4.17.21" - } - } + "lodash": "^4.17.21" } }, - "jwt-decode": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", - "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } } } }, - "@fluidframework/server-local-server": { - "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/server-local-server/-/server-local-server-0.1035.1000.tgz", - "integrity": "sha512-yFVqDneIFTwaXmkGpY/pPif41FY4tFWJFIw/letXIe0bMiEotnHn8il15yAyBGbgxk+ACL7IEMmWpOmtv1o9Mg==", + "@fluidframework/driver-web-cache-previous": { + "version": "npm:@fluidframework/driver-web-cache@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/driver-web-cache/-/driver-web-cache-0.58.2002.tgz", + "integrity": "sha512-oPLxGA/99Ot5XBbuDv/hMj3GqF/VwBNcDiu4xXDD9Oi3BYKW/Fv49JyBNcFClLyL4WXICg7bInOGxgTeS3OUlA==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/odsp-driver-definitions": "^0.58.2002", + "@fluidframework/telemetry-utils": "^0.58.2002", + "idb": "^6.1.2" + } + }, + "@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.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/file-driver/-/file-driver-0.58.2002.tgz", + "integrity": "sha512-hQ/kyGiOKVrJddTgTVWS4dvKre40K5KjzWhXVUR5DsczsvoBsVx72KwlKVa6Tr+lqp5iovetmbkIfVbT1EJqGA==", "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", - "@fluidframework/server-lambdas": "^0.1035.1000", - "@fluidframework/server-memory-orderer": "^0.1035.1000", + "@fluidframework/replay-driver": "^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.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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.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" + }, + "dependencies": { + "@fluidframework/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/fluid-static-previous": { + "version": "npm:@fluidframework/fluid-static@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.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" + }, + "dependencies": { + "@fluidframework/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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.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/gitresources": { + "version": "0.1036.1000-58953", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1036.1000-58953.tgz", + "integrity": "sha512-NUM29mMbDA4/6bV6FTgqUPVvASOqasCtBkiPaidZWM3vBUAYrxtf6mvx5CrTHK3EdDRbFO9LHq/27u57nltL+g==" + }, + "@fluidframework/iframe-driver-previous": { + "version": "npm:@fluidframework/iframe-driver@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/iframe-driver/-/iframe-driver-0.58.2002.tgz", + "integrity": "sha512-WhJj4ZkVPrHYon74qio815gPQ20+o4RW17/Nt9yjRTBExJB3gO3B45dcQCgYbOS3OV/80PtX4+Ku1dFHwbTUCA==", + "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.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/telemetry-utils": "^0.58.2002", + "comlink": "^4.3.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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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" + }, + "dependencies": { + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/ink-previous": { + "version": "npm:@fluidframework/ink@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" + }, + "dependencies": { + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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/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-services-telemetry": "^0.1035.1000", "@fluidframework/server-test-utils": "^0.1035.1000", - "debug": "^4.1.1", "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/gitresources": { "version": "0.1035.1000", "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + }, "@fluidframework/protocol-definitions": { "version": "0.1027.1000", "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", @@ -3749,19 +3920,6 @@ "jwt-decode": "^3.0.0", "sillyname": "^0.1.0", "uuid": "^8.3.1" - }, - "dependencies": { - "@fluidframework/protocol-base": { - "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", - "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", - "requires": { - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/gitresources": "^0.1035.1000", - "@fluidframework/protocol-definitions": "^0.1027.1000", - "lodash": "^4.17.21" - } - } } }, "jwt-decode": { @@ -3771,31 +3929,37 @@ } } }, - "@fluidframework/server-memory-orderer": { - "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/server-memory-orderer/-/server-memory-orderer-0.1035.1000.tgz", - "integrity": "sha512-k2ylF9VJHWhk5s2feUd5E3fSYjwE8qc7Oup1RC+1D1ivpt009t2kwAsZEANzrrMrVLBgWp2DrJGQ6LglF6n7WQ==", + "@fluidframework/local-driver-previous": { + "version": "npm:@fluidframework/local-driver@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/protocol-base": "^0.1035.1000", + "@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/server-lambdas": "^0.1035.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-services-telemetry": "^0.1035.1000", - "@types/debug": "^4.1.5", - "@types/double-ended-queue": "^2.1.0", - "@types/lodash": "^4.14.118", - "@types/node": "^14.18.0", - "@types/ws": "^6.0.1", - "debug": "^4.1.1", - "double-ended-queue": "^2.1.0-0", - "lodash": "^4.17.21", - "sillyname": "^0.1.0", - "uuid": "^8.3.1", - "ws": "^7.4.6" + "@fluidframework/server-test-utils": "^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/gitresources": { "version": "0.1035.1000", "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", @@ -3846,57 +4010,78 @@ } } }, - "@fluidframework/server-services-client": { - "version": "0.1036.1000-58953", - "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1036.1000-58953.tgz", - "integrity": "sha512-5GLsdAmna+3P32hl8rRaXE9w4v3SujqfqvrEZrSMwCNDwFH5L1pgkor5PHF6gLy/hrrYcwQpFa5bBRyfTcsGfA==", + "@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/gitresources": "0.1036.1000-58953", - "@fluidframework/protocol-base": "0.1036.1000-58953", - "@fluidframework/protocol-definitions": "^0.1028.1000-0", - "axios": "^0.26.0", - "crc-32": "1.2.0", - "debug": "^4.1.1", - "json-stringify-safe": "^5.0.1", - "jsrsasign": "^10.2.0", - "jwt-decode": "^3.0.0", - "sillyname": "^0.1.0", - "uuid": "^8.3.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" }, "dependencies": { - "@fluidframework/protocol-base": { - "version": "0.1036.1000-58953", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1036.1000-58953.tgz", - "integrity": "sha512-PytxgFPlVT+TqvBmPVkecLuEzNQ4zWYCgVloXj/IBth/owfk1S6zyVOgOSyTOaoDBhsYzym4UEifemmBLRSZ2w==", + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "requires": { - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/gitresources": "0.1036.1000-58953", - "@fluidframework/protocol-definitions": "^0.1028.1000-0", - "lodash": "^4.17.21" + "@fluidframework/common-definitions": "^0.20.0" } - }, - "jwt-decode": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", - "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" } } }, - "@fluidframework/server-services-core": { - "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/server-services-core/-/server-services-core-0.1035.1000.tgz", - "integrity": "sha512-dLJG5SrWujnRfUmIsrBBSHYh4IvuI0YL7duZTA9xBlwrUs1Uc8Ggu6KYS8xGxJur8D2qAnvzc4QZdyB00xq8ng==", + "@fluidframework/map-previous": { + "version": "npm:@fluidframework/map@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/gitresources": "^0.1035.1000", + "@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/server-services-client": "^0.1035.1000", - "@fluidframework/server-services-telemetry": "^0.1035.1000", - "@types/nconf": "^0.10.0", - "@types/node": "^14.18.0", - "debug": "^4.1.1", - "nconf": "^0.11.0" + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/shared-object-base": "^0.58.2002", + "path-browserify": "^1.0.1" + }, + "dependencies": { + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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" }, "dependencies": { "@fluidframework/gitresources": { @@ -3904,6 +4089,17 @@ "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + }, "@fluidframework/protocol-definitions": { "version": "0.1027.1000", "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", @@ -3911,72 +4107,272 @@ "requires": { "@fluidframework/common-definitions": "^0.20.0" } + } + } + }, + "@fluidframework/matrix-previous": { + "version": "npm:@fluidframework/matrix@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" + }, + "dependencies": { + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" }, - "@fluidframework/server-services-client": { + "@fluidframework/protocol-base": { "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1035.1000.tgz", - "integrity": "sha512-zYXg7hIA57+3I4OnZP4s4vRIt0kjK7dG0kia7V9HnrJ1V+1u19tZwDUuj8zEydPaMGyraIRP5We+z6aYeZhErQ==", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", "requires": { "@fluidframework/common-utils": "^0.32.1", "@fluidframework/gitresources": "^0.1035.1000", - "@fluidframework/protocol-base": "^0.1035.1000", "@fluidframework/protocol-definitions": "^0.1027.1000", - "axios": "^0.26.0", - "crc-32": "1.2.0", - "debug": "^4.1.1", - "json-stringify-safe": "^5.0.1", - "jsrsasign": "^10.2.0", - "jwt-decode": "^3.0.0", - "sillyname": "^0.1.0", - "uuid": "^8.3.1" - }, - "dependencies": { - "@fluidframework/protocol-base": { - "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", - "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", - "requires": { - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/gitresources": "^0.1035.1000", - "@fluidframework/protocol-definitions": "^0.1027.1000", - "lodash": "^4.17.21" - } - } + "lodash": "^4.17.21" } }, - "jwt-decode": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", - "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } } } }, - "@fluidframework/server-services-shared": { - "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/server-services-shared/-/server-services-shared-0.1035.1000.tgz", - "integrity": "sha512-vQ24zJ2mJBXNjYqcM+aabQNRu0LQ5EA0glPrm1xYN9Nw61N3sexeuhL8ZutnbHnjzakXUFacRoK80lxBUexI3A==", + "@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" + }, + "dependencies": { + "@fluidframework/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/merge-tree-previous": { + "version": "npm:@fluidframework/merge-tree@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" + }, + "dependencies": { + "@fluidframework/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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.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/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.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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/odsp-doclib-utils-previous": { + "version": "npm:@fluidframework/odsp-doclib-utils@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.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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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/core-interfaces": "^0.42.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/server-services-client": "^0.1035.1000", - "@fluidframework/server-services-core": "^0.1035.1000", - "@fluidframework/server-services-telemetry": "^0.1035.1000", - "@socket.io/redis-adapter": "^7.0.0", - "debug": "^4.1.1", - "formidable": "2.0.0-canary.20200504.1", - "ioredis": "^4.24.2", - "lodash": "^4.17.21", - "nconf": "^0.11.0", - "notepack.io": "^2.3.0", - "socket.io": "^4.1.2", - "socket.io-adapter": "^2.3.1", - "socket.io-parser": "^4.0.4", - "uuid": "^8.3.1", - "winston": "^3.3.3" + "@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/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/gitresources": { "version": "0.1035.1000", "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", @@ -4000,108 +4396,2414 @@ "requires": { "@fluidframework/common-definitions": "^0.20.0" } + } + } + }, + "@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.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/server-services-client": { + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/odsp-driver-definitions-previous": { + "version": "npm:@fluidframework/odsp-driver-definitions@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.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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/odsp-driver-previous": { + "version": "npm:@fluidframework/odsp-driver@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/core-interfaces": "^0.42.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/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/gitresources": { "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1035.1000.tgz", - "integrity": "sha512-zYXg7hIA57+3I4OnZP4s4vRIt0kjK7dG0kia7V9HnrJ1V+1u19tZwDUuj8zEydPaMGyraIRP5We+z6aYeZhErQ==", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", "requires": { "@fluidframework/common-utils": "^0.32.1", "@fluidframework/gitresources": "^0.1035.1000", - "@fluidframework/protocol-base": "^0.1035.1000", "@fluidframework/protocol-definitions": "^0.1027.1000", - "axios": "^0.26.0", - "crc-32": "1.2.0", - "debug": "^4.1.1", - "json-stringify-safe": "^5.0.1", - "jsrsasign": "^10.2.0", - "jwt-decode": "^3.0.0", - "sillyname": "^0.1.0", - "uuid": "^8.3.1" + "lodash": "^4.17.21" } }, - "ioredis": { - "version": "4.28.5", - "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", - "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", "requires": { - "cluster-key-slot": "^1.1.0", - "debug": "^4.3.1", - "denque": "^1.1.0", - "lodash.defaults": "^4.2.0", - "lodash.flatten": "^4.4.0", - "lodash.isarguments": "^3.1.0", - "p-map": "^2.1.0", - "redis-commands": "1.7.0", - "redis-errors": "^1.2.0", - "redis-parser": "^3.0.0", - "standard-as-callback": "^2.1.0" - }, - "dependencies": { - "debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "requires": { - "ms": "2.1.2" - } - } + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" } }, - "jwt-decode": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", - "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" - }, - "redis-commands": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", - "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==" + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/odsp-urlresolver-previous": { + "version": "npm:@fluidframework/odsp-urlresolver@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.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } }, - "standard-as-callback": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } } } }, - "@fluidframework/server-services-telemetry": { - "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/server-services-telemetry/-/server-services-telemetry-0.1035.1000.tgz", - "integrity": "sha512-G4/1X1ROdINCBI9rkkztXYu2n5p/gZxp4misuixQlqCHM/CAs+65Pq70oSYn8sOx1JoSGkBOpw6r6UF9cfPS/w==", + "@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": { "@fluidframework/common-utils": "^0.32.1", - "json-stringify-safe": "^5.0.1", - "path-browserify": "^1.0.1", - "serialize-error": "^8.1.0", + "@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" + }, + "dependencies": { + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } } }, - "@fluidframework/server-services-utils": { - "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/server-services-utils/-/server-services-utils-0.1035.1000.tgz", - "integrity": "sha512-IAs8RDxKWfcdN2HCJGfiOgA08H40zgweNjpoZQbjRVt39Ji71bQhMUPzbnToeRO7F3t7NkXLDUucd1vn4io4Zw==", + "@fluidframework/ordered-collection-previous": { + "version": "npm:@fluidframework/ordered-collection@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": { + "@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/server-services-client": "^0.1035.1000", - "@fluidframework/server-services-core": "^0.1035.1000", - "@fluidframework/server-services-telemetry": "^0.1035.1000", - "debug": "^4.1.1", - "express": "^4.16.3", - "ioredis": "^4.24.2", - "json-stringify-safe": "^5.0.1", - "jsonwebtoken": "^8.4.0", - "nconf": "^0.11.0", - "serialize-error": "^8.1.0", - "sillyname": "^0.1.0", - "uuid": "^8.3.1", - "winston": "^3.3.3" + "@fluidframework/runtime-definitions": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/shared-object-base": "^0.58.2002", + "uuid": "^8.3.1" }, "dependencies": { - "@fluidframework/gitresources": { - "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", - "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/protocol-base": { + "version": "0.1036.1000-58953", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1036.1000-58953.tgz", + "integrity": "sha512-PytxgFPlVT+TqvBmPVkecLuEzNQ4zWYCgVloXj/IBth/owfk1S6zyVOgOSyTOaoDBhsYzym4UEifemmBLRSZ2w==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "0.1036.1000-58953", + "@fluidframework/protocol-definitions": "^0.1028.1000-0", + "lodash": "^4.17.21" + } + }, + "@fluidframework/protocol-definitions": { + "version": "0.1028.1000-58358", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1028.1000-58358.tgz", + "integrity": "sha512-6nrwus9JfQy/94lnhjDO0Zs9Vctv9V/Z+Iesr5drSPcUdPbke+oRlQE3OHZt61WPwF6hR09ZYDieIauuZbn/Ew==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + }, + "@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-utils": "^0.32.1", + "@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" + }, + "dependencies": { + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/register-collection-previous": { + "version": "npm:@fluidframework/register-collection@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/register-collection/-/register-collection-0.58.2002.tgz", + "integrity": "sha512-mHiFqpaviHapsCr4Fn0lxQTMQoRi4UVhAArUFMMyq8SfblFxLGADPzAxWfHJtJFi7UWclFwmRh6OvMM0lffXIg==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@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" + }, + "dependencies": { + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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/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/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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/replay-driver-previous": { + "version": "npm:@fluidframework/replay-driver@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/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/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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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.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/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/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/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/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + }, + "@fluidframework/server-services-client": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1035.1000.tgz", + "integrity": "sha512-zYXg7hIA57+3I4OnZP4s4vRIt0kjK7dG0kia7V9HnrJ1V+1u19tZwDUuj8zEydPaMGyraIRP5We+z6aYeZhErQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "axios": "^0.26.0", + "crc-32": "1.2.0", + "debug": "^4.1.1", + "json-stringify-safe": "^5.0.1", + "jsrsasign": "^10.2.0", + "jwt-decode": "^3.0.0", + "sillyname": "^0.1.0", + "uuid": "^8.3.1" + } + }, + "jwt-decode": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", + "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" + } + } + }, + "@fluidframework/routerlicious-driver-previous": { + "version": "npm:@fluidframework/routerlicious-driver@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/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/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/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + }, + "@fluidframework/server-services-client": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1035.1000.tgz", + "integrity": "sha512-zYXg7hIA57+3I4OnZP4s4vRIt0kjK7dG0kia7V9HnrJ1V+1u19tZwDUuj8zEydPaMGyraIRP5We+z6aYeZhErQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "axios": "^0.26.0", + "crc-32": "1.2.0", + "debug": "^4.1.1", + "json-stringify-safe": "^5.0.1", + "jsrsasign": "^10.2.0", + "jwt-decode": "^3.0.0", + "sillyname": "^0.1.0", + "uuid": "^8.3.1" + } + }, + "jwt-decode": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", + "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" + } + } + }, + "@fluidframework/routerlicious-host-previous": { + "version": "npm:@fluidframework/routerlicious-host@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/routerlicious-host/-/routerlicious-host-0.58.2002.tgz", + "integrity": "sha512-UuWHLxBdDHIXGxmdi7OlD209YZN2P1wnmYF5GgwYSkPv3bGyZEzlBiLOHew9yfSUEBMu3ndMdMyLYqyH/OhSGA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "axios": "^0.26.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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/routerlicious-urlresolver-previous": { + "version": "npm:@fluidframework/routerlicious-urlresolver@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/routerlicious-urlresolver/-/routerlicious-urlresolver-0.58.2002.tgz", + "integrity": "sha512-nUurdjfaNTKVF1xVpkFXBG3NL2/eVYP4jjQKF9UdKeiFcRNLphM0WHuAmoImHt5XHqCMhpnuD0GxtV3dbtmhjA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "nconf": "^0.11.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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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.47.1000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@types/node": "^14.18.0" + }, + "dependencies": { + "@fluidframework/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/runtime-definitions-previous": { + "version": "npm:@fluidframework/runtime-definitions@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.47.1000", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@types/node": "^14.18.0" + }, + "dependencies": { + "@fluidframework/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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" + }, + "dependencies": { + "@fluidframework/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/runtime-utils-previous": { + "version": "npm:@fluidframework/runtime-utils@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" + }, + "dependencies": { + "@fluidframework/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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" + }, + "dependencies": { + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/sequence-previous": { + "version": "npm:@fluidframework/sequence@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" + }, + "dependencies": { + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/server-lambdas": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-lambdas/-/server-lambdas-0.1035.1000.tgz", + "integrity": "sha512-s8nYy6h1pK3eKW2jkMQt7dAezzoNdGlqlCMoJmVUbZuCCNoeNEmI334WZrdzXunxcedqyxIb3VqDdUoxFJcSAw==", + "requires": { + "@fluidframework/common-definitions": "^0.20.1", + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/server-lambdas-driver": "^0.1035.1000", + "@fluidframework/server-services-client": "^0.1035.1000", + "@fluidframework/server-services-core": "^0.1035.1000", + "@fluidframework/server-services-telemetry": "^0.1035.1000", + "@types/semver": "^6.0.1", + "async": "^3.2.0", + "axios": "^0.26.0", + "double-ended-queue": "^2.1.0-0", + "json-stringify-safe": "^5.0.1", + "lodash": "^4.17.21", + "nconf": "^0.11.0", + "semver": "^6.3.0", + "sha.js": "^2.4.11", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + }, + "@fluidframework/server-services-client": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1035.1000.tgz", + "integrity": "sha512-zYXg7hIA57+3I4OnZP4s4vRIt0kjK7dG0kia7V9HnrJ1V+1u19tZwDUuj8zEydPaMGyraIRP5We+z6aYeZhErQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "axios": "^0.26.0", + "crc-32": "1.2.0", + "debug": "^4.1.1", + "json-stringify-safe": "^5.0.1", + "jsrsasign": "^10.2.0", + "jwt-decode": "^3.0.0", + "sillyname": "^0.1.0", + "uuid": "^8.3.1" + } + }, + "@types/semver": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-6.2.3.tgz", + "integrity": "sha512-KQf+QAMWKMrtBMsB8/24w53tEsxllMj6TuA80TT/5igJalLI/zm0L3oXRbIAl4Ohfc85gyHX/jhMwsVkmhLU4A==" + }, + "jwt-decode": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", + "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + } + } + }, + "@fluidframework/server-lambdas-driver": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-lambdas-driver/-/server-lambdas-driver-0.1035.1000.tgz", + "integrity": "sha512-VdEn7bVVe6lRwXVj2fqgg47UieyycAEsoQTj0QqZ2V39rMtRPUx6WbbZB9JBlYcigPAuS5yAnet/j0Zf45zaNg==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/server-services-client": "^0.1035.1000", + "@fluidframework/server-services-core": "^0.1035.1000", + "@fluidframework/server-services-telemetry": "^0.1035.1000", + "async": "^3.2.0", + "lodash": "^4.17.21" + }, + "dependencies": { + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + }, + "@fluidframework/server-services-client": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1035.1000.tgz", + "integrity": "sha512-zYXg7hIA57+3I4OnZP4s4vRIt0kjK7dG0kia7V9HnrJ1V+1u19tZwDUuj8zEydPaMGyraIRP5We+z6aYeZhErQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "axios": "^0.26.0", + "crc-32": "1.2.0", + "debug": "^4.1.1", + "json-stringify-safe": "^5.0.1", + "jsrsasign": "^10.2.0", + "jwt-decode": "^3.0.0", + "sillyname": "^0.1.0", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + } + } + }, + "jwt-decode": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", + "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" + } + } + }, + "@fluidframework/server-local-server": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-local-server/-/server-local-server-0.1035.1000.tgz", + "integrity": "sha512-yFVqDneIFTwaXmkGpY/pPif41FY4tFWJFIw/letXIe0bMiEotnHn8il15yAyBGbgxk+ACL7IEMmWpOmtv1o9Mg==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/server-lambdas": "^0.1035.1000", + "@fluidframework/server-memory-orderer": "^0.1035.1000", + "@fluidframework/server-services-client": "^0.1035.1000", + "@fluidframework/server-services-core": "^0.1035.1000", + "@fluidframework/server-services-telemetry": "^0.1035.1000", + "@fluidframework/server-test-utils": "^0.1035.1000", + "debug": "^4.1.1", + "jsrsasign": "^10.2.0", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + }, + "@fluidframework/server-services-client": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1035.1000.tgz", + "integrity": "sha512-zYXg7hIA57+3I4OnZP4s4vRIt0kjK7dG0kia7V9HnrJ1V+1u19tZwDUuj8zEydPaMGyraIRP5We+z6aYeZhErQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "axios": "^0.26.0", + "crc-32": "1.2.0", + "debug": "^4.1.1", + "json-stringify-safe": "^5.0.1", + "jsrsasign": "^10.2.0", + "jwt-decode": "^3.0.0", + "sillyname": "^0.1.0", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + } + } + }, + "jwt-decode": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", + "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" + } + } + }, + "@fluidframework/server-memory-orderer": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-memory-orderer/-/server-memory-orderer-0.1035.1000.tgz", + "integrity": "sha512-k2ylF9VJHWhk5s2feUd5E3fSYjwE8qc7Oup1RC+1D1ivpt009t2kwAsZEANzrrMrVLBgWp2DrJGQ6LglF6n7WQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/server-lambdas": "^0.1035.1000", + "@fluidframework/server-services-client": "^0.1035.1000", + "@fluidframework/server-services-core": "^0.1035.1000", + "@fluidframework/server-services-telemetry": "^0.1035.1000", + "@types/debug": "^4.1.5", + "@types/double-ended-queue": "^2.1.0", + "@types/lodash": "^4.14.118", + "@types/node": "^14.18.0", + "@types/ws": "^6.0.1", + "debug": "^4.1.1", + "double-ended-queue": "^2.1.0-0", + "lodash": "^4.17.21", + "sillyname": "^0.1.0", + "uuid": "^8.3.1", + "ws": "^7.4.6" + }, + "dependencies": { + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + }, + "@fluidframework/server-services-client": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1035.1000.tgz", + "integrity": "sha512-zYXg7hIA57+3I4OnZP4s4vRIt0kjK7dG0kia7V9HnrJ1V+1u19tZwDUuj8zEydPaMGyraIRP5We+z6aYeZhErQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "axios": "^0.26.0", + "crc-32": "1.2.0", + "debug": "^4.1.1", + "json-stringify-safe": "^5.0.1", + "jsrsasign": "^10.2.0", + "jwt-decode": "^3.0.0", + "sillyname": "^0.1.0", + "uuid": "^8.3.1" + } + }, + "jwt-decode": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", + "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" + } + } + }, + "@fluidframework/server-services-client": { + "version": "0.1036.1000-58953", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1036.1000-58953.tgz", + "integrity": "sha512-5GLsdAmna+3P32hl8rRaXE9w4v3SujqfqvrEZrSMwCNDwFH5L1pgkor5PHF6gLy/hrrYcwQpFa5bBRyfTcsGfA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "0.1036.1000-58953", + "@fluidframework/protocol-base": "0.1036.1000-58953", + "@fluidframework/protocol-definitions": "^0.1028.1000-0", + "axios": "^0.26.0", + "crc-32": "1.2.0", + "debug": "^4.1.1", + "json-stringify-safe": "^5.0.1", + "jsrsasign": "^10.2.0", + "jwt-decode": "^3.0.0", + "sillyname": "^0.1.0", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/protocol-base": { + "version": "0.1036.1000-58953", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1036.1000-58953.tgz", + "integrity": "sha512-PytxgFPlVT+TqvBmPVkecLuEzNQ4zWYCgVloXj/IBth/owfk1S6zyVOgOSyTOaoDBhsYzym4UEifemmBLRSZ2w==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "0.1036.1000-58953", + "@fluidframework/protocol-definitions": "^0.1028.1000-0", + "lodash": "^4.17.21" + } + }, + "jwt-decode": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", + "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" + } + } + }, + "@fluidframework/server-services-core": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-core/-/server-services-core-0.1035.1000.tgz", + "integrity": "sha512-dLJG5SrWujnRfUmIsrBBSHYh4IvuI0YL7duZTA9xBlwrUs1Uc8Ggu6KYS8xGxJur8D2qAnvzc4QZdyB00xq8ng==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/server-services-client": "^0.1035.1000", + "@fluidframework/server-services-telemetry": "^0.1035.1000", + "@types/nconf": "^0.10.0", + "@types/node": "^14.18.0", + "debug": "^4.1.1", + "nconf": "^0.11.0" + }, + "dependencies": { + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + }, + "@fluidframework/server-services-client": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1035.1000.tgz", + "integrity": "sha512-zYXg7hIA57+3I4OnZP4s4vRIt0kjK7dG0kia7V9HnrJ1V+1u19tZwDUuj8zEydPaMGyraIRP5We+z6aYeZhErQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "axios": "^0.26.0", + "crc-32": "1.2.0", + "debug": "^4.1.1", + "json-stringify-safe": "^5.0.1", + "jsrsasign": "^10.2.0", + "jwt-decode": "^3.0.0", + "sillyname": "^0.1.0", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + } + } + }, + "jwt-decode": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", + "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" + } + } + }, + "@fluidframework/server-services-shared": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-shared/-/server-services-shared-0.1035.1000.tgz", + "integrity": "sha512-vQ24zJ2mJBXNjYqcM+aabQNRu0LQ5EA0glPrm1xYN9Nw61N3sexeuhL8ZutnbHnjzakXUFacRoK80lxBUexI3A==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@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/server-services-core": "^0.1035.1000", + "@fluidframework/server-services-telemetry": "^0.1035.1000", + "@socket.io/redis-adapter": "^7.0.0", + "debug": "^4.1.1", + "formidable": "2.0.0-canary.20200504.1", + "ioredis": "^4.24.2", + "lodash": "^4.17.21", + "nconf": "^0.11.0", + "notepack.io": "^2.3.0", + "socket.io": "^4.1.2", + "socket.io-adapter": "^2.3.1", + "socket.io-parser": "^4.0.4", + "uuid": "^8.3.1", + "winston": "^3.3.3" + }, + "dependencies": { + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + }, + "@fluidframework/server-services-client": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1035.1000.tgz", + "integrity": "sha512-zYXg7hIA57+3I4OnZP4s4vRIt0kjK7dG0kia7V9HnrJ1V+1u19tZwDUuj8zEydPaMGyraIRP5We+z6aYeZhErQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "axios": "^0.26.0", + "crc-32": "1.2.0", + "debug": "^4.1.1", + "json-stringify-safe": "^5.0.1", + "jsrsasign": "^10.2.0", + "jwt-decode": "^3.0.0", + "sillyname": "^0.1.0", + "uuid": "^8.3.1" + } + }, + "ioredis": { + "version": "4.28.5", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", + "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", + "requires": { + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.1", + "denque": "^1.1.0", + "lodash.defaults": "^4.2.0", + "lodash.flatten": "^4.4.0", + "lodash.isarguments": "^3.1.0", + "p-map": "^2.1.0", + "redis-commands": "1.7.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + }, + "dependencies": { + "debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "requires": { + "ms": "2.1.2" + } + } + } + }, + "jwt-decode": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", + "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" + }, + "redis-commands": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", + "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==" + }, + "standard-as-callback": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", + "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" + } + } + }, + "@fluidframework/server-services-telemetry": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-telemetry/-/server-services-telemetry-0.1035.1000.tgz", + "integrity": "sha512-G4/1X1ROdINCBI9rkkztXYu2n5p/gZxp4misuixQlqCHM/CAs+65Pq70oSYn8sOx1JoSGkBOpw6r6UF9cfPS/w==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "json-stringify-safe": "^5.0.1", + "path-browserify": "^1.0.1", + "serialize-error": "^8.1.0", + "uuid": "^8.3.1" + } + }, + "@fluidframework/server-services-utils": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-utils/-/server-services-utils-0.1035.1000.tgz", + "integrity": "sha512-IAs8RDxKWfcdN2HCJGfiOgA08H40zgweNjpoZQbjRVt39Ji71bQhMUPzbnToeRO7F3t7NkXLDUucd1vn4io4Zw==", + "requires": { + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/server-services-client": "^0.1035.1000", + "@fluidframework/server-services-core": "^0.1035.1000", + "@fluidframework/server-services-telemetry": "^0.1035.1000", + "debug": "^4.1.1", + "express": "^4.16.3", + "ioredis": "^4.24.2", + "json-stringify-safe": "^5.0.1", + "jsonwebtoken": "^8.4.0", + "nconf": "^0.11.0", + "serialize-error": "^8.1.0", + "sillyname": "^0.1.0", + "uuid": "^8.3.1", + "winston": "^3.3.3" + }, + "dependencies": { + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + }, + "@fluidframework/server-services-client": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1035.1000.tgz", + "integrity": "sha512-zYXg7hIA57+3I4OnZP4s4vRIt0kjK7dG0kia7V9HnrJ1V+1u19tZwDUuj8zEydPaMGyraIRP5We+z6aYeZhErQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "axios": "^0.26.0", + "crc-32": "1.2.0", + "debug": "^4.1.1", + "json-stringify-safe": "^5.0.1", + "jsrsasign": "^10.2.0", + "jwt-decode": "^3.0.0", + "sillyname": "^0.1.0", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + } + } + }, + "ioredis": { + "version": "4.28.5", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", + "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", + "requires": { + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.1", + "denque": "^1.1.0", + "lodash.defaults": "^4.2.0", + "lodash.flatten": "^4.4.0", + "lodash.isarguments": "^3.1.0", + "p-map": "^2.1.0", + "redis-commands": "1.7.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + }, + "dependencies": { + "debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "requires": { + "ms": "2.1.2" + } + } + } + }, + "jwt-decode": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", + "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" + }, + "redis-commands": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", + "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==" + }, + "standard-as-callback": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", + "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" + } + } + }, + "@fluidframework/server-test-utils": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-test-utils/-/server-test-utils-0.1035.1000.tgz", + "integrity": "sha512-u9KRuRkl4YfykKEgbQM7AoVYvtq6QQQFlhcjnC6lQuL2i6Zbae5sGJ+0WnbswHca6pVaiTG9Jn4ojLPEht5ZDA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@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/server-services-core": "^0.1035.1000", + "@fluidframework/server-services-telemetry": "^0.1035.1000", + "debug": "^4.1.1", + "lodash": "^4.17.21", + "string-hash": "^1.1.3", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + }, + "@fluidframework/server-services-client": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/server-services-client/-/server-services-client-0.1035.1000.tgz", + "integrity": "sha512-zYXg7hIA57+3I4OnZP4s4vRIt0kjK7dG0kia7V9HnrJ1V+1u19tZwDUuj8zEydPaMGyraIRP5We+z6aYeZhErQ==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-base": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "axios": "^0.26.0", + "crc-32": "1.2.0", + "debug": "^4.1.1", + "json-stringify-safe": "^5.0.1", + "jsrsasign": "^10.2.0", + "jwt-decode": "^3.0.0", + "sillyname": "^0.1.0", + "uuid": "^8.3.1" + } + }, + "jwt-decode": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", + "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" + } + } + }, + "@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" + }, + "dependencies": { + "@fluidframework/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/shared-object-base-previous": { + "version": "npm:@fluidframework/shared-object-base@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" + }, + "dependencies": { + "@fluidframework/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/shared-summary-block-previous": { + "version": "npm:@fluidframework/shared-summary-block@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/shared-summary-block/-/shared-summary-block-0.58.2002.tgz", + "integrity": "sha512-yYIyJsTBqgyMkxoTPmOdzEjNQFW9G3tVo7U6dE91CJc0S48qPI3wSvKB8Hh7Xpe73JBiHTptp9L2csCPVFtebg==", + "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" + }, + "dependencies": { + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/synthesize/-/synthesize-0.58.2002.tgz", + "integrity": "sha512-8eHyC6YyZMxlghKZy2EE3jETr5jYsaXqTOveYqBvSf0iAUC/rIPSHhNkNnDM3L1/ljaLwo2KhGYxj4nuKODBYA==" + }, + "@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.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/test-client-utils-previous": { + "version": "npm:@fluidframework/test-client-utils@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/test-client-utils/-/test-client-utils-0.58.2002.tgz", + "integrity": "sha512-yqqTi0yO4nOvutKlPkUyio8sjmdM5amES/dhd62xymUq1/Rkbk4R3NIpc1rZaDP0HlIaKmCTk3UEwbnxlAOgsA==", + "requires": { + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/test-runtime-utils": "^0.58.2002", + "sillyname": "^0.1.0" + }, + "dependencies": { + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/test-driver-definitions-previous": { + "version": "npm:@fluidframework/test-driver-definitions@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/test-drivers-previous": { + "version": "npm:@fluidframework/test-drivers@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/test-loader-utils-previous": { + "version": "npm:@fluidframework/test-loader-utils@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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.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-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/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/test-runtime-utils-previous": { + "version": "npm:@fluidframework/test-runtime-utils@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/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/test-utils-previous": { + "version": "npm:@fluidframework/test-utils@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/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/test-version-utils-previous": { + "version": "npm:@fluidframework/test-version-utils@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/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/tinylicious-client-previous": { + "version": "npm:@fluidframework/tinylicious-client@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/tinylicious-client/-/tinylicious-client-0.58.2002.tgz", + "integrity": "sha512-WGJzASMXsccPTkNft6+M5cpO2Q65Wiugb4H8+Lj62qRFnEk6ny3FAXd6jzyPHuv5kyr3h8bBDNnIFEZzX1lWLw==", + "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/driver-definitions": "^0.45.1000", + "@fluidframework/driver-utils": "^0.58.2002", + "@fluidframework/fluid-static": "^0.58.2002", + "@fluidframework/map": "^0.58.2002", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "@fluidframework/routerlicious-driver": "^0.58.2002", + "@fluidframework/runtime-utils": "^0.58.2002", + "@fluidframework/tinylicious-driver": "^0.58.2002", + "uuid": "^8.3.1" + }, + "dependencies": { + "@fluidframework/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@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/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } }, "@fluidframework/protocol-definitions": { "version": "0.1027.1000", @@ -4128,84 +6830,40 @@ "jwt-decode": "^3.0.0", "sillyname": "^0.1.0", "uuid": "^8.3.1" - }, - "dependencies": { - "@fluidframework/protocol-base": { - "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", - "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", - "requires": { - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/gitresources": "^0.1035.1000", - "@fluidframework/protocol-definitions": "^0.1027.1000", - "lodash": "^4.17.21" - } - } - } - }, - "ioredis": { - "version": "4.28.5", - "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", - "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", - "requires": { - "cluster-key-slot": "^1.1.0", - "debug": "^4.3.1", - "denque": "^1.1.0", - "lodash.defaults": "^4.2.0", - "lodash.flatten": "^4.4.0", - "lodash.isarguments": "^3.1.0", - "p-map": "^2.1.0", - "redis-commands": "1.7.0", - "redis-errors": "^1.2.0", - "redis-parser": "^3.0.0", - "standard-as-callback": "^2.1.0" - }, - "dependencies": { - "debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "requires": { - "ms": "2.1.2" - } - } } }, "jwt-decode": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-3.1.2.tgz", "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" - }, - "redis-commands": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", - "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==" - }, - "standard-as-callback": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" } } }, - "@fluidframework/server-test-utils": { - "version": "0.1035.1000", - "resolved": "https://registry.npmjs.org/@fluidframework/server-test-utils/-/server-test-utils-0.1035.1000.tgz", - "integrity": "sha512-u9KRuRkl4YfykKEgbQM7AoVYvtq6QQQFlhcjnC6lQuL2i6Zbae5sGJ+0WnbswHca6pVaiTG9Jn4ojLPEht5ZDA==", + "@fluidframework/tinylicious-driver-previous": { + "version": "npm:@fluidframework/tinylicious-driver@0.58.2002", + "resolved": "https://registry.npmjs.org/@fluidframework/tinylicious-driver/-/tinylicious-driver-0.58.2002.tgz", + "integrity": "sha512-z5I4ud9ng+nr08YDJzEnEZOajNEQFQj3QyJ3pdbkKKRRjAKQTLrDplDwKGlkrmu0PTd7647F+y6uubrZ8Jl7hg==", "requires": { - "@fluidframework/common-utils": "^0.32.1", - "@fluidframework/gitresources": "^0.1035.1000", - "@fluidframework/protocol-base": "^0.1035.1000", + "@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", - "@fluidframework/server-services-core": "^0.1035.1000", - "@fluidframework/server-services-telemetry": "^0.1035.1000", - "debug": "^4.1.1", - "lodash": "^4.17.21", - "string-hash": "^1.1.3", + "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/gitresources": { "version": "0.1035.1000", "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", @@ -4256,11 +6914,218 @@ } } }, - "@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/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" + }, + "dependencies": { + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/tool-utils-previous": { + "version": "npm:@fluidframework/tool-utils@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" + }, + "dependencies": { + "@fluidframework/gitresources": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/gitresources/-/gitresources-0.1035.1000.tgz", + "integrity": "sha512-wva423Pk9+SRDr7OlgvZxHdohGuo6cI4yenj7aVLenbqhrq72zxT8hJ5TG4PZJeu2BEybZRxz6AFGRLZpGp8CQ==" + }, + "@fluidframework/protocol-base": { + "version": "0.1035.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-base/-/protocol-base-0.1035.1000.tgz", + "integrity": "sha512-MMHe/RUT99cf70kQ/rHGlNl85zJooiCdENSJIWObbZTfuDsZf0f8wjHjr1i39/wEs+2/eZ0pTWLB4HVom6UMpA==", + "requires": { + "@fluidframework/common-utils": "^0.32.1", + "@fluidframework/gitresources": "^0.1035.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000", + "lodash": "^4.17.21" + } + }, + "@fluidframework/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/undo-redo-previous": { + "version": "npm:@fluidframework/undo-redo@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/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.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-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.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/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" + }, + "dependencies": { + "@fluidframework/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, + "@fluidframework/web-code-loader-previous": { + "version": "npm:@fluidframework/web-code-loader@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" + }, + "dependencies": { + "@fluidframework/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } }, "@gar/promisify": { "version": "1.1.2", @@ -19760,13 +22625,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": { @@ -19778,6 +22643,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", @@ -22851,9 +25722,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": { @@ -23297,6 +26168,48 @@ "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.2002", + "resolved": "https://registry.npmjs.org/fluid-framework/-/fluid-framework-0.58.2002.tgz", + "integrity": "sha512-5neTvjQJ/Xg9LNhGf6qgqOnqayVFSqaqDkBXNBJ3fDiU2f07lN8C2s9dAzsVQEJ71hFGkmigGs4cYty0z0ku3Q==", + "requires": { + "@fluidframework/container-definitions": "^0.47.1000", + "@fluidframework/fluid-static": "^0.58.2002", + "@fluidframework/map": "^0.58.2002", + "@fluidframework/sequence": "^0.58.2002" + }, + "dependencies": { + "@fluidframework/container-definitions": { + "version": "0.47.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/container-definitions/-/container-definitions-0.47.1000.tgz", + "integrity": "sha512-L6I1HYEAmfMZfRx3O8JB3Z0Z96BbzuT+LPpx94s9J7L9pbLxfKQwSWNtYSMj0T8RxV4qGdzqABDnyYW6mwjm8w==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0", + "@fluidframework/core-interfaces": "^0.42.0", + "@fluidframework/driver-definitions": "^0.45.1000", + "@fluidframework/protocol-definitions": "^0.1027.1000" + } + }, + "@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/protocol-definitions": { + "version": "0.1027.1000", + "resolved": "https://registry.npmjs.org/@fluidframework/protocol-definitions/-/protocol-definitions-0.1027.1000.tgz", + "integrity": "sha512-6eUlOw9bOLjGmma1XtJDq7bMgSmrut+tsTA37kfokcWiUCBhlxLXq+fJkLuhjDOCVowEy5m0fRgt3vHzG/H9mg==", + "requires": { + "@fluidframework/common-definitions": "^0.20.0" + } + } + } + }, "flush-write-stream": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz", @@ -33183,16 +36096,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", @@ -33403,13 +36316,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": { @@ -33439,6 +36352,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", @@ -33492,9 +36411,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 } } @@ -38262,9 +41181,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 b9aa50df2393..714033503bc4 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", @@ -5606,9 +5606,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": { @@ -6932,9 +6932,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", @@ -6943,15 +6943,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", @@ -7199,13 +7199,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", @@ -7273,9 +7270,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", @@ -8207,13 +8204,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": { @@ -8726,16 +8723,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", @@ -10882,9 +10879,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": { @@ -11213,9 +11210,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", @@ -11224,15 +11221,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", 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 f1bbb8b9b959..fe74d2cf9e4d 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.59.1000", "@fluidframework/build-common": "^0.23.0", + "@fluidframework/cell-previous": "npm:@fluidframework/cell@^0.58.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.59.1000", "@fluidframework/test-runtime-utils": "^0.59.1000", @@ -94,5 +95,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/cell/src/test/tsconfig.json b/packages/dds/cell/src/test/tsconfig.json index dc68725a1b07..1a23bdabb30c 100644 --- a/packages/dds/cell/src/test/tsconfig.json +++ b/packages/dds/cell/src/test/tsconfig.json @@ -8,7 +8,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..92e13d700daf --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 2c9b85968aad..e89fbb56a78e 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.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.59.1000", "@fluidframework/test-runtime-utils": "^0.59.1000", @@ -90,5 +91,9 @@ "nyc": "^15.0.0", "rimraf": "^2.6.2", "typescript": "~4.1.3" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/counter/src/test/tsconfig.json b/packages/dds/counter/src/test/tsconfig.json index dc68725a1b07..1a23bdabb30c 100644 --- a/packages/dds/counter/src/test/tsconfig.json +++ b/packages/dds/counter/src/test/tsconfig.json @@ -8,7 +8,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..8bddbe46c097 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 bd0b5494ac39..a168d78de127 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.0", "@fluidframework/mocha-test-setup": "^0.59.1000", "@fluidframework/test-runtime-utils": "^0.59.1000", "@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.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/ink/src/test/tsconfig.json b/packages/dds/ink/src/test/tsconfig.json index f89e41653c7b..1a24228a9b8c 100644 --- a/packages/dds/ink/src/test/tsconfig.json +++ b/packages/dds/ink/src/test/tsconfig.json @@ -7,7 +7,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..f09a0b6003be --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 76504dccc88b..8c208ab63a56 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.59.1000", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/map-previous": "npm:@fluidframework/map@^0.58.0", "@fluidframework/mocha-test-setup": "^0.59.1000", "@fluidframework/test-runtime-utils": "^0.59.1000", "@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.59.1000", + "broken": { + "0.58.2002": { + "ClassDeclaration_SharedDirectory": {"forwardCompat": false} + } + } } -} +} \ No newline at end of file diff --git a/packages/dds/map/src/test/tsconfig.json b/packages/dds/map/src/test/tsconfig.json index c0c25f1ec402..4d099aa3d9c4 100644 --- a/packages/dds/map/src/test/tsconfig.json +++ b/packages/dds/map/src/test/tsconfig.json @@ -8,7 +8,8 @@ "types": [ "node", "mocha" - ] + ], + "skipLibCheck": true }, "include": [ "./**/*" 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..d72897c67029 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 62f0aa8e4820..46ee74acc206 100644 --- a/packages/dds/matrix/package.json +++ b/packages/dds/matrix/package.json @@ -76,6 +76,7 @@ "@fluid-internal/test-dds-utils": "^0.59.1000", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/matrix-previous": "npm:@fluidframework/matrix@^0.58.0", "@fluidframework/mocha-test-setup": "^0.59.1000", "@fluidframework/test-runtime-utils": "^0.59.1000", "@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.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/matrix/src/test/tsconfig.json b/packages/dds/matrix/src/test/tsconfig.json index b4f0b54fa74b..78330638702e 100644 --- a/packages/dds/matrix/src/test/tsconfig.json +++ b/packages/dds/matrix/src/test/tsconfig.json @@ -8,7 +8,8 @@ "types": [ "node", "mocha" - ] + ], + "skipLibCheck": true }, "include": [ "./**/*" 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..c1e5dd7c7866 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 db0622cb1604..9b5cda60edf2 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.0", "@fluidframework/mocha-test-setup": "^0.59.1000", "@fluidframework/test-runtime-utils": "^0.59.1000", "@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.59.1000", + "broken": {}, + "disabled": true } -} +} \ No newline at end of file diff --git a/packages/dds/merge-tree/src/client.ts b/packages/dds/merge-tree/src/client.ts index a4efa76513bf..dba792e78388 100644 --- a/packages/dds/merge-tree/src/client.ts +++ b/packages/dds/merge-tree/src/client.ts @@ -545,6 +545,8 @@ export class Client { } } + // start and end are guaranteed to be non-null here, otherwise we throw above. + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions return { start, end } as IIntegerRange; } diff --git a/packages/dds/merge-tree/src/collections.ts b/packages/dds/merge-tree/src/collections.ts index 1490ddd15285..17b836058810 100644 --- a/packages/dds/merge-tree/src/collections.ts +++ b/packages/dds/merge-tree/src/collections.ts @@ -190,6 +190,7 @@ export class Heap { this.fixup(this.count()); } + /* eslint-disable no-bitwise */ private fixup(k: number) { let _k = k; while (_k > 1 && (this.comp.compare(this.L[_k >> 1], this.L[_k]) > 0)) { @@ -216,6 +217,7 @@ export class Heap { _k = j; } } + /* eslint-enable no-bitwise */ } export const enum RBColor { diff --git a/packages/dds/merge-tree/src/partialLengths.ts b/packages/dds/merge-tree/src/partialLengths.ts index 7ec6615d6d48..955e30106cec 100644 --- a/packages/dds/merge-tree/src/partialLengths.ts +++ b/packages/dds/merge-tree/src/partialLengths.ts @@ -366,6 +366,8 @@ export class PartialSequenceLengths { } } if (seqPartialLen === undefined) { + // len will be assigned below, making this assertion true. + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions seqPartialLen = { clientId, seglen: seqSeglen, diff --git a/packages/dds/merge-tree/src/test/testClient.ts b/packages/dds/merge-tree/src/test/testClient.ts index f941bbfa456a..7edc0d14d779 100644 --- a/packages/dds/merge-tree/src/test/testClient.ts +++ b/packages/dds/merge-tree/src/test/testClient.ts @@ -78,6 +78,7 @@ export class TestClient extends Client { specToSeg: (spec: IJSONSegment) => ISegment): Promise { const client2 = new TestClient(undefined, specToSeg); const { catchupOpsP } = await client2.load( + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions { logger: client2.logger, clientId: newLongClientId, diff --git a/packages/dds/merge-tree/src/test/testServer.ts b/packages/dds/merge-tree/src/test/testServer.ts index 3b7307bc7c7a..364a165337dd 100644 --- a/packages/dds/merge-tree/src/test/testServer.ts +++ b/packages/dds/merge-tree/src/test/testServer.ts @@ -81,6 +81,7 @@ export class TestServer extends TestClient { msg.sequenceNumber = -1; } copyMsg(msg: ISequencedDocumentMessage) { + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions return { clientId: msg.clientId, clientSequenceNumber: msg.clientSequenceNumber, diff --git a/packages/dds/ordered-collection/package.json b/packages/dds/ordered-collection/package.json index 6f9f28ccddb3..5acdb6f13c44 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.59.1000", + "@fluidframework/ordered-collection-previous": "npm:@fluidframework/ordered-collection@^0.58.0", "@fluidframework/test-runtime-utils": "^0.59.1000", "@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.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/ordered-collection/src/test/tsconfig.json b/packages/dds/ordered-collection/src/test/tsconfig.json index dc68725a1b07..1a23bdabb30c 100644 --- a/packages/dds/ordered-collection/src/test/tsconfig.json +++ b/packages/dds/ordered-collection/src/test/tsconfig.json @@ -8,7 +8,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..7127446fffa7 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 5f4f2b12afe2..c1f06352670e 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.59.1000", + "@fluidframework/register-collection-previous": "npm:@fluidframework/register-collection@^0.58.0", "@fluidframework/test-runtime-utils": "^0.59.1000", "@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.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/register-collection/src/test/tsconfig.json b/packages/dds/register-collection/src/test/tsconfig.json index dc68725a1b07..1a23bdabb30c 100644 --- a/packages/dds/register-collection/src/test/tsconfig.json +++ b/packages/dds/register-collection/src/test/tsconfig.json @@ -8,7 +8,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..cd063a6a884f --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 b7d137600a32..7156c7c79321 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.1036.1000-0", "@fluidframework/mocha-test-setup": "^0.59.1000", + "@fluidframework/sequence-previous": "npm:@fluidframework/sequence@^0.58.0", "@fluidframework/server-services-client": "^0.1036.1000-0", "@fluidframework/test-runtime-utils": "^0.59.1000", "@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.59.1000", + "broken": {}, + "disabled": true } -} +} \ No newline at end of file diff --git a/packages/dds/sequence/src/intervalCollection.ts b/packages/dds/sequence/src/intervalCollection.ts index 19b421df1579..103c08ea0d33 100644 --- a/packages/dds/sequence/src/intervalCollection.ts +++ b/packages/dds/sequence/src/intervalCollection.ts @@ -397,9 +397,10 @@ export class LocalIntervalCollection { constructor( private readonly client: Client, private readonly label: string, - private readonly helpers: IIntervalHelpers) { - this.endIntervalTree = - new RedBlackTree(helpers.compareEnds); + private readonly helpers: IIntervalHelpers, + ) { + // eslint-disable-next-line @typescript-eslint/unbound-method + this.endIntervalTree = new RedBlackTree(helpers.compareEnds); } public addConflictResolver(conflictResolver: IntervalConflictResolver) { diff --git a/packages/dds/shared-object-base/package.json b/packages/dds/shared-object-base/package.json index 121351a1b2d5..b0bd0b59cbeb 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.59.1000", + "@fluidframework/shared-object-base-previous": "npm:@fluidframework/shared-object-base@^0.58.0", "@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.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/shared-object-base/src/test/tsconfig.json b/packages/dds/shared-object-base/src/test/tsconfig.json index dc68725a1b07..1a23bdabb30c 100644 --- a/packages/dds/shared-object-base/src/test/tsconfig.json +++ b/packages/dds/shared-object-base/src/test/tsconfig.json @@ -8,7 +8,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..95f496913f1b --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 b33d696c723a..f44fd2415866 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.59.1000", + "@fluidframework/shared-summary-block-previous": "npm:@fluidframework/shared-summary-block@^0.58.0", "@fluidframework/test-runtime-utils": "^0.59.1000", "@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.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/shared-summary-block/src/test/tsconfig.json b/packages/dds/shared-summary-block/src/test/tsconfig.json index dc68725a1b07..1a23bdabb30c 100644 --- a/packages/dds/shared-summary-block/src/test/tsconfig.json +++ b/packages/dds/shared-summary-block/src/test/tsconfig.json @@ -8,7 +8,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..2de4ba567180 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 63ae3526b82d..0d767372f331 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.59.1000" }, "devDependencies": { + "@fluid-experimental/task-manager-previous": "npm:@fluid-experimental/task-manager@^0.58.0", "@fluid-internal/test-dds-utils": "^0.59.1000", "@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.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/dds/task-manager/src/test/tsconfig.json b/packages/dds/task-manager/src/test/tsconfig.json index bf93a7a5c0e9..1eb8365438a9 100644 --- a/packages/dds/task-manager/src/test/tsconfig.json +++ b/packages/dds/task-manager/src/test/tsconfig.json @@ -8,7 +8,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..7bbd6ed11ed5 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 a521567ac508..3a1c7e511ca9 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.0", "@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.59.1000", + "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..45ec1ccfd14a --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 0b7aceb3adfd..567201d26e15 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.0", "@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.59.1000", + "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..41e75cbde02c --- /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.2002: +* "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.2002: +* "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/driver-web-cache/package.json b/packages/drivers/driver-web-cache/package.json index b24b87a56a8b..a95f33d004a8 100644 --- a/packages/drivers/driver-web-cache/package.json +++ b/packages/drivers/driver-web-cache/package.json @@ -43,6 +43,7 @@ }, "devDependencies": { "@fluidframework/build-common": "^0.23.0", + "@fluidframework/driver-web-cache-previous": "npm:@fluidframework/driver-web-cache@^0.58.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", @@ -63,5 +64,9 @@ "jest": "^26.6.3", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/drivers/driver-web-cache/src/test/types/validateDriverWebCachePrevious.ts b/packages/drivers/driver-web-cache/src/test/types/validateDriverWebCachePrevious.ts new file mode 100644 index 000000000000..82ac84fed343 --- /dev/null +++ b/packages/drivers/driver-web-cache/src/test/types/validateDriverWebCachePrevious.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/driver-web-cache-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.2002: +* "FunctionDeclaration_deleteFluidCacheIndexDbInstance": {"forwardCompat": false} +*/ +declare function get_old_FunctionDeclaration_deleteFluidCacheIndexDbInstance(): + TypeOnly; +declare function use_current_FunctionDeclaration_deleteFluidCacheIndexDbInstance( + use: TypeOnly); +use_current_FunctionDeclaration_deleteFluidCacheIndexDbInstance( + get_old_FunctionDeclaration_deleteFluidCacheIndexDbInstance()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2002: +* "FunctionDeclaration_deleteFluidCacheIndexDbInstance": {"backCompat": false} +*/ +declare function get_current_FunctionDeclaration_deleteFluidCacheIndexDbInstance(): + TypeOnly; +declare function use_old_FunctionDeclaration_deleteFluidCacheIndexDbInstance( + use: TypeOnly); +use_old_FunctionDeclaration_deleteFluidCacheIndexDbInstance( + get_current_FunctionDeclaration_deleteFluidCacheIndexDbInstance()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2002: +* "ClassDeclaration_FluidCache": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_FluidCache(): + TypeOnly; +declare function use_current_ClassDeclaration_FluidCache( + use: TypeOnly); +use_current_ClassDeclaration_FluidCache( + get_old_ClassDeclaration_FluidCache()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2002: +* "ClassDeclaration_FluidCache": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_FluidCache(): + TypeOnly; +declare function use_old_ClassDeclaration_FluidCache( + use: TypeOnly); +use_old_ClassDeclaration_FluidCache( + get_current_ClassDeclaration_FluidCache()); + +/* +* Validate forward compat by using old type in place of current type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2002: +* "InterfaceDeclaration_FluidCacheConfig": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_FluidCacheConfig(): + TypeOnly; +declare function use_current_InterfaceDeclaration_FluidCacheConfig( + use: TypeOnly); +use_current_InterfaceDeclaration_FluidCacheConfig( + get_old_InterfaceDeclaration_FluidCacheConfig()); + +/* +* Validate back compat by using current type in place of old type +* If breaking change required, add in package.json under typeValidation.broken.0.58.2002: +* "InterfaceDeclaration_FluidCacheConfig": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_FluidCacheConfig(): + TypeOnly; +declare function use_old_InterfaceDeclaration_FluidCacheConfig( + use: TypeOnly); +use_old_InterfaceDeclaration_FluidCacheConfig( + get_current_InterfaceDeclaration_FluidCacheConfig()); diff --git a/packages/drivers/file-driver/package.json b/packages/drivers/file-driver/package.json index 99e13b0439b0..408de06889c5 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.0", "@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.59.1000", + "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..a801f343c98b --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 f4602631f3a5..64888f910fb4 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.59.1000" }, "devDependencies": { + "@fluid-tools/fluidapp-odsp-urlresolver-previous": "npm:@fluid-tools/fluidapp-odsp-urlresolver@^0.58.0", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.59.1000", @@ -63,5 +64,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.59.1000", + "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..c6a28d090b29 --- /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.2002: +* "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.2002: +* "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 69944fb4a8cb..a372737d8963 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.0", "@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.59.1000", + "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..dcbbb93c7e35 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 c98efdb5c85b..6fb687ab4e4f 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.0", "@fluidframework/mocha-test-setup": "^0.59.1000", "@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.59.1000", + "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..acb1d1cb2ca3 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 a141b4287dcb..6afa9566e520 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.0", "@fluidframework/protocol-definitions": "^0.1028.1000-0", "@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.59.1000", + "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..13525ac90244 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 c784d54a1cc2..58d6aafc8e3d 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.59.1000", + "@fluidframework/odsp-driver-previous": "npm:@fluidframework/odsp-driver@^0.58.0", "@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.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/drivers/odsp-driver/src/compactSnapshotParser.ts b/packages/drivers/odsp-driver/src/compactSnapshotParser.ts index 5e16b5ab6202..a95afcec0b63 100644 --- a/packages/drivers/odsp-driver/src/compactSnapshotParser.ts +++ b/packages/drivers/odsp-driver/src/compactSnapshotParser.ts @@ -14,6 +14,7 @@ import { assertNumberInstance, getAndValidateNodeProps, NodeCore, + NodeTypes, TreeBuilder, } from "./zipItDataRepresentationUtils"; @@ -28,7 +29,8 @@ interface ISnapshotSection { * Recreates blobs section of the tree. * @param node - tree node to read blob section from */ -function readBlobSection(node: NodeCore) { +function readBlobSection(node: NodeTypes) { + assertNodeCoreInstance(node, "TreeBlobs should be of type NodeCore"); const blobs: Map = new Map(); for (let count = 0; count < node.length; ++count) { const blob = node.getNode(count); @@ -44,7 +46,8 @@ function readBlobSection(node: NodeCore) { * Recreates ops section of the tree. * @param node - tree node to read ops section from */ -function readOpsSection(node: NodeCore) { +function readOpsSection(node: NodeTypes) { + assertNodeCoreInstance(node, "Deltas should be of type NodeCore"); const ops: ISequencedDocumentMessage[] = []; const records = getAndValidateNodeProps(node, ["firstSequenceNumber", "deltas"]); assertNumberInstance(records.firstSequenceNumber, "Seq number should be a number"); @@ -92,7 +95,8 @@ function readTreeSection(node: NodeCore) { * Recreates snapshot tree out of tree representation. * @param node - tree node to de-serialize from */ -function readSnapshotSection(node: NodeCore): ISnapshotSection { +function readSnapshotSection(node: NodeTypes): ISnapshotSection { + assertNodeCoreInstance(node, "Snapshot should be of type NodeCore"); const records = getAndValidateNodeProps(node, ["id", "sequenceNumber", "treeNodes"]); @@ -119,7 +123,7 @@ export function parseCompactSnapshotResponse(buffer: ReadBuffer): ISnapshotConte const root = builder.getNode(0); const records = getAndValidateNodeProps(root, - ["mrv", "cv", "snapshot", "blobs", "deltas"]); + ["mrv", "cv", "snapshot", "blobs", "deltas"], false); assertBlobCoreInstance(records.mrv, "minReadVersion should be of BlobCore type"); assertBlobCoreInstance(records.cv, "createVersion should be of BlobCore type"); @@ -128,13 +132,9 @@ export function parseCompactSnapshotResponse(buffer: ReadBuffer): ISnapshotConte assert(records.cv.toString() >= snapshotMinReadVersion, 0x210 /* "Snapshot should be created with minReadVersion or above" */); - assertNodeCoreInstance(records.snapshot, "Snapshot should be of type NodeCore"); - assertNodeCoreInstance(records.blobs, "TreeBlobs should be of type NodeCore"); - assertNodeCoreInstance(records.deltas, "Deltas should be of type NodeCore"); - return { ...readSnapshotSection(records.snapshot), blobs: readBlobSection(records.blobs), - ops: readOpsSection(records.deltas), + ops: records.deltas !== undefined ? readOpsSection(records.deltas) : [], }; } diff --git a/packages/drivers/odsp-driver/src/odspDocumentService.ts b/packages/drivers/odsp-driver/src/odspDocumentService.ts index 591640badada..f7f70e820965 100644 --- a/packages/drivers/odsp-driver/src/odspDocumentService.ts +++ b/packages/drivers/odsp-driver/src/odspDocumentService.ts @@ -388,7 +388,7 @@ export class OdspDocumentService implements IDocumentService { }; const getResponseAndRefreshAfterDeltaMs = async () => { - let _response = await this.cache.sessionJoinCache.addOrGet(this.joinSessionKey, executeFetch); + const _response = await this.cache.sessionJoinCache.addOrGet(this.joinSessionKey, executeFetch); // If the response does not contain refreshSessionDurationSeconds, then treat it as old flow and let the // cache entry to be treated as expired after 1 hour. _response.joinSessionResponse.refreshSessionDurationSeconds = 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..1370d48e3e41 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 f7186c4ced70..09b2e1bc6a54 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.59.1000", + "@fluidframework/odsp-urlresolver-previous": "npm:@fluidframework/odsp-urlresolver@^0.58.0", "@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.59.1000", + "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..1c6803058000 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 15a26b642563..0ee202ac43e5 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.0", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", @@ -64,5 +65,13 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": { + "0.58.2002": { + "InterfaceDeclaration_IFileSnapshot": {"forwardCompat": false} + } + } } -} +} \ 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..d8b50a5f4a00 --- /dev/null +++ b/packages/drivers/replay-driver/src/test/types/validateReplayDriverPrevious.ts @@ -0,0 +1,256 @@ +/*! + * 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.2002: +* "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.2002: +* "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.2002: +* "InterfaceDeclaration_IFileSnapshot": {"forwardCompat": false} +*/ +declare function get_old_InterfaceDeclaration_IFileSnapshot(): + TypeOnly; +declare function use_current_InterfaceDeclaration_IFileSnapshot( + use: TypeOnly); +use_current_InterfaceDeclaration_IFileSnapshot( + // @ts-expect-error compatibility expected to be broken + 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 d9a519f5a571..f80aa0418a6a 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.59.1000", + "@fluidframework/routerlicious-driver-previous": "npm:@fluidframework/routerlicious-driver@^0.58.0", "@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.59.1000", + "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..8cf9892c4720 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 593f2eef05b1..6c62093eb5c4 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.1028.1000-0", + "@fluidframework/routerlicious-host-previous": "npm:@fluidframework/routerlicious-host@^0.58.0", "@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.59.1000", + "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..3ce0b57a4928 --- /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.2002: +* "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.2002: +* "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 7999b6e26b5b..550237b26706 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.59.1000", + "@fluidframework/routerlicious-urlresolver-previous": "npm:@fluidframework/routerlicious-urlresolver@^0.58.0", "@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.59.1000", + "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..74d4a32758a4 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 9b28cc9af692..4f67807054e6 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.0", "@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.59.1000", + "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..6e8f94530f1a --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 530a9e093180..21bcd0e64565 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.0", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.59.1000", @@ -105,5 +106,13 @@ "typescript": "~4.1.3", "typescript-formatter": "7.1.0" }, - "module:es5": "es5/index.js" -} + "module:es5": "es5/index.js", + "typeValidation": { + "version": "0.59.1000", + "broken": { + "0.58.2002": { + "InterfaceDeclaration_IDataObjectProps": {"backCompat": false} + } + } + } +} \ No newline at end of file diff --git a/packages/framework/aqueduct/src/test/tsconfig.json b/packages/framework/aqueduct/src/test/tsconfig.json index dc68725a1b07..1a23bdabb30c 100644 --- a/packages/framework/aqueduct/src/test/tsconfig.json +++ b/packages/framework/aqueduct/src/test/tsconfig.json @@ -8,7 +8,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..72c9d18b29c8 --- /dev/null +++ b/packages/framework/aqueduct/src/test/types/validateAqueductPrevious.ts @@ -0,0 +1,496 @@ +/*! + * 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "InterfaceDeclaration_IDataObjectProps": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IDataObjectProps(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IDataObjectProps( + use: TypeOnly); +use_old_InterfaceDeclaration_IDataObjectProps( + // @ts-expect-error compatibility expected to be broken + 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 32e0a88e451b..654bd2cace1b 100644 --- a/packages/framework/azure-client/package.json +++ b/packages/framework/azure-client/package.json @@ -58,6 +58,7 @@ }, "devDependencies": { "@fluidframework/aqueduct": "^0.59.1000", + "@fluidframework/azure-client-previous": "npm:@fluidframework/azure-client@^0.58.0", "@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.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/azure-client/src/test/tsconfig.json b/packages/framework/azure-client/src/test/tsconfig.json index f6504e732097..0134494d810a 100644 --- a/packages/framework/azure-client/src/test/tsconfig.json +++ b/packages/framework/azure-client/src/test/tsconfig.json @@ -7,7 +7,8 @@ "types": [ "mocha", "node" - ] + ], + "skipLibCheck": true }, "include": [ "./**/*" 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..e3548d132816 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 e5599ba93e31..f8b8b7f0cc21 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.0", "@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.59.1000", + "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..5951ebe2186b --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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/.eslintrc.js b/packages/framework/data-object-base/.eslintrc.js index 3c32dd6f54eb..c338c909c0be 100644 --- a/packages/framework/data-object-base/.eslintrc.js +++ b/packages/framework/data-object-base/.eslintrc.js @@ -7,6 +7,9 @@ module.exports = { "extends": [ "@fluidframework/eslint-config-fluid" ], + "parserOptions": { + "project": ["./tsconfig.json", "./src/test/tsconfig.json"] + }, "rules": { "@typescript-eslint/strict-boolean-expressions": "off" } diff --git a/packages/framework/data-object-base/package.json b/packages/framework/data-object-base/package.json index 9ecd9523a520..51bf5ab6726b 100644 --- a/packages/framework/data-object-base/package.json +++ b/packages/framework/data-object-base/package.json @@ -21,12 +21,13 @@ ], "scripts": { "build": "concurrently npm:build:compile npm:lint && npm run build:docs", - "build:compile": "concurrently npm:tsc npm:build:es5 npm:build:esnext", + "build:compile": "concurrently npm:tsc npm:build:es5 npm:build:esnext && 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:es5": "tsc --project ./tsconfig.es5.json", "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 lib es5 *.tsbuildinfo *.build.log", "eslint": "eslint --format stylish src", @@ -72,6 +73,7 @@ }, "devDependencies": { "@fluidframework/build-common": "^0.23.0", + "@fluidframework/data-object-base-previous": "npm:@fluidframework/data-object-base@^0.58.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.59.1000", "@microsoft/api-extractor": "^7.16.1", @@ -95,5 +97,9 @@ "typescript": "~4.1.3", "typescript-formatter": "7.1.0" }, - "module:es5": "es5/index.js" -} + "module:es5": "es5/index.js", + "typeValidation": { + "version": "0.59.1000", + "broken": {} + } +} \ No newline at end of file diff --git a/packages/framework/data-object-base/src/test/tsconfig.json b/packages/framework/data-object-base/src/test/tsconfig.json new file mode 100644 index 000000000000..1eb8365438a9 --- /dev/null +++ b/packages/framework/data-object-base/src/test/tsconfig.json @@ -0,0 +1,22 @@ +{ + "extends": "@fluidframework/build-common/ts-common-config.json", + "compilerOptions": { + "rootDir": "./", + "outDir": "../../dist/test", + "types": [ + "node", + "mocha" + ], + "declaration": false, + "declarationMap": false, + "skipLibCheck": true + }, + "include": [ + "./**/*" + ], + "references": [ + { + "path": "../.." + } + ] +} 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..0b8cb461f886 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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/data-object-base/tsconfig.es5.json b/packages/framework/data-object-base/tsconfig.es5.json index ae2dd216dac2..3108b950cea6 100644 --- a/packages/framework/data-object-base/tsconfig.es5.json +++ b/packages/framework/data-object-base/tsconfig.es5.json @@ -7,6 +7,6 @@ "exclude": [ "dist", "node_modules", - "test" + "src/test/**/*" ], } diff --git a/packages/framework/data-object-base/tsconfig.json b/packages/framework/data-object-base/tsconfig.json index 478935ec1e2a..724ff4f84ebc 100644 --- a/packages/framework/data-object-base/tsconfig.json +++ b/packages/framework/data-object-base/tsconfig.json @@ -2,7 +2,8 @@ "extends": "@fluidframework/build-common/ts-common-config.json", "exclude": [ "dist", - "node_modules" + "node_modules", + "src/test/**/*" ], "compilerOptions": { "declarationDir": "./dist", @@ -10,7 +11,8 @@ "outDir": "./dist", "types": [ "mocha" - ] + ], + "composite": true }, "include": [ "src/**/*" diff --git a/packages/framework/dds-interceptions/package.json b/packages/framework/dds-interceptions/package.json index a7238786cd4b..2990f6cd07ba 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.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.59.1000", "@fluidframework/test-runtime-utils": "^0.59.1000", @@ -96,5 +97,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/dds-interceptions/src/test/tsconfig.json b/packages/framework/dds-interceptions/src/test/tsconfig.json index dc68725a1b07..1a23bdabb30c 100644 --- a/packages/framework/dds-interceptions/src/test/tsconfig.json +++ b/packages/framework/dds-interceptions/src/test/tsconfig.json @@ -8,7 +8,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..0d91953585d0 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 0976ec83a984..a322cf8a4e4e 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.0", "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.59.1000", + "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/.eslintrc.js b/packages/framework/fluid-static/.eslintrc.js index a876d2128866..c338c909c0be 100644 --- a/packages/framework/fluid-static/.eslintrc.js +++ b/packages/framework/fluid-static/.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/fluid-static/package.json b/packages/framework/fluid-static/package.json index 7db4c2b1237b..4806fbe7b250 100644 --- a/packages/framework/fluid-static/package.json +++ b/packages/framework/fluid-static/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", @@ -50,6 +51,7 @@ "@fluid-experimental/get-container": "^0.59.1000", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/fluid-static-previous": "npm:@fluidframework/fluid-static@^0.58.0", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/node": "^14.18.0", @@ -68,5 +70,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/fluid-static/src/test/tsconfig.json b/packages/framework/fluid-static/src/test/tsconfig.json new file mode 100644 index 000000000000..1a24228a9b8c --- /dev/null +++ b/packages/framework/fluid-static/src/test/tsconfig.json @@ -0,0 +1,21 @@ +{ + "extends": "@fluidframework/build-common/ts-common-config.json", + "compilerOptions": { + "rootDir": "./", + "outDir": "../../dist/test", + "types": [ + "mocha" + ], + "declaration": false, + "declarationMap": false, + "skipLibCheck": true + }, + "include": [ + "./**/*" + ], + "references": [ + { + "path": "../.." + } + ] +} \ 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..e972c2c29b15 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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/fluid-static/tsconfig.json b/packages/framework/fluid-static/tsconfig.json index abc834468300..419f2cce3571 100644 --- a/packages/framework/fluid-static/tsconfig.json +++ b/packages/framework/fluid-static/tsconfig.json @@ -2,7 +2,8 @@ "extends": "@fluidframework/build-common/ts-common-config.json", "exclude": [ "dist", - "node_modules" + "node_modules", + "src/test/**/*" ], "compilerOptions": { "rootDir": "./src", diff --git a/packages/framework/request-handler/package.json b/packages/framework/request-handler/package.json index 95a2eacbcb99..b48ca989cee5 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.59.1000", + "@fluidframework/request-handler-previous": "npm:@fluidframework/request-handler@^0.58.0", "@fluidframework/test-runtime-utils": "^0.59.1000", "@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.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/request-handler/src/test/tsconfig.json b/packages/framework/request-handler/src/test/tsconfig.json index f89e41653c7b..1a24228a9b8c 100644 --- a/packages/framework/request-handler/src/test/tsconfig.json +++ b/packages/framework/request-handler/src/test/tsconfig.json @@ -7,7 +7,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..582815e9f9d9 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 29f5363cacd8..55c611f9e8ea 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.59.1000", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.59.1000", + "@fluidframework/synthesize-previous": "npm:@fluidframework/synthesize@^0.58.0", "@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.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/synthesize/src/dependencyContainer.ts b/packages/framework/synthesize/src/dependencyContainer.ts index e1ade871510c..61047cd7f235 100644 --- a/packages/framework/synthesize/src/dependencyContainer.ts +++ b/packages/framework/synthesize/src/dependencyContainer.ts @@ -146,7 +146,7 @@ export class DependencyContainer implements IFluidDependencySynthesizer { for (const parent of this.parents) { // eslint-disable-next-line @typescript-eslint/consistent-type-assertions const sp = { [t]: t } as FluidObjectSymbolProvider>; - const syn = parent.synthesize,{}>( + const syn = parent.synthesize, Record>( sp, {}); const descriptor = Object.getOwnPropertyDescriptor(syn, t); 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..0581abccd3ca --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 2c0952c1d00c..82a474fabf65 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.0", "@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.59.1000", + "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..b4f83b6c5685 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 0233fb5631d6..528b050cb690 100644 --- a/packages/framework/tinylicious-client/package.json +++ b/packages/framework/tinylicious-client/package.json @@ -55,6 +55,7 @@ "devDependencies": { "@fluidframework/aqueduct": "^0.59.1000", "@fluidframework/eslint-config-fluid": "^0.27.0", + "@fluidframework/tinylicious-client-previous": "npm:@fluidframework/tinylicious-client@^0.58.0", "@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.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/framework/tinylicious-client/src/test/tsconfig.json b/packages/framework/tinylicious-client/src/test/tsconfig.json index f6504e732097..0134494d810a 100644 --- a/packages/framework/tinylicious-client/src/test/tsconfig.json +++ b/packages/framework/tinylicious-client/src/test/tsconfig.json @@ -7,7 +7,8 @@ "types": [ "mocha", "node" - ] + ], + "skipLibCheck": true }, "include": [ "./**/*" 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..a2a34175b895 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 e914589e51ab..5edc44e98cc2 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.59.1000", "@fluidframework/test-runtime-utils": "^0.59.1000", + "@fluidframework/undo-redo-previous": "npm:@fluidframework/undo-redo@^0.58.0", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/diff": "^3.5.1", @@ -94,5 +95,13 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": { + "0.58.2002": { + "ClassDeclaration_SharedSegmentSequenceRevertible": {"forwardCompat": false} + } + } } -} +} \ No newline at end of file diff --git a/packages/framework/undo-redo/src/test/tsconfig.json b/packages/framework/undo-redo/src/test/tsconfig.json index dc68725a1b07..1a23bdabb30c 100644 --- a/packages/framework/undo-redo/src/test/tsconfig.json +++ b/packages/framework/undo-redo/src/test/tsconfig.json @@ -8,7 +8,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..bcf279e3e7fd --- /dev/null +++ b/packages/framework/undo-redo/src/test/types/validateUndoRedoPrevious.ts @@ -0,0 +1,160 @@ +/*! + * 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "ClassDeclaration_SharedSegmentSequenceRevertible": {"forwardCompat": false} +*/ +declare function get_old_ClassDeclaration_SharedSegmentSequenceRevertible(): + TypeOnly; +declare function use_current_ClassDeclaration_SharedSegmentSequenceRevertible( + use: TypeOnly); +use_current_ClassDeclaration_SharedSegmentSequenceRevertible( + // @ts-expect-error compatibility expected to be broken + 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 26beb7f2347c..0c547e9637cf 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.0", "@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.59.1000", + "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..e24debe01dc6 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 ec65e5af81a7..edd3d6ba3374 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.0", "@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.59.1000", + "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..b159927c9afe --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 dec015e4a78f..8746c1ff9539 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.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.59.1000", "@fluidframework/test-loader-utils": "^0.59.1000", @@ -105,5 +106,13 @@ "sinon": "^7.4.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": { + "0.58.2002": { + "ClassDeclaration_Container": {"forwardCompat": false, "backCompat": false} + } + } } -} +} \ No newline at end of file diff --git a/packages/loader/container-loader/src/container.ts b/packages/loader/container-loader/src/container.ts index c5df10983866..04daf8357a06 100644 --- a/packages/loader/container-loader/src/container.ts +++ b/packages/loader/container-loader/src/container.ts @@ -434,6 +434,10 @@ export class Container extends EventEmitterWithErrorHandling i return this._deltaManager.readOnlyInfo; } + public get closeSignal(): AbortSignal { + return this._deltaManager.closeAbortController.signal; + } + /** * Tracks host requiring read-only mode. */ @@ -831,7 +835,9 @@ export class Container extends EventEmitterWithErrorHandling i ), "containerAttach", this.mc.logger, - {}, // progress + { + cancel: this.closeSignal, + }, // progress ); } const resolvedUrl = this.service.resolvedUrl; diff --git a/packages/loader/container-loader/src/deltaManager.ts b/packages/loader/container-loader/src/deltaManager.ts index 4325408a80b2..473bdaf1b38b 100644 --- a/packages/loader/container-loader/src/deltaManager.ts +++ b/packages/loader/container-loader/src/deltaManager.ts @@ -123,7 +123,7 @@ export class DeltaManager private readonly throttlingIdSet = new Set(); private timeTillThrottling: number = 0; - private readonly closeAbortController = new AbortController(); + public readonly closeAbortController = new AbortController(); private readonly deltaStorageDelayId = uuid(); private readonly deltaStreamDelayId = uuid(); diff --git a/packages/loader/container-loader/src/retriableDocumentStorageService.ts b/packages/loader/container-loader/src/retriableDocumentStorageService.ts index fdaade39dd31..069ae94521f8 100644 --- a/packages/loader/container-loader/src/retriableDocumentStorageService.ts +++ b/packages/loader/container-loader/src/retriableDocumentStorageService.ts @@ -120,7 +120,7 @@ export class RetriableDocumentStorageService implements IDocumentStorageService, callName, this.logger, { - retry: () => this.checkStorageDisposed(), + onRetry: () => this.checkStorageDisposed(), }, ); } diff --git a/packages/loader/container-loader/src/test/tsconfig.json b/packages/loader/container-loader/src/test/tsconfig.json index dc68725a1b07..1a23bdabb30c 100644 --- a/packages/loader/container-loader/src/test/tsconfig.json +++ b/packages/loader/container-loader/src/test/tsconfig.json @@ -8,7 +8,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..62d63e822282 --- /dev/null +++ b/packages/loader/container-loader/src/test/types/validateContainerLoaderPrevious.ts @@ -0,0 +1,329 @@ +/*! + * 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "ClassDeclaration_Container": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_Container(): + TypeOnly; +declare function use_old_ClassDeclaration_Container( + use: TypeOnly); +use_old_ClassDeclaration_Container( + // @ts-expect-error compatibility expected to be broken + 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 7b132832bec6..8f875380129f 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.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.59.1000", "@fluidframework/test-runtime-utils": "^0.59.1000", @@ -89,5 +90,9 @@ "nyc": "^15.0.0", "rimraf": "^2.6.2", "typescript": "~4.1.3" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/loader/container-utils/src/test/tsconfig.json b/packages/loader/container-utils/src/test/tsconfig.json index dc68725a1b07..1a23bdabb30c 100644 --- a/packages/loader/container-utils/src/test/tsconfig.json +++ b/packages/loader/container-utils/src/test/tsconfig.json @@ -8,7 +8,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..9c0b83f8504d --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 46776c89f1f5..3209d5913152 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", @@ -64,6 +64,7 @@ "@fluidframework/core-interfaces": "^0.42.0", "@fluidframework/driver-definitions": "^0.46.1000-0", "@fluidframework/gitresources": "^0.1036.1000-0", + "@fluidframework/odsp-driver-definitions": "^0.59.1000", "@fluidframework/protocol-base": "^0.1036.1000-0", "@fluidframework/protocol-definitions": "^0.1028.1000-0", "@fluidframework/telemetry-utils": "^0.59.1000", @@ -72,6 +73,7 @@ }, "devDependencies": { "@fluidframework/build-common": "^0.23.0", + "@fluidframework/driver-utils-previous": "npm:@fluidframework/driver-utils@^0.58.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.59.1000", "@fluidframework/runtime-utils": "^0.59.1000", @@ -96,5 +98,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/loader/driver-utils/src/runWithRetry.ts b/packages/loader/driver-utils/src/runWithRetry.ts index 1a600da59238..983a25d7792a 100644 --- a/packages/loader/driver-utils/src/runWithRetry.ts +++ b/packages/loader/driver-utils/src/runWithRetry.ts @@ -5,7 +5,10 @@ import { ITelemetryLogger } from "@fluidframework/common-definitions"; import { delay, performance } from "@fluidframework/common-utils"; +import { OdspErrorType } from "@fluidframework/odsp-driver-definitions"; import { canRetryOnError, getRetryDelayFromError } from "./network"; +import { pkgVersion } from "./packageVersion"; +import { NonRetryableError } from "."; /** * Interface describing an object passed to various network APIs. @@ -32,7 +35,7 @@ export interface IProgress { * as well as information provided by service (like 429 error asking to wait for some time before retry) * @param error - error object returned from the call. */ - retry?(delayInMs: number, error: any): void; + onRetry?(delayInMs: number, error: any): void; } export async function runWithRetry( @@ -61,13 +64,22 @@ export async function runWithRetry( }, err); throw err; } + + if (progress.cancel?.aborted === true) { + throw new NonRetryableError( + "runWithRetryAborted", + OdspErrorType.fetchTimeout, + { eventName: `runWithRetryAborted_${fetchCallName}`, driverVersion: pkgVersion }, + ); + } + numRetries++; lastError = err; // If the error is throttling error, then wait for the specified time before retrying. // If the waitTime is not specified, then we start with retrying immediately to max of 8s. retryAfterMs = getRetryDelayFromError(err) ?? Math.min(retryAfterMs * 2, 8000); - if (progress.retry) { - progress.retry(retryAfterMs, err); + if (progress.onRetry) { + progress.onRetry(retryAfterMs, err); } await delay(retryAfterMs); } diff --git a/packages/loader/driver-utils/src/test/runWithRetry.spec.ts b/packages/loader/driver-utils/src/test/runWithRetry.spec.ts index 02c8bf6f0391..5edcb7f8d85e 100644 --- a/packages/loader/driver-utils/src/test/runWithRetry.spec.ts +++ b/packages/loader/driver-utils/src/test/runWithRetry.spec.ts @@ -35,7 +35,7 @@ describe("runWithRetry Tests", () => { "test", logger, { - retry: () => { emitDelayInfoTimes += 1; }, + onRetry: () => { emitDelayInfoTimes += 1; }, }, )); assert.strictEqual(retryTimes, 0, "Should succeed at first time"); @@ -64,7 +64,7 @@ describe("runWithRetry Tests", () => { "test", logger, { - retry: () => { emitDelayInfoTimes += 1; }, + onRetry: () => { emitDelayInfoTimes += 1; }, }, )); assert.strictEqual(retryTimes, 0, "Should keep retrying until success"); @@ -176,7 +176,7 @@ describe("runWithRetry Tests", () => { "test", logger, { - retry: () => { throw new Error("disposed"); }, + onRetry: () => { throw new Error("disposed"); }, }, )); assert.fail("Should not succeed"); 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..ddb2847b8ef2 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 6ea0cfec6fc2..2aca8e60dbac 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.0", "@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.59.1000", + "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..975c7822f722 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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/.eslintrc.js b/packages/loader/web-code-loader/.eslintrc.js index 3578a406f090..b5cf31162594 100644 --- a/packages/loader/web-code-loader/.eslintrc.js +++ b/packages/loader/web-code-loader/.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/loader/web-code-loader/package.json b/packages/loader/web-code-loader/package.json index aa07fbee39fb..42b0a7680762 100644 --- a/packages/loader/web-code-loader/package.json +++ b/packages/loader/web-code-loader/package.json @@ -16,11 +16,12 @@ "types": "dist/index.d.ts", "scripts": { "build": "concurrently npm:build:compile npm:lint && npm run build:docs", - "build:compile": "concurrently npm:tsc npm:build:esnext", + "build:compile": "concurrently npm:tsc npm:build:esnext && 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: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 lib *.tsbuildinfo *.build.log", "eslint": "eslint --format stylish src", @@ -40,6 +41,7 @@ "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/protocol-definitions": "^0.1028.1000-0", + "@fluidframework/web-code-loader-previous": "npm:@fluidframework/web-code-loader@^0.58.0", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/isomorphic-fetch": "^0.0.35", @@ -58,5 +60,9 @@ "source-map-loader": "^0.2.4", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/loader/web-code-loader/src/test/tsconfig.json b/packages/loader/web-code-loader/src/test/tsconfig.json new file mode 100644 index 000000000000..913f09ed3b1b --- /dev/null +++ b/packages/loader/web-code-loader/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/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..f6fc61699a37 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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/loader/web-code-loader/tsconfig.json b/packages/loader/web-code-loader/tsconfig.json index fb993697be0f..e826096775dd 100644 --- a/packages/loader/web-code-loader/tsconfig.json +++ b/packages/loader/web-code-loader/tsconfig.json @@ -2,11 +2,13 @@ "extends": "@fluidframework/build-common/ts-common-config.json", "exclude": [ "dist", - "node_modules" + "node_modules", + "src/test/**/*" ], "compilerOptions": { "rootDir": "./src", - "outDir": "./dist" + "outDir": "./dist", + "composite": true }, "include": [ "src/**/*" diff --git a/packages/runtime/agent-scheduler/.eslintrc.js b/packages/runtime/agent-scheduler/.eslintrc.js index 4b612d098d1a..af23e64f4458 100644 --- a/packages/runtime/agent-scheduler/.eslintrc.js +++ b/packages/runtime/agent-scheduler/.eslintrc.js @@ -7,6 +7,9 @@ module.exports = { "extends": [ "@fluidframework/eslint-config-fluid" ], + "parserOptions": { + "project": ["./tsconfig.json", "./src/test/tsconfig.json"] + }, "rules": { "@typescript-eslint/strict-boolean-expressions": "off", "no-null/no-null": "off" diff --git a/packages/runtime/agent-scheduler/package.json b/packages/runtime/agent-scheduler/package.json index 417129f5ea02..dc9959aa7ff7 100644 --- a/packages/runtime/agent-scheduler/package.json +++ b/packages/runtime/agent-scheduler/package.json @@ -16,10 +16,11 @@ "types": "dist/index.d.ts", "scripts": { "build": "concurrently npm:build:compile npm:lint", - "build:compile": "concurrently npm:tsc npm:build:esnext", + "build:compile": "concurrently npm:tsc npm:build:esnext && npm run build:test", "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", "clean": "rimraf dist lib *.tsbuildinfo *.build.log", "dev": "npm run build:dev -- --watch", "eslint": "eslint --format stylish src", @@ -63,6 +64,7 @@ "uuid": "^8.3.1" }, "devDependencies": { + "@fluidframework/agent-scheduler-previous": "npm:@fluidframework/agent-scheduler@^0.58.0", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@rushstack/eslint-config": "^2.5.1", @@ -93,5 +95,9 @@ "library": "main" } } + }, + "typeValidation": { + "version": "0.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/runtime/agent-scheduler/src/test/tsconfig.json b/packages/runtime/agent-scheduler/src/test/tsconfig.json new file mode 100644 index 000000000000..1a23bdabb30c --- /dev/null +++ b/packages/runtime/agent-scheduler/src/test/tsconfig.json @@ -0,0 +1,22 @@ +{ + "extends": "@fluidframework/build-common/ts-common-config.json", + "compilerOptions": { + "rootDir": "./", + "outDir": "../../dist/test", + "types": [ + "node", + "mocha" + ], + "declaration": false, + "declarationMap": false, + "skipLibCheck": true + }, + "include": [ + "./**/*" + ], + "references": [ + { + "path": "../.." + } + ] +} \ 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..b6a86f5c464c --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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/agent-scheduler/tsconfig.json b/packages/runtime/agent-scheduler/tsconfig.json index fb993697be0f..e826096775dd 100644 --- a/packages/runtime/agent-scheduler/tsconfig.json +++ b/packages/runtime/agent-scheduler/tsconfig.json @@ -2,11 +2,13 @@ "extends": "@fluidframework/build-common/ts-common-config.json", "exclude": [ "dist", - "node_modules" + "node_modules", + "src/test/**/*" ], "compilerOptions": { "rootDir": "./src", - "outDir": "./dist" + "outDir": "./dist", + "composite": true }, "include": [ "src/**/*" diff --git a/packages/runtime/container-runtime-definitions/package.json b/packages/runtime/container-runtime-definitions/package.json index 09bed8d59ec0..de719b6a3f7a 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.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", @@ -74,113 +62,6 @@ }, "typeValidation": { "version": "0.59.1000", - "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 - } - }, - "0.58.1000": { - "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": { - "backCompat": false - }, - "InterfaceDeclaration_IProvideContainerRuntime": { - "backCompat": false - }, - "InterfaceDeclaration_IContainerRuntime": { - "backCompat": false - } - } - } + "broken": {} } } 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 2ee4b9a8c87b..b56021db7a90 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,152 +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.2002: * "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.2002: * "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.2002: * "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.2002: * "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( - // @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.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2002: * "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.2002: * "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( - // @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.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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( - // @ts-expect-error compatibility expected to be broken get_current_InterfaceDeclaration_IProvideContainerRuntime()); diff --git a/packages/runtime/container-runtime/package.json b/packages/runtime/container-runtime/package.json index 43c625155700..ce5fad81ee75 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.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.59.1000", "@fluidframework/test-runtime-utils": "^0.59.1000", @@ -108,5 +109,9 @@ "sinon": "^7.4.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/runtime/container-runtime/src/containerRuntime.ts b/packages/runtime/container-runtime/src/containerRuntime.ts index ee2d4ecff019..899e2115ed50 100644 --- a/packages/runtime/container-runtime/src/containerRuntime.ts +++ b/packages/runtime/container-runtime/src/containerRuntime.ts @@ -2042,11 +2042,12 @@ export class ContainerRuntime extends TypedEventEmitter gcStats = await this.collectGarbage({ logger: summaryLogger, runSweep, fullGC }); } - const summarizeResult = await this.summarizerNode.summarize(fullTree, trackState); - assert(summarizeResult.summary.type === SummaryType.Tree, + const { stats, summary } = await this.summarizerNode.summarize(fullTree, trackState); + + assert(summary.type === SummaryType.Tree, 0x12f /* "Container Runtime's summarize should always return a tree" */); - return { ...summarizeResult, gcStats } as IRootSummaryTreeWithStats; + return { stats, summary, gcStats }; } /** diff --git a/packages/runtime/container-runtime/src/test/batchTracker.spec.ts b/packages/runtime/container-runtime/src/test/batchTracker.spec.ts index fdfb924c8288..032a57d958ec 100644 --- a/packages/runtime/container-runtime/src/test/batchTracker.spec.ts +++ b/packages/runtime/container-runtime/src/test/batchTracker.spec.ts @@ -88,6 +88,7 @@ describe("Runtime", () => { ]); }); + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions const batchMessage = (sequenceNumber: number): ISequencedDocumentMessage => ({ sequenceNumber, referenceSequenceNumber: sequenceNumber, diff --git a/packages/runtime/container-runtime/src/test/containerRuntime.spec.ts b/packages/runtime/container-runtime/src/test/containerRuntime.spec.ts index 44453401efbd..b93a721f395a 100644 --- a/packages/runtime/container-runtime/src/test/containerRuntime.spec.ts +++ b/packages/runtime/container-runtime/src/test/containerRuntime.spec.ts @@ -551,6 +551,7 @@ describe("Runtime", () => { }; }; const getMockPendingStateManager = (hasPendingMessages: boolean): PendingStateManager => { + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions return { replayPendingStates: () => { }, hasPendingMessages: () => hasPendingMessages, @@ -560,6 +561,7 @@ describe("Runtime", () => { } as PendingStateManager; }; const getMockDataStores = (): DataStores => { + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions return { processFluidDataStoreOp: (_message: ISequencedDocumentMessage, diff --git a/packages/runtime/container-runtime/src/test/dataStoreContext.spec.ts b/packages/runtime/container-runtime/src/test/dataStoreContext.spec.ts index 4f39b08152d3..cb3486281943 100644 --- a/packages/runtime/container-runtime/src/test/dataStoreContext.spec.ts +++ b/packages/runtime/container-runtime/src/test/dataStoreContext.spec.ts @@ -83,6 +83,7 @@ describe("Data Store Context Tests", () => { get IFluidDataStoreRegistry() { return registry; }, get: async (pkg) => Promise.resolve(factory), }; + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions containerRuntime = { IFluidDataStoreRegistry: registry, on: (event, listener) => { }, @@ -164,6 +165,7 @@ describe("Data Store Context Tests", () => { registryWithSubRegistries.instantiateDataStore = async (context: IFluidDataStoreContext) => new MockFluidDataStoreRuntime(); + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions containerRuntime = { IFluidDataStoreRegistry: registryWithSubRegistries, on: (event, listener) => { }, @@ -323,6 +325,7 @@ describe("Data Store Context Tests", () => { registry.IFluidDataStoreRegistry = registry; registry.get = async (pkg) => Promise.resolve(factory); + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions containerRuntime = { IFluidDataStoreRegistry: registry, on: (event, listener) => { }, diff --git a/packages/runtime/container-runtime/src/test/dataStoreCreation.spec.ts b/packages/runtime/container-runtime/src/test/dataStoreCreation.spec.ts index 6b65e753107b..d3010afc32ef 100644 --- a/packages/runtime/container-runtime/src/test/dataStoreCreation.spec.ts +++ b/packages/runtime/container-runtime/src/test/dataStoreCreation.spec.ts @@ -90,6 +90,7 @@ describe("Data Store Creation Tests", () => { get IFluidDataStoreRegistry() { return globalRegistry; }, get: async (pkg) => globalRegistryEntries.get(pkg), }; + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions containerRuntime = { IFluidDataStoreRegistry: globalRegistry, on: (event, listener) => { }, diff --git a/packages/runtime/container-runtime/src/test/tsconfig.json b/packages/runtime/container-runtime/src/test/tsconfig.json index 9a8232d05b64..1dfb090dab7c 100644 --- a/packages/runtime/container-runtime/src/test/tsconfig.json +++ b/packages/runtime/container-runtime/src/test/tsconfig.json @@ -7,7 +7,8 @@ "outDir": "../../dist/test", "types": [ "mocha" - ] + ], + "skipLibCheck": true }, "include": [ "./**/*" 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..cae4aa234877 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 858f2a903796..2d33fa6e9267 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.0", "@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.59.1000", - "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..f5beea6f105a 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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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 5e76c0445319..5e0f4158f635 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.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.59.1000", "@fluidframework/test-runtime-utils": "^0.59.1000", @@ -104,5 +105,9 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/runtime/datastore/src/test/tsconfig.json b/packages/runtime/datastore/src/test/tsconfig.json index 9a8232d05b64..1dfb090dab7c 100644 --- a/packages/runtime/datastore/src/test/tsconfig.json +++ b/packages/runtime/datastore/src/test/tsconfig.json @@ -7,7 +7,8 @@ "outDir": "../../dist/test", "types": [ "mocha" - ] + ], + "skipLibCheck": true }, "include": [ "./**/*" 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..e9b11cb45f8d --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 d7be243eff1b..06c78dd64341 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.0", "@fluidframework/mocha-test-setup": "^0.59.1000", "@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.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/runtime/garbage-collector/src/test/tsconfig.json b/packages/runtime/garbage-collector/src/test/tsconfig.json index bf93a7a5c0e9..1eb8365438a9 100644 --- a/packages/runtime/garbage-collector/src/test/tsconfig.json +++ b/packages/runtime/garbage-collector/src/test/tsconfig.json @@ -8,7 +8,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..9a17f776cc59 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 3fdb3d84bbe3..8605aa7bf8c1 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.0", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@typescript-eslint/eslint-plugin": "~5.9.0", @@ -75,466 +63,21 @@ "typeValidation": { "version": "0.59.1000", "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 - }, - "TypeAliasDeclaration_CreateChildSummarizerNodeFn": { - "backCompat": false - }, - "TypeAliasDeclaration_CreateChildSummarizerNodeParam": { - "forwardCompat": false - }, + "0.58.2002": { "InterfaceDeclaration_IAttachMessage": { "forwardCompat": false }, - "TypeAliasDeclaration_InboundAttachMessage": { - "forwardCompat": false - }, - "InterfaceDeclaration_ISummarizerNode": { - "backCompat": false - }, - "InterfaceDeclaration_ISummarizerNodeWithGC": { - "backCompat": 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 - }, - "TypeAliasDeclaration_CreateChildSummarizerNodeFn": { - "backCompat": false - }, - "TypeAliasDeclaration_CreateChildSummarizerNodeParam": { - "forwardCompat": false - }, - "InterfaceDeclaration_IAttachMessage": { - "forwardCompat": false - }, - "TypeAliasDeclaration_InboundAttachMessage": { - "forwardCompat": false - }, - "InterfaceDeclaration_ISummarizerNode": { "backCompat": false }, - "InterfaceDeclaration_ISummarizerNodeWithGC": { - "backCompat": 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 - }, - "TypeAliasDeclaration_CreateChildSummarizerNodeFn": { "backCompat": false }, - "TypeAliasDeclaration_CreateChildSummarizerNodeParam": { - "forwardCompat": false - }, - "InterfaceDeclaration_IAttachMessage": { - "forwardCompat": false - }, "TypeAliasDeclaration_InboundAttachMessage": { "forwardCompat": false }, - "InterfaceDeclaration_ISummarizerNode": { - "backCompat": false - }, - "InterfaceDeclaration_ISummarizerNodeWithGC": { - "backCompat": 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 - }, - "TypeAliasDeclaration_CreateChildSummarizerNodeFn": { - "backCompat": false - }, "TypeAliasDeclaration_CreateChildSummarizerNodeParam": { "forwardCompat": false - }, - "InterfaceDeclaration_IAttachMessage": { - "forwardCompat": false - }, - "TypeAliasDeclaration_InboundAttachMessage": { - "forwardCompat": false - }, - "InterfaceDeclaration_ISummarizerNode": { - "backCompat": false - }, - "InterfaceDeclaration_ISummarizerNodeWithGC": { - "backCompat": 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 - }, - "TypeAliasDeclaration_CreateChildSummarizerNodeFn": { - "backCompat": false - }, - "TypeAliasDeclaration_CreateChildSummarizerNodeParam": { - "forwardCompat": false - }, - "InterfaceDeclaration_IAttachMessage": { - "forwardCompat": false - }, - "TypeAliasDeclaration_InboundAttachMessage": { - "forwardCompat": false - }, - "InterfaceDeclaration_ISummarizerNode": { - "backCompat": false - }, - "InterfaceDeclaration_ISummarizerNodeWithGC": { - "backCompat": 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 - }, - "TypeAliasDeclaration_CreateChildSummarizerNodeFn": { - "backCompat": false - }, - "TypeAliasDeclaration_CreateChildSummarizerNodeParam": { - "forwardCompat": false - }, - "InterfaceDeclaration_IAttachMessage": { - "forwardCompat": false - }, - "TypeAliasDeclaration_InboundAttachMessage": { - "forwardCompat": false - }, - "InterfaceDeclaration_ISummarizerNode": { - "backCompat": false - }, - "InterfaceDeclaration_ISummarizerNodeWithGC": { - "backCompat": 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 - }, - "TypeAliasDeclaration_CreateChildSummarizerNodeFn": { - "backCompat": false - }, - "TypeAliasDeclaration_CreateChildSummarizerNodeParam": { - "forwardCompat": false - }, - "InterfaceDeclaration_IAttachMessage": { - "forwardCompat": false - }, - "TypeAliasDeclaration_InboundAttachMessage": { - "forwardCompat": false - }, - "InterfaceDeclaration_ISummarizerNode": { - "backCompat": false - }, - "InterfaceDeclaration_ISummarizerNodeWithGC": { - "backCompat": false - } - }, - "0.58.1000": { - "InterfaceDeclaration_IContainerRuntimeBase": { - "backCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreContext": { - "backCompat": false - }, - "InterfaceDeclaration_IFluidDataStoreContextDetached": { - "backCompat": false - }, - "TypeAliasDeclaration_CreateChildSummarizerNodeFn": { - "backCompat": false - }, - "TypeAliasDeclaration_CreateChildSummarizerNodeParam": { - "forwardCompat": false - }, - "InterfaceDeclaration_IAttachMessage": { - "forwardCompat": false - }, - "TypeAliasDeclaration_InboundAttachMessage": { - "forwardCompat": false - }, - "InterfaceDeclaration_ISummarizerNode": { - "backCompat": false - }, - "InterfaceDeclaration_ISummarizerNodeWithGC": { - "backCompat": false } } } 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 69093b01aadf..000000000000 --- a/packages/runtime/runtime-definitions/src/test/types/validate0.51.1.ts +++ /dev/null @@ -1,924 +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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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 51d7923b2afe..000000000000 --- a/packages/runtime/runtime-definitions/src/test/types/validate0.52.0.ts +++ /dev/null @@ -1,924 +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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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 2af7acb24ad8..000000000000 --- a/packages/runtime/runtime-definitions/src/test/types/validate0.53.0.ts +++ /dev/null @@ -1,972 +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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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 093a9d2cea39..000000000000 --- a/packages/runtime/runtime-definitions/src/test/types/validate0.54.0.ts +++ /dev/null @@ -1,972 +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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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 6e29fa9dc592..000000000000 --- a/packages/runtime/runtime-definitions/src/test/types/validate0.55.0.ts +++ /dev/null @@ -1,996 +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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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 de676e560a17..000000000000 --- a/packages/runtime/runtime-definitions/src/test/types/validate0.56.0.ts +++ /dev/null @@ -1,996 +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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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 c2dd156b38d5..000000000000 --- a/packages/runtime/runtime-definitions/src/test/types/validate0.57.0.ts +++ /dev/null @@ -1,996 +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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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( - // @ts-expect-error compatibility expected to be broken - 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 b3561c490993..fa0febe7dd1d 100644 --- a/packages/runtime/runtime-definitions/src/test/types/validate0.58.1000.ts +++ b/packages/runtime/runtime-definitions/src/test/types/validateRuntimeDefinitionsPrevious.ts @@ -6,1022 +6,1023 @@ * 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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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( - // @ts-expect-error compatibility expected to be broken 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.2002: * "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( // @ts-expect-error compatibility expected to be broken 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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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( // @ts-expect-error compatibility expected to be broken 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.2002: * "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.2002: * "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.2002: * "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( - // @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.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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( // @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.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2002: * "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.2002: * "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( // @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.58.1000: +* If breaking change required, add in package.json under typeValidation.broken.0.58.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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( // @ts-expect-error compatibility expected to be broken 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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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( - // @ts-expect-error compatibility expected to be broken 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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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( - // @ts-expect-error compatibility expected to be broken 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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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.2002: * "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 cd88c8dc7d8c..51acec1a839c 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.59.1000", + "@fluidframework/runtime-utils-previous": "npm:@fluidframework/runtime-utils@^0.58.0", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", @@ -98,5 +99,13 @@ "ts-node": "^7.0.1", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": { + "0.58.2002": { + "TypeAliasDeclaration_RefreshSummaryResult": {"backCompat": false} + } + } } -} +} \ No newline at end of file diff --git a/packages/runtime/runtime-utils/src/test/tsconfig.json b/packages/runtime/runtime-utils/src/test/tsconfig.json index dc68725a1b07..1a23bdabb30c 100644 --- a/packages/runtime/runtime-utils/src/test/tsconfig.json +++ b/packages/runtime/runtime-utils/src/test/tsconfig.json @@ -8,7 +8,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..99e3485e43ec --- /dev/null +++ b/packages/runtime/runtime-utils/src/test/types/validateRuntimeUtilsPrevious.ts @@ -0,0 +1,784 @@ +/*! + * 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "TypeAliasDeclaration_RefreshSummaryResult": {"backCompat": false} +*/ +declare function get_current_TypeAliasDeclaration_RefreshSummaryResult(): + TypeOnly; +declare function use_old_TypeAliasDeclaration_RefreshSummaryResult( + use: TypeOnly); +use_old_TypeAliasDeclaration_RefreshSummaryResult( + // @ts-expect-error compatibility expected to be broken + 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 15253f75a572..87b305fdf25f 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.59.1000", + "@fluidframework/test-runtime-utils-previous": "npm:@fluidframework/test-runtime-utils@^0.58.0", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", @@ -99,5 +100,13 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": { + "0.58.2002": { + "ClassDeclaration_MockFluidDataStoreContext": {"backCompat": false} + } + } } -} +} \ No newline at end of file diff --git a/packages/runtime/test-runtime-utils/src/test/tsconfig.json b/packages/runtime/test-runtime-utils/src/test/tsconfig.json index dc68725a1b07..1a23bdabb30c 100644 --- a/packages/runtime/test-runtime-utils/src/test/tsconfig.json +++ b/packages/runtime/test-runtime-utils/src/test/tsconfig.json @@ -8,7 +8,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..afc281531f7d --- /dev/null +++ b/packages/runtime/test-runtime-utils/src/test/types/validateTestRuntimeUtilsPrevious.ts @@ -0,0 +1,424 @@ +/*! + * 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "ClassDeclaration_MockFluidDataStoreContext": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_MockFluidDataStoreContext(): + TypeOnly; +declare function use_old_ClassDeclaration_MockFluidDataStoreContext( + use: TypeOnly); +use_old_ClassDeclaration_MockFluidDataStoreContext( + // @ts-expect-error compatibility expected to be broken + 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 946046d0de3b..4d20704f41a4 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 7c69be346472..5418be210004 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.0", "@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.59.1000", + "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..d8434162a53a --- /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.2002: +* "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.2002: +* "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 410d99007233..613af21a4b22 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.0", "@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.59.1000", + "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..be5bececda44 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 b87d1494e071..20d09cecc9d5 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.0", "@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.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/test/test-drivers/src/odspDriverApi.ts b/packages/test/test-drivers/src/odspDriverApi.ts index bfb5a3c6819c..145fbad75352 100644 --- a/packages/test/test-drivers/src/odspDriverApi.ts +++ b/packages/test/test-drivers/src/odspDriverApi.ts @@ -62,7 +62,7 @@ export const generateOdspHostStoragePolicy = (seed: number) => { sessionOptions: [undefined, ...generatePairwiseOptions(odspSessionOptions, seed)], enableRedeemFallback: booleanCases, cacheCreateNewSummary: booleanCases, - fetchBinarySnapshotFormat: [false], + fetchBinarySnapshotFormat: [undefined], isolateSocketCache: [true], enableShareLinkWithCreate: [false], }; 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..b2f569ca198c --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 c2913be1f45a..7b99016c85df 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", @@ -141,4 +138,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/batching.spec.ts b/packages/test/test-end-to-end-tests/src/test/batching.spec.ts index 0ea5af521167..b3bddc81241e 100644 --- a/packages/test/test-end-to-end-tests/src/test/batching.spec.ts +++ b/packages/test/test-end-to-end-tests/src/test/batching.spec.ts @@ -283,7 +283,8 @@ describeFullCompat("Flushing ops", (getTestObjectProvider) => { verifyBatchMetadata(dataObject2BatchMessages); }); - it("can send and receive consecutive batches that are flushed on JS turn", async () => { + // Disabled due to issue #9546 + it.skip("can send and receive consecutive batches that are flushed on JS turn", async () => { /** * This test verifies that among other things, the PendingStateManager's algorithm of handling * consecutive batches is correct. 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 fec7a13833ae..50bf18b65a6e 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.59.1000", + "@fluidframework/test-pairwise-generator-previous": "npm:@fluidframework/test-pairwise-generator@^0.58.0", "@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.59.1000", + "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..8f0403a690cf --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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-service-load/src/optionsMatrix.ts b/packages/test/test-service-load/src/optionsMatrix.ts index 945e4928d042..79b9f742e782 100644 --- a/packages/test/test-service-load/src/optionsMatrix.ts +++ b/packages/test/test-service-load/src/optionsMatrix.ts @@ -15,6 +15,7 @@ import { numberCases, } from "@fluidframework/test-pairwise-generator"; import { ILoaderOptions } from "@fluidframework/container-loader"; +import { ConfigTypes } from "@fluidframework/telemetry-utils"; const loaderOptionsMatrix: OptionsMatrix = { cache: booleanCases, @@ -87,3 +88,14 @@ export function generateRuntimeOptions( {...overrides, gcOptions: undefined, summaryOptions: undefined}), seed); } + +export function generateConfigurations( + seed: number, overrides: OptionsMatrix> | undefined, +): Record[] { + if (overrides === undefined) { + return [{}]; + } + return generatePairwiseOptions>( + overrides, + seed); +} diff --git a/packages/test/test-service-load/src/runner.ts b/packages/test/test-service-load/src/runner.ts index 04e509a019e9..d3d2b85897c4 100644 --- a/packages/test/test-service-load/src/runner.ts +++ b/packages/test/test-service-load/src/runner.ts @@ -17,7 +17,7 @@ import { ITelemetryLogger } from "@fluidframework/common-definitions"; import { ILoadTest, IRunConfig } from "./loadTestDataStore"; import { createCodeLoader, createTestDriver, getProfile, loggerP, safeExit } from "./utils"; import { FaultInjectionDocumentServiceFactory } from "./faultInjectionDriver"; -import { generateLoaderOptions, generateRuntimeOptions } from "./optionsMatrix"; +import { generateConfigurations, generateLoaderOptions, generateRuntimeOptions } from "./optionsMatrix"; function printStatus(runConfig: IRunConfig, message: string) { if (runConfig.verbose) { @@ -139,6 +139,8 @@ async function runnerProcess( const containerOptions = generateRuntimeOptions( seed, runConfig.testConfig?.optionOverrides?.[driver]?.container); + const configurations = generateConfigurations( + seed, runConfig.testConfig?.optionOverrides?.[driver]?.configurations); const testDriver: ITestDriver = await createTestDriver(driver, seed, runConfig.runId); const baseLogger = await loggerP; const logger = ChildLogger.create(baseLogger, undefined, @@ -180,6 +182,11 @@ async function runnerProcess( codeLoader: createCodeLoader(containerOptions[runConfig.runId % containerOptions.length]), logger, options: loaderOptions[runConfig.runId % containerOptions.length], + configProvider: { + getRawConfig(name) { + return configurations[runConfig.runId % configurations.length][name]; + }, + }, }); const container: IContainer = await loader.resolve({ url, headers }); diff --git a/packages/test/test-service-load/src/testConfigFile.ts b/packages/test/test-service-load/src/testConfigFile.ts index afc89f0bd065..0c2c3e097850 100644 --- a/packages/test/test-service-load/src/testConfigFile.ts +++ b/packages/test/test-service-load/src/testConfigFile.ts @@ -5,6 +5,7 @@ import { ILoaderOptions } from "@fluidframework/container-definitions"; import { IContainerRuntimeOptions } from "@fluidframework/container-runtime"; +import { ConfigTypes } from "@fluidframework/telemetry-utils"; import { TestDriverTypes } from "@fluidframework/test-driver-definitions"; import { OptionsMatrix } from "@fluidframework/test-pairwise-generator"; @@ -43,6 +44,7 @@ export interface ILoadTestConfig { } export interface OptionOverride{ - loader?: Partial>, - container?: Partial> + loader?: Partial>; + container?: Partial>; + configurations?: OptionsMatrix>; } diff --git a/packages/test/test-service-load/src/utils.ts b/packages/test/test-service-load/src/utils.ts index d78218690711..63e9c7a20b8d 100644 --- a/packages/test/test-service-load/src/utils.ts +++ b/packages/test/test-service-load/src/utils.ts @@ -18,7 +18,7 @@ import { ITelemetryBufferedLogger, ITestDriver, TestDriverTypes } from "@fluidfr import { createFluidTestDriver, generateOdspHostStoragePolicy, OdspTestDriver } from "@fluidframework/test-drivers"; import { LocalCodeLoader } from "@fluidframework/test-utils"; import { createFluidExport, ILoadTest } from "./loadTestDataStore"; -import { generateLoaderOptions, generateRuntimeOptions } from "./optionsMatrix"; +import { generateConfigurations, generateLoaderOptions, generateRuntimeOptions } from "./optionsMatrix"; import { pkgName, pkgVersion } from "./packageVersion"; import { ILoadTestConfig, ITestConfig } from "./testConfigFile"; @@ -125,6 +125,10 @@ export async function initialize(testDriver: ITestDriver, seed: number, testConf const containerOptions = random.pick( randEng, generateRuntimeOptions(seed, testConfig.optionOverrides?.[testDriver.type]?.container)); + const configurations = random.pick( + randEng, + generateConfigurations(seed, testConfig?.optionOverrides?.[testDriver.type]?.configurations)); + // Construct the loader const loader = new Loader({ urlResolver: testDriver.createUrlResolver(), @@ -139,6 +143,11 @@ export async function initialize(testDriver: ITestDriver, seed: number, testConf }), options: loaderOptions, detachedBlobStorage: new MockDetachedBlobStorage(), + configProvider: { + getRawConfig(name) { + return configurations[name]; + }, + }, }); const container: IContainer = await loader.createDetachedContainer(codeDetails); diff --git a/packages/test/test-service-load/testConfig.json b/packages/test/test-service-load/testConfig.json index 793312846868..cf9c58885445 100644 --- a/packages/test/test-service-load/testConfig.json +++ b/packages/test/test-service-load/testConfig.json @@ -86,6 +86,20 @@ "totalBlobCount": 300, "blobSize": 10240, "detachedBlobCount": 10 + }, + "binarySnapshotFormat": { + "opRatePerMin": 60, + "progressIntervalMs": 5000, + "numClients": 4, + "totalSendCount": 150, + "readWriteCycleMs": 10000, + "optionOverrides":{ + "odsp":{ + "configurations":{ + "Fluid.Driver.Odsp.binaryFormatSnapshot": [true] + } + } + } } } } 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 8132e094ced8..e2e1e95abcdc 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.0", "@microsoft/api-extractor": "^7.16.1", "@rushstack/eslint-config": "^2.5.1", "@types/diff": "^3.5.1", @@ -105,5 +107,15 @@ "rimraf": "^2.6.2", "typescript": "~4.1.3", "typescript-formatter": "7.1.0" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": { + "0.58.2002": { + "InterfaceDeclaration_IProvideTestFluidObject": {"backCompat": false}, + "InterfaceDeclaration_ITestFluidObject": {"backCompat": false}, + "ClassDeclaration_TestFluidObject": {"backCompat": false} + } + } } -} +} \ No newline at end of file diff --git a/packages/test/test-utils/src/loaderContainerTracker.ts b/packages/test/test-utils/src/loaderContainerTracker.ts index 7829e541ff78..4e4952f34b21 100644 --- a/packages/test/test-utils/src/loaderContainerTracker.ts +++ b/packages/test/test-utils/src/loaderContainerTracker.ts @@ -47,9 +47,11 @@ export class LoaderContainerTracker implements IOpProcessingController { return container; }; }; + /* eslint-disable @typescript-eslint/unbound-method */ loader.resolve = patch(loader.resolve); loader.createDetachedContainer = patch(loader.createDetachedContainer); loader.rehydrateDetachedContainerFromSnapshot = patch(loader.rehydrateDetachedContainerFromSnapshot); + /* eslint-enable @typescript-eslint/unbound-method */ } /** 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..8f5701ddedec --- /dev/null +++ b/packages/test/test-utils/src/test/types/validateTestUtilsPrevious.ts @@ -0,0 +1,666 @@ +/*! + * 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "InterfaceDeclaration_IProvideTestFluidObject": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_IProvideTestFluidObject(): + TypeOnly; +declare function use_old_InterfaceDeclaration_IProvideTestFluidObject( + use: TypeOnly); +use_old_InterfaceDeclaration_IProvideTestFluidObject( + // @ts-expect-error compatibility expected to be broken + 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "InterfaceDeclaration_ITestFluidObject": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITestFluidObject(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITestFluidObject( + use: TypeOnly); +use_old_InterfaceDeclaration_ITestFluidObject( + // @ts-expect-error compatibility expected to be broken + 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "ClassDeclaration_TestFluidObject": {"backCompat": false} +*/ +declare function get_current_ClassDeclaration_TestFluidObject(): + TypeOnly; +declare function use_old_ClassDeclaration_TestFluidObject( + use: TypeOnly); +use_old_ClassDeclaration_TestFluidObject( + // @ts-expect-error compatibility expected to be broken + 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 b73ea4057bb3..dbba0aebdd22 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.0", "@rushstack/eslint-config": "^2.5.1", "@types/mocha": "^8.2.2", "@types/nock": "^9.3.0", @@ -107,5 +109,15 @@ "uuid": "^8.3.1", "webpack": "^4.43.0", "webpack-cli": "^3.3.11" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": { + "0.58.2002": { + "InterfaceDeclaration_ITestDataObject": {"backCompat": false}, + "RemovedVariableDeclaration_pkgName": {"backCompat": false, "forwardCompat": false}, + "RemovedVariableDeclaration_pkgVersion": {"backCompat": false, "forwardCompat": 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..fa5e4462a60b --- /dev/null +++ b/packages/test/test-version-utils/src/test/types/validateTestVersionUtilsPrevious.ts @@ -0,0 +1,476 @@ +/*! + * 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "InterfaceDeclaration_ITestDataObject": {"backCompat": false} +*/ +declare function get_current_InterfaceDeclaration_ITestDataObject(): + TypeOnly; +declare function use_old_InterfaceDeclaration_ITestDataObject( + use: TypeOnly); +use_old_InterfaceDeclaration_ITestDataObject( + // @ts-expect-error compatibility expected to be broken + 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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 035e6398418b..9b3eef4a7767 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.0", "@fluidframework/build-common": "^0.23.0", "@fluidframework/eslint-config-fluid": "^0.27.0", "@fluidframework/mocha-test-setup": "^0.59.1000", @@ -120,5 +121,9 @@ "typescript-formatter": "7.1.0", "webpack": "^4.43.0", "webpack-cli": "^3.3.11" + }, + "typeValidation": { + "version": "0.59.1000", + "broken": {} } -} +} \ No newline at end of file diff --git a/packages/tools/webpack-fluid-loader/src/test/tsconfig.json b/packages/tools/webpack-fluid-loader/src/test/tsconfig.json index dc68725a1b07..1a23bdabb30c 100644 --- a/packages/tools/webpack-fluid-loader/src/test/tsconfig.json +++ b/packages/tools/webpack-fluid-loader/src/test/tsconfig.json @@ -8,7 +8,8 @@ "mocha" ], "declaration": false, - "declarationMap": false + "declarationMap": false, + "skipLibCheck": true }, "include": [ "./**/*" 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..21dd576e186c --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 20815082c00d..acfcdb256c2e 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.59.1000", + "@fluidframework/odsp-doclib-utils-previous": "npm:@fluidframework/odsp-doclib-utils@^0.58.0", "@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.59.1000", + "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..7a6b60a0f9f4 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 5d36add3ef23..695a61d373fa 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.59.1000", + "@fluidframework/telemetry-utils-previous": "npm:@fluidframework/telemetry-utils@^0.58.0", "@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.59.1000", + "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..3df3497bc2e5 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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 0280bdae0454..38fa97654728 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.59.1000", + "@fluidframework/tool-utils-previous": "npm:@fluidframework/tool-utils@^0.58.0", "@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.59.1000", + "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..646d84ae9dc9 --- /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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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.2002: +* "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()); diff --git a/server/gitrest/packages/gitrest-base/src/app.ts b/server/gitrest/packages/gitrest-base/src/app.ts index e090cba257f3..71d517d81ef2 100644 --- a/server/gitrest/packages/gitrest-base/src/app.ts +++ b/server/gitrest/packages/gitrest-base/src/app.ts @@ -12,7 +12,7 @@ import split from "split"; import winston from "winston"; import { bindCorrelationId } from "@fluidframework/server-services-utils"; import * as routes from "./routes"; -import { IFileSystemManager, IRepositoryManagerFactory } from "./utils"; +import { IFileSystemManagerFactory, IRepositoryManagerFactory } from "./utils"; /** * Basic stream logging interface for libraries that require a stream to pipe output to @@ -23,7 +23,7 @@ const stream = split().on("data", (message) => { export function create( store: nconf.Provider, - fileSystemManager: IFileSystemManager, + fileSystemManagerFactory: IFileSystemManagerFactory, repositoryManagerFactory: IRepositoryManagerFactory, ) { // Express app configuration @@ -56,7 +56,7 @@ export function create( app.use(cors()); - const apiRoutes = routes.create(store, fileSystemManager, repositoryManagerFactory); + const apiRoutes = routes.create(store, fileSystemManagerFactory, repositoryManagerFactory); app.use(apiRoutes.git.blobs); app.use(apiRoutes.git.refs); app.use(apiRoutes.git.repos); diff --git a/server/gitrest/packages/gitrest-base/src/routes/git/blobs.ts b/server/gitrest/packages/gitrest-base/src/routes/git/blobs.ts index 175df295bf09..6c5c35d88ae0 100644 --- a/server/gitrest/packages/gitrest-base/src/routes/git/blobs.ts +++ b/server/gitrest/packages/gitrest-base/src/routes/git/blobs.ts @@ -6,19 +6,16 @@ import { ICreateBlobParams } from "@fluidframework/gitresources"; import { Router } from "express"; import nconf from "nconf"; -import { IRepositoryManagerFactory } from "../../utils"; +import { getRepoManagerParamsFromRequest, IRepositoryManagerFactory } from "../../utils"; import { handleResponse } from "../utils"; export function create(store: nconf.Provider, repoManagerFactory: IRepositoryManagerFactory): Router { const router: Router = Router(); - router.post("/repos/:owner/:repo/git/blobs", async (request, response, next) => { - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => repoManager.createBlob( - request.body as ICreateBlobParams, - )); + const resultP = repoManagerFactory.open(getRepoManagerParamsFromRequest(request)) + .then(async (repoManager) => repoManager.createBlob( + request.body as ICreateBlobParams, + )); handleResponse(resultP, response, 201); }); @@ -27,12 +24,10 @@ export function create(store: nconf.Provider, repoManagerFactory: IRepositoryMan * Retrieves the given blob from the repository */ router.get("/repos/:owner/:repo/git/blobs/:sha", async (request, response, next) => { - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => repoManager.getBlob( - request.params.sha, - )); + const resultP = repoManagerFactory.open(getRepoManagerParamsFromRequest(request)) + .then(async (repoManager) => repoManager.getBlob( + request.params.sha, + )); handleResponse(resultP, response); }); diff --git a/server/gitrest/packages/gitrest-base/src/routes/git/commits.ts b/server/gitrest/packages/gitrest-base/src/routes/git/commits.ts index 9cd0856f9c3a..9f63fa078f0c 100644 --- a/server/gitrest/packages/gitrest-base/src/routes/git/commits.ts +++ b/server/gitrest/packages/gitrest-base/src/routes/git/commits.ts @@ -6,7 +6,7 @@ import { ICreateCommitParams } from "@fluidframework/gitresources"; import { Router } from "express"; import nconf from "nconf"; -import { IRepositoryManagerFactory } from "../../utils"; +import { getRepoManagerParamsFromRequest, IRepositoryManagerFactory } from "../../utils"; import { handleResponse } from "../utils"; export function create(store: nconf.Provider, repoManagerFactory: IRepositoryManagerFactory): Router { @@ -15,19 +15,15 @@ export function create(store: nconf.Provider, repoManagerFactory: IRepositoryMan // * https://developer.github.com/v3/git/commits/ router.post("/repos/:owner/:repo/git/commits", async (request, response, next) => { - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => repoManager.createCommit(request.body as ICreateCommitParams)); + const resultP = repoManagerFactory.open(getRepoManagerParamsFromRequest(request)) + .then(async (repoManager) => repoManager.createCommit(request.body as ICreateCommitParams)); handleResponse(resultP, response, 201); }); router.get("/repos/:owner/:repo/git/commits/:sha", async (request, response, next) => { - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => repoManager.getCommit(request.params.sha)); + const resultP = repoManagerFactory.open(getRepoManagerParamsFromRequest(request)) + .then(async (repoManager) => repoManager.getCommit(request.params.sha)); handleResponse(resultP, response); }); diff --git a/server/gitrest/packages/gitrest-base/src/routes/git/refs.ts b/server/gitrest/packages/gitrest-base/src/routes/git/refs.ts index a6ce93f860ea..f5003a433976 100644 --- a/server/gitrest/packages/gitrest-base/src/routes/git/refs.ts +++ b/server/gitrest/packages/gitrest-base/src/routes/git/refs.ts @@ -8,7 +8,7 @@ import { IPatchRefParamsExternal } from "@fluidframework/server-services-client"; import { Router } from "express"; import nconf from "nconf"; -import { getExternalWriterParams, IRepositoryManagerFactory } from "../../utils"; +import { getExternalWriterParams, getRepoManagerParamsFromRequest, IRepositoryManagerFactory } from "../../utils"; import { handleResponse } from "../utils"; /** @@ -27,54 +27,46 @@ export function create( // https://developer.github.com/v3/git/refs/ router.get("/repos/:owner/:repo/git/refs", async (request, response, next) => { - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => repoManager.getRefs()); + const resultP = repoManagerFactory.open(getRepoManagerParamsFromRequest(request)) + .then(async (repoManager) => repoManager.getRefs()); + handleResponse(resultP, response); }); router.get("/repos/:owner/:repo/git/refs/*", async (request, response, next) => { - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => repoManager.getRef( - getRefId(request.params[0]), - getExternalWriterParams(request.query?.config as string), - )); + const resultP = repoManagerFactory.open(getRepoManagerParamsFromRequest(request)) + .then(async (repoManager) => repoManager.getRef( + getRefId(request.params[0]), + getExternalWriterParams(request.query?.config as string), + )); handleResponse(resultP, response); }); router.post("/repos/:owner/:repo/git/refs", async (request, response, next) => { const createRefParams = request.body as ICreateRefParamsExternal; - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => repoManager.createRef( - createRefParams, - createRefParams.config, - )); + const resultP = repoManagerFactory.open(getRepoManagerParamsFromRequest(request)) + .then(async (repoManager) => repoManager.createRef( + createRefParams, + createRefParams.config, + )); handleResponse(resultP, response, 201); }); router.patch("/repos/:owner/:repo/git/refs/*", async (request, response, next) => { const patchRefParams = request.body as IPatchRefParamsExternal; - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => repoManager.patchRef( - getRefId(request.params[0]), - patchRefParams, - patchRefParams.config, - )); + const resultP = repoManagerFactory.open(getRepoManagerParamsFromRequest(request)) + .then(async (repoManager) => repoManager.patchRef( + getRefId(request.params[0]), + patchRefParams, + patchRefParams.config, + )); handleResponse(resultP, response); }); router.delete("/repos/:owner/:repo/git/refs/*", async (request, response, next) => { - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => repoManager.deleteRef(getRefId(request.params[0]))); + const resultP = repoManagerFactory.open(getRepoManagerParamsFromRequest(request)) + .then(async (repoManager) => repoManager.deleteRef(getRefId(request.params[0]))); + handleResponse(resultP, response, 204); }); return router; diff --git a/server/gitrest/packages/gitrest-base/src/routes/git/repos.ts b/server/gitrest/packages/gitrest-base/src/routes/git/repos.ts index dc1ba1731619..55f05d4d1873 100644 --- a/server/gitrest/packages/gitrest-base/src/routes/git/repos.ts +++ b/server/gitrest/packages/gitrest-base/src/routes/git/repos.ts @@ -6,7 +6,7 @@ import { ICreateRepoParams } from "@fluidframework/gitresources"; import { Router } from "express"; import nconf from "nconf"; -import { IRepositoryManagerFactory } from "../../utils"; +import { getRepoManagerParamsFromRequest, IRepositoryManagerFactory } from "../../utils"; import { handleResponse } from "../utils"; export function create(store: nconf.Provider, repoManagerFactory: IRepositoryManagerFactory): Router { @@ -21,10 +21,12 @@ export function create(store: nconf.Provider, repoManagerFactory: IRepositoryMan return response.status(400).json("Invalid repo name"); } - const repoManagerP = repoManagerFactory.create( - request.params.owner, - createParams.name, - ); + const repoManagerParams = getRepoManagerParamsFromRequest(request); + + const repoManagerP = repoManagerFactory.create({ + ...repoManagerParams, + repoName: createParams.name, + }); handleResponse(repoManagerP.then(() => undefined), response, 201); }); @@ -33,10 +35,7 @@ export function create(store: nconf.Provider, repoManagerFactory: IRepositoryMan * Retrieves an existing get repository */ router.get("/repos/:owner/:repo", (request, response, next) => { - const repoManagerP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ); + const repoManagerP = repoManagerFactory.open(getRepoManagerParamsFromRequest(request)); handleResponse(repoManagerP.then(() => ({ name: request.params.repo })), response); }); diff --git a/server/gitrest/packages/gitrest-base/src/routes/git/tags.ts b/server/gitrest/packages/gitrest-base/src/routes/git/tags.ts index 02fd9f46c27d..5bfac8225bd7 100644 --- a/server/gitrest/packages/gitrest-base/src/routes/git/tags.ts +++ b/server/gitrest/packages/gitrest-base/src/routes/git/tags.ts @@ -6,7 +6,7 @@ import { ICreateTagParams } from "@fluidframework/gitresources"; import { Router } from "express"; import nconf from "nconf"; -import { IRepositoryManagerFactory } from "../../utils"; +import { getRepoManagerParamsFromRequest, IRepositoryManagerFactory } from "../../utils"; import { handleResponse } from "../utils"; export function create(store: nconf.Provider, repoManagerFactory: IRepositoryManagerFactory): Router { @@ -15,19 +15,15 @@ export function create(store: nconf.Provider, repoManagerFactory: IRepositoryMan // https://developer.github.com/v3/git/tags/ router.post("/repos/:owner/:repo/git/tags", async (request, response, next) => { - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => repoManager.createTag(request.body as ICreateTagParams)); + const resultP = repoManagerFactory.open(getRepoManagerParamsFromRequest(request)) + .then(async (repoManager) => repoManager.createTag(request.body as ICreateTagParams)); handleResponse(resultP, response, 201); }); router.get("/repos/:owner/:repo/git/tags/*", async (request, response, next) => { - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => repoManager.getTag(request.params[0])); + const resultP = repoManagerFactory.open(getRepoManagerParamsFromRequest(request)) + .then(async (repoManager) => repoManager.getTag(request.params[0])); handleResponse(resultP, response); }); diff --git a/server/gitrest/packages/gitrest-base/src/routes/git/trees.ts b/server/gitrest/packages/gitrest-base/src/routes/git/trees.ts index 14725abc861f..46dfde91c8ea 100644 --- a/server/gitrest/packages/gitrest-base/src/routes/git/trees.ts +++ b/server/gitrest/packages/gitrest-base/src/routes/git/trees.ts @@ -6,26 +6,22 @@ import { ICreateTreeParams } from "@fluidframework/gitresources"; import { Router } from "express"; import nconf from "nconf"; -import { IRepositoryManagerFactory } from "../../utils"; +import { getRepoManagerParamsFromRequest, IRepositoryManagerFactory } from "../../utils"; import { handleResponse } from "../utils"; export function create(store: nconf.Provider, repoManagerFactory: IRepositoryManagerFactory): Router { const router: Router = Router(); router.post("/repos/:owner/:repo/git/trees", async (request, response, next) => { - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => repoManager.createTree(request.body as ICreateTreeParams)); + const resultP = repoManagerFactory.open(getRepoManagerParamsFromRequest(request)) + .then(async (repoManager) => repoManager.createTree(request.body as ICreateTreeParams)); handleResponse(resultP, response, 201); }); router.get("/repos/:owner/:repo/git/trees/:sha", async (request, response, next) => { - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => repoManager.getTree(request.params.sha, request.query.recursive === "1")); + const resultP = repoManagerFactory.open(getRepoManagerParamsFromRequest(request)) + .then(async (repoManager) => repoManager.getTree(request.params.sha, request.query.recursive === "1")); handleResponse(resultP, response); }); diff --git a/server/gitrest/packages/gitrest-base/src/routes/index.ts b/server/gitrest/packages/gitrest-base/src/routes/index.ts index dadf07188437..6e75946b8efc 100644 --- a/server/gitrest/packages/gitrest-base/src/routes/index.ts +++ b/server/gitrest/packages/gitrest-base/src/routes/index.ts @@ -5,7 +5,7 @@ import { Router } from "express"; import nconf from "nconf"; -import { IFileSystemManager, IRepositoryManagerFactory } from "../utils"; +import { IFileSystemManagerFactory, IRepositoryManagerFactory } from "../utils"; /* eslint-disable import/no-internal-modules */ import * as blobs from "./git/blobs"; import * as commits from "./git/commits"; @@ -36,7 +36,7 @@ export interface IRoutes { export function create( store: nconf.Provider, - fileSystemManager: IFileSystemManager, + fileSystemManagerFactory: IFileSystemManagerFactory, repoManagerFactory: IRepositoryManagerFactory, ): IRoutes { return { @@ -52,6 +52,6 @@ export function create( commits: repositoryCommits.create(store, repoManagerFactory), contents: contents.create(store, repoManagerFactory), }, - summaries: summaries.create(store, fileSystemManager, repoManagerFactory), + summaries: summaries.create(store, fileSystemManagerFactory, repoManagerFactory), }; } diff --git a/server/gitrest/packages/gitrest-base/src/routes/repository/commits.ts b/server/gitrest/packages/gitrest-base/src/routes/repository/commits.ts index 71808d2b297d..6cb40ad14f70 100644 --- a/server/gitrest/packages/gitrest-base/src/routes/repository/commits.ts +++ b/server/gitrest/packages/gitrest-base/src/routes/repository/commits.ts @@ -5,7 +5,7 @@ import { Router } from "express"; import nconf from "nconf"; -import { getExternalWriterParams, IRepositoryManagerFactory } from "../../utils"; +import { getExternalWriterParams, getRepoManagerParamsFromRequest, IRepositoryManagerFactory } from "../../utils"; import { handleResponse } from "../utils"; export function create(store: nconf.Provider, repoManagerFactory: IRepositoryManagerFactory): Router { @@ -18,14 +18,12 @@ export function create(store: nconf.Provider, repoManagerFactory: IRepositoryMan // since // until router.get("/repos/:owner/:repo/commits", async (request, response, next) => { - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => repoManager.getCommits( - request.query.sha as string, - Number(request.query.count as string), - getExternalWriterParams(request.query?.config as string), - )); + const resultP = repoManagerFactory.open(getRepoManagerParamsFromRequest(request)) + .then(async (repoManager) => repoManager.getCommits( + request.query.sha as string, + Number(request.query.count as string), + getExternalWriterParams(request.query?.config as string), + )); handleResponse(resultP, response); }); diff --git a/server/gitrest/packages/gitrest-base/src/routes/repository/contents.ts b/server/gitrest/packages/gitrest-base/src/routes/repository/contents.ts index 739610f6a5f3..e45f97504b78 100644 --- a/server/gitrest/packages/gitrest-base/src/routes/repository/contents.ts +++ b/server/gitrest/packages/gitrest-base/src/routes/repository/contents.ts @@ -5,21 +5,19 @@ import { Router } from "express"; import nconf from "nconf"; -import { IRepositoryManagerFactory } from "../../utils"; +import { getRepoManagerParamsFromRequest, IRepositoryManagerFactory } from "../../utils"; import { handleResponse } from "../utils"; export function create(store: nconf.Provider, repoManagerFactory: IRepositoryManagerFactory): Router { const router: Router = Router(); router.get("/repos/:owner/:repo/contents/*", async (request, response, next) => { - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => repoManager.getContent( - request.query.ref as string, - request.params[0], - )); - handleResponse(resultP, response); + const resultP = repoManagerFactory.open(getRepoManagerParamsFromRequest(request)) + .then(async (repoManager) => repoManager.getContent( + request.query.ref as string, + request.params[0], + )); + handleResponse(resultP, response); }); return router; diff --git a/server/gitrest/packages/gitrest-base/src/routes/summaries.ts b/server/gitrest/packages/gitrest-base/src/routes/summaries.ts index b0665a4ae539..728166c42848 100644 --- a/server/gitrest/packages/gitrest-base/src/routes/summaries.ts +++ b/server/gitrest/packages/gitrest-base/src/routes/summaries.ts @@ -24,6 +24,9 @@ import { isContainerSummary, IRepositoryManager, IFileSystemManager, + IFileSystemManagerFactory, + Constants, + getRepoManagerParamsFromRequest, } from "../utils"; import { handleResponse } from "./utils"; @@ -134,7 +137,7 @@ async function deleteSummary( export function create( store: Provider, - fileSystemManager: IFileSystemManager, + fileSystemManagerFactory: IFileSystemManagerFactory, repoManagerFactory: IRepositoryManagerFactory, ): Router { const router: Router = Router(); @@ -145,24 +148,25 @@ export function create( * If sha is "latest", returns latest summary for owner/repo. */ router.get("/repos/:owner/:repo/git/summaries/:sha", async (request, response) => { - const storageRoutingId: string = request.get("Storage-Routing-Id"); + const storageRoutingId: string = request.get(Constants.StorageRoutingIdHeader); const [tenantId,documentId] = storageRoutingId.split(":"); if (!documentId) { - handleResponse(Promise.reject(new NetworkError(400, "Invalid Storage-Routing-Id header")), response); + handleResponse( + Promise.reject(new NetworkError(400, `Invalid ${Constants.StorageRoutingIdHeader} header`)), + response); return; } - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => getSummary( - repoManager, - fileSystemManager, - request.params.sha, - documentId, - tenantId, - getExternalWriterParams(request.query?.config as string | undefined), - persistLatestFullSummary, - )); + const repoManagerParams = getRepoManagerParamsFromRequest(request); + const resultP = repoManagerFactory.open(repoManagerParams) + .then(async (repoManager) => getSummary( + repoManager, + fileSystemManagerFactory.create(repoManagerParams.fileSystemManagerParams), + request.params.sha, + documentId, + tenantId, + getExternalWriterParams(request.query?.config as string | undefined), + persistLatestFullSummary, + )); handleResponse(resultP, response); }); @@ -170,25 +174,26 @@ export function create( * Creates a new summary. */ router.post("/repos/:owner/:repo/git/summaries", async (request, response) => { - const storageRoutingId: string = request.get("Storage-Routing-Id"); + const storageRoutingId: string = request.get(Constants.StorageRoutingIdHeader); const [tenantId,documentId] = storageRoutingId.split(":"); if (!documentId) { - handleResponse(Promise.reject(new NetworkError(400, "Invalid Storage-Routing-Id header")), response); + handleResponse( + Promise.reject(new NetworkError(400, `Invalid ${Constants.StorageRoutingIdHeader} header`)), + response); return; } + const repoManagerParams = getRepoManagerParamsFromRequest(request); const wholeSummaryPayload: IWholeSummaryPayload = request.body; - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager): Promise => createSummary( - repoManager, - fileSystemManager, - wholeSummaryPayload, - documentId, - tenantId, - getExternalWriterParams(request.query?.config as string | undefined), - persistLatestFullSummary, - )); + const resultP = repoManagerFactory.open(repoManagerParams) + .then(async (repoManager): Promise => createSummary( + repoManager, + fileSystemManagerFactory.create(repoManagerParams.fileSystemManagerParams), + wholeSummaryPayload, + documentId, + tenantId, + getExternalWriterParams(request.query?.config as string | undefined), + persistLatestFullSummary, + )); handleResponse(resultP, response, 201); }); @@ -197,25 +202,26 @@ export function create( * If header Soft-Delete="true", only flags summary as deleted. */ router.delete("/repos/:owner/:repo/git/summaries", async (request, response) => { - const storageRoutingId: string = request.get("Storage-Routing-Id"); + const storageRoutingId: string = request.get(Constants.StorageRoutingIdHeader); const [tenantId,documentId] = storageRoutingId.split(":"); if (!documentId) { - handleResponse(Promise.reject(new NetworkError(400, "Invalid Storage-Routing-Id header")), response); + handleResponse( + Promise.reject(new NetworkError(400, `Invalid ${Constants.StorageRoutingIdHeader} header`)), + response); return; } + const repoManagerParams = getRepoManagerParamsFromRequest(request); const softDelete = request.get("Soft-Delete")?.toLowerCase() === "true"; - const resultP = repoManagerFactory.open( - request.params.owner, - request.params.repo, - ).then(async (repoManager) => deleteSummary( - repoManager, - fileSystemManager, - documentId, - tenantId, - softDelete, - getExternalWriterParams(request.query?.config as string | undefined), - persistLatestFullSummary, - )); + const resultP = repoManagerFactory.open(repoManagerParams) + .then(async (repoManager) => deleteSummary( + repoManager, + fileSystemManagerFactory.create(repoManagerParams.fileSystemManagerParams), + documentId, + tenantId, + softDelete, + getExternalWriterParams(request.query?.config as string | undefined), + persistLatestFullSummary, + )); handleResponse(resultP, response, 204); }); diff --git a/server/gitrest/packages/gitrest-base/src/runner.ts b/server/gitrest/packages/gitrest-base/src/runner.ts index a20add6c88e3..4aa0be372c25 100644 --- a/server/gitrest/packages/gitrest-base/src/runner.ts +++ b/server/gitrest/packages/gitrest-base/src/runner.ts @@ -8,7 +8,7 @@ import { IWebServer, IWebServerFactory, IRunner } from "@fluidframework/server-s import { Provider } from "nconf"; import * as winston from "winston"; import * as app from "./app"; -import { IFileSystemManager, IRepositoryManagerFactory } from "./utils"; +import { IFileSystemManagerFactory, IRepositoryManagerFactory } from "./utils"; export class GitrestRunner implements IRunner { private server: IWebServer; @@ -18,14 +18,14 @@ export class GitrestRunner implements IRunner { private readonly serverFactory: IWebServerFactory, private readonly config: Provider, private readonly port: string | number, - private readonly fileSystemManager: IFileSystemManager, + private readonly fileSystemManagerFactory: IFileSystemManagerFactory, private readonly repositoryManagerFactory: IRepositoryManagerFactory) { } public async start(): Promise { this.runningDeferred = new Deferred(); // Create the gitrest app - const gitrest = app.create(this.config, this.fileSystemManager, this.repositoryManagerFactory); + const gitrest = app.create(this.config, this.fileSystemManagerFactory, this.repositoryManagerFactory); gitrest.set("port", this.port); this.server = this.serverFactory.create(gitrest); diff --git a/server/gitrest/packages/gitrest-base/src/runnerFactory.ts b/server/gitrest/packages/gitrest-base/src/runnerFactory.ts index b26dce04213a..c7581b9e7f3a 100644 --- a/server/gitrest/packages/gitrest-base/src/runnerFactory.ts +++ b/server/gitrest/packages/gitrest-base/src/runnerFactory.ts @@ -3,7 +3,6 @@ * Licensed under the MIT License. */ -import fs from "fs"; import { Provider } from "nconf"; import * as services from "@fluidframework/server-services-shared"; import * as core from "@fluidframework/server-services-core"; @@ -11,10 +10,11 @@ import { normalizePort } from "@fluidframework/server-services-utils"; import { ExternalStorageManager } from "./externalStorageManager"; import { GitrestRunner } from "./runner"; import { - IFileSystemManager, + IFileSystemManagerFactory, IRepositoryManagerFactory, IsomorphicGitManagerFactory, NodegitRepositoryManagerFactory, + NodeFsManagerFactory, } from "./utils"; export class GitrestResources implements core.IResources { @@ -23,7 +23,7 @@ export class GitrestResources implements core.IResources { constructor( public readonly config: Provider, public readonly port: string | number, - public readonly fileSystemManager: IFileSystemManager, + public readonly fileSystemManagerFactory: IFileSystemManagerFactory, public readonly repositoryManagerFactory: IRepositoryManagerFactory) { this.webServerFactory = new services.BasicWebServerFactory(); } @@ -36,7 +36,7 @@ export class GitrestResources implements core.IResources { export class GitrestResourcesFactory implements core.IResourcesFactory { public async create(config: Provider): Promise { const port = normalizePort(process.env.PORT || "3000"); - const fileSystemManager = fs; + const fileSystemManagerFactory = new NodeFsManagerFactory(); const externalStorageManager = new ExternalStorageManager(config); const storageDirectory = config.get("storageDir"); const gitLibrary: string | undefined = config.get("git:lib:name"); @@ -44,20 +44,20 @@ export class GitrestResourcesFactory implements core.IResourcesFactory { sha: "cf0b592907d683143b28edd64d274ca70f68998e", }; + const fileSystemManagerFactory = new NodeFsManagerFactory(); const externalStorageManager = new ExternalStorageManager(testUtils.defaultProvider); const getRepoManagerFactory = () => new NodegitRepositoryManagerFactory( testUtils.defaultProvider.get("storageDir"), - fs, + fileSystemManagerFactory, externalStorageManager, ); @@ -160,7 +160,7 @@ describe("GitRest", () => { let supertest: request.SuperTest; beforeEach(() => { const repoManagerFactory = getRepoManagerFactory(); - const testApp = app.create(testUtils.defaultProvider, fs, repoManagerFactory); + const testApp = app.create(testUtils.defaultProvider, fileSystemManagerFactory, repoManagerFactory); supertest = request(testApp); }); @@ -424,7 +424,10 @@ describe("GitRest", () => { await initBaseRepo(supertest, testOwnerName, testRepoName, testBlob, testTree, testCommit, testRef); const repoManagerFactory = getRepoManagerFactory(); - const repoManager = await repoManagerFactory.open(testOwnerName, testRepoName); + const repoManager = await repoManagerFactory.open({ + repoOwner: testOwnerName, + repoName: testRepoName, + }); let lastCommit; diff --git a/server/gitrest/packages/gitrest-base/src/utils/definitions.ts b/server/gitrest/packages/gitrest-base/src/utils/definitions.ts index 858041298f54..52b87646f7cc 100644 --- a/server/gitrest/packages/gitrest-base/src/utils/definitions.ts +++ b/server/gitrest/packages/gitrest-base/src/utils/definitions.ts @@ -6,6 +6,11 @@ import fsPromises from "fs/promises"; import * as git from "@fluidframework/gitresources"; +export enum Constants { + StorageRoutingIdHeader = "Storage-Routing-Id", + StorageNameHeader = "Storage-Name", +} + export interface IExternalWriterConfig { enabled: boolean; } @@ -55,15 +60,29 @@ export interface IFileSystemManager { promises: IFileSystemPromises; } +export interface IFileSystemManagerParams { + storageName?: string; +} + +export interface IFileSystemManagerFactory { + create(fileSystemManagerParams?: IFileSystemManagerParams): IFileSystemManager; +} + +export interface IRepoManagerParams { + repoOwner: string; + repoName: string; + fileSystemManagerParams?: IFileSystemManagerParams; +} + export interface IRepositoryManagerFactory { /** * Create a new repository and return its manager instance. */ - create(repoOwner: string, repoName: string): Promise; + create(params: IRepoManagerParams): Promise; /** * Open an existing repository and return its manager instance. */ - open(repoOwner: string, repoName: string): Promise; + open(params: IRepoManagerParams): Promise; } // 100644 for file (blob) diff --git a/server/gitrest/packages/gitrest-base/src/utils/helpers.ts b/server/gitrest/packages/gitrest-base/src/utils/helpers.ts index b47a1a91a546..fb17895a6d4f 100644 --- a/server/gitrest/packages/gitrest-base/src/utils/helpers.ts +++ b/server/gitrest/packages/gitrest-base/src/utils/helpers.ts @@ -5,8 +5,9 @@ import { PathLike, Stats } from "fs"; import * as path from "path"; +import { Request } from "express"; import { IGetRefParamsExternal, IWholeFlatSummary, NetworkError } from "@fluidframework/server-services-client"; -import { IExternalWriterConfig, IFileSystemManager } from "./definitions"; +import { Constants, IExternalWriterConfig, IFileSystemManager, IRepoManagerParams } from "./definitions"; /** * Validates that the input encoding is valid @@ -33,6 +34,17 @@ export function getExternalWriterParams(params: string | undefined): IExternalWr return undefined; } +export function getRepoManagerParamsFromRequest(request: Request): IRepoManagerParams { + const storageName: string | undefined = request.get(Constants.StorageNameHeader); + return { + repoOwner: request.params.owner, + repoName: request.params.repo, + fileSystemManagerParams: { + storageName, + }, + }; +} + export async function exists( fileSystemManager: IFileSystemManager, fileOrDirectoryPath: PathLike, @@ -93,6 +105,14 @@ export async function retrieveLatestFullSummaryFromStorage( * Retrieves the full repository path. Or throws an error if not valid. */ export function getRepoPath(owner: string, name: string) { + if (!owner || owner === "") { + throw new NetworkError(400, `Invalid arguments. A repo owner must be provided.`); + } + + if (!name || name === "") { + throw new NetworkError(400, `Invalid arguments. A repo name must be provided.`); + } + // Verify that both inputs are valid folder names const parsedOwner = path.parse(owner); const parsedName = path.parse(name); diff --git a/server/gitrest/packages/gitrest-base/src/utils/index.ts b/server/gitrest/packages/gitrest-base/src/utils/index.ts index 6e145b7e6c9f..06b64284f5a1 100644 --- a/server/gitrest/packages/gitrest-base/src/utils/index.ts +++ b/server/gitrest/packages/gitrest-base/src/utils/index.ts @@ -4,7 +4,8 @@ */ export * from "./definitions"; +export * from "./gitWholeSummaryManager"; export * from "./helpers"; export * from "./isomorphicgitManager"; +export * from "./nodeFsManagerFactory"; export * from "./nodegitManager"; -export * from "./gitWholeSummaryManager"; diff --git a/server/gitrest/packages/gitrest-base/src/utils/isomorphicgitManager.ts b/server/gitrest/packages/gitrest-base/src/utils/isomorphicgitManager.ts index e1214e596cf8..c701147a2375 100644 --- a/server/gitrest/packages/gitrest-base/src/utils/isomorphicgitManager.ts +++ b/server/gitrest/packages/gitrest-base/src/utils/isomorphicgitManager.ts @@ -15,6 +15,8 @@ import { IExternalWriterConfig, IRepositoryManager, IFileSystemManager, + IFileSystemManagerFactory, + IRepoManagerParams, } from "./definitions"; export class IsomorphicGitRepositoryManager implements IRepositoryManager { @@ -343,38 +345,40 @@ export class IsomorphicGitManagerFactory implements IRepositoryManagerFactory { constructor( private readonly baseDir: string, - private readonly fileSystemManager: IFileSystemManager, + private readonly fileSystemManagerFactory: IFileSystemManagerFactory, ) { } - public async create(owner: string, name: string): Promise { + public async create(params: IRepoManagerParams): Promise { // Verify that both inputs are valid folder names - const repoPath = helpers.getRepoPath(owner, name); + const repoPath = helpers.getRepoPath(params.repoOwner, params.repoName); + const fileSystemManager = this.fileSystemManagerFactory.create(params.fileSystemManagerParams); const directoryPath = `${this.baseDir}/${repoPath}`; // Create and then cache the repository await isomorphicGit.init({ - fs: this.fileSystemManager, - gitdir: `${this.baseDir}/${repoPath}`, + fs: fileSystemManager, + gitdir: directoryPath, bare: true, }); this.repositoryCache.add(repoPath); const repoManager = new IsomorphicGitRepositoryManager( - this.fileSystemManager, - owner, - name, + fileSystemManager, + params.repoOwner, + params.repoName, directoryPath); - winston.info(`Created a new repo for owner ${owner} reponame: ${name}`); + winston.info(`Created a new repo for owner ${params.repoOwner} reponame: ${params.repoName}`); return repoManager; } - public async open(owner: string, name: string): Promise { - const repoPath = helpers.getRepoPath(owner, name); + public async open(params: IRepoManagerParams): Promise { + const repoPath = helpers.getRepoPath(params.repoOwner, params.repoName); const directoryPath = `${this.baseDir}/${repoPath}`; + const fileSystemManager = this.fileSystemManagerFactory.create(params.fileSystemManagerParams); if (!(this.repositoryCache.has(repoPath))) { - const repoExists = await helpers.exists(this.fileSystemManager, directoryPath); + const repoExists = await helpers.exists(fileSystemManager, directoryPath); if (!repoExists || !repoExists.isDirectory()) { winston.info(`Repo does not exist ${directoryPath}`); // services-client/getOrCreateRepository depends on a 400 response code @@ -385,9 +389,9 @@ export class IsomorphicGitManagerFactory implements IRepositoryManagerFactory { } const repoManager = new IsomorphicGitRepositoryManager( - this.fileSystemManager, - owner, - name, + fileSystemManager, + params.repoOwner, + params.repoName, directoryPath); return repoManager; } diff --git a/server/gitrest/packages/gitrest-base/src/utils/nodeFsManagerFactory.ts b/server/gitrest/packages/gitrest-base/src/utils/nodeFsManagerFactory.ts new file mode 100644 index 000000000000..8df760d39476 --- /dev/null +++ b/server/gitrest/packages/gitrest-base/src/utils/nodeFsManagerFactory.ts @@ -0,0 +1,13 @@ +/*! + * Copyright (c) Microsoft Corporation and contributors. All rights reserved. + * Licensed under the MIT License. + */ + +import fs from "fs"; +import { IFileSystemManager, IFileSystemManagerFactory, IFileSystemManagerParams } from "./definitions"; + +export class NodeFsManagerFactory implements IFileSystemManagerFactory { + public create(params?: IFileSystemManagerParams): IFileSystemManager { + return fs; + } +} diff --git a/server/gitrest/packages/gitrest-base/src/utils/nodegitManager.ts b/server/gitrest/packages/gitrest-base/src/utils/nodegitManager.ts index 70db2a750686..7228eb610bff 100644 --- a/server/gitrest/packages/gitrest-base/src/utils/nodegitManager.ts +++ b/server/gitrest/packages/gitrest-base/src/utils/nodegitManager.ts @@ -16,7 +16,8 @@ import { GitObjectType, IExternalWriterConfig, IRepositoryManager, - IFileSystemManager, + IFileSystemManagerFactory, + IRepoManagerParams, } from "./definitions"; export class NodegitRepositoryManager implements IRepositoryManager { @@ -332,15 +333,14 @@ export class NodegitRepositoryManagerFactory implements IRepositoryManagerFactor constructor( private readonly baseDir: string, - private readonly fileSystemManager: IFileSystemManager, + private readonly fileSystemManagerFactory: IFileSystemManagerFactory, private readonly externalStorageManager: IExternalStorageManager, ) { } - public async create(owner: string, name: string): Promise { + public async create(params: IRepoManagerParams): Promise { // Verify that both inputs are valid folder names - const repoPath = helpers.getRepoPath(owner, name); - + const repoPath = helpers.getRepoPath(params.repoOwner, params.repoName); // Create and then cache the repository const isBare = 1; const repositoryP = nodegit.Repository.init(`${this.baseDir}/${repoPath}`, isBare); @@ -348,22 +348,23 @@ export class NodegitRepositoryManagerFactory implements IRepositoryManagerFactor const repository = await this.repositoryPCache[repoPath]; const repoManager = new NodegitRepositoryManager( - owner, - name, + params.repoOwner, + params.repoName, repository, this.externalStorageManager); - winston.info(`Created a new repo for owner ${owner} reponame: ${name}`); + winston.info(`Created a new repo for owner ${params.repoOwner} reponame: ${params.repoName}`); return repoManager; } - public async open(owner: string, name: string): Promise { - const repoPath = helpers.getRepoPath(owner, name); + public async open(params: IRepoManagerParams): Promise { + const repoPath = helpers.getRepoPath(params.repoOwner, params.repoName); if (!(repoPath in this.repositoryPCache)) { const directory = `${this.baseDir}/${repoPath}`; - const repoExists = await helpers.exists(this.fileSystemManager, directory); + const repoExists = await helpers.exists( + this.fileSystemManagerFactory.create(params.fileSystemManagerParams), directory); if (!repoExists) { winston.info(`Repo does not exist ${directory}`); // services-client/getOrCreateRepository depends on a 400 response code @@ -375,8 +376,8 @@ export class NodegitRepositoryManagerFactory implements IRepositoryManagerFactor const repository = await this.repositoryPCache[repoPath]; const repoManager = new NodegitRepositoryManager( - owner, - name, + params.repoOwner, + params.repoName, repository, this.externalStorageManager); return repoManager; diff --git a/server/routerlicious/api-report/server-services-client.api.md b/server/routerlicious/api-report/server-services-client.api.md index f676b73a23b8..eb0b63d49172 100644 --- a/server/routerlicious/api-report/server-services-client.api.md +++ b/server/routerlicious/api-report/server-services-client.api.md @@ -69,7 +69,7 @@ export const getAuthorizationTokenFromCredentials: (credentials: ICredentials) = export function getNextHash(message: ISequencedDocumentMessage, lastHash: string): string; // @public (undocumented) -export function getOrCreateRepository(endpoint: string, owner: string, repository: string): Promise; +export function getOrCreateRepository(endpoint: string, owner: string, repository: string, headers?: AxiosRequestHeaders): Promise; // @public (undocumented) export function getRandomName(connector?: string, capitalize?: boolean): string; diff --git a/server/routerlicious/packages/protocol-base/src/quorum.ts b/server/routerlicious/packages/protocol-base/src/quorum.ts index 512f0df782c9..99c60418388b 100644 --- a/server/routerlicious/packages/protocol-base/src/quorum.ts +++ b/server/routerlicious/packages/protocol-base/src/quorum.ts @@ -41,6 +41,7 @@ export type QuorumClientsSnapshot = [string, ISequencedClient][]; /** * Snapshot format for a QuorumProposals */ +// eslint-disable-next-line @typescript-eslint/consistent-type-definitions export type QuorumProposalsSnapshot = { proposals: [number, ISequencedProposal, string[]][]; values: [string, ICommittedProposal][]; diff --git a/server/routerlicious/packages/services-client/src/historian.ts b/server/routerlicious/packages/services-client/src/historian.ts index 7ece1d417dad..06e1e97f0fa6 100644 --- a/server/routerlicious/packages/services-client/src/historian.ts +++ b/server/routerlicious/packages/services-client/src/historian.ts @@ -162,7 +162,7 @@ export class Historian implements IHistorian { }; } - private getQueryString(queryString?: {}): Record { + private getQueryString(queryString?: Record): Record { if (this.cacheBust) { return { cacheBust: Date.now(), diff --git a/server/routerlicious/packages/services-client/src/utils.ts b/server/routerlicious/packages/services-client/src/utils.ts index a83e8c623614..e92d6ca5b99a 100644 --- a/server/routerlicious/packages/services-client/src/utils.ts +++ b/server/routerlicious/packages/services-client/src/utils.ts @@ -4,12 +4,16 @@ */ import * as resources from "@fluidframework/gitresources"; -import Axios from "axios"; +import Axios, { AxiosRequestHeaders } from "axios"; -export async function getOrCreateRepository(endpoint: string, owner: string, repository: string): Promise { +export async function getOrCreateRepository( + endpoint: string, + owner: string, + repository: string, + headers?: AxiosRequestHeaders): Promise { console.log(`Get Repo: ${endpoint}/${owner}/${repository}`); - const details = await Axios.get(`${endpoint}/repos/${owner}/${repository}`) + const details = await Axios.get(`${endpoint}/repos/${owner}/${repository}`, { headers }) .catch((error) => { if (error.response && error.response.status === 400) { return null; @@ -24,6 +28,6 @@ export async function getOrCreateRepository(endpoint: string, owner: string, rep name: repository, }; - await Axios.post(`${endpoint}/${owner}/repos`, createParams); + await Axios.post(`${endpoint}/${owner}/repos`, createParams, { headers }); } } diff --git a/server/routerlicious/packages/services-ordering-rdkafka/src/rdkafkaProducer.ts b/server/routerlicious/packages/services-ordering-rdkafka/src/rdkafkaProducer.ts index 394a3b85f6be..bc7ee245c9bd 100644 --- a/server/routerlicious/packages/services-ordering-rdkafka/src/rdkafkaProducer.ts +++ b/server/routerlicious/packages/services-ordering-rdkafka/src/rdkafkaProducer.ts @@ -304,9 +304,11 @@ export class RdkafkaProducer extends RdkafkaBase implements IProducer { // when this happens, let's requeue the messages for later. // note: send will return a new deferred. we need to hook it into // the existing boxcar deferred to ensure continuity + /* eslint-disable @typescript-eslint/unbound-method */ this.send(boxcar.messages, boxcar.tenantId, boxcar.documentId, boxcar.partitionId) .then(boxcar.deferred.resolve) .catch(boxcar.deferred.reject); + /* eslint-enable @typescript-eslint/unbound-method */ } } catch (ex) { // produce can throw if the outgoing message queue is full diff --git a/tools/build-tools/src/typeValidator/packageJson.ts b/tools/build-tools/src/typeValidator/packageJson.ts index 19d14123e0b5..31e7acaa4e7a 100644 --- a/tools/build-tools/src/typeValidator/packageJson.ts +++ b/tools/build-tools/src/typeValidator/packageJson.ts @@ -4,6 +4,7 @@ */ import * as fs from "fs"; +import * as util from "util"; import child_process from "child_process"; export type PackageDetails ={ @@ -25,10 +26,12 @@ export type BrokenCompatTypes = Partial; typeValidation?: { version: string, broken: BrokenCompatTypes, + disabled?: boolean, }, } @@ -41,14 +44,39 @@ function createSortedObject(obj:Record): Record{ return sortedDeps; } -export function getPackageDetails(packageDir: string): PackageDetails { +function safeParse(json: string, error: string){ + try{ + return JSON.parse(json); + }catch{ + throw new Error(error); + } +} + +export async function getPackageDetailsOrThrow(packageDir: string, updateOptions?: {cwd?: string}): Promise { + const result = await getPackageDetails(packageDir, updateOptions); + if(result.skipReason !== undefined){ + throw new Error(result.skipReason); + } + return result; +} + +export async function getPackageDetails(packageDir: string, updateOptions?: {cwd?: string}): Promise { const packagePath = `${packageDir}/package.json`; - if(!fs.existsSync(packagePath)){ + if(!await util.promisify(fs.exists)(packagePath)){ throw new Error(`Package json does not exist: ${packagePath}`) } + const content = await util.promisify(fs.readFile)(packagePath); - const pkgJson: PackageJson = JSON.parse(fs.readFileSync(packagePath).toString()); + const pkgJson: PackageJson = safeParse(content.toString(), packagePath); + + if(pkgJson.name.startsWith("@fluid-internal")){ + return {skipReason: "Skipping package: @fluid-internal "} + }else if( pkgJson.main?.endsWith("index.js") !== true){ + return {skipReason: "Skipping package: no index.js in main property"} + }else if(pkgJson.typeValidation?.disabled === true){ + return {skipReason: "Skipping package: type validation disabled"} + } // normalize the version to remove any pre-release version info, // as we shouldn't change the type validation version for pre-release versions @@ -58,33 +86,59 @@ export function getPackageDetails(packageDir: string): PackageDetails { pkgJson.version; // if the packages has no type validation data, then initialize it - if(pkgJson.typeValidation === undefined){ - pkgJson.typeValidation = { - version: normalizedVersion, - broken: {} + if(updateOptions !== undefined && normalizedVersion !== pkgJson.typeValidation?.version){ + /* + * this is where we build the previous version we use to compare against the current version. + * For both major and minor we use semver such that the current major is compared against the latest + * previous major, and the same for minor. + * For patch we do not use semver, we compare directly to the previous patch version. + * + * We do this to align with our release process. We are strictest between patches, and looser between minor and major + * We may need to adjust this as we adjust our release processes. + */ + let normalizeParts = normalizedVersion.split(".").map((p)=>Number.parseInt(p)); + const validationVersionParts = pkgJson.typeValidation?.version?.split(".").map((p)=>Number.parseInt(p)) ?? [0,0,0]; + let semVer="^" + if(normalizeParts[0] !== validationVersionParts[0]){ + normalizeParts= [normalizeParts[0] -1, 0, 0]; + }else if(normalizeParts[1] !== validationVersionParts[1]){ + normalizeParts= [normalizeParts[0], normalizeParts[1] -1, 0]; + }else{ + semVer=""; + normalizeParts[2] = validationVersionParts[2]; } - fs.writeFileSync(packagePath, JSON.stringify(pkgJson, undefined, 2)); - }else if(normalizedVersion !== pkgJson.typeValidation?.version){ + const previousVersion = normalizeParts.join("."); + // check that the version exists on npm before trying to add the // dev dep and bumping the typeValidation version // if the version does not exist, we will defer updating the package - const packageDef = `${pkgJson.name}@${pkgJson.typeValidation.version}` - const args = ["view", packageDef,"--json"]; - const result = child_process.execSync(`npm ${args.join(" ")}`,{cwd:packageDir}) - const remotePackage: PackageJson | undefined = result.length >0 ? JSON.parse(result.toString()) : undefined; - - if(remotePackage?.name === pkgJson.name && remotePackage?.version === pkgJson.typeValidation.version){ - - pkgJson.devDependencies[`${pkgJson.name}-${pkgJson.typeValidation.version}`] = - `npm:${packageDef}`; + const packageDef = `${pkgJson.name}@${semVer}${previousVersion}` + const args = ["view", `"${packageDef}"`, "version", "--json"]; + const result = child_process.execSync(`npm ${args.join(" ")}`,{cwd: updateOptions.cwd ?? packageDir}).toString() + const maybeVersions = + result !== undefined + && result.length >0 + ? safeParse(result, args.join(" ")) + : undefined; + + const versionsArray = + typeof maybeVersions === "string" + ? [maybeVersions] + : Array.isArray(maybeVersions) + ? maybeVersions + : []; + + + if(versionsArray.length > 0){ + pkgJson.devDependencies[`${pkgJson.name}-previous`] = `npm:${packageDef}`; pkgJson.devDependencies = createSortedObject(pkgJson.devDependencies); pkgJson.typeValidation = { version: normalizedVersion, - broken: pkgJson.typeValidation?.broken ?? {} + broken: {} } - fs.writeFileSync(packagePath, JSON.stringify(pkgJson, undefined, 2)); + await util.promisify(fs.writeFile)(packagePath, JSON.stringify(pkgJson, undefined, 2)); } } @@ -100,12 +154,12 @@ export function getPackageDetails(packageDir: string): PackageDetails { } } -export function findPackagesUnderPath(path: string) { +export async function findPackagesUnderPath(path: string) { const searchPaths = [path]; const packages: string[] = []; while(searchPaths.length > 0){ const search = searchPaths.shift()!; - if(fs.existsSync(`${search}/package.json`)){ + if(await util.promisify(fs.exists)(`${search}/package.json`)){ packages.push(search); }else{ searchPaths.push( diff --git a/tools/build-tools/src/typeValidator/packageValidator.ts b/tools/build-tools/src/typeValidator/packageValidator.ts index ecbaed408b5e..432439583dcc 100644 --- a/tools/build-tools/src/typeValidator/packageValidator.ts +++ b/tools/build-tools/src/typeValidator/packageValidator.ts @@ -37,11 +37,11 @@ export interface PackageResult { * @param brokenTypes * @returns */ -export function validatePackage( +export async function validatePackage( packageDetails: PackageDetails, packageDir: string, brokenTypes: BrokenTypes, -): PackageResult { +): Promise { // for exported symbol, check major, check minor, return total increment let pkgIncrement = BreakingIncrement.none; const pkgBrokenTypes: BrokenTypes = new Map(); @@ -55,8 +55,8 @@ export function validatePackage( // Compare only against the most recent version const oldVersion = packageDetails.oldVersions[packageDetails.oldVersions.length - 1]; - const newDetails: PackageAndTypeData = generateTypeDataForProject(packageDir, undefined); - const oldDetails: PackageAndTypeData = generateTypeDataForProject(packageDir, oldVersion); + const newDetails: PackageAndTypeData = await generateTypeDataForProject(packageDir, undefined); + const oldDetails: PackageAndTypeData = await generateTypeDataForProject(packageDir, oldVersion); const newTypeMap = new Map(newDetails.typeData.map((v) => [getFullTypeName(v), v])); const oldTypeMap = new Map(oldDetails.typeData.map((v) => [getFullTypeName(v), v])); diff --git a/tools/build-tools/src/typeValidator/repoValidator.ts b/tools/build-tools/src/typeValidator/repoValidator.ts index b6da6549cd87..8f09634f29b2 100644 --- a/tools/build-tools/src/typeValidator/repoValidator.ts +++ b/tools/build-tools/src/typeValidator/repoValidator.ts @@ -9,7 +9,7 @@ import { IFluidRepoPackageEntry } from "../common/fluidRepo"; import { getPackageManifest } from "../common/fluidUtils"; import { FluidRepoBuild } from "../fluidBuild/fluidRepoBuild" import { getResolvedFluidRoot } from "../common/fluidUtils"; -import { getPackageDetails } from "./packageJson"; +import { getPackageDetailsOrThrow } from "./packageJson"; import { BrokenTypes, validatePackage } from "./packageValidator"; import { BreakingIncrement, log } from "./validatorUtils"; @@ -147,15 +147,15 @@ export async function validateRepo(options?: IValidationOptions): Promise 0; i++) { - packages.forEach((buildPkg, pkgName) => { + packages.forEach(async (buildPkg, pkgName) => { if (buildPkg.level === i) { - const packageData = getPackageDetails(buildPkg.pkg.directory); + const packageData = await getPackageDetailsOrThrow(buildPkg.pkg.directory); const pkgJsonPath = path.join(buildPkg.pkg.directory, "package.json"); const pkgJsonRelativePath = path.relative(repoRoot, pkgJsonPath); if (packageData.oldVersions.length > 0) { log(`${pkgName}, ${buildPkg.level}`); - let { increment, brokenTypes} = validatePackage(packageData, buildPkg.pkg.directory, allBrokenTypes); + let { increment, brokenTypes} = await validatePackage(packageData, buildPkg.pkg.directory, allBrokenTypes); brokenTypes.forEach((v, k) => allBrokenTypes.set(k, v)); diff --git a/tools/build-tools/src/typeValidator/testGeneration.ts b/tools/build-tools/src/typeValidator/testGeneration.ts index bc0adf1c307e..90f617c48f6b 100644 --- a/tools/build-tools/src/typeValidator/testGeneration.ts +++ b/tools/build-tools/src/typeValidator/testGeneration.ts @@ -4,17 +4,11 @@ */ import * as fs from "fs"; +import * as util from "util"; import { PackageDetails } from "./packageJson"; import { generateTypeDataForProject, toTypeString, TypeData } from "./typeData"; -export function generateTests(packageDetails: PackageDetails) { - - const currentProjectData = generateTypeDataForProject(packageDetails.packageDir, undefined); - - let indexPath = "../.."; - - for(const oldVersion of packageDetails.oldVersions){ - const testString: string[]=[ +const createTestFileHeader = (oldVersion: string)=> `/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. @@ -23,11 +17,24 @@ export function generateTests(packageDetails: PackageDetails) { * 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 "${oldVersion}"; -import * as current from "${indexPath}/index"; -` - ]; - const oldProjectData = generateTypeDataForProject(packageDetails.packageDir, oldVersion); +import * as current from "../../index"; + +type TypeOnly = { + [P in keyof T]: TypeOnly; +}; +`; + +export async function generateTests(packageDetails: PackageDetails) { + + const currentProjectData = await generateTypeDataForProject(packageDetails.packageDir, undefined); + const stats: {dirs: number, files:number, tests: number} ={dirs: 0, files:0,tests:0}; + for(const oldVersion of packageDetails.oldVersions){ + const testString: string[]=[ + createTestFileHeader(oldVersion) + ]; + const oldProjectData = await generateTypeDataForProject(packageDetails.packageDir, oldVersion); const currentTypeMap = new Map(currentProjectData.typeData.map((v)=>[getFullTypeName(v),v])); for(const oldTypeData of oldProjectData.typeData){ const oldType: TestCaseTypeData = { @@ -71,15 +78,24 @@ import * as current from "${indexPath}/index"; testString.push(... buildTestCase(currentType, oldType, brokenData?.backCompat ?? true)); testString.push(""); } + stats.tests+= oldProjectData.typeData.length; + const testPath =`${packageDetails.packageDir}/src/test/types`; - if(!fs.existsSync(testPath)){ - fs.mkdirSync(testPath); + if(! await util.promisify(fs.exists)(testPath)){ + stats.dirs ++; + await util.promisify(fs.mkdir)(testPath, {recursive: true}); } + // remove scope if it exists + const oldVersionNameForFile = oldVersion.indexOf("/") > 0 + ? oldVersion.substring(oldVersion.indexOf("/")+1) + : oldVersion; - fs.writeFileSync( - `${testPath}/validate${oldProjectData.packageDetails.version}.ts`, + stats.files ++; + await util.promisify(fs.writeFile)( + `${testPath}/validate${oldVersionNameForFile.split("-").map((p)=>p[0].toUpperCase()+p.substring(1)).join("")}.ts`, testString.join("\n")); } + return stats; } diff --git a/tools/build-tools/src/typeValidator/typeData.ts b/tools/build-tools/src/typeValidator/typeData.ts index 0bdd3ac79526..7f66f19a7c37 100644 --- a/tools/build-tools/src/typeValidator/typeData.ts +++ b/tools/build-tools/src/typeValidator/typeData.ts @@ -5,7 +5,7 @@ import { Node, Project, ts } from "ts-morph"; import * as fs from "fs"; -import { getPackageDetails, PackageDetails } from "./packageJson"; +import { getPackageDetailsOrThrow, PackageDetails } from "./packageJson"; export interface PackageAndTypeData{ packageDetails: PackageDetails; @@ -50,7 +50,10 @@ function getNodeTypeData(node:Node, namespacePrefix?:string): TypeData[]{ if (Node.isNamespaceDeclaration(node)){ const typeData: TypeData[]=[]; for(const s of node.getStatements()){ - typeData.push(...getNodeTypeData(s, node.getName())); + // only get type data for nodes that are exported from the namespace + if(Node.isExportableNode(s) && s.isExported()){ + typeData.push(...getNodeTypeData(s, node.getName())); + } } return typeData; } @@ -68,6 +71,13 @@ function getNodeTypeData(node:Node, namespacePrefix?:string): TypeData[]{ return typeData } + if(Node.isIdentifier(node)){ + const typeData: TypeData[]=[]; + node.getDefinitionNodes().forEach( + (d)=>typeData.push(...getNodeTypeData(d, namespacePrefix))); + return typeData; + } + if (Node.isClassDeclaration(node) || Node.isEnumDeclaration(node) || Node.isInterfaceDeclaration(node) @@ -109,19 +119,14 @@ export function toTypeString(prefix: string, typeData: TypeData){ const typeStringBase =`${prefix}.${typeData.name}${typeParams ?? ""}`; switch(node.getKind()){ - case ts.SyntaxKind.ClassDeclaration: - // turn the class into a type by not omitting anything - // this will expose all public props, and validate the - // interfaces matches - return `Omit<${typeStringBase},"">`; - case ts.SyntaxKind.VariableDeclaration: case ts.SyntaxKind.FunctionDeclaration: + case ts.SyntaxKind.Identifier: // turn variables and functions into types - return `typeof ${typeStringBase}`; + return `TypeOnly`; default: - return typeStringBase; + return `TypeOnly<${typeStringBase}>`; } } @@ -137,40 +142,53 @@ function tryFindDependencyPath(packageDir: string, dependencyName: string) { return `${testPath}/node_modules/${dependencyName}` } -export function generateTypeDataForProject(packageDir: string, dependencyName: string | undefined): PackageAndTypeData { +function getIndexSourceFile(basePath: string){ - const basePath = dependencyName === undefined - ? packageDir - : tryFindDependencyPath(packageDir, dependencyName); + const tsConfigPath: string =`${basePath}/tsconfig.json`; - const tsConfigPath =`${basePath}/tsconfig.json`; + if (fs.existsSync(tsConfigPath)) { + const project = new Project({ + skipFileDependencyResolution: true, + tsConfigFilePath: tsConfigPath, + }); - if (!fs.existsSync(tsConfigPath)) { - throw new Error(`Tsconfig json does not exist: ${tsConfigPath}.\nYou may need to install the package via npm install in the package dir.`) + return {project, file: project.getSourceFileOrThrow("index.ts")}; + + }else{ + const project = new Project({ + skipFileDependencyResolution: true, + }); + project.addSourceFilesAtPaths(`${basePath}/dist/**/*.d.ts`) + return {project, file: project.getSourceFileOrThrow("index.d.ts")}; } - const packageDetails = getPackageDetails(basePath); +} - const project = new Project({ - skipFileDependencyResolution: true, - tsConfigFilePath: tsConfigPath, - }); +export async function generateTypeDataForProject(packageDir: string, dependencyName: string | undefined): Promise { - const file = project.getSourceFile("index.ts") - if(file == undefined){ - throw new Error("index.ts does not exist in package source.\nYou may need to install the package via npm install in the package dir."); - } - const typeData: TypeData[]=[]; + let basePath = dependencyName === undefined + ? packageDir + : tryFindDependencyPath(packageDir, dependencyName); + if (!fs.existsSync(`${basePath}/package.json`)) { + throw new Error(`package.json does not exist at ${basePath}.\nYou may need to install the package via npm install.`) + } + const {project, file} = getIndexSourceFile(basePath); + const typeData = new Map(); const exportedDeclarations = file.getExportedDeclarations(); for(const declarations of exportedDeclarations.values()){ for(const dec of declarations){ - typeData.push(...getNodeTypeData(dec)); + getNodeTypeData(dec).forEach((td)=> { + const fullName = getFullTypeName(td); + typeData.set(fullName, td); + }) } } + + const packageDetails = await getPackageDetailsOrThrow(basePath); return { packageDetails, - typeData: typeData.sort((a,b)=>a.name.localeCompare(b.name)), + typeData: Array.from(typeData.values()).sort((a,b)=>a.name.localeCompare(b.name)), project, }; } diff --git a/tools/build-tools/src/typeValidator/typeValidator.ts b/tools/build-tools/src/typeValidator/typeValidator.ts index 75667eea4066..56f1dd6636b9 100644 --- a/tools/build-tools/src/typeValidator/typeValidator.ts +++ b/tools/build-tools/src/typeValidator/typeValidator.ts @@ -23,22 +23,64 @@ function writeOutLine(output: string) { } } -const packageDirs: string[] = []; -if(program.monoRepoDir){ - writeOutLine(`Finding packages in mono repo ${program.monoRepoDir}`); - packageDirs.push(...findPackagesUnderPath(program.monoRepoDir)); - packageDirs.forEach((d)=>writeOutLine(d)); -}else{ - packageDirs.push(program.packageDir); -} +async function run(): Promise{ -packageDirs.forEach((packageDir)=>{ + const packageDirs: string[] = []; + if(program.monoRepoDir){ + writeOutLine(`Finding packages in mono repo ${program.monoRepoDir}`); + packageDirs.push(... (await findPackagesUnderPath(program.monoRepoDir))); + }else if(program.packageDir){ + writeOutLine(`${program.packageDir}`); + packageDirs.push(program.packageDir); + }else{ + console.log(program.helpInformation()); + return false; + } + const concurrency = 25; + const runningGenerates: Promise[]=[]; + // this loop incrementally builds up the runningGenerates promise list + // each dir with an index greater than concurrency looks back the concurrency value + // to determine when to run + packageDirs.forEach(( packageDir,i)=> runningGenerates.push((async ()=> { + if(i >= concurrency){ + await runningGenerates[i - concurrency]; + } + const packageName = packageDir.substring(packageDir.lastIndexOf("/") + 1) + const output = [`${(i+1).toString()}/${packageDirs.length}`,`${packageName}`]; + try{ + const start = Date.now(); + const packageData = await getPackageDetails(packageDir, {cwd: program.monoRepoDir}) + .finally(()=>output.push(`Loaded(${Date.now() - start}ms)`)); + if(packageData.skipReason !== undefined){ + output.push(packageData.skipReason) + } + else if(packageData.oldVersions.length > 0 + && program.preinstallOnly === undefined){ + const start = Date.now(); + await generateTests(packageData) + .then((s)=>output.push(`dirs(${s.dirs}) files(${s.files}) tests(${s.tests})`)) + .finally(()=> output.push(`Generated(${Date.now() - start}ms)`)); + } + output.push("Done"); + }catch(error){ + output.push("Error"); + if(typeof error === "string"){ + output.push(error); + }else if(error instanceof Error){ + output.push(error.message, `\n ${error.stack}`) + }else{ + output.push(typeof error, `${error}`); + } + return false; + }finally{ + writeOutLine(output.join(": ")); + } + return true; + })())); - writeOutLine(`Loading and Refresh existing type data for ${packageDir}`); - const packageData = getPackageDetails(packageDir); + return (await Promise.all(runningGenerates)).every((v)=>v); +} - if(program.preinstallOnly === undefined){ - writeOutLine("Generating Tests"); - generateTests(packageData); - } -}); +run() + .then((success)=>process.exit(success ? 0 : 1)) + .catch(()=>process.exit(2)); \ No newline at end of file