From 8783baae6ac9b0c676c677595a3279bcd071b9d7 Mon Sep 17 00:00:00 2001 From: Tyler Butler Date: Thu, 14 Mar 2024 11:37:07 -0700 Subject: [PATCH] build: Add blank line between copyright header and code (#20122) Pre-applied the changes from #20116 to the client and build-tools release groups. That is, it adds an extra blank line between the copyright header and the code so that import reorganization doesn't interfere with the header. --- azure/packages/azure-local-service/src/index.ts | 1 + .../azure-service-utils/src/generateToken.ts | 1 + .../packages/test/end-to-end-tests/.eslintrc.cjs | 1 + .../src/test/AzureClientFactory.ts | 1 + .../src/test/AzureTokenFactory.ts | 1 + .../end-to-end-tests/src/test/TestDataObject.ts | 1 + .../end-to-end-tests/src/test/audience.spec.ts | 1 + .../src/test/containerCopy.spec.ts | 1 + .../src/test/containerCreate.spec.ts | 1 + .../end-to-end-tests/src/test/ddsTests.spec.ts | 1 + azure/packages/test/scenario-runner/.eslintrc.cjs | 1 + .../test/scenario-runner/src/AzureClientRunner.ts | 1 + .../test/scenario-runner/src/DocCreatorRunner.ts | 1 + .../test/scenario-runner/src/DocLoaderRunner.ts | 1 + .../test/scenario-runner/src/MapTrafficRunner.ts | 1 + .../test/scenario-runner/src/NestedMapRunner.ts | 1 + .../test/scenario-runner/src/ScenarioRunner.ts | 1 + .../test/scenario-runner/src/TestDataObject.ts | 1 + .../test/scenario-runner/src/TestOrchestrator.ts | 1 + .../test/scenario-runner/src/interface.ts | 1 + azure/packages/test/scenario-runner/src/logger.ts | 1 + .../scenario-runner/src/orchestratorRunner.ts | 1 + .../scenario-runner/src/scenarioRunnerClient.ts | 1 + .../test/scenario-runner/src/test/mini.spec.ts | 1 + azure/packages/test/scenario-runner/src/utils.ts | 1 + .../packages/build-cli/src/BasePackageCommand.ts | 1 + build-tools/packages/build-cli/src/args.ts | 1 + build-tools/packages/build-cli/src/base.ts | 1 + .../packages/build-cli/src/commands/bump.ts | 1 + .../packages/build-cli/src/commands/bump/deps.ts | 1 + .../build-cli/src/commands/check/buildVersion.ts | 1 + .../build-cli/src/commands/check/changeset.ts | 1 + .../build-cli/src/commands/check/layers.ts | 1 + .../build-cli/src/commands/check/policy.ts | 1 + .../packages/build-cli/src/commands/exec.ts | 1 + .../build-cli/src/commands/generate/assertTags.ts | 1 + .../src/commands/generate/buildVersion.ts | 1 + .../src/commands/generate/bundleStats.ts | 1 + .../build-cli/src/commands/generate/changeset.ts | 1 + .../build-cli/src/commands/generate/upcoming.ts | 1 + .../packages/build-cli/src/commands/list.ts | 1 + .../build-cli/src/commands/merge/branches.ts | 1 + .../packages/build-cli/src/commands/merge/info.ts | 1 + .../packages/build-cli/src/commands/release.ts | 1 + .../build-cli/src/commands/release/fromTag.ts | 1 + .../build-cli/src/commands/release/history.ts | 1 + .../build-cli/src/commands/release/report.ts | 1 + .../src/commands/release/setPackageTypesField.ts | 1 + .../build-cli/src/commands/run/bundleStats.ts | 1 + .../build-cli/src/commands/test-only-filter.ts | 1 + .../packages/build-cli/src/commands/typetests.ts | 1 + build-tools/packages/build-cli/src/flags.ts | 1 + .../build-cli/src/handlers/askFunctions.ts | 1 + .../build-cli/src/handlers/checkFunctions.ts | 1 + .../build-cli/src/handlers/doFunctions.ts | 1 + .../src/handlers/fluidReleaseStateHandler.ts | 1 + .../src/handlers/initFailedStateHandler.ts | 1 + .../build-cli/src/handlers/promptFunctions.ts | 1 + .../build-cli/src/handlers/stateHandlers.ts | 1 + .../build-cli/src/instructionalPromptWriter.ts | 1 + .../packages/build-cli/src/library/branches.ts | 1 + .../packages/build-cli/src/library/context.ts | 1 + .../packages/build-cli/src/library/dangerfile.ts | 1 + .../packages/build-cli/src/library/dates.ts | 1 + build-tools/packages/build-cli/src/library/git.ts | 1 + .../packages/build-cli/src/library/github.ts | 1 + .../packages/build-cli/src/library/layerGraph.ts | 1 + .../packages/build-cli/src/library/package.ts | 1 + .../packages/build-cli/src/library/release.ts | 1 + .../packages/build-cli/src/library/sets.ts | 1 + build-tools/packages/build-cli/src/logging.ts | 1 + .../build-cli/src/machines/fluidReleaseMachine.ts | 1 + .../packages/build-cli/src/stateMachineCommand.ts | 1 + .../test/commands/generate/buildVersion.test.ts | 1 + .../packages/build-cli/test/commands/list.test.ts | 1 + .../build-cli/test/commands/release.test.ts | 1 + .../test/commands/release/fromTag.test.ts | 1 + .../test/commands/test-only-filter.test.ts | 1 + .../build-cli/test/commands/typetests.test.ts | 1 + .../packages/build-cli/test/filter.test.ts | 1 + .../build-cli/test/library/branches.test.ts | 1 + .../build-cli/test/library/changesets.test.ts | 1 + .../build-cli/test/library/package.test.ts | 1 + .../test/machines/fluidReleaseMachine.test.ts | 1 + .../src/bundleSizeAnalysis/dangerfile.ts | 1 + .../packages/build-tools/src/common/fluidRepo.ts | 1 + .../packages/build-tools/src/common/fluidUtils.ts | 1 + .../packages/build-tools/src/common/gitRepo.ts | 1 + .../packages/build-tools/src/common/logging.ts | 1 + .../packages/build-tools/src/common/monoRepo.ts | 1 + .../packages/build-tools/src/common/npmPackage.ts | 1 + .../packages/build-tools/src/common/taskUtils.ts | 1 + .../packages/build-tools/src/common/timer.ts | 1 + .../packages/build-tools/src/common/tscUtils.ts | 1 + .../packages/build-tools/src/common/utils.ts | 1 + .../packages/build-tools/src/docStats/docStats.ts | 1 + .../build-tools/src/fluidBuild/buildGraph.ts | 1 + .../build-tools/src/fluidBuild/fluidBuild.ts | 1 + .../build-tools/src/fluidBuild/fluidRepoBuild.ts | 1 + .../build-tools/src/fluidBuild/npmDepChecker.ts | 1 + .../build-tools/src/fluidBuild/options.ts | 1 + .../build-tools/src/fluidBuild/symlinkUtils.ts | 1 + .../build-tools/src/fluidBuild/tasks/groupTask.ts | 1 + .../src/fluidBuild/tasks/leaf/apiExtractorTask.ts | 1 + .../src/fluidBuild/tasks/leaf/flubTasks.ts | 1 + .../src/fluidBuild/tasks/leaf/leafTask.ts | 1 + .../src/fluidBuild/tasks/leaf/lintTasks.ts | 1 + .../src/fluidBuild/tasks/leaf/miscTasks.ts | 1 + .../src/fluidBuild/tasks/leaf/prettierTask.ts | 1 + .../src/fluidBuild/tasks/leaf/renamerTask.ts | 1 + .../src/fluidBuild/tasks/leaf/tscTask.ts | 1 + .../src/fluidBuild/tasks/leaf/webpackTask.ts | 1 + .../build-tools/src/fluidBuild/tasks/task.ts | 1 + .../src/fluidBuild/tasks/taskFactory.ts | 1 + .../src/fluidBuild/tasks/workers/eslintWorker.ts | 1 + .../src/fluidBuild/tasks/workers/worker.ts | 1 + .../src/fluidBuild/tasks/workers/workerPool.ts | 1 + .../build-tools/src/repoPolicyCheck/common.ts | 1 + .../repoPolicyCheck/handlers/assertShortCode.ts | 1 + .../handlers/dockerfilePackages.ts | 1 + .../repoPolicyCheck/handlers/fluidBuildTasks.ts | 1 + .../src/repoPolicyCheck/handlers/fluidCase.ts | 1 + .../src/repoPolicyCheck/handlers/index.ts | 1 + .../src/repoPolicyCheck/handlers/lockfiles.ts | 1 + .../src/repoPolicyCheck/handlers/noJsFiles.ts | 1 + .../src/repoPolicyCheck/handlers/npmPackages.ts | 1 + .../src/repoPolicyCheck/handlers/pnpm.ts | 1 + .../build-tools/src/test/npmPackage.test.ts | 1 + .../build-tools/src/type-test-generator/main.ts | 2 ++ .../src/typeValidator/typeDecomposition.ts | 1 + .../src/typeValidator/validatorUtils.ts | 1 + .../src/ADO/AdoArtifactFileProvider.ts | 1 + .../src/ADO/AdoSizeComparator.ts | 1 + .../src/ADO/DefaultStatsProcessors.ts | 1 + .../src/ADO/FileSystemBundleFileProvider.ts | 1 + .../bundle-size-tools/src/ADO/PrCommentsUtils.ts | 1 + .../src/ADO/getAzureDevopsApi.ts | 1 + .../src/ADO/getBundleBuddyConfigMap.ts | 1 + .../src/ADO/getBundleSummaries.ts | 1 + .../src/ADO/getCommentForBundleDiff.ts | 1 + .../src/BundleBuddyConfigWebpackPlugin.ts | 1 + .../bundle-size-tools/src/BundleBuddyTypes.ts | 1 + .../bannedModulesPlugin/bannedModulesPlugin.ts | 1 + .../bundle-size-tools/src/compareBundles.ts | 1 + .../statsProcessors/bundleBuddyConfigProcessor.ts | 1 + .../src/statsProcessors/entryStatsProcessor.ts | 1 + .../statsProcessors/totalSizeStatsProcessor.ts | 1 + .../src/utilities/decompressStatsFile.ts | 1 + .../src/utilities/getAllFilesInDirectory.ts | 1 + .../bundle-size-tools/src/utilities/getBuilds.ts | 1 + .../src/utilities/getChunkAndDependenciesSizes.ts | 1 + .../src/utilities/getChunkParsedSize.ts | 1 + .../src/utilities/getLastCommitHashFromPR.ts | 1 + .../src/utilities/gitCommands.ts | 1 + .../src/utilities/runProcessorOnStatsFile.ts | 1 + .../src/utilities/unzipStream.ts | 1 + .../src/commands/generate/readme.ts | 1 + .../packages/version-tools/src/bumpTypes.ts | 1 + .../version-tools/src/commands/version.ts | 1 + .../version-tools/src/commands/version/latest.ts | 1 + .../version-tools/src/internalVersionScheme.ts | 1 + build-tools/packages/version-tools/src/schemes.ts | 1 + build-tools/packages/version-tools/src/semver.ts | 1 + .../src/test/internalVersionScheme.test.ts | 1 + .../version-tools/src/test/schemes.test.ts | 1 + .../version-tools/src/test/semver.test.ts | 1 + .../version-tools/src/test/versions.test.ts | 1 + .../src/test/virtualPatchScheme.test.ts | 1 + .../version-tools/src/virtualPatchScheme.ts | 1 + .../enforce-no-member-release-tags.test.js | 1 + .../enforce-no-restricted-tags-imports.test.js | 1 + examples/apps/attributable-map/src/view.ts | 1 + examples/apps/presence-tracker/src/app.ts | 1 + .../editable-shared-tree/src/appState.ts | 1 + .../editable-shared-tree/src/bubblebench.ts | 1 + .../editable-shared-tree/src/client.ts | 1 + .../bubblebench/editable-shared-tree/src/index.ts | 1 + .../editable-shared-tree/src/schema.ts | 1 + examples/benchmarks/tablebench/src/app.ts | 5 ----- examples/benchmarks/tablebench/src/azure.ts | 5 ----- examples/benchmarks/tablebench/src/index.ts | 5 ----- examples/benchmarks/tablebench/webpack.config.cjs | 5 ----- .../app-insights-logger/src/app/index.tsx | 1 + .../app-insights-logger/src/components/App.tsx | 1 + .../src/components/ClientUtilities.ts | 1 + .../data-objects/webflow/src/packageVersion.ts | 2 -- .../src/mock-external-data-service/webhook.ts | 1 + examples/external-data/src/view/taskListView.tsx | 1 + .../src/AzureFunctionTokenProvider.ts | 1 + .../azure-client/external-controller/src/app.ts | 1 + .../external-controller/src/controller.ts | 1 + .../azure-client/external-controller/src/view.ts | 1 + .../external-controller/tests/diceRoller.test.ts | 1 + .../shared-tree-demo/src/clientProps.ts | 1 + .../odsp-client/shared-tree-demo/src/fluid.ts | 1 + .../odsp-client/shared-tree-demo/src/index.css | 5 ----- .../odsp-client/shared-tree-demo/src/reactApp.tsx | 1 + .../odsp-client/shared-tree-demo/src/schema.ts | 1 + examples/utils/bundle-size-tests/src/aqueduct.ts | 1 + .../bundle-size-tests/src/containerRuntime.ts | 1 + examples/utils/bundle-size-tests/src/map.ts | 1 + examples/utils/bundle-size-tests/src/matrix.ts | 1 + .../utils/bundle-size-tests/src/odspDriver.ts | 1 + .../bundle-size-tests/src/odspPrefetchSnapshot.ts | 1 + .../utils/bundle-size-tests/src/sharedString.ts | 1 + .../utils/bundle-size-tests/src/sharedTree.ts | 1 + .../src/reactInputs/CollaborativeInput.tsx | 1 + .../examples/property-inspector/src/theme.ts | 1 + .../property-inspector/webpack.config.cjs | 1 + .../PropertyDDS/examples/schemas/built/index.js | 1 + .../schemas/built/src/schemasRegisterer.js | 1 + .../built/src/squares_demo/2DPoint-1.0.0.js | 1 + .../PropertyDDS/examples/schemas/src/index.ts | 1 + .../examples/schemas/src/schemasRegisterer.ts | 1 + .../schemas/src/squares_demo/2DPoint-1.0.0.ts | 1 + .../src/squares_demo/coloredSquare-1.0.0.ts | 1 + .../examples/schemas/src/squares_demo/index.ts | 1 + .../schemas/src/squares_demo/square-1.0.0.ts | 1 + .../src/squares_demo/squaresBoard-1.0.0.ts | 1 + .../packages/property-binder/jest.config.cjs | 1 + .../src/data_binder/IDefineDataBindingOptions.ts | 1 + .../data_binder/IDefineRepresentationOptions.ts | 1 + .../src/data_binder/dataBinding.ts | 1 + .../src/data_binder/dataBindingTree.ts | 1 + .../src/data_binder/internalUtils.ts | 1 + .../src/data_binder/modificationContext.ts | 1 + .../src/data_binder/statelessDataBinding.ts | 1 + .../property-binder/src/external/HFDMDoc.js | 1 + .../src/external/utils/nestedObjectHelpers.ts | 1 + .../src/internal/activationQueryCacheHelper.ts | 1 + .../property-binder/src/internal/constants.ts | 1 + .../src/internal/propertyElement.ts | 1 + .../src/internal/statelessDataBindingWrapper.ts | 1 + .../src/test/activation_tests.spec.js | 1 + .../property-binder/src/test/data_binding.spec.js | 1 + .../src/test/data_binding_tree.spec.js | 1 + .../src/test/es6_data_binding.spec.js | 1 + .../src/test/es6_decorator_data_binding.spec.js | 1 + .../property-binder/src/test/general.spec.js | 1 + .../src/test/internal_utils.spec.js | 1 + .../src/test/onDemandDataBinding.spec.js | 1 + .../src/test/property_element.spec.js | 1 + .../src/test/runtime_models.spec.js | 1 + .../src/test/semver_bindings.spec.js | 1 + .../property-binder/src/test/semver_reps.spec.js | 1 + .../src/test/stateless_binding.spec.js | 1 + .../property-binder/src/test/testDataBindings.js | 1 + .../property-binder/src/test/testTemplates.js | 1 + .../packages/property-changeset/src/changeset.ts | 1 + .../src/changeset_operations/array.ts | 1 + .../arrayChangesetIterator.ts | 1 + .../changesetConflictTypes.ts | 1 + .../src/changeset_operations/indexedCollection.ts | 1 + .../src/changeset_operations/isEmptyChangeset.ts | 1 + .../src/helpers/typeidHelper.ts | 1 + .../packages/property-changeset/src/index.ts | 1 + .../property-changeset/src/isReservedKeyword.ts | 1 + .../packages/property-changeset/src/pathHelper.ts | 1 + .../property-changeset/src/templateSchema.ts | 1 + .../src/test/indexedCollection.spec.ts | 1 + .../src/test/schemaValidator.ts | 1 + .../test/schemas/badBothPropertiesAndTypeid.ts | 1 + .../src/test/schemas/badInvalidSemverInTypeid.ts | 1 + .../src/test/schemas/badMissingSemverInTypeid.ts | 1 + .../src/test/schemas/badNestedProperties.ts | 1 + .../src/test/schemas/badPrimitiveTypeid.ts | 1 + .../src/test/schemas/badVersionedTypeid.ts | 1 + .../src/test/schemas/goodColorPalette.ts | 1 + .../src/test/schemas/goodDraftAsVersion.ts | 1 + .../src/test/schemas/goodPointId.ts | 1 + .../src/test/schemas/goodReferenceAndRegular.ts | 1 + .../src/test/schemas/goodReservedTypes.ts | 1 + .../src/test/schemas/goodUIBorder.ts | 1 + .../src/test/validator/templateSyntax.spec.ts | 1 + .../packages/property-changeset/src/utils.ts | 1 + .../property-common/platform-dependent/browser.js | 1 + .../property-common/platform-dependent/server.js | 1 + .../src/datastructures/collection.ts | 1 + .../src/error_objects/httpError.ts | 1 + .../src/error_objects/httpErrorNoStack.ts | 1 + .../packages/property-common/src/index.ts | 1 + .../src/test/datastructures/dataArray.spec.ts | 1 + .../packages/property-dds/.eslintrc.cjs | 4 ---- .../property-dds/src/propertyTreeExtFactories.ts | 1 + .../property-inspector-table/.storybook/main.js | 1 + .../__mocks__/react-virtualized-auto-sizer.tsx | 1 + .../assets/icons/SVGStoreIcons/index.js | 1 + .../packages/property-inspector-table/custom.d.ts | 1 + .../property-inspector-table/jest.config.cjs | 1 + .../property-inspector-table/src/CommonTypes.tsx | 1 + .../property-inspector-table/src/CustomChip.tsx | 1 + .../src/DecoratedSelect.stories.tsx | 1 + .../property-inspector-table/src/DeleteModal.tsx | 1 + .../src/EditReferencePath.tsx | 1 + .../src/EditableValueCell.tsx | 1 + .../property-inspector-table/src/Empty.tsx | 1 + .../property-inspector-table/src/ErrorPopup.ts | 1 + .../property-inspector-table/src/ErrorTooltip.tsx | 1 + .../property-inspector-table/src/ExpiryModal.tsx | 1 + .../property-inspector-table/src/Field.tsx | 1 + .../src/FloatingLabelTextField.tsx | 1 + .../src/HashCalculator.ts | 1 + .../src/InputValidator.ts | 1 + .../src/InspectorDecorator.tsx | 1 + .../src/InspectorModal.tsx | 1 + .../src/InspectorTable.stories.tsx | 1 + .../src/InspectorTable.tsx | 1 + .../src/InspectorTableDecorator.tsx | 1 + .../src/PropertyDataCreationHandlers.ts | 1 + .../property-inspector-table/svgo.plugins.js | 1 + .../abstractStaticCollectionProperty.js | 1 + .../src/properties/enumArrayProperty.js | 1 + .../src/properties/enumProperty.js | 1 + .../src/properties/floatProperties.js | 1 + .../src/properties/lazyLoadedProperties.js | 1 + .../src/properties/namedProperty.js | 1 + .../src/properties/primitiveTypeCasts.js | 1 + .../src/properties/referenceArrayProperty.js | 1 + .../src/properties/referenceMapProperty.js | 1 + .../src/properties/referenceProperty.js | 1 + .../src/properties/stringProperty.js | 1 + .../src/properties/uintProperties.js | 1 + .../src/properties/valueMapProperty.js | 1 + .../src/properties/valueProperty.js | 1 + .../property-properties/src/propertyTemplate.js | 1 + .../src/test/reversibleChangeset.spec.js | 1 + .../property-properties/src/test/setup.js | 1 + .../property-properties/src/test/utils.spec.js | 1 + .../test/validation/badMissingSemverInTypeid.js | 1 + .../src/test/validation/badPrimitiveTypeid.js | 1 + .../src/test/validation/goodColorId.js | 1 + .../src/test/validation/goodColorPalette.js | 1 + .../src/test/validation/goodPointId.js | 1 + .../validation/reversibleChangeSetTestData.js | 1 + .../property-proxy/src/arrayProxyHandler.ts | 1 + .../packages/property-proxy/src/componentArray.ts | 1 + .../packages/property-proxy/src/componentMap.ts | 1 + .../packages/property-proxy/src/componentSet.ts | 1 + .../packages/property-proxy/src/errors.ts | 1 + .../packages/property-proxy/src/proxyHandler.ts | 1 + .../property-proxy/src/test/proxify.spec.ts | 1 + .../packages/property-proxy/src/utilities.ts | 1 + .../src/materialized_history_service/base_node.js | 1 + .../branch_manager.js | 1 + .../branch_write_queue.js | 1 + .../materialized_history_service/btree_manager.js | 1 + .../change_set_processing/chunk_change_set.js | 1 + .../merge_chunked_changeset.js | 1 + .../strip_reversible_changeset.js | 1 + .../commit_manager.js | 1 + .../deletion_manager.js | 1 + .../materialized_history_service/index_manager.js | 1 + .../materialized_history_service/internal_node.js | 1 + .../src/materialized_history_service/leaf_node.js | 1 + .../materialized_history_service.js | 1 + .../node_dependency_manager.js | 1 + .../query_pipeline/comparator.js | 1 + .../query_pipeline/filtering/in_memory_by_type.js | 1 + .../filtering/in_memory_by_value.js | 1 + .../query_pipeline/index_utils.js | 1 + .../query_pipeline/multiple_queries_execution.js | 1 + .../query_pipeline/mv_query_executor.js | 1 + .../query_pipeline/paging/no_index_paging.js | 1 + .../query_pipeline/query_v1_execution.js | 1 + .../query_pipeline/scan_traversal_utils.js | 1 + .../query_pipeline/simple_query_execution.js | 1 + .../serialization/bson.js | 1 + .../serialization/factory.js | 1 + .../serialization/json.js | 1 + .../storage_backends/backend_factory.js | 1 + .../storage_backends/in_memory.js | 1 + .../storage_backends/storage_manager.js | 1 + .../src/utils/deterministic_guid_generator.js | 1 + .../property-query/src/utils/index_key_encoder.js | 1 + .../property-query/src/utils/module_logger.js | 1 + .../property-query/src/utils/node_refs.js | 1 + .../src/utils/template_conversion.js | 1 + .../packages/property-query/test/get_config.js | 6 ------ .../packages/property-query/test/setup.js | 1 + .../packages/property-query/test/setup_common.js | 1 + .../test/unit/branch_manager.spec.js | 1 + .../test/unit/branch_write_queue.spec.js | 1 + .../test/unit/filter_in_memory_by_type.spec.js | 1 + .../test/unit/idempotent_writes.spec.js | 1 + .../test/unit/in_memory_by_value.spec.js | 1 + .../test/unit/index_key_encoder.spec.js | 1 + .../test/unit/multiple_queries_execution.spec.js | 1 + .../test/unit/no_index_paging.spec.js | 1 + .../test/unit/parent_failure.spec.js | 1 + .../test/unit/query_v1_execution.spec.js | 1 + .../test/unit/shared/chunk_change_set.spec.js | 1 + .../shared/leaf_splitting_and_merging.spec.js | 1 + .../test/unit/storage_manager.spec.js | 1 + .../src/test/sharedNumberSequence.spec.ts | 1 + .../src/test/sharedObjectSequence.spec.ts | 1 + experimental/dds/tree/src/TreeCompressor.ts | 1 + .../dds/tree/src/migration-shim/migrationShim.ts | 1 + .../dds/tree/src/migration-shim/packageVersion.ts | 2 -- .../dds/tree/src/migration-shim/sharedTreeShim.ts | 1 + experimental/dds/tree/src/test/Summary.tests.ts | 1 + experimental/framework/last-edited/src/index.ts | 1 + .../src/test/mocha/typedEventEmitter.spec.ts | 1 + .../common/driver-definitions/src/urlResolver.ts | 1 + .../dds/merge-tree/src/mergeTreeDeltaCallback.ts | 1 + .../src/test/client.getPosition.spec.ts | 1 + .../src/test/client.localReference.spec.ts | 1 + .../src/test/client.localReferenceFarm.spec.ts | 1 + .../src/test/client.reconnectFarm.spec.ts | 1 + .../dds/merge-tree/src/test/client.replay.spec.ts | 1 + .../merge-tree/src/test/client.rollback.spec.ts | 1 + .../src/test/mergeTree.markRangeRemoved.spec.ts | 1 + packages/dds/merge-tree/src/test/ordinal.spec.ts | 1 + .../src/test/resetPendingSegmentsToOp.spec.ts | 1 + .../merge-tree/src/test/snapshotlegacy.spec.ts | 1 + .../src/intervalIndex/endpointInRangeIndex.ts | 1 + .../sequence/src/intervalIndex/endpointIndex.ts | 1 + .../intervalIndex/overlappingIntervalsIndex.ts | 1 + .../overlappingSequenceIntervalsIndex.ts | 1 + .../src/intervalIndex/startpointInRangeIndex.ts | 1 + packages/dds/sequence/src/intervals/interval.ts | 1 + packages/dds/sequence/src/test/fuzz/fuzzUtils.ts | 1 + .../src/test/intervalCollection.snapshot.spec.ts | 1 + .../sequence/src/test/intervalIndexTestUtils.ts | 1 + .../sequence/src/test/intervalStashedOps.spec.ts | 1 + .../src/test/sharedIntervalCollection.spec.ts | 1 + .../src/test/ddsFuzzHarness.spec.ts | 1 + .../src/test/ddsSuiteCases/replay.ts | 1 + .../dds/test-dds-utils/src/test/sharedNothing.ts | 1 + .../dds/tree/src/codec/discriminatedUnions.ts | 1 + packages/dds/tree/src/codec/index.ts | 1 + packages/dds/tree/src/core/tree/visitDelta.ts | 1 + packages/dds/tree/src/core/tree/visitPath.ts | 1 + .../tree/src/feature-libraries/multiplicity.ts | 1 + packages/dds/tree/src/shared-tree-core/branch.ts | 8 ++++---- packages/dds/tree/src/shared-tree-core/index.ts | 1 + .../tree/src/shared-tree/schematizingTreeView.ts | 1 + packages/dds/tree/src/shared-tree/treeApi.ts | 1 + packages/dds/tree/src/shared-tree/treeCheckout.ts | 1 + packages/dds/tree/src/simple-tree/toFlexSchema.ts | 1 + packages/dds/tree/src/simple-tree/toMapTree.ts | 2 +- .../chunked-forest/chunkEncodingEndToEnd.ts | 1 + .../feature-libraries/flex-tree/events.spec.ts | 1 + packages/dds/tree/src/test/scalableTestTrees.ts | 1 + .../src/test/shared-tree-core/message.spec.ts | 1 + .../test/shared-tree-core/sharedTreeCore.spec.ts | 1 + .../dds/tree/src/test/shared-tree-core/utils.ts | 1 + .../dds/tree/src/test/shared-tree/editing.spec.ts | 1 + .../shared-tree/fuzz/anchorStability.fuzz.spec.ts | 1 + .../fuzz/composeVsIndividual.fuzz.spec.ts | 1 + .../test/shared-tree/fuzz/fuzzEditGenerators.ts | 1 + .../tree/src/test/shared-tree/fuzz/fuzzUtils.ts | 1 + .../test/shared-tree/fuzz/topLevel.fuzz.spec.ts | 1 + .../dds/tree/src/test/shared-tree/opSize.bench.ts | 1 + .../tree/src/test/shared-tree/sharedTree.bench.ts | 1 + .../tree/src/test/shared-tree/sharedTree.spec.ts | 1 + .../dds/tree/src/test/shared-tree/treeApi.spec.ts | 1 + .../src/test/shared-tree/treeCheckout.spec.ts | 1 + .../tree/src/test/shared-tree/treeView.spec.ts | 1 + .../dds/tree/src/test/shared-tree/undo.spec.ts | 1 + .../local-driver/src/localSessionStorageDb.ts | 1 + .../drivers/odsp-driver-definitions/src/errors.ts | 1 + .../src/createOdspCreateContainerRequest.ts | 1 + .../drivers/odsp-driver/src/getQueryString.ts | 1 + packages/drivers/odsp-driver/src/odspCache.ts | 1 + .../odsp-driver/src/odspDriverUrlResolver.ts | 1 + .../src/odspDriverUrlResolverForShareLink.ts | 1 + .../src/test/odspDriverResolverTest.spec.ts | 1 + .../odsp-driver/src/test/opsCaching.spec.ts | 1 + packages/framework/attributor/src/attributor.ts | 1 + packages/framework/attributor/src/encoders.ts | 1 + packages/framework/attributor/src/index.ts | 1 + packages/framework/attributor/src/lz4Encoder.ts | 1 + .../framework/attributor/src/mixinAttributor.ts | 1 + .../attributor/src/test/attributor.spec.ts | 1 + .../src/test/attributorSerializer.spec.ts | 1 + .../attributor/src/test/deltaEncoder.spec.ts | 1 + .../attributor/src/test/lz4Encoder.spec.ts | 1 + .../src/test/opStreamAttributor.spec.ts | 1 + packages/framework/attributor/src/test/utils.ts | 1 + .../src/test/fluidAppInsightsLogger.spec.ts | 1 + ...ateFluidAppInsightsLoggerPrevious.generated.ts | 1 + .../framework/fluid-static/src/fluidContainer.ts | 1 + .../framework/fluid-static/src/rootDataObject.ts | 1 + packages/framework/synthesize/src/types.ts | 1 + .../loader/container-loader/src/attachment.ts | 1 + packages/loader/container-loader/src/audience.ts | 1 + packages/loader/container-loader/src/quorum.ts | 1 + .../loader/driver-utils/src/messageRecognition.ts | 1 + .../loader/driver-utils/src/parallelRequests.ts | 1 + .../src/prefetchDocumentStorageService.ts | 1 + .../src/test/summaryCompresssionTester.spec.ts | 1 + .../container-runtime/src/channelCollection.ts | 4 ++-- .../container-runtime/src/containerRuntime.ts | 3 ++- .../container-runtime/src/dataStoreRegistry.ts | 1 + .../container-runtime/src/scheduleManager.ts | 1 + .../src/summary/orderedClientElection.ts | 1 + .../src/test/dataStoreCreation.spec.ts | 1 + .../src/test/dataStoreRegistry.spec.ts | 1 + .../src/test/fuzz/summarizerFuzzSuite.ts | 1 + .../src/test/opLifecycle/opSplitter.spec.ts | 1 + .../container-runtime/src/test/throttler.spec.ts | 1 + .../runtime/runtime-utils/src/requestParser.ts | 1 + .../src/assertionShortCodesMap.ts | 15 ++++++++++----- .../azure-client/src/AzureClient.ts | 3 ++- .../src/AzureFunctionTokenProvider.ts | 1 + .../azure-client/src/AzureUrlResolver.ts | 1 + .../azure-client/src/interfaces.ts | 1 + .../azure-client/src/test/AzureClient.spec.ts | 1 + .../service-clients/azure-client/src/utils.ts | 1 + .../end-to-end-tests/odsp-client/.eslintrc.cjs | 1 + .../odsp-client/src/test/OdspClientFactory.ts | 1 + .../odsp-client/src/test/OdspTokenFactory.ts | 1 + .../odsp-client/src/test/TestDataObject.ts | 1 + .../odsp-client/src/test/audience.spec.ts | 1 + .../odsp-client/src/test/containerCreate.spec.ts | 1 + .../odsp-client/src/test/ddsTests.spec.ts | 1 + .../service-clients/odsp-client/src/interfaces.ts | 1 + .../odsp-client/src/odspAudience.ts | 1 + .../service-clients/odsp-client/src/odspClient.ts | 1 + .../tinylicious-client/src/TinyliciousClient.ts | 1 + .../tinylicious-client/src/interfaces.ts | 1 + .../test/stochastic-test-utils/src/generators.ts | 1 + .../test-driver-definitions/src/interfaces.ts | 1 + .../test-drivers/src/localServerTestDriver.ts | 1 + .../src/test/attachLifecycle.spec.ts | 1 + .../src/test/benchmark/DocumentMatrix.ts | 1 + .../src/test/benchmark/DocumentMatrixPlain.ts | 1 + .../test/benchmark/DocumentMultipleDataStores.ts | 1 + .../src/test/benchmark/LoadDocument.all.spec.ts | 1 + .../src/test/benchmark/SimpleTest.all.spec.ts | 1 + .../src/test/benchmark/container.time.spec.ts | 1 + .../benchmark/summarizationDocument.all.spec.ts | 1 + .../src/test/idCompressor.spec.ts | 1 + .../test/test-utils/src/loaderContainerTracker.ts | 1 + .../test/test-version-utils/src/baseVersion.ts | 1 + .../test/test-version-utils/src/compatConfig.ts | 1 + packages/test/test-version-utils/src/index.ts | 1 + .../src/test/baseVersion.spec.ts | 1 + .../src/test/versionUtils.spec.ts | 1 + .../e2e-tests/app/container.ts | 1 + .../src/popup/PopupScript.ts | 1 + .../devtools-core/src/IContainerDevtools.ts | 1 + .../devtools/devtools-core/src/IFluidDevtools.ts | 1 + packages/tools/devtools/devtools-core/src/Logs.ts | 1 + .../devtools/devtools-example/jest.config.cjs | 1 + .../tools/devtools/devtools-example/src/App.tsx | 1 + .../devtools/devtools-example/src/FluidObject.ts | 1 + .../tools/devtools/devtools-example/src/index.tsx | 1 + .../devtools-example/src/widgets/EmojiButton.tsx | 1 + .../tools/devtools/devtools-view/src/Audience.ts | 1 + .../src/ContainerFeatureFlagHelper.ts | 1 + .../devtools/devtools-view/src/DevtoolsPanel.tsx | 1 + .../devtools/devtools-view/src/ThemeHelper.ts | 1 + .../tools/devtools/devtools-view/src/Utilities.ts | 1 + .../devtools-view/src/components/AudienceView.tsx | 1 + .../src/components/ContainerHistoryLog.tsx | 1 + .../src/components/ContainerHistoryView.tsx | 1 + .../src/components/DataObjectsView.tsx | 1 + .../data-visualization/FluidHandleView.tsx | 1 + .../data-visualization/FluidTreeView.tsx | 1 + .../data-visualization/FluidValueView.tsx | 1 + .../data-visualization/TreeDataView.tsx | 1 + .../components/data-visualization/TreeHeader.tsx | 1 + .../data-visualization/UnknownDataView.tsx | 1 + .../data-visualization/UnknownFluidObjectView.tsx | 1 + .../components/data-visualization/ValueView.tsx | 1 + packages/utils/telemetry-utils/src/config.ts | 1 + .../src/eventEmitterWithErrorHandling.ts | 1 + packages/utils/telemetry-utils/src/index.ts | 1 + packages/utils/telemetry-utils/src/utils.ts | 1 + 570 files changed, 577 insertions(+), 53 deletions(-) diff --git a/azure/packages/azure-local-service/src/index.ts b/azure/packages/azure-local-service/src/index.ts index 4ee2d2c7d22..41f8a351f31 100644 --- a/azure/packages/azure-local-service/src/index.ts +++ b/azure/packages/azure-local-service/src/index.ts @@ -4,5 +4,6 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + // eslint-disable-next-line import/no-unassigned-import import "tinylicious"; diff --git a/azure/packages/azure-service-utils/src/generateToken.ts b/azure/packages/azure-service-utils/src/generateToken.ts index 4c69fbbbde3..d2ab607f4a4 100644 --- a/azure/packages/azure-service-utils/src/generateToken.ts +++ b/azure/packages/azure-service-utils/src/generateToken.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { KJUR as jsrsasign } from "jsrsasign"; import { v4 as uuid } from "uuid"; diff --git a/azure/packages/test/end-to-end-tests/.eslintrc.cjs b/azure/packages/test/end-to-end-tests/.eslintrc.cjs index 84e21b4b370..ca64718ca3a 100644 --- a/azure/packages/test/end-to-end-tests/.eslintrc.cjs +++ b/azure/packages/test/end-to-end-tests/.eslintrc.cjs @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + module.exports = { extends: [require.resolve("@fluidframework/eslint-config-fluid"), "prettier"], rules: { diff --git a/azure/packages/test/end-to-end-tests/src/test/AzureClientFactory.ts b/azure/packages/test/end-to-end-tests/src/test/AzureClientFactory.ts index 247deba90a7..956ef0355b2 100644 --- a/azure/packages/test/end-to-end-tests/src/test/AzureClientFactory.ts +++ b/azure/packages/test/end-to-end-tests/src/test/AzureClientFactory.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { v4 as uuid } from "uuid"; import { diff --git a/azure/packages/test/end-to-end-tests/src/test/AzureTokenFactory.ts b/azure/packages/test/end-to-end-tests/src/test/AzureTokenFactory.ts index cfe74db5e87..13b75c38b03 100644 --- a/azure/packages/test/end-to-end-tests/src/test/AzureTokenFactory.ts +++ b/azure/packages/test/end-to-end-tests/src/test/AzureTokenFactory.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ITokenProvider } from "@fluidframework/azure-client"; import { InsecureTokenProvider } from "@fluidframework/test-runtime-utils"; diff --git a/azure/packages/test/end-to-end-tests/src/test/TestDataObject.ts b/azure/packages/test/end-to-end-tests/src/test/TestDataObject.ts index f958d2f7134..e888db81a16 100644 --- a/azure/packages/test/end-to-end-tests/src/test/TestDataObject.ts +++ b/azure/packages/test/end-to-end-tests/src/test/TestDataObject.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { DataObject, DataObjectFactory, IDataObjectProps } from "@fluidframework/aqueduct"; import { IFluidHandle } from "@fluidframework/core-interfaces"; import { SharedCounter } from "@fluidframework/counter"; diff --git a/azure/packages/test/end-to-end-tests/src/test/audience.spec.ts b/azure/packages/test/end-to-end-tests/src/test/audience.spec.ts index 25375a00a99..e4f702150d1 100644 --- a/azure/packages/test/end-to-end-tests/src/test/audience.spec.ts +++ b/azure/packages/test/end-to-end-tests/src/test/audience.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { AzureClient } from "@fluidframework/azure-client"; diff --git a/azure/packages/test/end-to-end-tests/src/test/containerCopy.spec.ts b/azure/packages/test/end-to-end-tests/src/test/containerCopy.spec.ts index ba24dc6a4ee..02bdd64b026 100644 --- a/azure/packages/test/end-to-end-tests/src/test/containerCopy.spec.ts +++ b/azure/packages/test/end-to-end-tests/src/test/containerCopy.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { AzureClient } from "@fluidframework/azure-client"; diff --git a/azure/packages/test/end-to-end-tests/src/test/containerCreate.spec.ts b/azure/packages/test/end-to-end-tests/src/test/containerCreate.spec.ts index a23c533b800..011fb86b7b3 100644 --- a/azure/packages/test/end-to-end-tests/src/test/containerCreate.spec.ts +++ b/azure/packages/test/end-to-end-tests/src/test/containerCreate.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { AzureClient } from "@fluidframework/azure-client"; diff --git a/azure/packages/test/end-to-end-tests/src/test/ddsTests.spec.ts b/azure/packages/test/end-to-end-tests/src/test/ddsTests.spec.ts index 3d90ab81b7d..0fa020010ad 100644 --- a/azure/packages/test/end-to-end-tests/src/test/ddsTests.spec.ts +++ b/azure/packages/test/end-to-end-tests/src/test/ddsTests.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { AzureClient } from "@fluidframework/azure-client"; diff --git a/azure/packages/test/scenario-runner/.eslintrc.cjs b/azure/packages/test/scenario-runner/.eslintrc.cjs index 4ace42bd9a6..19ee963bd5c 100644 --- a/azure/packages/test/scenario-runner/.eslintrc.cjs +++ b/azure/packages/test/scenario-runner/.eslintrc.cjs @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + module.exports = { extends: [ require.resolve("@fluidframework/eslint-config-fluid/minimal-deprecated"), diff --git a/azure/packages/test/scenario-runner/src/AzureClientRunner.ts b/azure/packages/test/scenario-runner/src/AzureClientRunner.ts index e3378712535..fa61fc463c4 100644 --- a/azure/packages/test/scenario-runner/src/AzureClientRunner.ts +++ b/azure/packages/test/scenario-runner/src/AzureClientRunner.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { AzureClient } from "@fluidframework/azure-client"; import { TypedEventEmitter } from "@fluid-internal/client-utils"; diff --git a/azure/packages/test/scenario-runner/src/DocCreatorRunner.ts b/azure/packages/test/scenario-runner/src/DocCreatorRunner.ts index 07b2933273c..4a5386b0c2c 100644 --- a/azure/packages/test/scenario-runner/src/DocCreatorRunner.ts +++ b/azure/packages/test/scenario-runner/src/DocCreatorRunner.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ChildProcess } from "child_process"; import { ConnectionState } from "@fluidframework/container-loader"; import { PerformanceEvent } from "@fluidframework/telemetry-utils"; diff --git a/azure/packages/test/scenario-runner/src/DocLoaderRunner.ts b/azure/packages/test/scenario-runner/src/DocLoaderRunner.ts index 731e425e2d0..01f2cb56bc4 100644 --- a/azure/packages/test/scenario-runner/src/DocLoaderRunner.ts +++ b/azure/packages/test/scenario-runner/src/DocLoaderRunner.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ConnectionState } from "@fluidframework/container-loader"; import { IFluidContainer } from "@fluidframework/fluid-static"; import { PerformanceEvent } from "@fluidframework/telemetry-utils"; diff --git a/azure/packages/test/scenario-runner/src/MapTrafficRunner.ts b/azure/packages/test/scenario-runner/src/MapTrafficRunner.ts index 98568630826..2257c5fec95 100644 --- a/azure/packages/test/scenario-runner/src/MapTrafficRunner.ts +++ b/azure/packages/test/scenario-runner/src/MapTrafficRunner.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { v4 as uuid } from "uuid"; import { SharedMap } from "@fluidframework/map"; diff --git a/azure/packages/test/scenario-runner/src/NestedMapRunner.ts b/azure/packages/test/scenario-runner/src/NestedMapRunner.ts index 2f63ca8e2d6..6c0b4516cf8 100644 --- a/azure/packages/test/scenario-runner/src/NestedMapRunner.ts +++ b/azure/packages/test/scenario-runner/src/NestedMapRunner.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ConnectionState } from "@fluidframework/container-loader"; import { SharedMap, type ISharedMap } from "@fluidframework/map"; import { AzureClient } from "@fluidframework/azure-client"; diff --git a/azure/packages/test/scenario-runner/src/ScenarioRunner.ts b/azure/packages/test/scenario-runner/src/ScenarioRunner.ts index 4db05c80557..f3ad96e7803 100644 --- a/azure/packages/test/scenario-runner/src/ScenarioRunner.ts +++ b/azure/packages/test/scenario-runner/src/ScenarioRunner.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ChildProcess } from "child_process"; import { delay } from "@fluidframework/core-utils"; import { TypedEventEmitter } from "@fluid-internal/client-utils"; diff --git a/azure/packages/test/scenario-runner/src/TestDataObject.ts b/azure/packages/test/scenario-runner/src/TestDataObject.ts index f958d2f7134..e888db81a16 100644 --- a/azure/packages/test/scenario-runner/src/TestDataObject.ts +++ b/azure/packages/test/scenario-runner/src/TestDataObject.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { DataObject, DataObjectFactory, IDataObjectProps } from "@fluidframework/aqueduct"; import { IFluidHandle } from "@fluidframework/core-interfaces"; import { SharedCounter } from "@fluidframework/counter"; diff --git a/azure/packages/test/scenario-runner/src/TestOrchestrator.ts b/azure/packages/test/scenario-runner/src/TestOrchestrator.ts index 5036f906782..09aa92c32ce 100644 --- a/azure/packages/test/scenario-runner/src/TestOrchestrator.ts +++ b/azure/packages/test/scenario-runner/src/TestOrchestrator.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as fs from "node:fs"; import path from "node:path"; diff --git a/azure/packages/test/scenario-runner/src/interface.ts b/azure/packages/test/scenario-runner/src/interface.ts index 7a577f82266..7049f5f588a 100644 --- a/azure/packages/test/scenario-runner/src/interface.ts +++ b/azure/packages/test/scenario-runner/src/interface.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { AzureClient } from "@fluidframework/azure-client"; import { IEvent, IEventProvider } from "@fluidframework/core-interfaces"; import { ITelemetryLoggerExt } from "@fluidframework/telemetry-utils"; diff --git a/azure/packages/test/scenario-runner/src/logger.ts b/azure/packages/test/scenario-runner/src/logger.ts index 6d085d98fce..997cf913b55 100644 --- a/azure/packages/test/scenario-runner/src/logger.ts +++ b/azure/packages/test/scenario-runner/src/logger.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import crypto from "crypto"; import fs from "fs"; diff --git a/azure/packages/test/scenario-runner/src/orchestratorRunner.ts b/azure/packages/test/scenario-runner/src/orchestratorRunner.ts index 61c7a5742e8..d4fdaf08e07 100644 --- a/azure/packages/test/scenario-runner/src/orchestratorRunner.ts +++ b/azure/packages/test/scenario-runner/src/orchestratorRunner.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import commander from "commander"; import { TestOrchestrator } from "./TestOrchestrator.js"; diff --git a/azure/packages/test/scenario-runner/src/scenarioRunnerClient.ts b/azure/packages/test/scenario-runner/src/scenarioRunnerClient.ts index 09877abfe1b..cb5b7221d55 100644 --- a/azure/packages/test/scenario-runner/src/scenarioRunnerClient.ts +++ b/azure/packages/test/scenario-runner/src/scenarioRunnerClient.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ChildRunner, ContainerFactorySchema } from "./interface.js"; import { loggerP } from "./logger.js"; import { DocCreatorRunner, DocCreatorRunConfig } from "./DocCreatorRunner.js"; diff --git a/azure/packages/test/scenario-runner/src/test/mini.spec.ts b/azure/packages/test/scenario-runner/src/test/mini.spec.ts index 97a7a614bec..45baa85524a 100644 --- a/azure/packages/test/scenario-runner/src/test/mini.spec.ts +++ b/azure/packages/test/scenario-runner/src/test/mini.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import assert from "assert"; import child_process from "child_process"; diff --git a/azure/packages/test/scenario-runner/src/utils.ts b/azure/packages/test/scenario-runner/src/utils.ts index 8ef4d4a501f..9c83923ee79 100644 --- a/azure/packages/test/scenario-runner/src/utils.ts +++ b/azure/packages/test/scenario-runner/src/utils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import child_process from "child_process"; import commander from "commander"; import { diff --git a/build-tools/packages/build-cli/src/BasePackageCommand.ts b/build-tools/packages/build-cli/src/BasePackageCommand.ts index 2abd586b573..cb579ed43de 100644 --- a/build-tools/packages/build-cli/src/BasePackageCommand.ts +++ b/build-tools/packages/build-cli/src/BasePackageCommand.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Package } from "@fluidframework/build-tools"; import { ux, Command, Flags } from "@oclif/core"; import async from "async"; diff --git a/build-tools/packages/build-cli/src/args.ts b/build-tools/packages/build-cli/src/args.ts index 3e6d17bfc00..c2d8f7854e8 100644 --- a/build-tools/packages/build-cli/src/args.ts +++ b/build-tools/packages/build-cli/src/args.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { MonoRepo, Package } from "@fluidframework/build-tools"; import { Args } from "@oclif/core"; // eslint-disable-next-line import/no-deprecated diff --git a/build-tools/packages/build-cli/src/base.ts b/build-tools/packages/build-cli/src/base.ts index b5f05a54258..84918927c9a 100644 --- a/build-tools/packages/build-cli/src/base.ts +++ b/build-tools/packages/build-cli/src/base.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Command, Flags, Interfaces } from "@oclif/core"; // eslint-disable-next-line import/no-internal-modules import { type PrettyPrintableError } from "@oclif/core/lib/interfaces"; diff --git a/build-tools/packages/build-cli/src/commands/bump.ts b/build-tools/packages/build-cli/src/commands/bump.ts index 213c8f3e590..bec9d6073e6 100644 --- a/build-tools/packages/build-cli/src/commands/bump.ts +++ b/build-tools/packages/build-cli/src/commands/bump.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Flags } from "@oclif/core"; import { strict as assert } from "node:assert"; import chalk from "chalk"; diff --git a/build-tools/packages/build-cli/src/commands/bump/deps.ts b/build-tools/packages/build-cli/src/commands/bump/deps.ts index 417876e4399..068b09915b8 100644 --- a/build-tools/packages/build-cli/src/commands/bump/deps.ts +++ b/build-tools/packages/build-cli/src/commands/bump/deps.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Flags } from "@oclif/core"; import chalk from "chalk"; import prompts from "prompts"; diff --git a/build-tools/packages/build-cli/src/commands/check/buildVersion.ts b/build-tools/packages/build-cli/src/commands/check/buildVersion.ts index e5b9ef74cc0..1fdc959a31e 100644 --- a/build-tools/packages/build-cli/src/commands/check/buildVersion.ts +++ b/build-tools/packages/build-cli/src/commands/check/buildVersion.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Flags } from "@oclif/core"; import { Package } from "@fluidframework/build-tools"; import path from "node:path"; diff --git a/build-tools/packages/build-cli/src/commands/check/changeset.ts b/build-tools/packages/build-cli/src/commands/check/changeset.ts index 9f21e6ca516..bd643b06203 100644 --- a/build-tools/packages/build-cli/src/commands/check/changeset.ts +++ b/build-tools/packages/build-cli/src/commands/check/changeset.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Flags } from "@oclif/core"; import chalk from "chalk"; import { sortPackageJson as sortJson } from "sort-package-json"; diff --git a/build-tools/packages/build-cli/src/commands/check/layers.ts b/build-tools/packages/build-cli/src/commands/check/layers.ts index 2c927619e71..636e65017db 100644 --- a/build-tools/packages/build-cli/src/commands/check/layers.ts +++ b/build-tools/packages/build-cli/src/commands/check/layers.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { writeFile } from "node:fs/promises"; import path from "node:path"; diff --git a/build-tools/packages/build-cli/src/commands/check/policy.ts b/build-tools/packages/build-cli/src/commands/check/policy.ts index 6642519dca5..bd7ef7ea584 100644 --- a/build-tools/packages/build-cli/src/commands/check/policy.ts +++ b/build-tools/packages/build-cli/src/commands/check/policy.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Flags } from "@oclif/core"; import * as fs from "node:fs"; import * as path from "node:path"; diff --git a/build-tools/packages/build-cli/src/commands/exec.ts b/build-tools/packages/build-cli/src/commands/exec.ts index f3152056052..61a9ded2e35 100644 --- a/build-tools/packages/build-cli/src/commands/exec.ts +++ b/build-tools/packages/build-cli/src/commands/exec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Package } from "@fluidframework/build-tools"; import { Args } from "@oclif/core"; import execa from "execa"; diff --git a/build-tools/packages/build-cli/src/commands/generate/assertTags.ts b/build-tools/packages/build-cli/src/commands/generate/assertTags.ts index 244b2af3066..f3ca5dc4084 100644 --- a/build-tools/packages/build-cli/src/commands/generate/assertTags.ts +++ b/build-tools/packages/build-cli/src/commands/generate/assertTags.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import fs from "node:fs"; import path from "node:path"; diff --git a/build-tools/packages/build-cli/src/commands/generate/buildVersion.ts b/build-tools/packages/build-cli/src/commands/generate/buildVersion.ts index 7d97aa46a29..a885f68da9e 100644 --- a/build-tools/packages/build-cli/src/commands/generate/buildVersion.ts +++ b/build-tools/packages/build-cli/src/commands/generate/buildVersion.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Flags } from "@oclif/core"; import * as childProcess from "node:child_process"; import * as fs from "node:fs"; diff --git a/build-tools/packages/build-cli/src/commands/generate/bundleStats.ts b/build-tools/packages/build-cli/src/commands/generate/bundleStats.ts index cb5140f66a8..c98a3bfc499 100644 --- a/build-tools/packages/build-cli/src/commands/generate/bundleStats.ts +++ b/build-tools/packages/build-cli/src/commands/generate/bundleStats.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Flags } from "@oclif/core"; import { copySync, existsSync, readJson } from "fs-extra"; import path from "node:path"; diff --git a/build-tools/packages/build-cli/src/commands/generate/changeset.ts b/build-tools/packages/build-cli/src/commands/generate/changeset.ts index 574b4962ee7..67bc2a8823b 100644 --- a/build-tools/packages/build-cli/src/commands/generate/changeset.ts +++ b/build-tools/packages/build-cli/src/commands/generate/changeset.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Package } from "@fluidframework/build-tools"; import { VersionBumpType } from "@fluid-tools/version-tools"; import { Flags } from "@oclif/core"; diff --git a/build-tools/packages/build-cli/src/commands/generate/upcoming.ts b/build-tools/packages/build-cli/src/commands/generate/upcoming.ts index ee6865cdaac..06551e6b799 100644 --- a/build-tools/packages/build-cli/src/commands/generate/upcoming.ts +++ b/build-tools/packages/build-cli/src/commands/generate/upcoming.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Flags } from "@oclif/core"; import { writeFile } from "node:fs/promises"; import { strict as assert } from "node:assert"; diff --git a/build-tools/packages/build-cli/src/commands/list.ts b/build-tools/packages/build-cli/src/commands/list.ts index d1e59d8239a..3ef649d25d7 100644 --- a/build-tools/packages/build-cli/src/commands/list.ts +++ b/build-tools/packages/build-cli/src/commands/list.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Flags } from "@oclif/core"; import { BaseCommand } from "../base"; diff --git a/build-tools/packages/build-cli/src/commands/merge/branches.ts b/build-tools/packages/build-cli/src/commands/merge/branches.ts index a86af34631b..141b49239e2 100644 --- a/build-tools/packages/build-cli/src/commands/merge/branches.ts +++ b/build-tools/packages/build-cli/src/commands/merge/branches.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Logger } from "@fluidframework/build-tools"; import { Flags } from "@oclif/core"; import chalk from "chalk"; diff --git a/build-tools/packages/build-cli/src/commands/merge/info.ts b/build-tools/packages/build-cli/src/commands/merge/info.ts index 97605533b1b..f95cd8a70c5 100644 --- a/build-tools/packages/build-cli/src/commands/merge/info.ts +++ b/build-tools/packages/build-cli/src/commands/merge/info.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Flags } from "@oclif/core"; import chalk from "chalk"; diff --git a/build-tools/packages/build-cli/src/commands/release.ts b/build-tools/packages/build-cli/src/commands/release.ts index b3f7a6e0a3e..b9d7745700e 100644 --- a/build-tools/packages/build-cli/src/commands/release.ts +++ b/build-tools/packages/build-cli/src/commands/release.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { VersionBumpType, detectVersionScheme } from "@fluid-tools/version-tools"; import { Config } from "@oclif/core"; import chalk from "chalk"; diff --git a/build-tools/packages/build-cli/src/commands/release/fromTag.ts b/build-tools/packages/build-cli/src/commands/release/fromTag.ts index 7bc168e18dd..f8e7d633b9c 100644 --- a/build-tools/packages/build-cli/src/commands/release/fromTag.ts +++ b/build-tools/packages/build-cli/src/commands/release/fromTag.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { MonoRepo, Package } from "@fluidframework/build-tools"; import { ReleaseVersion, VersionBumpType, detectBumpType } from "@fluid-tools/version-tools"; import { Args } from "@oclif/core"; diff --git a/build-tools/packages/build-cli/src/commands/release/history.ts b/build-tools/packages/build-cli/src/commands/release/history.ts index 7194b3b4af3..464cefecbed 100644 --- a/build-tools/packages/build-cli/src/commands/release/history.ts +++ b/build-tools/packages/build-cli/src/commands/release/history.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Flags } from "@oclif/core"; import chalk from "chalk"; import { table } from "table"; diff --git a/build-tools/packages/build-cli/src/commands/release/report.ts b/build-tools/packages/build-cli/src/commands/release/report.ts index 2ac537d0f4a..fe35859edcd 100644 --- a/build-tools/packages/build-cli/src/commands/release/report.ts +++ b/build-tools/packages/build-cli/src/commands/release/report.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ux, Flags, Command } from "@oclif/core"; import { strict as assert } from "node:assert"; import chalk from "chalk"; diff --git a/build-tools/packages/build-cli/src/commands/release/setPackageTypesField.ts b/build-tools/packages/build-cli/src/commands/release/setPackageTypesField.ts index e90f70c3450..68316a482b0 100644 --- a/build-tools/packages/build-cli/src/commands/release/setPackageTypesField.ts +++ b/build-tools/packages/build-cli/src/commands/release/setPackageTypesField.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Flags } from "@oclif/core"; import { Package, updatePackageJsonFile, PackageJson } from "@fluidframework/build-tools"; import { PackageCommand } from "../../BasePackageCommand"; diff --git a/build-tools/packages/build-cli/src/commands/run/bundleStats.ts b/build-tools/packages/build-cli/src/commands/run/bundleStats.ts index 676ce140e06..1255aa4885f 100644 --- a/build-tools/packages/build-cli/src/commands/run/bundleStats.ts +++ b/build-tools/packages/build-cli/src/commands/run/bundleStats.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Flags } from "@oclif/core"; import { execSync } from "node:child_process"; import path from "node:path"; diff --git a/build-tools/packages/build-cli/src/commands/test-only-filter.ts b/build-tools/packages/build-cli/src/commands/test-only-filter.ts index 1900aad83f0..2953bc3d68a 100644 --- a/build-tools/packages/build-cli/src/commands/test-only-filter.ts +++ b/build-tools/packages/build-cli/src/commands/test-only-filter.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Package } from "@fluidframework/build-tools"; import { strict as assert } from "node:assert"; import { PackageCommand } from "../BasePackageCommand"; diff --git a/build-tools/packages/build-cli/src/commands/typetests.ts b/build-tools/packages/build-cli/src/commands/typetests.ts index f8a70be4685..208337487ca 100644 --- a/build-tools/packages/build-cli/src/commands/typetests.ts +++ b/build-tools/packages/build-cli/src/commands/typetests.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Flags } from "@oclif/core"; import { ITypeValidationConfig, diff --git a/build-tools/packages/build-cli/src/flags.ts b/build-tools/packages/build-cli/src/flags.ts index 6bb0da598b4..73784219c72 100644 --- a/build-tools/packages/build-cli/src/flags.ts +++ b/build-tools/packages/build-cli/src/flags.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Flags } from "@oclif/core"; import * as semver from "semver"; diff --git a/build-tools/packages/build-cli/src/handlers/askFunctions.ts b/build-tools/packages/build-cli/src/handlers/askFunctions.ts index dbe7b463cf1..99b2dc0fc97 100644 --- a/build-tools/packages/build-cli/src/handlers/askFunctions.ts +++ b/build-tools/packages/build-cli/src/handlers/askFunctions.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import inquirer from "inquirer"; import { Machine } from "jssm"; diff --git a/build-tools/packages/build-cli/src/handlers/checkFunctions.ts b/build-tools/packages/build-cli/src/handlers/checkFunctions.ts index 6ec6aea6191..2958d45ac5b 100644 --- a/build-tools/packages/build-cli/src/handlers/checkFunctions.ts +++ b/build-tools/packages/build-cli/src/handlers/checkFunctions.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import execa from "execa"; import inquirer from "inquirer"; diff --git a/build-tools/packages/build-cli/src/handlers/doFunctions.ts b/build-tools/packages/build-cli/src/handlers/doFunctions.ts index 6be94c3839d..a652857871a 100644 --- a/build-tools/packages/build-cli/src/handlers/doFunctions.ts +++ b/build-tools/packages/build-cli/src/handlers/doFunctions.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import chalk from "chalk"; import { Machine } from "jssm"; diff --git a/build-tools/packages/build-cli/src/handlers/fluidReleaseStateHandler.ts b/build-tools/packages/build-cli/src/handlers/fluidReleaseStateHandler.ts index fe1e55b63e8..6ff7369628b 100644 --- a/build-tools/packages/build-cli/src/handlers/fluidReleaseStateHandler.ts +++ b/build-tools/packages/build-cli/src/handlers/fluidReleaseStateHandler.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Command } from "@oclif/core"; import chalk from "chalk"; import { Machine } from "jssm"; diff --git a/build-tools/packages/build-cli/src/handlers/initFailedStateHandler.ts b/build-tools/packages/build-cli/src/handlers/initFailedStateHandler.ts index 95a7edf4dad..cfacb3d9a8a 100644 --- a/build-tools/packages/build-cli/src/handlers/initFailedStateHandler.ts +++ b/build-tools/packages/build-cli/src/handlers/initFailedStateHandler.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Machine } from "jssm"; import { CommandLogger } from "../logging"; diff --git a/build-tools/packages/build-cli/src/handlers/promptFunctions.ts b/build-tools/packages/build-cli/src/handlers/promptFunctions.ts index 456985e4e06..6c7d429433e 100644 --- a/build-tools/packages/build-cli/src/handlers/promptFunctions.ts +++ b/build-tools/packages/build-cli/src/handlers/promptFunctions.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import chalk from "chalk"; import { Machine } from "jssm"; diff --git a/build-tools/packages/build-cli/src/handlers/stateHandlers.ts b/build-tools/packages/build-cli/src/handlers/stateHandlers.ts index b1e38ac4a00..9714abe333e 100644 --- a/build-tools/packages/build-cli/src/handlers/stateHandlers.ts +++ b/build-tools/packages/build-cli/src/handlers/stateHandlers.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import type { Machine } from "jssm"; import { CommandLogger } from "../logging"; diff --git a/build-tools/packages/build-cli/src/instructionalPromptWriter.ts b/build-tools/packages/build-cli/src/instructionalPromptWriter.ts index dd7b904ce91..a5c92109768 100644 --- a/build-tools/packages/build-cli/src/instructionalPromptWriter.ts +++ b/build-tools/packages/build-cli/src/instructionalPromptWriter.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { StringBuilder } from "@rushstack/node-core-library"; import chalk from "chalk"; diff --git a/build-tools/packages/build-cli/src/library/branches.ts b/build-tools/packages/build-cli/src/library/branches.ts index f3bd753369c..22d752fd0b9 100644 --- a/build-tools/packages/build-cli/src/library/branches.ts +++ b/build-tools/packages/build-cli/src/library/branches.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { PackageName } from "@rushstack/node-core-library"; import * as semver from "semver"; diff --git a/build-tools/packages/build-cli/src/library/context.ts b/build-tools/packages/build-cli/src/library/context.ts index 4ae596087c5..bcf985b746b 100644 --- a/build-tools/packages/build-cli/src/library/context.ts +++ b/build-tools/packages/build-cli/src/library/context.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { PackageName } from "@rushstack/node-core-library"; import { diff --git a/build-tools/packages/build-cli/src/library/dangerfile.ts b/build-tools/packages/build-cli/src/library/dangerfile.ts index 7148b9df36e..4b895a3fe8b 100644 --- a/build-tools/packages/build-cli/src/library/dangerfile.ts +++ b/build-tools/packages/build-cli/src/library/dangerfile.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ADOSizeComparator, BundleComparisonResult, diff --git a/build-tools/packages/build-cli/src/library/dates.ts b/build-tools/packages/build-cli/src/library/dates.ts index 66c00994bed..cb132d5dd46 100644 --- a/build-tools/packages/build-cli/src/library/dates.ts +++ b/build-tools/packages/build-cli/src/library/dates.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { formatDistanceToNow, formatISO9075 } from "date-fns"; /** diff --git a/build-tools/packages/build-cli/src/library/git.ts b/build-tools/packages/build-cli/src/library/git.ts index 25a641a0925..d66858c7fac 100644 --- a/build-tools/packages/build-cli/src/library/git.ts +++ b/build-tools/packages/build-cli/src/library/git.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Package } from "@fluidframework/build-tools"; import path from "node:path"; import readPkgUp from "read-pkg-up"; diff --git a/build-tools/packages/build-cli/src/library/github.ts b/build-tools/packages/build-cli/src/library/github.ts index 45eb625d3f9..e51c38c64bc 100644 --- a/build-tools/packages/build-cli/src/library/github.ts +++ b/build-tools/packages/build-cli/src/library/github.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Octokit } from "@octokit/core"; import { CommandLogger } from "../logging"; diff --git a/build-tools/packages/build-cli/src/library/layerGraph.ts b/build-tools/packages/build-cli/src/library/layerGraph.ts index 55b1810b732..f51bdc04138 100644 --- a/build-tools/packages/build-cli/src/library/layerGraph.ts +++ b/build-tools/packages/build-cli/src/library/layerGraph.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import assert from "node:assert"; import { EOL as newline } from "node:os"; import * as path from "node:path"; diff --git a/build-tools/packages/build-cli/src/library/package.ts b/build-tools/packages/build-cli/src/library/package.ts index 05e806f33b8..1a4a3db1ea2 100644 --- a/build-tools/packages/build-cli/src/library/package.ts +++ b/build-tools/packages/build-cli/src/library/package.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Logger, MonoRepo, Package, updatePackageJsonFile } from "@fluidframework/build-tools"; import { InterdependencyRange, diff --git a/build-tools/packages/build-cli/src/library/release.ts b/build-tools/packages/build-cli/src/library/release.ts index 9b02752bfc6..4a9fac06de5 100644 --- a/build-tools/packages/build-cli/src/library/release.ts +++ b/build-tools/packages/build-cli/src/library/release.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ReleaseVersion, VersionBumpType, diff --git a/build-tools/packages/build-cli/src/library/sets.ts b/build-tools/packages/build-cli/src/library/sets.ts index 8b84556d976..98548c63f76 100644 --- a/build-tools/packages/build-cli/src/library/sets.ts +++ b/build-tools/packages/build-cli/src/library/sets.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * Returns the difference between two sets. That is, it returns a Set containing the items in Set A that are not in Set * B. diff --git a/build-tools/packages/build-cli/src/logging.ts b/build-tools/packages/build-cli/src/logging.ts index 84f2ad9e63b..7651f78834d 100644 --- a/build-tools/packages/build-cli/src/logging.ts +++ b/build-tools/packages/build-cli/src/logging.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Logger } from "@fluidframework/build-tools"; /** diff --git a/build-tools/packages/build-cli/src/machines/fluidReleaseMachine.ts b/build-tools/packages/build-cli/src/machines/fluidReleaseMachine.ts index c00275f6598..eeb5ae9bd09 100644 --- a/build-tools/packages/build-cli/src/machines/fluidReleaseMachine.ts +++ b/build-tools/packages/build-cli/src/machines/fluidReleaseMachine.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { FileSystem as fs } from "@rushstack/node-core-library"; import { from as createStateMachine } from "jssm"; import path from "node:path"; diff --git a/build-tools/packages/build-cli/src/stateMachineCommand.ts b/build-tools/packages/build-cli/src/stateMachineCommand.ts index 5307f40a412..0436181b567 100644 --- a/build-tools/packages/build-cli/src/stateMachineCommand.ts +++ b/build-tools/packages/build-cli/src/stateMachineCommand.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Command, Flags } from "@oclif/core"; import chalk from "chalk"; import { Machine } from "jssm"; diff --git a/build-tools/packages/build-cli/test/commands/generate/buildVersion.test.ts b/build-tools/packages/build-cli/test/commands/generate/buildVersion.test.ts index 87226bf8fc2..2e9307dbe1a 100644 --- a/build-tools/packages/build-cli/test/commands/generate/buildVersion.test.ts +++ b/build-tools/packages/build-cli/test/commands/generate/buildVersion.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { expect, test } from "@oclif/test"; /** diff --git a/build-tools/packages/build-cli/test/commands/list.test.ts b/build-tools/packages/build-cli/test/commands/list.test.ts index 05b515e9914..621503919b5 100644 --- a/build-tools/packages/build-cli/test/commands/list.test.ts +++ b/build-tools/packages/build-cli/test/commands/list.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { expect } from "chai"; import { GitRepo, getResolvedFluidRoot } from "@fluidframework/build-tools"; import { FeedsForPackages } from "../../src/commands/list"; diff --git a/build-tools/packages/build-cli/test/commands/release.test.ts b/build-tools/packages/build-cli/test/commands/release.test.ts index 55964a04979..bc1f7bb9041 100644 --- a/build-tools/packages/build-cli/test/commands/release.test.ts +++ b/build-tools/packages/build-cli/test/commands/release.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { test } from "@oclif/test"; import { FluidReleaseMachine } from "../../src/machines"; diff --git a/build-tools/packages/build-cli/test/commands/release/fromTag.test.ts b/build-tools/packages/build-cli/test/commands/release/fromTag.test.ts index a21dc8e22b8..b14a2528d5a 100644 --- a/build-tools/packages/build-cli/test/commands/release/fromTag.test.ts +++ b/build-tools/packages/build-cli/test/commands/release/fromTag.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ReleaseVersion, VersionBumpType } from "@fluid-tools/version-tools"; import { test } from "@oclif/test"; import chai, { expect } from "chai"; diff --git a/build-tools/packages/build-cli/test/commands/test-only-filter.test.ts b/build-tools/packages/build-cli/test/commands/test-only-filter.test.ts index 889d11274fb..cb46d643bc8 100644 --- a/build-tools/packages/build-cli/test/commands/test-only-filter.test.ts +++ b/build-tools/packages/build-cli/test/commands/test-only-filter.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Package } from "@fluidframework/build-tools"; import { test } from "@oclif/test"; import chai, { expect } from "chai"; diff --git a/build-tools/packages/build-cli/test/commands/typetests.test.ts b/build-tools/packages/build-cli/test/commands/typetests.test.ts index 99255703437..4775a2992f9 100644 --- a/build-tools/packages/build-cli/test/commands/typetests.test.ts +++ b/build-tools/packages/build-cli/test/commands/typetests.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert, expect } from "chai"; import { ITypeValidationConfig, PackageJson } from "@fluidframework/build-tools"; diff --git a/build-tools/packages/build-cli/test/filter.test.ts b/build-tools/packages/build-cli/test/filter.test.ts index 81ff417a15b..3f4e8652aee 100644 --- a/build-tools/packages/build-cli/test/filter.test.ts +++ b/build-tools/packages/build-cli/test/filter.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import chai, { assert, expect } from "chai"; import { GitRepo, getResolvedFluidRoot } from "@fluidframework/build-tools"; diff --git a/build-tools/packages/build-cli/test/library/branches.test.ts b/build-tools/packages/build-cli/test/library/branches.test.ts index 84bebb0004f..d9df8d4799d 100644 --- a/build-tools/packages/build-cli/test/library/branches.test.ts +++ b/build-tools/packages/build-cli/test/library/branches.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert } from "chai"; import { MonoRepoKind } from "../../src/library"; diff --git a/build-tools/packages/build-cli/test/library/changesets.test.ts b/build-tools/packages/build-cli/test/library/changesets.test.ts index d73940874c9..51c87017cf3 100644 --- a/build-tools/packages/build-cli/test/library/changesets.test.ts +++ b/build-tools/packages/build-cli/test/library/changesets.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert, expect } from "chai"; import { pathExistsSync } from "fs-extra"; import path from "node:path"; diff --git a/build-tools/packages/build-cli/test/library/package.test.ts b/build-tools/packages/build-cli/test/library/package.test.ts index c65868068a1..e416e2ecd72 100644 --- a/build-tools/packages/build-cli/test/library/package.test.ts +++ b/build-tools/packages/build-cli/test/library/package.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { PackageName } from "@rushstack/node-core-library"; import { assert } from "chai"; import { parseJSON } from "date-fns"; diff --git a/build-tools/packages/build-cli/test/machines/fluidReleaseMachine.test.ts b/build-tools/packages/build-cli/test/machines/fluidReleaseMachine.test.ts index 6b2654f4ba7..7190a195209 100644 --- a/build-tools/packages/build-cli/test/machines/fluidReleaseMachine.test.ts +++ b/build-tools/packages/build-cli/test/machines/fluidReleaseMachine.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import chai, { expect } from "chai"; import assertArrays from "chai-arrays"; diff --git a/build-tools/packages/build-tools/src/bundleSizeAnalysis/dangerfile.ts b/build-tools/packages/build-tools/src/bundleSizeAnalysis/dangerfile.ts index e9eff9cfcf9..d4adafb6e78 100644 --- a/build-tools/packages/build-tools/src/bundleSizeAnalysis/dangerfile.ts +++ b/build-tools/packages/build-tools/src/bundleSizeAnalysis/dangerfile.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ADOSizeComparator, BundleComparisonResult, diff --git a/build-tools/packages/build-tools/src/common/fluidRepo.ts b/build-tools/packages/build-tools/src/common/fluidRepo.ts index 6eefb9ff668..690f1fae50f 100644 --- a/build-tools/packages/build-tools/src/common/fluidRepo.ts +++ b/build-tools/packages/build-tools/src/common/fluidRepo.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as path from "path"; import { diff --git a/build-tools/packages/build-tools/src/common/fluidUtils.ts b/build-tools/packages/build-tools/src/common/fluidUtils.ts index 311df1bdf99..f194c2aaed6 100644 --- a/build-tools/packages/build-tools/src/common/fluidUtils.ts +++ b/build-tools/packages/build-tools/src/common/fluidUtils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as childProcess from "node:child_process"; import * as path from "node:path"; import { existsSync } from "node:fs"; diff --git a/build-tools/packages/build-tools/src/common/gitRepo.ts b/build-tools/packages/build-tools/src/common/gitRepo.ts index 16bb654297b..bc4741548f5 100644 --- a/build-tools/packages/build-tools/src/common/gitRepo.ts +++ b/build-tools/packages/build-tools/src/common/gitRepo.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { parseISO } from "date-fns"; import { exec, execNoError } from "./utils"; diff --git a/build-tools/packages/build-tools/src/common/logging.ts b/build-tools/packages/build-tools/src/common/logging.ts index 5ef517a33cd..35fd7b7d098 100644 --- a/build-tools/packages/build-tools/src/common/logging.ts +++ b/build-tools/packages/build-tools/src/common/logging.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import chalk from "chalk"; import { commonOptions } from "./commonOptions"; diff --git a/build-tools/packages/build-tools/src/common/monoRepo.ts b/build-tools/packages/build-tools/src/common/monoRepo.ts index 8b12413275a..0ac7be6c609 100644 --- a/build-tools/packages/build-tools/src/common/monoRepo.ts +++ b/build-tools/packages/build-tools/src/common/monoRepo.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { InterdependencyRange, DEFAULT_INTERDEPENDENCY_RANGE, diff --git a/build-tools/packages/build-tools/src/common/npmPackage.ts b/build-tools/packages/build-tools/src/common/npmPackage.ts index d2f630ac823..4e5f214cf5f 100644 --- a/build-tools/packages/build-tools/src/common/npmPackage.ts +++ b/build-tools/packages/build-tools/src/common/npmPackage.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { PackageName } from "@rushstack/node-core-library"; import { queue } from "async"; import * as chalk from "chalk"; diff --git a/build-tools/packages/build-tools/src/common/taskUtils.ts b/build-tools/packages/build-tools/src/common/taskUtils.ts index 8bdf68d7c78..297aa77ee9c 100644 --- a/build-tools/packages/build-tools/src/common/taskUtils.ts +++ b/build-tools/packages/build-tools/src/common/taskUtils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as path from "path"; import { readdir } from "node:fs/promises"; import { existsSync } from "node:fs"; diff --git a/build-tools/packages/build-tools/src/common/timer.ts b/build-tools/packages/build-tools/src/common/timer.ts index 267d96d378a..5b1587a327e 100644 --- a/build-tools/packages/build-tools/src/common/timer.ts +++ b/build-tools/packages/build-tools/src/common/timer.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { defaultLogger } from "./logging"; const { log } = defaultLogger; diff --git a/build-tools/packages/build-tools/src/common/tscUtils.ts b/build-tools/packages/build-tools/src/common/tscUtils.ts index fb76967aeea..9a9a9ea068a 100644 --- a/build-tools/packages/build-tools/src/common/tscUtils.ts +++ b/build-tools/packages/build-tools/src/common/tscUtils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as path from "path"; import * as fs from "fs"; import * as ts from "typescript"; diff --git a/build-tools/packages/build-tools/src/common/utils.ts b/build-tools/packages/build-tools/src/common/utils.ts index 7c491fa599b..f72d3bba7a1 100644 --- a/build-tools/packages/build-tools/src/common/utils.ts +++ b/build-tools/packages/build-tools/src/common/utils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as child_process from "child_process"; import * as fs from "fs"; import * as glob from "glob"; diff --git a/build-tools/packages/build-tools/src/docStats/docStats.ts b/build-tools/packages/build-tools/src/docStats/docStats.ts index a8060650830..c205bba90ac 100644 --- a/build-tools/packages/build-tools/src/docStats/docStats.ts +++ b/build-tools/packages/build-tools/src/docStats/docStats.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import fs from "fs"; import path from "path"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/buildGraph.ts b/build-tools/packages/build-tools/src/fluidBuild/buildGraph.ts index cbeef47083a..131f6b8b77f 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/buildGraph.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/buildGraph.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { AsyncPriorityQueue } from "async"; import chalk from "chalk"; import * as semver from "semver"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/fluidBuild.ts b/build-tools/packages/build-tools/src/fluidBuild/fluidBuild.ts index 87149209efb..6d15ebbd5e4 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/fluidBuild.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/fluidBuild.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import chalk from "chalk"; import { commonOptions } from "../common/commonOptions"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/fluidRepoBuild.ts b/build-tools/packages/build-tools/src/fluidBuild/fluidRepoBuild.ts index 5b2039a3fbe..27f642c3daf 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/fluidRepoBuild.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/fluidRepoBuild.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as path from "path"; import chalk from "chalk"; import { FluidRepo, IFluidBuildConfig } from "../common/fluidRepo"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/npmDepChecker.ts b/build-tools/packages/build-tools/src/fluidBuild/npmDepChecker.ts index 24e4efa4cf5..2c8d13a44d1 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/npmDepChecker.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/npmDepChecker.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Package } from "../common/npmPackage"; import { readFileAsync } from "../common/utils"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/options.ts b/build-tools/packages/build-tools/src/fluidBuild/options.ts index 73db9284ce6..640b57695ee 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/options.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/options.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as os from "os"; import * as path from "path"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/symlinkUtils.ts b/build-tools/packages/build-tools/src/fluidBuild/symlinkUtils.ts index a6a5a00730e..04f06a00088 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/symlinkUtils.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/symlinkUtils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as fs from "fs"; import * as path from "path"; import * as semver from "semver"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/tasks/groupTask.ts b/build-tools/packages/build-tools/src/fluidBuild/tasks/groupTask.ts index 5e9fabd8c1b..52e457aaaf5 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/tasks/groupTask.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/tasks/groupTask.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { AsyncPriorityQueue } from "async"; import { BuildPackage, BuildResult } from "../buildGraph"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/apiExtractorTask.ts b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/apiExtractorTask.ts index 40c3a360476..06a69041d33 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/apiExtractorTask.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/apiExtractorTask.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { getInstalledPackageVersion } from "../../../common/taskUtils"; import { TscDependentTask } from "./tscTask"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/flubTasks.ts b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/flubTasks.ts index 78af10fd174..16832a32151 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/flubTasks.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/flubTasks.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { existsSync } from "fs"; import { LeafWithDoneFileTask } from "./leafTask"; import path from "path"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/leafTask.ts b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/leafTask.ts index 2f90e13258c..5d745d84e59 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/leafTask.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/leafTask.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as assert from "assert"; import { AsyncPriorityQueue } from "async"; import chalk from "chalk"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/lintTasks.ts b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/lintTasks.ts index 1274e0637d5..0f475663e12 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/lintTasks.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/lintTasks.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { getEsLintConfigFilePath, getInstalledPackageVersion, diff --git a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/miscTasks.ts b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/miscTasks.ts index b4b9517f65d..672318a4699 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/miscTasks.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/miscTasks.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as path from "path"; import { globFn, readFileAsync, statAsync, toPosixPath, unquote } from "../../../common/utils"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/prettierTask.ts b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/prettierTask.ts index 10c54dccbd3..e03d51be6b0 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/prettierTask.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/prettierTask.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import ignore from "ignore"; import * as path from "path"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/renamerTask.ts b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/renamerTask.ts index 4e3328db004..7ce904b21c8 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/renamerTask.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/renamerTask.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { globFn } from "../../../common/utils"; import { LeafWithFileStatDoneFileTask } from "./leafTask"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/tscTask.ts b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/tscTask.ts index 35dbbd25ca2..b5398b59a2b 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/tscTask.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/tscTask.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as assert from "assert"; import * as fs from "fs"; import path from "path"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/webpackTask.ts b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/webpackTask.ts index 048bca9543e..4e7c75a6f44 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/webpackTask.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/tasks/leaf/webpackTask.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as path from "path"; import * as fs from "fs"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/tasks/task.ts b/build-tools/packages/build-tools/src/fluidBuild/tasks/task.ts index 44cb42c3067..b6f1d8217c2 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/tasks/task.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/tasks/task.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { AsyncPriorityQueue, priorityQueue } from "async"; import { BuildPackage, BuildResult } from "../buildGraph"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/tasks/taskFactory.ts b/build-tools/packages/build-tools/src/fluidBuild/tasks/taskFactory.ts index 6d6fadbd050..eb40dbbea2c 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/tasks/taskFactory.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/tasks/taskFactory.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { getExecutableFromCommand } from "../../common/utils"; import { BuildPackage } from "../buildGraph"; import { ApiExtractorTask } from "./leaf/apiExtractorTask"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/tasks/workers/eslintWorker.ts b/build-tools/packages/build-tools/src/fluidBuild/tasks/workers/eslintWorker.ts index e047905e743..0b2203ab458 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/tasks/workers/eslintWorker.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/tasks/workers/eslintWorker.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import type { WorkerExecResult, WorkerMessage } from "./worker"; export async function lint(message: WorkerMessage): Promise { diff --git a/build-tools/packages/build-tools/src/fluidBuild/tasks/workers/worker.ts b/build-tools/packages/build-tools/src/fluidBuild/tasks/workers/worker.ts index 6c41ede7300..3720214d2a1 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/tasks/workers/worker.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/tasks/workers/worker.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { parentPort } from "worker_threads"; import { lint } from "./eslintWorker"; diff --git a/build-tools/packages/build-tools/src/fluidBuild/tasks/workers/workerPool.ts b/build-tools/packages/build-tools/src/fluidBuild/tasks/workers/workerPool.ts index a01ca84a1fe..ba18128ddae 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/tasks/workers/workerPool.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/tasks/workers/workerPool.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ChildProcess, fork } from "child_process"; import { EventEmitter } from "events"; import { Readable } from "stream"; diff --git a/build-tools/packages/build-tools/src/repoPolicyCheck/common.ts b/build-tools/packages/build-tools/src/repoPolicyCheck/common.ts index 61f0c96cbad..a8449fba7a5 100644 --- a/build-tools/packages/build-tools/src/repoPolicyCheck/common.ts +++ b/build-tools/packages/build-tools/src/repoPolicyCheck/common.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import fs from "fs"; /** diff --git a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/assertShortCode.ts b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/assertShortCode.ts index 50fa1e82b5e..0c182eaab4e 100644 --- a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/assertShortCode.ts +++ b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/assertShortCode.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import fs from "fs"; import path from "path"; import { diff --git a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/dockerfilePackages.ts b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/dockerfilePackages.ts index 13c222bf1fa..edec9bf2340 100644 --- a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/dockerfilePackages.ts +++ b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/dockerfilePackages.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import fs from "fs"; import { Handler, readFile, writeFile } from "../common"; diff --git a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/fluidBuildTasks.ts b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/fluidBuildTasks.ts index dd2be813b76..c4111f9d031 100644 --- a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/fluidBuildTasks.ts +++ b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/fluidBuildTasks.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import fs from "fs"; import path from "path"; import * as JSON5 from "json5"; diff --git a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/fluidCase.ts b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/fluidCase.ts index 07f18350c30..be08e635239 100644 --- a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/fluidCase.ts +++ b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/fluidCase.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Handler, readFile, writeFile } from "../common"; export const handler: Handler = { diff --git a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/index.ts b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/index.ts index b0327ab0feb..d71935543a2 100644 --- a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/index.ts +++ b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/index.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Handler } from "../common"; import { handler as assertShortCodeHandler } from "./assertShortCode"; import { handlers as copyrightFileHeaderHandlers } from "./copyrightFileHeader"; diff --git a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/lockfiles.ts b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/lockfiles.ts index 531fcf68d19..ca418f73228 100644 --- a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/lockfiles.ts +++ b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/lockfiles.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { unlinkSync } from "fs"; import path from "path"; diff --git a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/noJsFiles.ts b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/noJsFiles.ts index d1e584cb403..804e61e648d 100644 --- a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/noJsFiles.ts +++ b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/noJsFiles.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Handler } from "../common"; /** diff --git a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/npmPackages.ts b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/npmPackages.ts index 27ed5afda01..3ee2fa55615 100644 --- a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/npmPackages.ts +++ b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/npmPackages.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as child_process from "child_process"; import fs from "fs"; import { EOL as newline } from "os"; diff --git a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/pnpm.ts b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/pnpm.ts index 3bb8ef2bdf7..779bbedf18e 100644 --- a/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/pnpm.ts +++ b/build-tools/packages/build-tools/src/repoPolicyCheck/handlers/pnpm.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import fs from "fs"; import path from "path"; import { loadFluidBuildConfig } from "../../common/fluidUtils"; diff --git a/build-tools/packages/build-tools/src/test/npmPackage.test.ts b/build-tools/packages/build-tools/src/test/npmPackage.test.ts index 29367604961..5bbfaa1f03b 100644 --- a/build-tools/packages/build-tools/src/test/npmPackage.test.ts +++ b/build-tools/packages/build-tools/src/test/npmPackage.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import * as path from "node:path"; diff --git a/build-tools/packages/build-tools/src/type-test-generator/main.ts b/build-tools/packages/build-tools/src/type-test-generator/main.ts index a72d785bf3c..b4f42fdad1c 100644 --- a/build-tools/packages/build-tools/src/type-test-generator/main.ts +++ b/build-tools/packages/build-tools/src/type-test-generator/main.ts @@ -108,10 +108,12 @@ const testString: string[] = [ * 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-test-generator in @fluidframework/build-tools. */ + import type * as old from "${previousPackageName}"; import type * as current from "../../index.js"; `, diff --git a/build-tools/packages/build-tools/src/typeValidator/typeDecomposition.ts b/build-tools/packages/build-tools/src/typeValidator/typeDecomposition.ts index acfe27110cd..00f49bcd669 100644 --- a/build-tools/packages/build-tools/src/typeValidator/typeDecomposition.ts +++ b/build-tools/packages/build-tools/src/typeValidator/typeDecomposition.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Type, TypeChecker } from "ts-morph"; export interface DecompositionResult { diff --git a/build-tools/packages/build-tools/src/typeValidator/validatorUtils.ts b/build-tools/packages/build-tools/src/typeValidator/validatorUtils.ts index 50cf694a2a5..d3ce733392a 100644 --- a/build-tools/packages/build-tools/src/typeValidator/validatorUtils.ts +++ b/build-tools/packages/build-tools/src/typeValidator/validatorUtils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Project } from "ts-morph"; let shouldLog = false; diff --git a/build-tools/packages/bundle-size-tools/src/ADO/AdoArtifactFileProvider.ts b/build-tools/packages/bundle-size-tools/src/ADO/AdoArtifactFileProvider.ts index 1602de723c2..f0e658e2cf9 100644 --- a/build-tools/packages/bundle-size-tools/src/ADO/AdoArtifactFileProvider.ts +++ b/build-tools/packages/bundle-size-tools/src/ADO/AdoArtifactFileProvider.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import assert from "assert"; import { WebApi } from "azure-devops-node-api"; import JSZip from "jszip"; diff --git a/build-tools/packages/bundle-size-tools/src/ADO/AdoSizeComparator.ts b/build-tools/packages/bundle-size-tools/src/ADO/AdoSizeComparator.ts index 25bc2ff7c06..a7408cfe4d1 100644 --- a/build-tools/packages/bundle-size-tools/src/ADO/AdoSizeComparator.ts +++ b/build-tools/packages/bundle-size-tools/src/ADO/AdoSizeComparator.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { WebApi } from "azure-devops-node-api"; import { BuildResult, BuildStatus } from "azure-devops-node-api/interfaces/BuildInterfaces"; import JSZip from "jszip"; diff --git a/build-tools/packages/bundle-size-tools/src/ADO/DefaultStatsProcessors.ts b/build-tools/packages/bundle-size-tools/src/ADO/DefaultStatsProcessors.ts index dcb8d33bfb6..3a847440ab4 100644 --- a/build-tools/packages/bundle-size-tools/src/ADO/DefaultStatsProcessors.ts +++ b/build-tools/packages/bundle-size-tools/src/ADO/DefaultStatsProcessors.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { getBundleBuddyConfigProcessor, getEntryStatsProcessor, diff --git a/build-tools/packages/bundle-size-tools/src/ADO/FileSystemBundleFileProvider.ts b/build-tools/packages/bundle-size-tools/src/ADO/FileSystemBundleFileProvider.ts index 3540a455e03..d5567ff2c55 100644 --- a/build-tools/packages/bundle-size-tools/src/ADO/FileSystemBundleFileProvider.ts +++ b/build-tools/packages/bundle-size-tools/src/ADO/FileSystemBundleFileProvider.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { promises as fsPromises } from "fs"; import { StatsCompilation } from "webpack"; diff --git a/build-tools/packages/bundle-size-tools/src/ADO/PrCommentsUtils.ts b/build-tools/packages/bundle-size-tools/src/ADO/PrCommentsUtils.ts index 0705e2fc21d..230f5f78004 100644 --- a/build-tools/packages/bundle-size-tools/src/ADO/PrCommentsUtils.ts +++ b/build-tools/packages/bundle-size-tools/src/ADO/PrCommentsUtils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { WebApi, getBearerHandler } from "azure-devops-node-api"; import { IGitApi } from "azure-devops-node-api/GitApi"; import { CommentThreadStatus } from "azure-devops-node-api/interfaces/GitInterfaces"; diff --git a/build-tools/packages/bundle-size-tools/src/ADO/getAzureDevopsApi.ts b/build-tools/packages/bundle-size-tools/src/ADO/getAzureDevopsApi.ts index f22f067bb89..c79b4a9753b 100644 --- a/build-tools/packages/bundle-size-tools/src/ADO/getAzureDevopsApi.ts +++ b/build-tools/packages/bundle-size-tools/src/ADO/getAzureDevopsApi.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { WebApi, getPersonalAccessTokenHandler } from "azure-devops-node-api"; export function getAzureDevopsApi(accessToken: string, orgUrl: string) { diff --git a/build-tools/packages/bundle-size-tools/src/ADO/getBundleBuddyConfigMap.ts b/build-tools/packages/bundle-size-tools/src/ADO/getBundleBuddyConfigMap.ts index 85057afb1db..51d2ab2d6b8 100644 --- a/build-tools/packages/bundle-size-tools/src/ADO/getBundleBuddyConfigMap.ts +++ b/build-tools/packages/bundle-size-tools/src/ADO/getBundleBuddyConfigMap.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { BundleBuddyConfig } from "../BundleBuddyTypes"; import { BundleFileData } from "./getBundleFilePathsFromFolder"; diff --git a/build-tools/packages/bundle-size-tools/src/ADO/getBundleSummaries.ts b/build-tools/packages/bundle-size-tools/src/ADO/getBundleSummaries.ts index 2016d7b5b80..becb114f3b0 100644 --- a/build-tools/packages/bundle-size-tools/src/ADO/getBundleSummaries.ts +++ b/build-tools/packages/bundle-size-tools/src/ADO/getBundleSummaries.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { StatsCompilation } from "webpack"; import { diff --git a/build-tools/packages/bundle-size-tools/src/ADO/getCommentForBundleDiff.ts b/build-tools/packages/bundle-size-tools/src/ADO/getCommentForBundleDiff.ts index 5ed4561807a..419987a49b6 100644 --- a/build-tools/packages/bundle-size-tools/src/ADO/getCommentForBundleDiff.ts +++ b/build-tools/packages/bundle-size-tools/src/ADO/getCommentForBundleDiff.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import assert from "assert"; import { BundleComparison, BundleMetric } from "../BundleBuddyTypes"; diff --git a/build-tools/packages/bundle-size-tools/src/BundleBuddyConfigWebpackPlugin.ts b/build-tools/packages/bundle-size-tools/src/BundleBuddyConfigWebpackPlugin.ts index 4208bee7bf4..3e9697a689e 100644 --- a/build-tools/packages/bundle-size-tools/src/BundleBuddyConfigWebpackPlugin.ts +++ b/build-tools/packages/bundle-size-tools/src/BundleBuddyConfigWebpackPlugin.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { existsSync, mkdirSync, writeFileSync } from "fs"; import { dirname, resolve } from "path"; import { Compilation, Compiler, WebpackError } from "webpack"; diff --git a/build-tools/packages/bundle-size-tools/src/BundleBuddyTypes.ts b/build-tools/packages/bundle-size-tools/src/BundleBuddyTypes.ts index 11134c832c0..9ee75eb27c5 100644 --- a/build-tools/packages/bundle-size-tools/src/BundleBuddyTypes.ts +++ b/build-tools/packages/bundle-size-tools/src/BundleBuddyTypes.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { StatsCompilation } from "webpack"; /** diff --git a/build-tools/packages/bundle-size-tools/src/bannedModulesPlugin/bannedModulesPlugin.ts b/build-tools/packages/bundle-size-tools/src/bannedModulesPlugin/bannedModulesPlugin.ts index 626029c6692..4177ecce151 100644 --- a/build-tools/packages/bundle-size-tools/src/bannedModulesPlugin/bannedModulesPlugin.ts +++ b/build-tools/packages/bundle-size-tools/src/bannedModulesPlugin/bannedModulesPlugin.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import Webpack from "webpack"; const pluginName = "BannedModulesPlugin"; diff --git a/build-tools/packages/bundle-size-tools/src/compareBundles.ts b/build-tools/packages/bundle-size-tools/src/compareBundles.ts index 0f3992c383a..5931c97775f 100644 --- a/build-tools/packages/bundle-size-tools/src/compareBundles.ts +++ b/build-tools/packages/bundle-size-tools/src/compareBundles.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { BundleComparison, BundleSummaries } from "./BundleBuddyTypes"; /** diff --git a/build-tools/packages/bundle-size-tools/src/statsProcessors/bundleBuddyConfigProcessor.ts b/build-tools/packages/bundle-size-tools/src/statsProcessors/bundleBuddyConfigProcessor.ts index 873fcd7f2c9..f9d25c61d3c 100644 --- a/build-tools/packages/bundle-size-tools/src/statsProcessors/bundleBuddyConfigProcessor.ts +++ b/build-tools/packages/bundle-size-tools/src/statsProcessors/bundleBuddyConfigProcessor.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { BundleMetric, ChunkToAnalyze, WebpackStatsProcessor } from "../BundleBuddyTypes"; import { getChunkAndDependencySizes } from "../utilities"; diff --git a/build-tools/packages/bundle-size-tools/src/statsProcessors/entryStatsProcessor.ts b/build-tools/packages/bundle-size-tools/src/statsProcessors/entryStatsProcessor.ts index 1019ab00bcb..f12b50c2927 100644 --- a/build-tools/packages/bundle-size-tools/src/statsProcessors/entryStatsProcessor.ts +++ b/build-tools/packages/bundle-size-tools/src/statsProcessors/entryStatsProcessor.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { BundleMetric, WebpackStatsProcessor } from "../BundleBuddyTypes"; export interface EntryStatsProcessorOptions { diff --git a/build-tools/packages/bundle-size-tools/src/statsProcessors/totalSizeStatsProcessor.ts b/build-tools/packages/bundle-size-tools/src/statsProcessors/totalSizeStatsProcessor.ts index 644881c7f57..c2b88c36e20 100644 --- a/build-tools/packages/bundle-size-tools/src/statsProcessors/totalSizeStatsProcessor.ts +++ b/build-tools/packages/bundle-size-tools/src/statsProcessors/totalSizeStatsProcessor.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { BundleMetric, WebpackStatsProcessor } from "../BundleBuddyTypes"; export interface TotalSizeStatsProcessorOptions { diff --git a/build-tools/packages/bundle-size-tools/src/utilities/decompressStatsFile.ts b/build-tools/packages/bundle-size-tools/src/utilities/decompressStatsFile.ts index 329ae5b72f0..69ff4547c70 100644 --- a/build-tools/packages/bundle-size-tools/src/utilities/decompressStatsFile.ts +++ b/build-tools/packages/bundle-size-tools/src/utilities/decompressStatsFile.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { decode } from "msgpack-lite"; import { inflate } from "pako"; import { StatsCompilation } from "webpack"; diff --git a/build-tools/packages/bundle-size-tools/src/utilities/getAllFilesInDirectory.ts b/build-tools/packages/bundle-size-tools/src/utilities/getAllFilesInDirectory.ts index a453dcdb063..b448229311b 100644 --- a/build-tools/packages/bundle-size-tools/src/utilities/getAllFilesInDirectory.ts +++ b/build-tools/packages/bundle-size-tools/src/utilities/getAllFilesInDirectory.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { promises as fsPromises } from "fs"; import { join } from "path"; diff --git a/build-tools/packages/bundle-size-tools/src/utilities/getBuilds.ts b/build-tools/packages/bundle-size-tools/src/utilities/getBuilds.ts index 8baee98d7d2..c7425e0b90b 100644 --- a/build-tools/packages/bundle-size-tools/src/utilities/getBuilds.ts +++ b/build-tools/packages/bundle-size-tools/src/utilities/getBuilds.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { WebApi } from "azure-devops-node-api"; export interface GetBuildOptions { diff --git a/build-tools/packages/bundle-size-tools/src/utilities/getChunkAndDependenciesSizes.ts b/build-tools/packages/bundle-size-tools/src/utilities/getChunkAndDependenciesSizes.ts index 6ebf7fece6c..28a250289ef 100644 --- a/build-tools/packages/bundle-size-tools/src/utilities/getChunkAndDependenciesSizes.ts +++ b/build-tools/packages/bundle-size-tools/src/utilities/getChunkAndDependenciesSizes.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { fail } from "assert"; import { StatsCompilation } from "webpack"; diff --git a/build-tools/packages/bundle-size-tools/src/utilities/getChunkParsedSize.ts b/build-tools/packages/bundle-size-tools/src/utilities/getChunkParsedSize.ts index 9f68d1191bf..7e70eeb9f04 100644 --- a/build-tools/packages/bundle-size-tools/src/utilities/getChunkParsedSize.ts +++ b/build-tools/packages/bundle-size-tools/src/utilities/getChunkParsedSize.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { StatsCompilation } from "webpack"; /** diff --git a/build-tools/packages/bundle-size-tools/src/utilities/getLastCommitHashFromPR.ts b/build-tools/packages/bundle-size-tools/src/utilities/getLastCommitHashFromPR.ts index c9126c01c20..7022d4c5137 100644 --- a/build-tools/packages/bundle-size-tools/src/utilities/getLastCommitHashFromPR.ts +++ b/build-tools/packages/bundle-size-tools/src/utilities/getLastCommitHashFromPR.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { WebApi } from "azure-devops-node-api"; /** diff --git a/build-tools/packages/bundle-size-tools/src/utilities/gitCommands.ts b/build-tools/packages/bundle-size-tools/src/utilities/gitCommands.ts index 5db47ddfdf0..6ead78470ae 100644 --- a/build-tools/packages/bundle-size-tools/src/utilities/gitCommands.ts +++ b/build-tools/packages/bundle-size-tools/src/utilities/gitCommands.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { execSync } from "child_process"; /** diff --git a/build-tools/packages/bundle-size-tools/src/utilities/runProcessorOnStatsFile.ts b/build-tools/packages/bundle-size-tools/src/utilities/runProcessorOnStatsFile.ts index b6903c1c667..80cb02a70fb 100644 --- a/build-tools/packages/bundle-size-tools/src/utilities/runProcessorOnStatsFile.ts +++ b/build-tools/packages/bundle-size-tools/src/utilities/runProcessorOnStatsFile.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as Webpack from "webpack"; import { diff --git a/build-tools/packages/bundle-size-tools/src/utilities/unzipStream.ts b/build-tools/packages/bundle-size-tools/src/utilities/unzipStream.ts index f1ded6a4e7b..f9ea2d07202 100644 --- a/build-tools/packages/bundle-size-tools/src/utilities/unzipStream.ts +++ b/build-tools/packages/bundle-size-tools/src/utilities/unzipStream.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as JSZip from "jszip"; function readStreamAsBuffer(stream: NodeJS.ReadableStream): Promise { diff --git a/build-tools/packages/readme-command/src/commands/generate/readme.ts b/build-tools/packages/readme-command/src/commands/generate/readme.ts index c1a0d54a609..fd28b5f9e4a 100644 --- a/build-tools/packages/readme-command/src/commands/generate/readme.ts +++ b/build-tools/packages/readme-command/src/commands/generate/readme.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Interfaces } from "@oclif/core"; import { default as BaseReadme } from "oclif/lib/commands/readme"; diff --git a/build-tools/packages/version-tools/src/bumpTypes.ts b/build-tools/packages/version-tools/src/bumpTypes.ts index d3680dcd3fc..d1879c4f981 100644 --- a/build-tools/packages/version-tools/src/bumpTypes.ts +++ b/build-tools/packages/version-tools/src/bumpTypes.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as semver from "semver"; /** diff --git a/build-tools/packages/version-tools/src/commands/version.ts b/build-tools/packages/version-tools/src/commands/version.ts index 194051820f6..c814cae69a2 100644 --- a/build-tools/packages/version-tools/src/commands/version.ts +++ b/build-tools/packages/version-tools/src/commands/version.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Args, Command, Flags } from "@oclif/core"; import * as semver from "semver"; import { table } from "table"; diff --git a/build-tools/packages/version-tools/src/commands/version/latest.ts b/build-tools/packages/version-tools/src/commands/version/latest.ts index ecef5f3381e..abe4921fe58 100644 --- a/build-tools/packages/version-tools/src/commands/version/latest.ts +++ b/build-tools/packages/version-tools/src/commands/version/latest.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Command, Flags } from "@oclif/core"; import { getLatestReleaseFromList } from "../../schemes"; diff --git a/build-tools/packages/version-tools/src/internalVersionScheme.ts b/build-tools/packages/version-tools/src/internalVersionScheme.ts index 127f6354768..d56108801d7 100644 --- a/build-tools/packages/version-tools/src/internalVersionScheme.ts +++ b/build-tools/packages/version-tools/src/internalVersionScheme.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import * as semver from "semver"; diff --git a/build-tools/packages/version-tools/src/schemes.ts b/build-tools/packages/version-tools/src/schemes.ts index 074411fb692..9908e21519f 100644 --- a/build-tools/packages/version-tools/src/schemes.ts +++ b/build-tools/packages/version-tools/src/schemes.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import * as semver from "semver"; diff --git a/build-tools/packages/version-tools/src/semver.ts b/build-tools/packages/version-tools/src/semver.ts index c33a7865aac..d8efece819a 100644 --- a/build-tools/packages/version-tools/src/semver.ts +++ b/build-tools/packages/version-tools/src/semver.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as semver from "semver"; import { ReleaseVersion, VersionBumpType, VersionBumpTypeExtended } from "./bumpTypes"; diff --git a/build-tools/packages/version-tools/src/test/internalVersionScheme.test.ts b/build-tools/packages/version-tools/src/test/internalVersionScheme.test.ts index 402dc75766f..8525a20c617 100644 --- a/build-tools/packages/version-tools/src/test/internalVersionScheme.test.ts +++ b/build-tools/packages/version-tools/src/test/internalVersionScheme.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert } from "chai"; import * as semver from "semver"; diff --git a/build-tools/packages/version-tools/src/test/schemes.test.ts b/build-tools/packages/version-tools/src/test/schemes.test.ts index c1c310969b5..4e1decc40a6 100644 --- a/build-tools/packages/version-tools/src/test/schemes.test.ts +++ b/build-tools/packages/version-tools/src/test/schemes.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert } from "chai"; import { detectVersionScheme, getLatestReleaseFromList } from "../schemes"; diff --git a/build-tools/packages/version-tools/src/test/semver.test.ts b/build-tools/packages/version-tools/src/test/semver.test.ts index 43ba5191896..4ff6c728fec 100644 --- a/build-tools/packages/version-tools/src/test/semver.test.ts +++ b/build-tools/packages/version-tools/src/test/semver.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert } from "chai"; import { diff --git a/build-tools/packages/version-tools/src/test/versions.test.ts b/build-tools/packages/version-tools/src/test/versions.test.ts index 8730211a5c1..eb312166ca4 100644 --- a/build-tools/packages/version-tools/src/test/versions.test.ts +++ b/build-tools/packages/version-tools/src/test/versions.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert, expect } from "chai"; import * as semver from "semver"; diff --git a/build-tools/packages/version-tools/src/test/virtualPatchScheme.test.ts b/build-tools/packages/version-tools/src/test/virtualPatchScheme.test.ts index b2b0e0e5a28..e23192d2bf3 100644 --- a/build-tools/packages/version-tools/src/test/virtualPatchScheme.test.ts +++ b/build-tools/packages/version-tools/src/test/virtualPatchScheme.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert } from "chai"; import { isVersionBumpType } from "../bumpTypes"; diff --git a/build-tools/packages/version-tools/src/virtualPatchScheme.ts b/build-tools/packages/version-tools/src/virtualPatchScheme.ts index e03926a67be..bff5851920d 100644 --- a/build-tools/packages/version-tools/src/virtualPatchScheme.ts +++ b/build-tools/packages/version-tools/src/virtualPatchScheme.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import * as semver from "semver"; diff --git a/common/build/eslint-plugin-fluid/src/test/enforce-no-member-release-tags/enforce-no-member-release-tags.test.js b/common/build/eslint-plugin-fluid/src/test/enforce-no-member-release-tags/enforce-no-member-release-tags.test.js index 0e91a08afae..c0d6a9d2c4c 100644 --- a/common/build/eslint-plugin-fluid/src/test/enforce-no-member-release-tags/enforce-no-member-release-tags.test.js +++ b/common/build/eslint-plugin-fluid/src/test/enforce-no-member-release-tags/enforce-no-member-release-tags.test.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const assert = require("assert"); const path = require("path"); const { ESLint } = require("eslint"); diff --git a/common/build/eslint-plugin-fluid/src/test/enforce-no-restricted-tags-imports/enforce-no-restricted-tags-imports.test.js b/common/build/eslint-plugin-fluid/src/test/enforce-no-restricted-tags-imports/enforce-no-restricted-tags-imports.test.js index 199acc9114f..e65a20c94f0 100644 --- a/common/build/eslint-plugin-fluid/src/test/enforce-no-restricted-tags-imports/enforce-no-restricted-tags-imports.test.js +++ b/common/build/eslint-plugin-fluid/src/test/enforce-no-restricted-tags-imports/enforce-no-restricted-tags-imports.test.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const assert = require("assert"); const path = require("path"); const { ESLint } = require("eslint"); diff --git a/examples/apps/attributable-map/src/view.ts b/examples/apps/attributable-map/src/view.ts index 5cfbc05e17d..68fca03a1b8 100644 --- a/examples/apps/attributable-map/src/view.ts +++ b/examples/apps/attributable-map/src/view.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @typescript-eslint/no-non-null-assertion */ import { IRuntimeAttributor } from "@fluid-experimental/attributor"; diff --git a/examples/apps/presence-tracker/src/app.ts b/examples/apps/presence-tracker/src/app.ts index 8fd9db97c09..be64fd13285 100644 --- a/examples/apps/presence-tracker/src/app.ts +++ b/examples/apps/presence-tracker/src/app.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { StaticCodeLoader, TinyliciousModelLoader } from "@fluid-example/example-utils"; import { ITrackerAppModel, TrackerContainerRuntimeFactory } from "./containerCode.js"; import { renderFocusPresence, renderMousePresence } from "./view.js"; diff --git a/examples/benchmarks/bubblebench/editable-shared-tree/src/appState.ts b/examples/benchmarks/bubblebench/editable-shared-tree/src/appState.ts index f2887e4ee79..948793b3575 100644 --- a/examples/benchmarks/bubblebench/editable-shared-tree/src/appState.ts +++ b/examples/benchmarks/bubblebench/editable-shared-tree/src/appState.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { IAppState, makeBubble, randomColor } from "@fluid-example/bubblebench-common"; import { ClientWrapper } from "./client.js"; import { ClientsField, FlexClient, FlexBubble } from "./schema.js"; diff --git a/examples/benchmarks/bubblebench/editable-shared-tree/src/bubblebench.ts b/examples/benchmarks/bubblebench/editable-shared-tree/src/bubblebench.ts index b5243e6c313..e5ac2b27043 100644 --- a/examples/benchmarks/bubblebench/editable-shared-tree/src/bubblebench.ts +++ b/examples/benchmarks/bubblebench/editable-shared-tree/src/bubblebench.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { AllowedUpdateType, fail, diff --git a/examples/benchmarks/bubblebench/editable-shared-tree/src/client.ts b/examples/benchmarks/bubblebench/editable-shared-tree/src/client.ts index 99e2400b127..bdb7195933c 100644 --- a/examples/benchmarks/bubblebench/editable-shared-tree/src/client.ts +++ b/examples/benchmarks/bubblebench/editable-shared-tree/src/client.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { IClient } from "@fluid-example/bubblebench-common"; import { BubbleWrapper } from "./bubble.js"; import { Client, FlexBubble } from "./schema.js"; diff --git a/examples/benchmarks/bubblebench/editable-shared-tree/src/index.ts b/examples/benchmarks/bubblebench/editable-shared-tree/src/index.ts index 3ebe49ca567..41d06f364af 100644 --- a/examples/benchmarks/bubblebench/editable-shared-tree/src/index.ts +++ b/examples/benchmarks/bubblebench/editable-shared-tree/src/index.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ContainerViewRuntimeFactory } from "@fluid-example/example-utils"; import { AppView } from "@fluid-example/bubblebench-common"; import React from "react"; diff --git a/examples/benchmarks/bubblebench/editable-shared-tree/src/schema.ts b/examples/benchmarks/bubblebench/editable-shared-tree/src/schema.ts index 79503d5c36c..6c33bb968fc 100644 --- a/examples/benchmarks/bubblebench/editable-shared-tree/src/schema.ts +++ b/examples/benchmarks/bubblebench/editable-shared-tree/src/schema.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @typescript-eslint/no-empty-interface */ import { diff --git a/examples/benchmarks/tablebench/src/app.ts b/examples/benchmarks/tablebench/src/app.ts index b56df681d01..be5508ed4a9 100644 --- a/examples/benchmarks/tablebench/src/app.ts +++ b/examples/benchmarks/tablebench/src/app.ts @@ -3,11 +3,6 @@ * Licensed under the MIT License. */ -/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */ - import { TreeConfiguration } from "@fluidframework/tree"; import { Table } from "./tree/index.js"; import { initFluid } from "./azure.js"; diff --git a/examples/benchmarks/tablebench/src/azure.ts b/examples/benchmarks/tablebench/src/azure.ts index 79b0f92036f..12acb183a61 100644 --- a/examples/benchmarks/tablebench/src/azure.ts +++ b/examples/benchmarks/tablebench/src/azure.ts @@ -3,11 +3,6 @@ * Licensed under the MIT License. */ -/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */ - import { AzureClient, AzureLocalConnectionConfig } from "@fluidframework/azure-client"; import { InsecureTokenProvider } from "@fluidframework/test-runtime-utils"; import { SharedTree } from "@fluidframework/tree"; diff --git a/examples/benchmarks/tablebench/src/index.ts b/examples/benchmarks/tablebench/src/index.ts index 06a94286fb4..d1287777a66 100644 --- a/examples/benchmarks/tablebench/src/index.ts +++ b/examples/benchmarks/tablebench/src/index.ts @@ -3,10 +3,5 @@ * Licensed under the MIT License. */ -/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */ - export { Table } from "./tree/index.js"; export { generateTable } from "./data.js"; diff --git a/examples/benchmarks/tablebench/webpack.config.cjs b/examples/benchmarks/tablebench/webpack.config.cjs index a85052da5b8..c1281c47a25 100644 --- a/examples/benchmarks/tablebench/webpack.config.cjs +++ b/examples/benchmarks/tablebench/webpack.config.cjs @@ -3,11 +3,6 @@ * Licensed under the MIT License. */ -/*! - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */ - const { CleanWebpackPlugin } = require("clean-webpack-plugin"); const HtmlWebpackPlugin = require("html-webpack-plugin"); diff --git a/examples/client-logger/app-insights-logger/src/app/index.tsx b/examples/client-logger/app-insights-logger/src/app/index.tsx index edc21791760..cbacb7ed7cb 100644 --- a/examples/client-logger/app-insights-logger/src/app/index.tsx +++ b/examples/client-logger/app-insights-logger/src/app/index.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import ReactDOM from "react-dom"; import { App } from "../components/index.js"; diff --git a/examples/client-logger/app-insights-logger/src/components/App.tsx b/examples/client-logger/app-insights-logger/src/components/App.tsx index 22b49de9256..efa1065b7dd 100644 --- a/examples/client-logger/app-insights-logger/src/components/App.tsx +++ b/examples/client-logger/app-insights-logger/src/components/App.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import { IFluidHandle } from "@fluidframework/core-interfaces"; import { SharedCounter } from "@fluidframework/counter"; diff --git a/examples/client-logger/app-insights-logger/src/components/ClientUtilities.ts b/examples/client-logger/app-insights-logger/src/components/ClientUtilities.ts index 3ca1fdfeaee..744f1c7e837 100644 --- a/examples/client-logger/app-insights-logger/src/components/ClientUtilities.ts +++ b/examples/client-logger/app-insights-logger/src/components/ClientUtilities.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { createLogger } from "@fluidframework/app-insights-logger"; import { ConnectionState } from "@fluidframework/container-loader"; import { ContainerSchema, IFluidContainer } from "@fluidframework/fluid-static"; diff --git a/examples/data-objects/webflow/src/packageVersion.ts b/examples/data-objects/webflow/src/packageVersion.ts index 020852ec61b..75ed36db37a 100644 --- a/examples/data-objects/webflow/src/packageVersion.ts +++ b/examples/data-objects/webflow/src/packageVersion.ts @@ -1,8 +1,6 @@ /*! * 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 */ export const pkgName = "@fluid-example/webflow"; diff --git a/examples/external-data/src/mock-external-data-service/webhook.ts b/examples/external-data/src/mock-external-data-service/webhook.ts index 4923bf5a54e..b513082a61a 100644 --- a/examples/external-data/src/mock-external-data-service/webhook.ts +++ b/examples/external-data/src/mock-external-data-service/webhook.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import fetch from "node-fetch"; /** diff --git a/examples/external-data/src/view/taskListView.tsx b/examples/external-data/src/view/taskListView.tsx index 2843b27bbd3..1240171fbdc 100644 --- a/examples/external-data/src/view/taskListView.tsx +++ b/examples/external-data/src/view/taskListView.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { CollaborativeInput } from "@fluid-example/example-utils"; import React, { useCallback, useEffect, useRef, useState } from "react"; diff --git a/examples/service-clients/azure-client/external-controller/src/AzureFunctionTokenProvider.ts b/examples/service-clients/azure-client/external-controller/src/AzureFunctionTokenProvider.ts index 558a3fbcc81..47f6adb787e 100644 --- a/examples/service-clients/azure-client/external-controller/src/AzureFunctionTokenProvider.ts +++ b/examples/service-clients/azure-client/external-controller/src/AzureFunctionTokenProvider.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import axios from "axios"; import { AzureMember } from "@fluidframework/azure-client"; diff --git a/examples/service-clients/azure-client/external-controller/src/app.ts b/examples/service-clients/azure-client/external-controller/src/app.ts index 98d071cdc20..7b463f0115e 100644 --- a/examples/service-clients/azure-client/external-controller/src/app.ts +++ b/examples/service-clients/azure-client/external-controller/src/app.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { IFluidContainer, ISharedMap, IValueChanged, SharedMap } from "fluid-framework"; import { createDevtoolsLogger, initializeDevtools } from "@fluidframework/devtools"; diff --git a/examples/service-clients/azure-client/external-controller/src/controller.ts b/examples/service-clients/azure-client/external-controller/src/controller.ts index 56772922b78..f6c6b839f7a 100644 --- a/examples/service-clients/azure-client/external-controller/src/controller.ts +++ b/examples/service-clients/azure-client/external-controller/src/controller.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import events_pkg from "events_pkg"; import { IValueChanged } from "fluid-framework"; diff --git a/examples/service-clients/azure-client/external-controller/src/view.ts b/examples/service-clients/azure-client/external-controller/src/view.ts index 980b1ad5450..dd00bbdbd32 100644 --- a/examples/service-clients/azure-client/external-controller/src/view.ts +++ b/examples/service-clients/azure-client/external-controller/src/view.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { AzureMember, IAzureAudience } from "@fluidframework/azure-client"; import { ICustomUserDetails } from "./app.js"; diff --git a/examples/service-clients/azure-client/external-controller/tests/diceRoller.test.ts b/examples/service-clients/azure-client/external-controller/tests/diceRoller.test.ts index 3a28b337d4d..7e8ecdd63ff 100644 --- a/examples/service-clients/azure-client/external-controller/tests/diceRoller.test.ts +++ b/examples/service-clients/azure-client/external-controller/tests/diceRoller.test.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { globals } from "../jest.config.cjs"; // Tests disabled -- requires Tinylicious to be running, which our test environment doesn't do. diff --git a/examples/service-clients/odsp-client/shared-tree-demo/src/clientProps.ts b/examples/service-clients/odsp-client/shared-tree-demo/src/clientProps.ts index 01a1c8c091f..6b6241d9e7e 100644 --- a/examples/service-clients/odsp-client/shared-tree-demo/src/clientProps.ts +++ b/examples/service-clients/odsp-client/shared-tree-demo/src/clientProps.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { OdspClientProps, OdspConnectionConfig } from "@fluid-experimental/odsp-client"; import { OdspTestTokenProvider } from "./tokenProvider.js"; diff --git a/examples/service-clients/odsp-client/shared-tree-demo/src/fluid.ts b/examples/service-clients/odsp-client/shared-tree-demo/src/fluid.ts index 89702767bd4..91531fc3d8f 100644 --- a/examples/service-clients/odsp-client/shared-tree-demo/src/fluid.ts +++ b/examples/service-clients/odsp-client/shared-tree-demo/src/fluid.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { OdspClient, OdspContainerServices } from "@fluid-experimental/odsp-client"; import { ContainerSchema, IFluidContainer, SharedTree } from "fluid-framework"; import { clientProps } from "./clientProps.js"; diff --git a/examples/service-clients/odsp-client/shared-tree-demo/src/index.css b/examples/service-clients/odsp-client/shared-tree-demo/src/index.css index 335bde7ab45..69ecf5552c2 100644 --- a/examples/service-clients/odsp-client/shared-tree-demo/src/index.css +++ b/examples/service-clients/odsp-client/shared-tree-demo/src/index.css @@ -1,8 +1,3 @@ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ - body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", diff --git a/examples/service-clients/odsp-client/shared-tree-demo/src/reactApp.tsx b/examples/service-clients/odsp-client/shared-tree-demo/src/reactApp.tsx index 0e1e15e5b4d..8cf394124e3 100644 --- a/examples/service-clients/odsp-client/shared-tree-demo/src/reactApp.tsx +++ b/examples/service-clients/odsp-client/shared-tree-demo/src/reactApp.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable prefer-template */ import React, { ReactNode, useEffect, useState } from "react"; diff --git a/examples/service-clients/odsp-client/shared-tree-demo/src/schema.ts b/examples/service-clients/odsp-client/shared-tree-demo/src/schema.ts index 11e36086949..c00feaf4cb4 100644 --- a/examples/service-clients/odsp-client/shared-tree-demo/src/schema.ts +++ b/examples/service-clients/odsp-client/shared-tree-demo/src/schema.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { TreeConfiguration, SchemaFactory } from "fluid-framework"; const sb = new SchemaFactory("fc1db2e8-0a00-11ee-be56-0242ac120002"); diff --git a/examples/utils/bundle-size-tests/src/aqueduct.ts b/examples/utils/bundle-size-tests/src/aqueduct.ts index 07bbafbc6de..11089be24f5 100644 --- a/examples/utils/bundle-size-tests/src/aqueduct.ts +++ b/examples/utils/bundle-size-tests/src/aqueduct.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ContainerRuntimeFactoryWithDefaultDataStore, DataObject, diff --git a/examples/utils/bundle-size-tests/src/containerRuntime.ts b/examples/utils/bundle-size-tests/src/containerRuntime.ts index 199683673ba..f6b8cbfcfd3 100644 --- a/examples/utils/bundle-size-tests/src/containerRuntime.ts +++ b/examples/utils/bundle-size-tests/src/containerRuntime.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ContainerRuntime } from "@fluidframework/container-runtime"; export function apisToBundle() { diff --git a/examples/utils/bundle-size-tests/src/map.ts b/examples/utils/bundle-size-tests/src/map.ts index 63324b45bdc..1f75b86dee6 100644 --- a/examples/utils/bundle-size-tests/src/map.ts +++ b/examples/utils/bundle-size-tests/src/map.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { SharedMap } from "@fluidframework/map"; export function apisToBundle() { diff --git a/examples/utils/bundle-size-tests/src/matrix.ts b/examples/utils/bundle-size-tests/src/matrix.ts index 206ae01bc1b..1bafd5be351 100644 --- a/examples/utils/bundle-size-tests/src/matrix.ts +++ b/examples/utils/bundle-size-tests/src/matrix.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { SharedMatrix } from "@fluidframework/matrix"; export function apisToBundle() { diff --git a/examples/utils/bundle-size-tests/src/odspDriver.ts b/examples/utils/bundle-size-tests/src/odspDriver.ts index 744f31dc8be..5c48c3e4806 100644 --- a/examples/utils/bundle-size-tests/src/odspDriver.ts +++ b/examples/utils/bundle-size-tests/src/odspDriver.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { OdspDocumentServiceFactory } from "@fluidframework/odsp-driver"; export function apisToBundle() { diff --git a/examples/utils/bundle-size-tests/src/odspPrefetchSnapshot.ts b/examples/utils/bundle-size-tests/src/odspPrefetchSnapshot.ts index 5b6ee6c7beb..bbed5eb7a0e 100644 --- a/examples/utils/bundle-size-tests/src/odspPrefetchSnapshot.ts +++ b/examples/utils/bundle-size-tests/src/odspPrefetchSnapshot.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { prefetchLatestSnapshot } from "@fluidframework/odsp-driver"; export function apisToBundle() { diff --git a/examples/utils/bundle-size-tests/src/sharedString.ts b/examples/utils/bundle-size-tests/src/sharedString.ts index 88d42bcbaa6..f8a0f6979c2 100644 --- a/examples/utils/bundle-size-tests/src/sharedString.ts +++ b/examples/utils/bundle-size-tests/src/sharedString.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { SharedString } from "@fluidframework/sequence"; export function apisToBundle() { diff --git a/examples/utils/bundle-size-tests/src/sharedTree.ts b/examples/utils/bundle-size-tests/src/sharedTree.ts index 1ff6223313b..899c29d8f1e 100644 --- a/examples/utils/bundle-size-tests/src/sharedTree.ts +++ b/examples/utils/bundle-size-tests/src/sharedTree.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { SharedTree } from "@fluidframework/tree"; export function apisToBundle() { diff --git a/examples/utils/example-utils/src/reactInputs/CollaborativeInput.tsx b/examples/utils/example-utils/src/reactInputs/CollaborativeInput.tsx index 5a4b6b27533..63e6109bce5 100644 --- a/examples/utils/example-utils/src/reactInputs/CollaborativeInput.tsx +++ b/examples/utils/example-utils/src/reactInputs/CollaborativeInput.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { SequenceDeltaEvent, SharedString } from "@fluidframework/sequence"; import React from "react"; diff --git a/experimental/PropertyDDS/examples/property-inspector/src/theme.ts b/experimental/PropertyDDS/examples/property-inspector/src/theme.ts index 96f3845e3f4..47877bb7009 100644 --- a/experimental/PropertyDDS/examples/property-inspector/src/theme.ts +++ b/experimental/PropertyDDS/examples/property-inspector/src/theme.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import "@hig/fonts/build/ArtifaktElement.css"; import { createTheme } from "@material-ui/core/styles"; diff --git a/experimental/PropertyDDS/examples/property-inspector/webpack.config.cjs b/experimental/PropertyDDS/examples/property-inspector/webpack.config.cjs index 47ba059bf86..848c821ced9 100644 --- a/experimental/PropertyDDS/examples/property-inspector/webpack.config.cjs +++ b/experimental/PropertyDDS/examples/property-inspector/webpack.config.cjs @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const HtmlWebpackPlugin = require("html-webpack-plugin"); const path = require("path"); const webpack = require("webpack"); diff --git a/experimental/PropertyDDS/examples/schemas/built/index.js b/experimental/PropertyDDS/examples/schemas/built/index.js index b3f72870fd5..f93c159b710 100644 --- a/experimental/PropertyDDS/examples/schemas/built/index.js +++ b/experimental/PropertyDDS/examples/schemas/built/index.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { schemas as SQUARES_DEMO_SCHEMAS } from "./src/squares_demo"; export { registerSchemas } from "./src/schemasRegisterer"; export { SQUARES_DEMO_SCHEMAS }; diff --git a/experimental/PropertyDDS/examples/schemas/built/src/schemasRegisterer.js b/experimental/PropertyDDS/examples/schemas/built/src/schemasRegisterer.js index d20c490e479..889d1138183 100644 --- a/experimental/PropertyDDS/examples/schemas/built/src/schemasRegisterer.js +++ b/experimental/PropertyDDS/examples/schemas/built/src/schemasRegisterer.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ALL_SCHEMAS } from ".."; export const registerSchemas = function (propertyFactory) { console.log(ALL_SCHEMAS); diff --git a/experimental/PropertyDDS/examples/schemas/built/src/squares_demo/2DPoint-1.0.0.js b/experimental/PropertyDDS/examples/schemas/built/src/squares_demo/2DPoint-1.0.0.js index 55691b6e27d..203c57e1401 100644 --- a/experimental/PropertyDDS/examples/schemas/built/src/squares_demo/2DPoint-1.0.0.js +++ b/experimental/PropertyDDS/examples/schemas/built/src/squares_demo/2DPoint-1.0.0.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + export default { typeid: "autofluid:2DPoint-1.0.0", properties: [ diff --git a/experimental/PropertyDDS/examples/schemas/src/index.ts b/experimental/PropertyDDS/examples/schemas/src/index.ts index 3e9f7fa1c76..6b34031714c 100644 --- a/experimental/PropertyDDS/examples/schemas/src/index.ts +++ b/experimental/PropertyDDS/examples/schemas/src/index.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { schemas as SQUARES_DEMO_SCHEMAS } from "./squares_demo"; export { registerSchemas } from "./schemasRegisterer"; diff --git a/experimental/PropertyDDS/examples/schemas/src/schemasRegisterer.ts b/experimental/PropertyDDS/examples/schemas/src/schemasRegisterer.ts index 9547bab3113..9140d0e2de0 100644 --- a/experimental/PropertyDDS/examples/schemas/src/schemasRegisterer.ts +++ b/experimental/PropertyDDS/examples/schemas/src/schemasRegisterer.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ALL_SCHEMAS } from "./"; // TODO: Use something other than `any` diff --git a/experimental/PropertyDDS/examples/schemas/src/squares_demo/2DPoint-1.0.0.ts b/experimental/PropertyDDS/examples/schemas/src/squares_demo/2DPoint-1.0.0.ts index 55691b6e27d..203c57e1401 100644 --- a/experimental/PropertyDDS/examples/schemas/src/squares_demo/2DPoint-1.0.0.ts +++ b/experimental/PropertyDDS/examples/schemas/src/squares_demo/2DPoint-1.0.0.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + export default { typeid: "autofluid:2DPoint-1.0.0", properties: [ diff --git a/experimental/PropertyDDS/examples/schemas/src/squares_demo/coloredSquare-1.0.0.ts b/experimental/PropertyDDS/examples/schemas/src/squares_demo/coloredSquare-1.0.0.ts index 0a47be26249..2e52bb79fd5 100644 --- a/experimental/PropertyDDS/examples/schemas/src/squares_demo/coloredSquare-1.0.0.ts +++ b/experimental/PropertyDDS/examples/schemas/src/squares_demo/coloredSquare-1.0.0.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + export default { typeid: "autofluid:coloredSquare-1.0.0", inherits: ["autofluid:square-1.0.0"], diff --git a/experimental/PropertyDDS/examples/schemas/src/squares_demo/index.ts b/experimental/PropertyDDS/examples/schemas/src/squares_demo/index.ts index ce24f7a5e46..ebbdb1bf3be 100644 --- a/experimental/PropertyDDS/examples/schemas/src/squares_demo/index.ts +++ b/experimental/PropertyDDS/examples/schemas/src/squares_demo/index.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import board from "./squaresBoard-1.0.0"; import point2D from "./2DPoint-1.0.0"; import coloredSquare from "./coloredSquare-1.0.0"; diff --git a/experimental/PropertyDDS/examples/schemas/src/squares_demo/square-1.0.0.ts b/experimental/PropertyDDS/examples/schemas/src/squares_demo/square-1.0.0.ts index dfc8ae3cc68..8169377e6b5 100644 --- a/experimental/PropertyDDS/examples/schemas/src/squares_demo/square-1.0.0.ts +++ b/experimental/PropertyDDS/examples/schemas/src/squares_demo/square-1.0.0.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + export default { typeid: "autofluid:square-1.0.0", inherits: "NamedProperty", diff --git a/experimental/PropertyDDS/examples/schemas/src/squares_demo/squaresBoard-1.0.0.ts b/experimental/PropertyDDS/examples/schemas/src/squares_demo/squaresBoard-1.0.0.ts index bfefc5e4ec1..2f2ee590e22 100644 --- a/experimental/PropertyDDS/examples/schemas/src/squares_demo/squaresBoard-1.0.0.ts +++ b/experimental/PropertyDDS/examples/schemas/src/squares_demo/squaresBoard-1.0.0.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + export default { typeid: "autofluid:squaresBoard-1.0.0", inherits: "NamedNodeProperty", diff --git a/experimental/PropertyDDS/packages/property-binder/jest.config.cjs b/experimental/PropertyDDS/packages/property-binder/jest.config.cjs index 5ad3b085925..dda0db8ea0a 100644 --- a/experimental/PropertyDDS/packages/property-binder/jest.config.cjs +++ b/experimental/PropertyDDS/packages/property-binder/jest.config.cjs @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + // jest.config.cjs module.exports = { reporters: [ diff --git a/experimental/PropertyDDS/packages/property-binder/src/data_binder/IDefineDataBindingOptions.ts b/experimental/PropertyDDS/packages/property-binder/src/data_binder/IDefineDataBindingOptions.ts index 27b9a9bfd72..601c01079d8 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/data_binder/IDefineDataBindingOptions.ts +++ b/experimental/PropertyDDS/packages/property-binder/src/data_binder/IDefineDataBindingOptions.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { UpgradeType } from "../internal/semvermap.js"; /** diff --git a/experimental/PropertyDDS/packages/property-binder/src/data_binder/IDefineRepresentationOptions.ts b/experimental/PropertyDDS/packages/property-binder/src/data_binder/IDefineRepresentationOptions.ts index 2fa4027e7ab..f600d7bf679 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/data_binder/IDefineRepresentationOptions.ts +++ b/experimental/PropertyDDS/packages/property-binder/src/data_binder/IDefineRepresentationOptions.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { BaseProperty } from "@fluid-experimental/property-properties"; import { UpgradeType } from "../internal/semvermap.js"; diff --git a/experimental/PropertyDDS/packages/property-binder/src/data_binder/dataBinding.ts b/experimental/PropertyDDS/packages/property-binder/src/data_binder/dataBinding.ts index 34ed5c1a838..bdd62cc830d 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/data_binder/dataBinding.ts +++ b/experimental/PropertyDDS/packages/property-binder/src/data_binder/dataBinding.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Defines the base DataBinding that all DataBindings should inherit from. */ diff --git a/experimental/PropertyDDS/packages/property-binder/src/data_binder/dataBindingTree.ts b/experimental/PropertyDDS/packages/property-binder/src/data_binder/dataBindingTree.ts index 380414296eb..236de973961 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/data_binder/dataBindingTree.ts +++ b/experimental/PropertyDDS/packages/property-binder/src/data_binder/dataBindingTree.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Defines a data structure for storing an DataBinding tree that mirrors a property set hierarchy with * DataBindings representing certain properties. Meant to handle the case where there are many properties but only some diff --git a/experimental/PropertyDDS/packages/property-binder/src/data_binder/internalUtils.ts b/experimental/PropertyDDS/packages/property-binder/src/data_binder/internalUtils.ts index dd8363aa40a..71ecb405b86 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/data_binder/internalUtils.ts +++ b/experimental/PropertyDDS/packages/property-binder/src/data_binder/internalUtils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Some internal utils functions */ diff --git a/experimental/PropertyDDS/packages/property-binder/src/data_binder/modificationContext.ts b/experimental/PropertyDDS/packages/property-binder/src/data_binder/modificationContext.ts index 73be6af89da..81b4ffcae11 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/data_binder/modificationContext.ts +++ b/experimental/PropertyDDS/packages/property-binder/src/data_binder/modificationContext.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Provides the contextual information for the onModify callbacks. */ diff --git a/experimental/PropertyDDS/packages/property-binder/src/data_binder/statelessDataBinding.ts b/experimental/PropertyDDS/packages/property-binder/src/data_binder/statelessDataBinding.ts index 9ea777fcce5..74d5d94597f 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/data_binder/statelessDataBinding.ts +++ b/experimental/PropertyDDS/packages/property-binder/src/data_binder/statelessDataBinding.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Defines the base class for a stateless data binding. A stateless data binding is created once * by the client, but is called back for onPreModify, onModify etc. for all instances of a type. diff --git a/experimental/PropertyDDS/packages/property-binder/src/external/HFDMDoc.js b/experimental/PropertyDDS/packages/property-binder/src/external/HFDMDoc.js index 8ba71da67cb..4e1d35b3026 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/external/HFDMDoc.js +++ b/experimental/PropertyDDS/packages/property-binder/src/external/HFDMDoc.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * Base class for properties * @external BaseProperty diff --git a/experimental/PropertyDDS/packages/property-binder/src/external/utils/nestedObjectHelpers.ts b/experimental/PropertyDDS/packages/property-binder/src/external/utils/nestedObjectHelpers.ts index 46826c83c83..96b88e3d2b7 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/external/utils/nestedObjectHelpers.ts +++ b/experimental/PropertyDDS/packages/property-binder/src/external/utils/nestedObjectHelpers.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * diff --git a/experimental/PropertyDDS/packages/property-binder/src/internal/activationQueryCacheHelper.ts b/experimental/PropertyDDS/packages/property-binder/src/internal/activationQueryCacheHelper.ts index ae7259e7c93..980a7e2a04f 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/internal/activationQueryCacheHelper.ts +++ b/experimental/PropertyDDS/packages/property-binder/src/internal/activationQueryCacheHelper.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { PropertyFactory } from "@fluid-experimental/property-properties"; import { TypeIdHelper } from "@fluid-experimental/property-changeset"; import type { ExtractedContext } from "@fluid-experimental/property-changeset"; diff --git a/experimental/PropertyDDS/packages/property-binder/src/internal/constants.ts b/experimental/PropertyDDS/packages/property-binder/src/internal/constants.ts index ad4d3caaebf..e806ae89352 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/internal/constants.ts +++ b/experimental/PropertyDDS/packages/property-binder/src/internal/constants.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { BaseProperty } from "@fluid-experimental/property-properties"; /** diff --git a/experimental/PropertyDDS/packages/property-binder/src/internal/propertyElement.ts b/experimental/PropertyDDS/packages/property-binder/src/internal/propertyElement.ts index 2782cba6541..6e5e5ead398 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/internal/propertyElement.ts +++ b/experimental/PropertyDDS/packages/property-binder/src/internal/propertyElement.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview The PropertyElement is a helper class that abstracts an element in the property set tree, * whether it is a specific property, or an element of a primitive collections (array/map). It allows code to be diff --git a/experimental/PropertyDDS/packages/property-binder/src/internal/statelessDataBindingWrapper.ts b/experimental/PropertyDDS/packages/property-binder/src/internal/statelessDataBindingWrapper.ts index 50c7c7836e8..673aada56a3 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/internal/statelessDataBindingWrapper.ts +++ b/experimental/PropertyDDS/packages/property-binder/src/internal/statelessDataBindingWrapper.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Defines a helper class for wrapping the use of stateless data bindings */ diff --git a/experimental/PropertyDDS/packages/property-binder/src/test/activation_tests.spec.js b/experimental/PropertyDDS/packages/property-binder/src/test/activation_tests.spec.js index c68a1266897..06d37507d14 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/test/activation_tests.spec.js +++ b/experimental/PropertyDDS/packages/property-binder/src/test/activation_tests.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* globals expect */ import { DataBinder } from "../data_binder/dataBinder"; diff --git a/experimental/PropertyDDS/packages/property-binder/src/test/data_binding.spec.js b/experimental/PropertyDDS/packages/property-binder/src/test/data_binding.spec.js index 33603fa69d2..915592eef83 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/test/data_binding.spec.js +++ b/experimental/PropertyDDS/packages/property-binder/src/test/data_binding.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* globals should, sinon, expect */ /* eslint spaced-comment: 0 */ /* eslint no-unused-expressions: 0 */ diff --git a/experimental/PropertyDDS/packages/property-binder/src/test/data_binding_tree.spec.js b/experimental/PropertyDDS/packages/property-binder/src/test/data_binding_tree.spec.js index bfa8dc00c6a..96d1bd1b859 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/test/data_binding_tree.spec.js +++ b/experimental/PropertyDDS/packages/property-binder/src/test/data_binding_tree.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* globals should, expect */ import { DataBindingTree } from "../data_binder/dataBindingTree"; import { catchConsoleErrors } from "./catchConsoleError"; diff --git a/experimental/PropertyDDS/packages/property-binder/src/test/es6_data_binding.spec.js b/experimental/PropertyDDS/packages/property-binder/src/test/es6_data_binding.spec.js index c10d4356b8b..249010c8294 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/test/es6_data_binding.spec.js +++ b/experimental/PropertyDDS/packages/property-binder/src/test/es6_data_binding.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* globals should, sinon, expect */ import { DataBinder } from "../data_binder/dataBinder"; import { DataBinding } from "../data_binder/dataBinding"; diff --git a/experimental/PropertyDDS/packages/property-binder/src/test/es6_decorator_data_binding.spec.js b/experimental/PropertyDDS/packages/property-binder/src/test/es6_decorator_data_binding.spec.js index 662162c8f44..77650bc3d14 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/test/es6_decorator_data_binding.spec.js +++ b/experimental/PropertyDDS/packages/property-binder/src/test/es6_decorator_data_binding.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* globals should, sinon, expect */ import { DataBinder } from "../data_binder/dataBinder"; import { diff --git a/experimental/PropertyDDS/packages/property-binder/src/test/general.spec.js b/experimental/PropertyDDS/packages/property-binder/src/test/general.spec.js index e13f6c842f3..c39b3263324 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/test/general.spec.js +++ b/experimental/PropertyDDS/packages/property-binder/src/test/general.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* globals expect */ import { diff --git a/experimental/PropertyDDS/packages/property-binder/src/test/internal_utils.spec.js b/experimental/PropertyDDS/packages/property-binder/src/test/internal_utils.spec.js index 0a99262f3ec..0cb8ec540a9 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/test/internal_utils.spec.js +++ b/experimental/PropertyDDS/packages/property-binder/src/test/internal_utils.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { BaseProperty, PropertyFactory } from "@fluid-experimental/property-properties"; /* globals expect, sinon */ import { diff --git a/experimental/PropertyDDS/packages/property-binder/src/test/onDemandDataBinding.spec.js b/experimental/PropertyDDS/packages/property-binder/src/test/onDemandDataBinding.spec.js index 8114496fe07..aa561285bb8 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/test/onDemandDataBinding.spec.js +++ b/experimental/PropertyDDS/packages/property-binder/src/test/onDemandDataBinding.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* globals sinon, expect */ /* eslint spaced-comment: 0 */ /* diff --git a/experimental/PropertyDDS/packages/property-binder/src/test/property_element.spec.js b/experimental/PropertyDDS/packages/property-binder/src/test/property_element.spec.js index dfa5e53cb67..6ccae014069 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/test/property_element.spec.js +++ b/experimental/PropertyDDS/packages/property-binder/src/test/property_element.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* globals expect, should */ import { DataBinder } from "../data_binder/dataBinder"; diff --git a/experimental/PropertyDDS/packages/property-binder/src/test/runtime_models.spec.js b/experimental/PropertyDDS/packages/property-binder/src/test/runtime_models.spec.js index 0573baa9978..bc788b8006d 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/test/runtime_models.spec.js +++ b/experimental/PropertyDDS/packages/property-binder/src/test/runtime_models.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* globals should, expect, sinon */ /* eslint-disable require-jsdoc */ diff --git a/experimental/PropertyDDS/packages/property-binder/src/test/semver_bindings.spec.js b/experimental/PropertyDDS/packages/property-binder/src/test/semver_bindings.spec.js index d41af99023e..69c1553015f 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/test/semver_bindings.spec.js +++ b/experimental/PropertyDDS/packages/property-binder/src/test/semver_bindings.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable no-unused-expressions */ /* eslint-disable require-jsdoc */ /* globals expect */ diff --git a/experimental/PropertyDDS/packages/property-binder/src/test/semver_reps.spec.js b/experimental/PropertyDDS/packages/property-binder/src/test/semver_reps.spec.js index 2d4dd1e6995..9e93bede40d 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/test/semver_reps.spec.js +++ b/experimental/PropertyDDS/packages/property-binder/src/test/semver_reps.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable max-nested-callbacks */ /* globals should, expect */ /* eslint-disable require-jsdoc */ diff --git a/experimental/PropertyDDS/packages/property-binder/src/test/stateless_binding.spec.js b/experimental/PropertyDDS/packages/property-binder/src/test/stateless_binding.spec.js index 5f49fb1b022..2b2dcb050d0 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/test/stateless_binding.spec.js +++ b/experimental/PropertyDDS/packages/property-binder/src/test/stateless_binding.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* globals sinon, expect, should */ import { DataBinder } from "../data_binder/dataBinder"; import { SingletonDataBinding, StatelessDataBinding } from "../data_binder/statelessDataBinding"; diff --git a/experimental/PropertyDDS/packages/property-binder/src/test/testDataBindings.js b/experimental/PropertyDDS/packages/property-binder/src/test/testDataBindings.js index fcec00eab94..19950d4e44f 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/test/testDataBindings.js +++ b/experimental/PropertyDDS/packages/property-binder/src/test/testDataBindings.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* globals sinon */ import { DataBinding } from "../data_binder/dataBinding"; diff --git a/experimental/PropertyDDS/packages/property-binder/src/test/testTemplates.js b/experimental/PropertyDDS/packages/property-binder/src/test/testTemplates.js index b6c8d6d9e43..9003b9ba367 100644 --- a/experimental/PropertyDDS/packages/property-binder/src/test/testTemplates.js +++ b/experimental/PropertyDDS/packages/property-binder/src/test/testTemplates.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { PropertyFactory } from "@fluid-experimental/property-properties"; const ParentTemplate = { diff --git a/experimental/PropertyDDS/packages/property-changeset/src/changeset.ts b/experimental/PropertyDDS/packages/property-changeset/src/changeset.ts index 0b09d1bdb39..89c8d299215 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/changeset.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/changeset.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Serialized representation of the changes in a repository */ diff --git a/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/array.ts b/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/array.ts index 5cda817294e..890dd8ba228 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/array.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/array.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Helper functions and classes to work with array ChangeSets */ diff --git a/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/arrayChangesetIterator.ts b/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/arrayChangesetIterator.ts index 9b256ec5236..3bf14f412b2 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/arrayChangesetIterator.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/arrayChangesetIterator.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Iterator to iterate over array ChangeSets */ diff --git a/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/changesetConflictTypes.ts b/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/changesetConflictTypes.ts index 6f88bb1bc2b..1a56f6e7f5d 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/changesetConflictTypes.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/changesetConflictTypes.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Conflict types that can occur during changeset operations */ diff --git a/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/indexedCollection.ts b/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/indexedCollection.ts index 43fd40a4919..3e0df4885e1 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/indexedCollection.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/indexedCollection.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Helper functions and classes to work with ChangeSets with indexed collections (sets and maps) */ diff --git a/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/isEmptyChangeset.ts b/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/isEmptyChangeset.ts index 1498959492e..0a25859e8bb 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/isEmptyChangeset.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/changeset_operations/isEmptyChangeset.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Helper function to check whether a changeset is empty */ diff --git a/experimental/PropertyDDS/packages/property-changeset/src/helpers/typeidHelper.ts b/experimental/PropertyDDS/packages/property-changeset/src/helpers/typeidHelper.ts index e4fa2672567..1921a832191 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/helpers/typeidHelper.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/helpers/typeidHelper.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Helper functions to work with typeid strings */ diff --git a/experimental/PropertyDDS/packages/property-changeset/src/index.ts b/experimental/PropertyDDS/packages/property-changeset/src/index.ts index ad25a1971f0..a2487cf63de 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/index.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/index.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ChangeSet, SerializedChangeSet } from "./changeset.js"; import { ArrayChangeSetIterator } from "./changeset_operations/arrayChangesetIterator.js"; import { ExtractedContext, TypeIdHelper } from "./helpers/typeidHelper.js"; diff --git a/experimental/PropertyDDS/packages/property-changeset/src/isReservedKeyword.ts b/experimental/PropertyDDS/packages/property-changeset/src/isReservedKeyword.ts index 94f42398a15..0c97cf79760 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/isReservedKeyword.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/isReservedKeyword.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * Checks whether the given key from a ChangeSet is not a typeid, but one of the * reserved keywords. diff --git a/experimental/PropertyDDS/packages/property-changeset/src/pathHelper.ts b/experimental/PropertyDDS/packages/property-changeset/src/pathHelper.ts index 7e93e428f51..ca4f00e6cd8 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/pathHelper.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/pathHelper.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Helper functions to work with path strings */ diff --git a/experimental/PropertyDDS/packages/property-changeset/src/templateSchema.ts b/experimental/PropertyDDS/packages/property-changeset/src/templateSchema.ts index 52c0bd0629f..c5bbf498fb4 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/templateSchema.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/templateSchema.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Declaration of the TemplateSchema module diff --git a/experimental/PropertyDDS/packages/property-changeset/src/test/indexedCollection.spec.ts b/experimental/PropertyDDS/packages/property-changeset/src/test/indexedCollection.spec.ts index 3a0df9ad1bc..375a3582228 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/test/indexedCollection.spec.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/test/indexedCollection.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { expect } from "chai"; import cloneDeep from "lodash/cloneDeep.js"; import { ChangeSet } from "../changeset.js"; diff --git a/experimental/PropertyDDS/packages/property-changeset/src/test/schemaValidator.ts b/experimental/PropertyDDS/packages/property-changeset/src/test/schemaValidator.ts index d1050465941..b47ff27cc7b 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/test/schemaValidator.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/test/schemaValidator.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * Basic implementation of part of the PropertyFactory needed to run test on validation. */ diff --git a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badBothPropertiesAndTypeid.ts b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badBothPropertiesAndTypeid.ts index a8ece2947aa..eb91e48d1b1 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badBothPropertiesAndTypeid.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badBothPropertiesAndTypeid.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template schema testing diff --git a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badInvalidSemverInTypeid.ts b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badInvalidSemverInTypeid.ts index 6a5999e06f7..398a30a6965 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badInvalidSemverInTypeid.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badInvalidSemverInTypeid.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template semver testing diff --git a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badMissingSemverInTypeid.ts b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badMissingSemverInTypeid.ts index 5704c207119..43e79758f8b 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badMissingSemverInTypeid.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badMissingSemverInTypeid.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template semver testing diff --git a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badNestedProperties.ts b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badNestedProperties.ts index 00ef4769833..dabd2f4d111 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badNestedProperties.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badNestedProperties.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template schema testing diff --git a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badPrimitiveTypeid.ts b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badPrimitiveTypeid.ts index 519ba985b22..699d702db62 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badPrimitiveTypeid.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badPrimitiveTypeid.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template schema testing diff --git a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badVersionedTypeid.ts b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badVersionedTypeid.ts index 002630ef270..fb23c4119ab 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badVersionedTypeid.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/badVersionedTypeid.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template schema testing diff --git a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodColorPalette.ts b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodColorPalette.ts index 65b29a538b4..49947982ac1 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodColorPalette.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodColorPalette.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template schema testing diff --git a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodDraftAsVersion.ts b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodDraftAsVersion.ts index 169c39f1bba..1feafc10dff 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodDraftAsVersion.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodDraftAsVersion.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template schema testing diff --git a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodPointId.ts b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodPointId.ts index 39d32b7ea5e..3cb260958de 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodPointId.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodPointId.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template schema testing diff --git a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodReferenceAndRegular.ts b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodReferenceAndRegular.ts index 882312a6def..76c3f1e0781 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodReferenceAndRegular.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodReferenceAndRegular.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template schema testing diff --git a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodReservedTypes.ts b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodReservedTypes.ts index 84bf2d35fe8..4ffc9505076 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodReservedTypes.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodReservedTypes.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template schema testing diff --git a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodUIBorder.ts b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodUIBorder.ts index 5a1a461ceb2..85a781c68c1 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodUIBorder.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/test/schemas/goodUIBorder.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template schema testing diff --git a/experimental/PropertyDDS/packages/property-changeset/src/test/validator/templateSyntax.spec.ts b/experimental/PropertyDDS/packages/property-changeset/src/test/validator/templateSyntax.spec.ts index 99655806599..fa018a00fc5 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/test/validator/templateSyntax.spec.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/test/validator/templateSyntax.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview In this file, we will test template syntax. */ diff --git a/experimental/PropertyDDS/packages/property-changeset/src/utils.ts b/experimental/PropertyDDS/packages/property-changeset/src/utils.ts index 3ed4c1cb4fb..02b4407547a 100644 --- a/experimental/PropertyDDS/packages/property-changeset/src/utils.ts +++ b/experimental/PropertyDDS/packages/property-changeset/src/utils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + // @ts-ignore import { ConsoleUtils, constants } from "@fluid-experimental/property-common"; import { eachOfSeries, eachSeries, ErrorCallback, series, timesSeries, whilst } from "async"; diff --git a/experimental/PropertyDDS/packages/property-common/platform-dependent/browser.js b/experimental/PropertyDDS/packages/property-common/platform-dependent/browser.js index 007f4b7d383..019dd66d86d 100644 --- a/experimental/PropertyDDS/packages/property-common/platform-dependent/browser.js +++ b/experimental/PropertyDDS/packages/property-common/platform-dependent/browser.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * Create an array with random uint32 values * diff --git a/experimental/PropertyDDS/packages/property-common/platform-dependent/server.js b/experimental/PropertyDDS/packages/property-common/platform-dependent/server.js index 44e7b2b3d58..49981077560 100644 --- a/experimental/PropertyDDS/packages/property-common/platform-dependent/server.js +++ b/experimental/PropertyDDS/packages/property-common/platform-dependent/server.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const crypto = require("crypto"); /** * Create an array with random uint32 values diff --git a/experimental/PropertyDDS/packages/property-common/src/datastructures/collection.ts b/experimental/PropertyDDS/packages/property-common/src/datastructures/collection.ts index de16b86c69a..5ef74e1b286 100644 --- a/experimental/PropertyDDS/packages/property-common/src/datastructures/collection.ts +++ b/experimental/PropertyDDS/packages/property-common/src/datastructures/collection.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint accessor-pairs: [2, { "getWithoutSet": false }] */ /** * @fileoverview Collection class definition diff --git a/experimental/PropertyDDS/packages/property-common/src/error_objects/httpError.ts b/experimental/PropertyDDS/packages/property-common/src/error_objects/httpError.ts index b0c0cf6d093..16f640dbe1e 100644 --- a/experimental/PropertyDDS/packages/property-common/src/error_objects/httpError.ts +++ b/experimental/PropertyDDS/packages/property-common/src/error_objects/httpError.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { FlaggedError } from "./flaggedError"; /** diff --git a/experimental/PropertyDDS/packages/property-common/src/error_objects/httpErrorNoStack.ts b/experimental/PropertyDDS/packages/property-common/src/error_objects/httpErrorNoStack.ts index 3027589f276..3e859d2e978 100644 --- a/experimental/PropertyDDS/packages/property-common/src/error_objects/httpErrorNoStack.ts +++ b/experimental/PropertyDDS/packages/property-common/src/error_objects/httpErrorNoStack.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { HTTPError } from "./httpError"; import { FlaggedError } from "./flaggedError"; diff --git a/experimental/PropertyDDS/packages/property-common/src/index.ts b/experimental/PropertyDDS/packages/property-common/src/index.ts index 2e38554409b..fd79cdeb5c0 100644 --- a/experimental/PropertyDDS/packages/property-common/src/index.ts +++ b/experimental/PropertyDDS/packages/property-common/src/index.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + export { EventEmitter } from "events_pkg"; export { Chronometer } from "./chronometer"; diff --git a/experimental/PropertyDDS/packages/property-common/src/test/datastructures/dataArray.spec.ts b/experimental/PropertyDDS/packages/property-common/src/test/datastructures/dataArray.spec.ts index 54406889c6f..440cac693be 100644 --- a/experimental/PropertyDDS/packages/property-common/src/test/datastructures/dataArray.spec.ts +++ b/experimental/PropertyDDS/packages/property-common/src/test/datastructures/dataArray.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview In this file, we will test the functions exported by deep_copy.js */ diff --git a/experimental/PropertyDDS/packages/property-dds/.eslintrc.cjs b/experimental/PropertyDDS/packages/property-dds/.eslintrc.cjs index be5a8334864..3efadc5ada1 100644 --- a/experimental/PropertyDDS/packages/property-dds/.eslintrc.cjs +++ b/experimental/PropertyDDS/packages/property-dds/.eslintrc.cjs @@ -2,10 +2,6 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ module.exports = { extends: [ diff --git a/experimental/PropertyDDS/packages/property-dds/src/propertyTreeExtFactories.ts b/experimental/PropertyDDS/packages/property-dds/src/propertyTreeExtFactories.ts index 51507ca2ca9..6acd00ea02d 100644 --- a/experimental/PropertyDDS/packages/property-dds/src/propertyTreeExtFactories.ts +++ b/experimental/PropertyDDS/packages/property-dds/src/propertyTreeExtFactories.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @typescript-eslint/no-unsafe-return */ import { deflate, inflate } from "pako"; import { compress, decompress } from "lz4js"; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/.storybook/main.js b/experimental/PropertyDDS/packages/property-inspector-table/.storybook/main.js index d32c189daf4..6c18f134765 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/.storybook/main.js +++ b/experimental/PropertyDDS/packages/property-inspector-table/.storybook/main.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const customWebpack = require("../webpack.config.cjs"); const webpackRules = customWebpack({ production: true }).module.rules; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/__mocks__/react-virtualized-auto-sizer.tsx b/experimental/PropertyDDS/packages/property-inspector-table/__mocks__/react-virtualized-auto-sizer.tsx index 430d3c5cb5e..202369bf48f 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/__mocks__/react-virtualized-auto-sizer.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/__mocks__/react-virtualized-auto-sizer.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as React from "react"; type Props = { diff --git a/experimental/PropertyDDS/packages/property-inspector-table/assets/icons/SVGStoreIcons/index.js b/experimental/PropertyDDS/packages/property-inspector-table/assets/icons/SVGStoreIcons/index.js index dd62caa3186..7ad3c775081 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/assets/icons/SVGStoreIcons/index.js +++ b/experimental/PropertyDDS/packages/property-inspector-table/assets/icons/SVGStoreIcons/index.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const context = require.context("./", false, /\.svg$/i); // keys() returns all possible matching targets within "./" that don't include sub-directories and have an svg extension. diff --git a/experimental/PropertyDDS/packages/property-inspector-table/custom.d.ts b/experimental/PropertyDDS/packages/property-inspector-table/custom.d.ts index f2a2665a33d..1a7259e44cc 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/custom.d.ts +++ b/experimental/PropertyDDS/packages/property-inspector-table/custom.d.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + declare module "*.svg" { const content: any; export default content; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/jest.config.cjs b/experimental/PropertyDDS/packages/property-inspector-table/jest.config.cjs index 9de0237ba4e..19515232ead 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/jest.config.cjs +++ b/experimental/PropertyDDS/packages/property-inspector-table/jest.config.cjs @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + // jest.config.cjs module.exports = { globals: { diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/CommonTypes.tsx b/experimental/PropertyDDS/packages/property-inspector-table/src/CommonTypes.tsx index 418e2f18ec4..8fa6ee8beec 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/CommonTypes.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/CommonTypes.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ExpiryTimeType } from "@fluid-experimental/property-properties"; export type IExpiryState = "live" | "expired"; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/CustomChip.tsx b/experimental/PropertyDDS/packages/property-inspector-table/src/CustomChip.tsx index 5e52c9963a4..8bf5db56fff 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/CustomChip.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/CustomChip.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { makeStyles } from "@material-ui/core/styles"; import * as React from "react"; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/DecoratedSelect.stories.tsx b/experimental/PropertyDDS/packages/property-inspector-table/src/DecoratedSelect.stories.tsx index f8a4be6e922..c735ac755bc 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/DecoratedSelect.stories.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/DecoratedSelect.stories.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { storiesOf } from "@storybook/react"; import * as React from "react"; import { diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/DeleteModal.tsx b/experimental/PropertyDDS/packages/property-inspector-table/src/DeleteModal.tsx index 81b0c6f2f83..685ffad3cab 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/DeleteModal.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/DeleteModal.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { WithStyles } from "@material-ui/core"; import Button from "@material-ui/core/Button"; import { withStyles } from "@material-ui/core/styles"; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/EditReferencePath.tsx b/experimental/PropertyDDS/packages/property-inspector-table/src/EditReferencePath.tsx index c2a57c4ef32..bfb1cba6d40 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/EditReferencePath.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/EditReferencePath.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import Button from "@material-ui/core/Button"; import { makeStyles, Theme } from "@material-ui/core/styles"; import TextField from "@material-ui/core/TextField"; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/EditableValueCell.tsx b/experimental/PropertyDDS/packages/property-inspector-table/src/EditableValueCell.tsx index 5aecb9f4446..71ed7fd4a13 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/EditableValueCell.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/EditableValueCell.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles"; import classNames from "classnames"; import * as React from "react"; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/Empty.tsx b/experimental/PropertyDDS/packages/property-inspector-table/src/Empty.tsx index 13636b15fbb..2cf582662c0 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/Empty.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/Empty.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { createStyles, withStyles, WithStyles } from "@material-ui/core/styles"; import classNames from "classnames"; import * as React from "react"; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/ErrorPopup.ts b/experimental/PropertyDDS/packages/property-inspector-table/src/ErrorPopup.ts index 495dc3fb6f8..8f7c34e4dff 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/ErrorPopup.ts +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/ErrorPopup.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { notificationContext } from "./NotificationsViewer"; const isPromise = (in_obj: Promise | R): in_obj is Promise => { diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/ErrorTooltip.tsx b/experimental/PropertyDDS/packages/property-inspector-table/src/ErrorTooltip.tsx index 6f33d576a4b..2906aa7ee5a 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/ErrorTooltip.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/ErrorTooltip.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { makeStyles } from "@material-ui/core/styles"; import Tooltip, { TooltipProps } from "@material-ui/core/Tooltip"; import React from "react"; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/ExpiryModal.tsx b/experimental/PropertyDDS/packages/property-inspector-table/src/ExpiryModal.tsx index f228a6967fd..ec9ea39985a 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/ExpiryModal.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/ExpiryModal.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ExpiryTimeType } from "@fluid-experimental/property-properties"; import Button from "@material-ui/core/Button"; import FormControl from "@material-ui/core/FormControl"; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/Field.tsx b/experimental/PropertyDDS/packages/property-inspector-table/src/Field.tsx index b402d25f85d..579d5903ca1 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/Field.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/Field.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { PropertyProxy, ProxifiedMapProperty } from "@fluid-experimental/property-proxy"; import { SetProperty, ContainerProperty } from "@fluid-experimental/property-properties"; import * as React from "react"; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/FloatingLabelTextField.tsx b/experimental/PropertyDDS/packages/property-inspector-table/src/FloatingLabelTextField.tsx index 58d49b67bf2..abc686df000 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/FloatingLabelTextField.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/FloatingLabelTextField.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { withStyles, WithStyles } from "@material-ui/core/styles"; import TextField, { StandardTextFieldProps } from "@material-ui/core/TextField"; import classNames from "classnames"; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/HashCalculator.ts b/experimental/PropertyDDS/packages/property-inspector-table/src/HashCalculator.ts index d7a9ed78d84..9af8f766660 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/HashCalculator.ts +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/HashCalculator.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import base64js from "base64-js"; /** diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/InputValidator.ts b/experimental/PropertyDDS/packages/property-inspector-table/src/InputValidator.ts index d2cb8dd41fa..836a5965d9f 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/InputValidator.ts +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/InputValidator.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * Utility class in charge of input validation. */ diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorDecorator.tsx b/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorDecorator.tsx index 6b1dd0dd468..90aecbd4a96 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorDecorator.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorDecorator.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { MuiThemeProvider } from "@material-ui/core/styles"; import * as React from "react"; // eslint-disable-next-line import/no-unassigned-import diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorModal.tsx b/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorModal.tsx index ad48368d550..107dfff54ad 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorModal.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorModal.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import Dialog from "@material-ui/core/Dialog"; import DialogContent from "@material-ui/core/DialogContent"; import DialogTitle from "@material-ui/core/DialogTitle"; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorTable.stories.tsx b/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorTable.stories.tsx index 431fa506892..786bbc5dfe5 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorTable.stories.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorTable.stories.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { PropertyProxy } from "@fluid-experimental/property-proxy"; import { storiesOf } from "@storybook/react"; import * as React from "react"; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorTable.tsx b/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorTable.tsx index 8bd578dac95..96a97ac55fb 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorTable.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorTable.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + // eslint-disable-next-line import/no-unassigned-import import "@hig/fonts/build/ArtifaktElement.css"; import Button from "@material-ui/core/Button"; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorTableDecorator.tsx b/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorTableDecorator.tsx index ed5ffec50a6..417817fc24d 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorTableDecorator.tsx +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/InspectorTableDecorator.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + // eslint-disable-next-line import/no-unassigned-import import "../assets/icons/SVGStoreIcons"; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/src/PropertyDataCreationHandlers.ts b/experimental/PropertyDDS/packages/property-inspector-table/src/PropertyDataCreationHandlers.ts index 06aad706251..bfea29b7684 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/src/PropertyDataCreationHandlers.ts +++ b/experimental/PropertyDDS/packages/property-inspector-table/src/PropertyDataCreationHandlers.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { PropertyProxy } from "@fluid-experimental/property-proxy"; import { PropertyFactory } from "@fluid-experimental/property-properties"; import { TypeIdHelper } from "@fluid-experimental/property-changeset"; diff --git a/experimental/PropertyDDS/packages/property-inspector-table/svgo.plugins.js b/experimental/PropertyDDS/packages/property-inspector-table/svgo.plugins.js index 3505344ac12..91914a52b40 100644 --- a/experimental/PropertyDDS/packages/property-inspector-table/svgo.plugins.js +++ b/experimental/PropertyDDS/packages/property-inspector-table/svgo.plugins.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + module.exports = { plugins: [ { cleanupAttrs: true }, diff --git a/experimental/PropertyDDS/packages/property-properties/src/properties/abstractStaticCollectionProperty.js b/experimental/PropertyDDS/packages/property-properties/src/properties/abstractStaticCollectionProperty.js index 1fcc9341c6c..1e2887c1dc5 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/properties/abstractStaticCollectionProperty.js +++ b/experimental/PropertyDDS/packages/property-properties/src/properties/abstractStaticCollectionProperty.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const _ = require("lodash"); const { ConsoleUtils, constants } = require("@fluid-experimental/property-common"); const { PathHelper, ChangeSet } = require("@fluid-experimental/property-changeset"); diff --git a/experimental/PropertyDDS/packages/property-properties/src/properties/enumArrayProperty.js b/experimental/PropertyDDS/packages/property-properties/src/properties/enumArrayProperty.js index 325f5772d58..374987fc6b6 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/properties/enumArrayProperty.js +++ b/experimental/PropertyDDS/packages/property-properties/src/properties/enumArrayProperty.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const { MSG } = require("@fluid-experimental/property-common").constants; const { TypeIdHelper } = require("@fluid-experimental/property-changeset"); const { BaseDataArray } = require("@fluid-experimental/property-common"); diff --git a/experimental/PropertyDDS/packages/property-properties/src/properties/enumProperty.js b/experimental/PropertyDDS/packages/property-properties/src/properties/enumProperty.js index 051d4695962..e96ac2a61b7 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/properties/enumProperty.js +++ b/experimental/PropertyDDS/packages/property-properties/src/properties/enumProperty.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Definition of the EnumProperty classes */ diff --git a/experimental/PropertyDDS/packages/property-properties/src/properties/floatProperties.js b/experimental/PropertyDDS/packages/property-properties/src/properties/floatProperties.js index c3b770efed4..b4419b2e06a 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/properties/floatProperties.js +++ b/experimental/PropertyDDS/packages/property-properties/src/properties/floatProperties.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Definition of the Float*Property classes */ diff --git a/experimental/PropertyDDS/packages/property-properties/src/properties/lazyLoadedProperties.js b/experimental/PropertyDDS/packages/property-properties/src/properties/lazyLoadedProperties.js index 85e7442ae04..ba67a1262ee 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/properties/lazyLoadedProperties.js +++ b/experimental/PropertyDDS/packages/property-properties/src/properties/lazyLoadedProperties.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview This namespace is used to resolve cycles between the PropertyFactory and the property objects. * It will return an empty namespace, which then once the PropertyFactory has been created will be initialized with the diff --git a/experimental/PropertyDDS/packages/property-properties/src/properties/namedProperty.js b/experimental/PropertyDDS/packages/property-properties/src/properties/namedProperty.js index a0ebf478ec4..c8d9af5155a 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/properties/namedProperty.js +++ b/experimental/PropertyDDS/packages/property-properties/src/properties/namedProperty.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Definition of the named property class */ diff --git a/experimental/PropertyDDS/packages/property-properties/src/properties/primitiveTypeCasts.js b/experimental/PropertyDDS/packages/property-properties/src/properties/primitiveTypeCasts.js index 3b55423f4a8..24142a85f9e 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/properties/primitiveTypeCasts.js +++ b/experimental/PropertyDDS/packages/property-properties/src/properties/primitiveTypeCasts.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Helper functions to cast a JavaScript type to a value that is compatible with a given primitive type */ diff --git a/experimental/PropertyDDS/packages/property-properties/src/properties/referenceArrayProperty.js b/experimental/PropertyDDS/packages/property-properties/src/properties/referenceArrayProperty.js index 6cb1f38828f..befda62a740 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/properties/referenceArrayProperty.js +++ b/experimental/PropertyDDS/packages/property-properties/src/properties/referenceArrayProperty.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Definition of the reference array property class */ diff --git a/experimental/PropertyDDS/packages/property-properties/src/properties/referenceMapProperty.js b/experimental/PropertyDDS/packages/property-properties/src/properties/referenceMapProperty.js index fbe3465ef64..5abf1495c90 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/properties/referenceMapProperty.js +++ b/experimental/PropertyDDS/packages/property-properties/src/properties/referenceMapProperty.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Definition of the reference map property class */ diff --git a/experimental/PropertyDDS/packages/property-properties/src/properties/referenceProperty.js b/experimental/PropertyDDS/packages/property-properties/src/properties/referenceProperty.js index 29e6739e9b5..3e09e54dd31 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/properties/referenceProperty.js +++ b/experimental/PropertyDDS/packages/property-properties/src/properties/referenceProperty.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Definition of the ReferenceProperty class */ diff --git a/experimental/PropertyDDS/packages/property-properties/src/properties/stringProperty.js b/experimental/PropertyDDS/packages/property-properties/src/properties/stringProperty.js index 536046e6060..6d2d3b64704 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/properties/stringProperty.js +++ b/experimental/PropertyDDS/packages/property-properties/src/properties/stringProperty.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Definition of the StringProperty class */ diff --git a/experimental/PropertyDDS/packages/property-properties/src/properties/uintProperties.js b/experimental/PropertyDDS/packages/property-properties/src/properties/uintProperties.js index 6e3ef904e56..a3f21a64b1d 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/properties/uintProperties.js +++ b/experimental/PropertyDDS/packages/property-properties/src/properties/uintProperties.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Definition of the Uint32Property class */ diff --git a/experimental/PropertyDDS/packages/property-properties/src/properties/valueMapProperty.js b/experimental/PropertyDDS/packages/property-properties/src/properties/valueMapProperty.js index 1912c77e023..c37de0443b9 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/properties/valueMapProperty.js +++ b/experimental/PropertyDDS/packages/property-properties/src/properties/valueMapProperty.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Definition of the valuemap property class */ diff --git a/experimental/PropertyDDS/packages/property-properties/src/properties/valueProperty.js b/experimental/PropertyDDS/packages/property-properties/src/properties/valueProperty.js index 68599426d11..17beb01b241 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/properties/valueProperty.js +++ b/experimental/PropertyDDS/packages/property-properties/src/properties/valueProperty.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const { ChangeSet } = require("@fluid-experimental/property-changeset"); const { MSG } = require("@fluid-experimental/property-common").constants; const { BaseProperty } = require("./baseProperty"); diff --git a/experimental/PropertyDDS/packages/property-properties/src/propertyTemplate.js b/experimental/PropertyDDS/packages/property-properties/src/propertyTemplate.js index c4d50967fc1..3a8609b6a40 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/propertyTemplate.js +++ b/experimental/PropertyDDS/packages/property-properties/src/propertyTemplate.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Declaration of the PropertyTemplate module. * PropertyTemplate is used to describe a static property. diff --git a/experimental/PropertyDDS/packages/property-properties/src/test/reversibleChangeset.spec.js b/experimental/PropertyDDS/packages/property-properties/src/test/reversibleChangeset.spec.js index dbd59f96772..446b741196e 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/test/reversibleChangeset.spec.js +++ b/experimental/PropertyDDS/packages/property-properties/src/test/reversibleChangeset.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* globals expect */ /** * @fileoverview In this file, we will test the functions of the property factory. diff --git a/experimental/PropertyDDS/packages/property-properties/src/test/setup.js b/experimental/PropertyDDS/packages/property-properties/src/test/setup.js index 41dbd63a5e4..f47684e88e1 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/test/setup.js +++ b/experimental/PropertyDDS/packages/property-properties/src/test/setup.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint no-unused-vars: 0, no-undef: 0 */ sdk = false; diff --git a/experimental/PropertyDDS/packages/property-properties/src/test/utils.spec.js b/experimental/PropertyDDS/packages/property-properties/src/test/utils.spec.js index 4c48ed0983e..d6874b595bc 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/test/utils.spec.js +++ b/experimental/PropertyDDS/packages/property-properties/src/test/utils.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* globals assert */ /** diff --git a/experimental/PropertyDDS/packages/property-properties/src/test/validation/badMissingSemverInTypeid.js b/experimental/PropertyDDS/packages/property-properties/src/test/validation/badMissingSemverInTypeid.js index 2c2d09935ee..9262d6eb7b4 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/test/validation/badMissingSemverInTypeid.js +++ b/experimental/PropertyDDS/packages/property-properties/src/test/validation/badMissingSemverInTypeid.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template semver testing diff --git a/experimental/PropertyDDS/packages/property-properties/src/test/validation/badPrimitiveTypeid.js b/experimental/PropertyDDS/packages/property-properties/src/test/validation/badPrimitiveTypeid.js index 5d9cf093cb5..63123013eb8 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/test/validation/badPrimitiveTypeid.js +++ b/experimental/PropertyDDS/packages/property-properties/src/test/validation/badPrimitiveTypeid.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template schema testing diff --git a/experimental/PropertyDDS/packages/property-properties/src/test/validation/goodColorId.js b/experimental/PropertyDDS/packages/property-properties/src/test/validation/goodColorId.js index 6cc35bcdd2e..67856559263 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/test/validation/goodColorId.js +++ b/experimental/PropertyDDS/packages/property-properties/src/test/validation/goodColorId.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template schema testing diff --git a/experimental/PropertyDDS/packages/property-properties/src/test/validation/goodColorPalette.js b/experimental/PropertyDDS/packages/property-properties/src/test/validation/goodColorPalette.js index dedf5532ac4..2a6b317bd98 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/test/validation/goodColorPalette.js +++ b/experimental/PropertyDDS/packages/property-properties/src/test/validation/goodColorPalette.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template schema testing diff --git a/experimental/PropertyDDS/packages/property-properties/src/test/validation/goodPointId.js b/experimental/PropertyDDS/packages/property-properties/src/test/validation/goodPointId.js index 4a225729a20..7b33254f254 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/test/validation/goodPointId.js +++ b/experimental/PropertyDDS/packages/property-properties/src/test/validation/goodPointId.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview * Test data for property set template schema testing diff --git a/experimental/PropertyDDS/packages/property-properties/src/test/validation/reversibleChangeSetTestData.js b/experimental/PropertyDDS/packages/property-properties/src/test/validation/reversibleChangeSetTestData.js index a1316cdc35b..b2e38356c33 100644 --- a/experimental/PropertyDDS/packages/property-properties/src/test/validation/reversibleChangeSetTestData.js +++ b/experimental/PropertyDDS/packages/property-properties/src/test/validation/reversibleChangeSetTestData.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint no-trailing-spaces: 0 */ /* eslint comma-spacing: 0 */ /* eslint quotes: 0 */ diff --git a/experimental/PropertyDDS/packages/property-proxy/src/arrayProxyHandler.ts b/experimental/PropertyDDS/packages/property-proxy/src/arrayProxyHandler.ts index 81db352e056..06116d4a5da 100644 --- a/experimental/PropertyDDS/packages/property-proxy/src/arrayProxyHandler.ts +++ b/experimental/PropertyDDS/packages/property-proxy/src/arrayProxyHandler.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable no-param-reassign */ import { diff --git a/experimental/PropertyDDS/packages/property-proxy/src/componentArray.ts b/experimental/PropertyDDS/packages/property-proxy/src/componentArray.ts index e970b8d3990..e108c1db221 100644 --- a/experimental/PropertyDDS/packages/property-proxy/src/componentArray.ts +++ b/experimental/PropertyDDS/packages/property-proxy/src/componentArray.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable no-param-reassign */ import { diff --git a/experimental/PropertyDDS/packages/property-proxy/src/componentMap.ts b/experimental/PropertyDDS/packages/property-proxy/src/componentMap.ts index 6e9c3c9edd2..99c343e90a5 100644 --- a/experimental/PropertyDDS/packages/property-proxy/src/componentMap.ts +++ b/experimental/PropertyDDS/packages/property-proxy/src/componentMap.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable no-param-reassign */ import { PropertyFactory, diff --git a/experimental/PropertyDDS/packages/property-proxy/src/componentSet.ts b/experimental/PropertyDDS/packages/property-proxy/src/componentSet.ts index 0090f91db0e..d3c3db59d9d 100644 --- a/experimental/PropertyDDS/packages/property-proxy/src/componentSet.ts +++ b/experimental/PropertyDDS/packages/property-proxy/src/componentSet.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { NamedProperty, PropertyFactory, diff --git a/experimental/PropertyDDS/packages/property-proxy/src/errors.ts b/experimental/PropertyDDS/packages/property-proxy/src/errors.ts index 83446c1c2ab..b6d3c4d1140 100644 --- a/experimental/PropertyDDS/packages/property-proxy/src/errors.ts +++ b/experimental/PropertyDDS/packages/property-proxy/src/errors.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * The Object containing the PropertyProxy related errors. */ diff --git a/experimental/PropertyDDS/packages/property-proxy/src/proxyHandler.ts b/experimental/PropertyDDS/packages/property-proxy/src/proxyHandler.ts index 46752841339..42caf4707a6 100644 --- a/experimental/PropertyDDS/packages/property-proxy/src/proxyHandler.ts +++ b/experimental/PropertyDDS/packages/property-proxy/src/proxyHandler.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable no-param-reassign */ import { PropertyFactory, diff --git a/experimental/PropertyDDS/packages/property-proxy/src/test/proxify.spec.ts b/experimental/PropertyDDS/packages/property-proxy/src/test/proxify.spec.ts index 5b33610b468..69d01c7bce0 100644 --- a/experimental/PropertyDDS/packages/property-proxy/src/test/proxify.spec.ts +++ b/experimental/PropertyDDS/packages/property-proxy/src/test/proxify.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable no-prototype-builtins */ /* eslint-env jest */ import { PropertyFactory } from "@fluid-experimental/property-properties"; diff --git a/experimental/PropertyDDS/packages/property-proxy/src/utilities.ts b/experimental/PropertyDDS/packages/property-proxy/src/utilities.ts index aec461fc24c..f4460f0cca5 100644 --- a/experimental/PropertyDDS/packages/property-proxy/src/utilities.ts +++ b/experimental/PropertyDDS/packages/property-proxy/src/utilities.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable no-param-reassign */ import { PropertyFactory, diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/base_node.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/base_node.js index 3dd76cd6651..3aa5fea5756 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/base_node.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/base_node.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Base class B-Tree nodes */ diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/branch_manager.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/branch_manager.js index 2808fe366c3..28f3f98869e 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/branch_manager.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/branch_manager.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Code that is related to branch management */ diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/branch_write_queue.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/branch_write_queue.js index 93c9751d949..94cb00a5274 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/branch_write_queue.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/branch_write_queue.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const { queue: asyncQueue, retry: asyncRetry } = require("async"); const DeferredPromise = require("@fluid-experimental/property-common").DeferredPromise; const HTTPStatus = require("http-status"); diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/btree_manager.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/btree_manager.js index 9e0c540fc99..8cdd83b2292 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/btree_manager.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/btree_manager.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const _ = require("lodash"); const HTTPStatus = require("http-status"); const { ChangeSet } = require("@fluid-experimental/property-changeset"); diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/change_set_processing/chunk_change_set.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/change_set_processing/chunk_change_set.js index 6f045460b70..035d1b80c72 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/change_set_processing/chunk_change_set.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/change_set_processing/chunk_change_set.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Helper function the divides a changeSet into chunks */ diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/change_set_processing/merge_chunked_changeset.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/change_set_processing/merge_chunked_changeset.js index 1e337e6f3af..bed773a3d45 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/change_set_processing/merge_chunked_changeset.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/change_set_processing/merge_chunked_changeset.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Helper function the divides a changeSet into chunks */ diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/change_set_processing/strip_reversible_changeset.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/change_set_processing/strip_reversible_changeset.js index bf51e8938a0..62ab0249fa9 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/change_set_processing/strip_reversible_changeset.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/change_set_processing/strip_reversible_changeset.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const TypeIdHelper = require("@fluid-experimental/property-changeset").TypeIdHelper; const PropertyUtils = require("@fluid-experimental/property-changeset").Utils; const _ = require("lodash"); diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/commit_manager.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/commit_manager.js index 235158b34dc..7d943c5b83d 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/commit_manager.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/commit_manager.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint max-nested-callbacks: ["error", 5]*/ /** * @fileoverview Code that is related to commit management diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/deletion_manager.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/deletion_manager.js index 5c98c0b7513..95b81d44204 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/deletion_manager.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/deletion_manager.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const HTTPStatus = require("http-status"); const ModuleLogger = require("../utils/module_logger"); const logger = ModuleLogger.getLogger("HFDM.MaterializedHistoryService.DeletionManager"); diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/index_manager.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/index_manager.js index 5e335917bd8..6bb556a0c90 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/index_manager.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/index_manager.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const _ = require("lodash"); const asyncQueue = require("async").queue; const Joi = require("joi"); diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/internal_node.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/internal_node.js index 705498a4136..c4fb2fd03af 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/internal_node.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/internal_node.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Class that implements the logic for an internal node of the B-Tree */ diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/leaf_node.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/leaf_node.js index a759b5844cb..9bd5403c833 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/leaf_node.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/leaf_node.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Class that implements the logic for a leaf node of the B-Tree */ diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/materialized_history_service.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/materialized_history_service.js index f383cb52c47..f4d1aa784d8 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/materialized_history_service.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/materialized_history_service.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const { OperationError } = require("@fluid-experimental/property-common"); const HTTPStatus = require("http-status"); const BranchManager = require("./branch_manager"); diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/node_dependency_manager.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/node_dependency_manager.js index 79dedec3e12..8bea9f94a03 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/node_dependency_manager.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/node_dependency_manager.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Manages the execution order of node updates */ diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/comparator.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/comparator.js index 063b4dcde57..9b2a7be0c58 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/comparator.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/comparator.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const Long = require("long"); const { convertPathToChunkBoundaryFormat } = require("../change_set_processing/chunk_change_set"); diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/filtering/in_memory_by_type.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/filtering/in_memory_by_type.js index 2a251556640..f4367aa7d17 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/filtering/in_memory_by_type.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/filtering/in_memory_by_type.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const YIELD_EVERY_N = 1000; const PropertyUtils = require("@fluid-experimental/property-changeset").Utils; const PathHelper = require("@fluid-experimental/property-changeset").PathHelper; diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/filtering/in_memory_by_value.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/filtering/in_memory_by_value.js index c9cdcfef2b6..dce049757cc 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/filtering/in_memory_by_value.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/filtering/in_memory_by_value.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const YIELD_EVERY_N = 1000; const ComparatorFactory = require("../comparator"); const PropertyUtils = require("@fluid-experimental/property-changeset").Utils; diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/index_utils.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/index_utils.js index 3d424164146..8beada62236 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/index_utils.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/index_utils.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const _ = require("lodash"); const Long = require("long"); const { OperationError } = require("@fluid-experimental/property-common"); diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/multiple_queries_execution.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/multiple_queries_execution.js index 7078364f964..f675778e3f2 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/multiple_queries_execution.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/multiple_queries_execution.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const Joi = require("joi"); const OperationError = require("@fluid-experimental/property-common").OperationError; const HTTPStatus = require("http-status"); diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/mv_query_executor.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/mv_query_executor.js index aad27b0644a..9027121f089 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/mv_query_executor.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/mv_query_executor.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const SimpleQueryExecution = require("./simple_query_execution"); const MultipleQueriesExecution = require("./multiple_queries_execution"); const MockAsyncContext = require("../../utils/mock_async_context"); diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/paging/no_index_paging.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/paging/no_index_paging.js index 7c8980976b0..09d8be30abd 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/paging/no_index_paging.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/paging/no_index_paging.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const YIELD_EVERY_N = 1000; const ComparatorFactory = require("../comparator"); diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/query_v1_execution.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/query_v1_execution.js index b6e4b125288..f18f285c174 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/query_v1_execution.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/query_v1_execution.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const IndexUtils = require("./index_utils"); const FilterInMemoryByType = require("./filtering/in_memory_by_type"); const FilterInMemoryByValue = require("./filtering/in_memory_by_value"); diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/scan_traversal_utils.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/scan_traversal_utils.js index 6a32d434e30..98bbf292557 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/scan_traversal_utils.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/scan_traversal_utils.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const _ = require("lodash"); /** diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/simple_query_execution.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/simple_query_execution.js index 0d4a53c5ce3..1b60b21029d 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/simple_query_execution.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/query_pipeline/simple_query_execution.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const _ = require("lodash"); const OperationError = require("@fluid-experimental/property-common").OperationError; const HTTPStatus = require("http-status"); diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/serialization/bson.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/serialization/bson.js index ce8825a3a5b..746c28f8e0c 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/serialization/bson.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/serialization/bson.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const BSON = require("bson-ext"); const bson = new BSON([ diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/serialization/factory.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/serialization/factory.js index 6ce373297bb..274ecc46405 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/serialization/factory.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/serialization/factory.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const JSONSerializer = require("./json"); // TODO: enable bson serialization // const BSONSerializer = require('./bson'); diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/serialization/json.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/serialization/json.js index 4ab935311c0..2313fa0854b 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/serialization/json.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/serialization/json.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * JSON serializer */ diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/storage_backends/backend_factory.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/storage_backends/backend_factory.js index 19b13cb59d3..59298229352 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/storage_backends/backend_factory.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/storage_backends/backend_factory.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const InMemoryBackend = require("./in_memory"); const OperationError = require("@fluid-experimental/property-common").OperationError; const HTTPStatus = require("http-status"); diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/storage_backends/in_memory.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/storage_backends/in_memory.js index 63ee760fd69..37dfce62b08 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/storage_backends/in_memory.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/storage_backends/in_memory.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Trivial storage backend, that keeps all records in memory */ diff --git a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/storage_backends/storage_manager.js b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/storage_backends/storage_manager.js index b8a76011359..67b41aa6fdc 100644 --- a/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/storage_backends/storage_manager.js +++ b/experimental/PropertyDDS/packages/property-query/src/materialized_history_service/storage_backends/storage_manager.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Facade that implements common functionality for the storage backends * (e.g. caching and changeSet processing) diff --git a/experimental/PropertyDDS/packages/property-query/src/utils/deterministic_guid_generator.js b/experimental/PropertyDDS/packages/property-query/src/utils/deterministic_guid_generator.js index ddcef637c0d..bd45fdb464f 100644 --- a/experimental/PropertyDDS/packages/property-query/src/utils/deterministic_guid_generator.js +++ b/experimental/PropertyDDS/packages/property-query/src/utils/deterministic_guid_generator.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const { hashCombine4xUint32, uint32x4ToGUID, guidToUint32x4 } = require("@fluid-experimental/property-common").GuidUtils; diff --git a/experimental/PropertyDDS/packages/property-query/src/utils/index_key_encoder.js b/experimental/PropertyDDS/packages/property-query/src/utils/index_key_encoder.js index 5b7ae3cb39b..df4467c6680 100644 --- a/experimental/PropertyDDS/packages/property-query/src/utils/index_key_encoder.js +++ b/experimental/PropertyDDS/packages/property-query/src/utils/index_key_encoder.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const _ = require("lodash"); const Long = require("long"); const { PathHelper } = require("@fluid-experimental/property-changeset"); diff --git a/experimental/PropertyDDS/packages/property-query/src/utils/module_logger.js b/experimental/PropertyDDS/packages/property-query/src/utils/module_logger.js index 7cbc2fdf8ff..24609554c83 100644 --- a/experimental/PropertyDDS/packages/property-query/src/utils/module_logger.js +++ b/experimental/PropertyDDS/packages/property-query/src/utils/module_logger.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const debug = require("debug"); class Logger { diff --git a/experimental/PropertyDDS/packages/property-query/src/utils/node_refs.js b/experimental/PropertyDDS/packages/property-query/src/utils/node_refs.js index df735b66c4b..0752d3798be 100644 --- a/experimental/PropertyDDS/packages/property-query/src/utils/node_refs.js +++ b/experimental/PropertyDDS/packages/property-query/src/utils/node_refs.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * @fileoverview Utility Functions to process node references */ diff --git a/experimental/PropertyDDS/packages/property-query/src/utils/template_conversion.js b/experimental/PropertyDDS/packages/property-query/src/utils/template_conversion.js index e1bffe80b37..bdebb1243fc 100644 --- a/experimental/PropertyDDS/packages/property-query/src/utils/template_conversion.js +++ b/experimental/PropertyDDS/packages/property-query/src/utils/template_conversion.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const _ = require("lodash"); /** diff --git a/experimental/PropertyDDS/packages/property-query/test/get_config.js b/experimental/PropertyDDS/packages/property-query/test/get_config.js index 4f83f6a2d47..5afe52bed1a 100644 --- a/experimental/PropertyDDS/packages/property-query/test/get_config.js +++ b/experimental/PropertyDDS/packages/property-query/test/get_config.js @@ -1,10 +1,4 @@ #!/usr/bin/env node - -/*! - * Copyright (c) Microsoft Corporation and contributors. All rights reserved. - * Licensed under the MIT License. - */ - const fs = require("fs"); const path = require("path"); const getPort = require("get-port"); diff --git a/experimental/PropertyDDS/packages/property-query/test/setup.js b/experimental/PropertyDDS/packages/property-query/test/setup.js index 66b17a9262d..ca12bbff230 100644 --- a/experimental/PropertyDDS/packages/property-query/test/setup.js +++ b/experimental/PropertyDDS/packages/property-query/test/setup.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + // Export modules to global scope as necessary (only for testing) const path = require("path"); const fs = require("fs"); diff --git a/experimental/PropertyDDS/packages/property-query/test/setup_common.js b/experimental/PropertyDDS/packages/property-query/test/setup_common.js index b40a07041c4..390ce26e3af 100644 --- a/experimental/PropertyDDS/packages/property-query/test/setup_common.js +++ b/experimental/PropertyDDS/packages/property-query/test/setup_common.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + // Export modules to global scope as necessary (only for testing) const path = require("path"); const chai = require("chai"); diff --git a/experimental/PropertyDDS/packages/property-query/test/unit/branch_manager.spec.js b/experimental/PropertyDDS/packages/property-query/test/unit/branch_manager.spec.js index 2fea1802703..681f7416a32 100644 --- a/experimental/PropertyDDS/packages/property-query/test/unit/branch_manager.spec.js +++ b/experimental/PropertyDDS/packages/property-query/test/unit/branch_manager.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const path = require("path"); const BranchManager = require("../../src/materialized_history_service/branch_manager"); const BTreeManager = require("../../src/materialized_history_service/btree_manager"); diff --git a/experimental/PropertyDDS/packages/property-query/test/unit/branch_write_queue.spec.js b/experimental/PropertyDDS/packages/property-query/test/unit/branch_write_queue.spec.js index 8cf99a76f9b..b05194786cf 100644 --- a/experimental/PropertyDDS/packages/property-query/test/unit/branch_write_queue.spec.js +++ b/experimental/PropertyDDS/packages/property-query/test/unit/branch_write_queue.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint no-unused-expressions: 0*/ const generateGUID = require("@fluid-experimental/property-common").GuidUtils.generateGUID; const HTTPStatus = require("http-status"); diff --git a/experimental/PropertyDDS/packages/property-query/test/unit/filter_in_memory_by_type.spec.js b/experimental/PropertyDDS/packages/property-query/test/unit/filter_in_memory_by_type.spec.js index 70edaa08b3b..4c9d4237d6b 100644 --- a/experimental/PropertyDDS/packages/property-query/test/unit/filter_in_memory_by_type.spec.js +++ b/experimental/PropertyDDS/packages/property-query/test/unit/filter_in_memory_by_type.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const InMemoryByType = require("../../src/materialized_history_service/query_pipeline/filtering/in_memory_by_type"); describe("In-Memory filtering by type", () => { diff --git a/experimental/PropertyDDS/packages/property-query/test/unit/idempotent_writes.spec.js b/experimental/PropertyDDS/packages/property-query/test/unit/idempotent_writes.spec.js index ed2bf2b4146..f6b333a163b 100644 --- a/experimental/PropertyDDS/packages/property-query/test/unit/idempotent_writes.spec.js +++ b/experimental/PropertyDDS/packages/property-query/test/unit/idempotent_writes.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* globals PropertyFactory */ /* eslint no-unused-expressions: 0 */ const sinon = require("sinon"); diff --git a/experimental/PropertyDDS/packages/property-query/test/unit/in_memory_by_value.spec.js b/experimental/PropertyDDS/packages/property-query/test/unit/in_memory_by_value.spec.js index c3c94b82cd6..bee9eda32a8 100644 --- a/experimental/PropertyDDS/packages/property-query/test/unit/in_memory_by_value.spec.js +++ b/experimental/PropertyDDS/packages/property-query/test/unit/in_memory_by_value.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint max-nested-callbacks: [0, 0] */ const InMemoryByValue = require("../../src/materialized_history_service/query_pipeline/filtering/in_memory_by_value"); const { OperationError } = require("@fluid-experimental/property-common"); diff --git a/experimental/PropertyDDS/packages/property-query/test/unit/index_key_encoder.spec.js b/experimental/PropertyDDS/packages/property-query/test/unit/index_key_encoder.spec.js index 8f3c53b439a..cb9351b5013 100644 --- a/experimental/PropertyDDS/packages/property-query/test/unit/index_key_encoder.spec.js +++ b/experimental/PropertyDDS/packages/property-query/test/unit/index_key_encoder.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const IndexKeyEncoder = require("../../src/utils/index_key_encoder"); describe("Index key encoder", () => { diff --git a/experimental/PropertyDDS/packages/property-query/test/unit/multiple_queries_execution.spec.js b/experimental/PropertyDDS/packages/property-query/test/unit/multiple_queries_execution.spec.js index c2329e19dfd..e661ab34fc9 100644 --- a/experimental/PropertyDDS/packages/property-query/test/unit/multiple_queries_execution.spec.js +++ b/experimental/PropertyDDS/packages/property-query/test/unit/multiple_queries_execution.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint no-unused-expressions: 0 */ const generateGUID = require("@fluid-experimental/property-common").GuidUtils.generateGUID; const MultipleQueriesExecution = require("../../src/materialized_history_service/query_pipeline/multiple_queries_execution"); diff --git a/experimental/PropertyDDS/packages/property-query/test/unit/no_index_paging.spec.js b/experimental/PropertyDDS/packages/property-query/test/unit/no_index_paging.spec.js index 14877d82239..11b52253c12 100644 --- a/experimental/PropertyDDS/packages/property-query/test/unit/no_index_paging.spec.js +++ b/experimental/PropertyDDS/packages/property-query/test/unit/no_index_paging.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const NoIndexPaging = require("../../src/materialized_history_service/query_pipeline/paging/no_index_paging"); describe("No Index Paging", () => { diff --git a/experimental/PropertyDDS/packages/property-query/test/unit/parent_failure.spec.js b/experimental/PropertyDDS/packages/property-query/test/unit/parent_failure.spec.js index 24fb95b3ae6..f3bc22887b5 100644 --- a/experimental/PropertyDDS/packages/property-query/test/unit/parent_failure.spec.js +++ b/experimental/PropertyDDS/packages/property-query/test/unit/parent_failure.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + const BranchWriteQueue = require("../../src/materialized_history_service/branch_write_queue"); const { generateGUID } = require("@fluid-experimental/property-common").GuidUtils; const InMemoryBackend = require("../../src/materialized_history_service/storage_backends/in_memory"); diff --git a/experimental/PropertyDDS/packages/property-query/test/unit/query_v1_execution.spec.js b/experimental/PropertyDDS/packages/property-query/test/unit/query_v1_execution.spec.js index 4513eb7be97..870344f537b 100644 --- a/experimental/PropertyDDS/packages/property-query/test/unit/query_v1_execution.spec.js +++ b/experimental/PropertyDDS/packages/property-query/test/unit/query_v1_execution.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint no-unused-expressions: 0 */ const generateGUID = require("@fluid-experimental/property-common").GuidUtils.generateGUID; const QueryV1Execution = require("../../src/materialized_history_service/query_pipeline/query_v1_execution"); diff --git a/experimental/PropertyDDS/packages/property-query/test/unit/shared/chunk_change_set.spec.js b/experimental/PropertyDDS/packages/property-query/test/unit/shared/chunk_change_set.spec.js index d06b7cba102..7b45cca1cb9 100644 --- a/experimental/PropertyDDS/packages/property-query/test/unit/shared/chunk_change_set.spec.js +++ b/experimental/PropertyDDS/packages/property-query/test/unit/shared/chunk_change_set.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* globals PropertyFactory */ /* eslint no-unused-expressions: 0 */ diff --git a/experimental/PropertyDDS/packages/property-query/test/unit/shared/leaf_splitting_and_merging.spec.js b/experimental/PropertyDDS/packages/property-query/test/unit/shared/leaf_splitting_and_merging.spec.js index d65ff10e535..7dfad1f6794 100644 --- a/experimental/PropertyDDS/packages/property-query/test/unit/shared/leaf_splitting_and_merging.spec.js +++ b/experimental/PropertyDDS/packages/property-query/test/unit/shared/leaf_splitting_and_merging.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* globals PropertyFactory */ /* eslint no-unused-expressions: 0 */ diff --git a/experimental/PropertyDDS/packages/property-query/test/unit/storage_manager.spec.js b/experimental/PropertyDDS/packages/property-query/test/unit/storage_manager.spec.js index a06affb4fe2..dc71d382676 100644 --- a/experimental/PropertyDDS/packages/property-query/test/unit/storage_manager.spec.js +++ b/experimental/PropertyDDS/packages/property-query/test/unit/storage_manager.spec.js @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint no-unused-expressions: 0 */ const sinon = require("sinon"); const sandbox = sinon.createSandbox(); diff --git a/experimental/dds/sequence-deprecated/src/test/sharedNumberSequence.spec.ts b/experimental/dds/sequence-deprecated/src/test/sharedNumberSequence.spec.ts index 16feea93d8e..ae9b03fd639 100644 --- a/experimental/dds/sequence-deprecated/src/test/sharedNumberSequence.spec.ts +++ b/experimental/dds/sequence-deprecated/src/test/sharedNumberSequence.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { MockFluidDataStoreRuntime } from "@fluidframework/test-runtime-utils"; import { SharedNumberSequence } from "../sharedNumberSequence.js"; diff --git a/experimental/dds/sequence-deprecated/src/test/sharedObjectSequence.spec.ts b/experimental/dds/sequence-deprecated/src/test/sharedObjectSequence.spec.ts index cdce9bc9880..5ebcfd361a8 100644 --- a/experimental/dds/sequence-deprecated/src/test/sharedObjectSequence.spec.ts +++ b/experimental/dds/sequence-deprecated/src/test/sharedObjectSequence.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { IFluidHandle } from "@fluidframework/core-interfaces"; import { IGCTestProvider, runGCTests } from "@fluid-private/test-dds-utils"; diff --git a/experimental/dds/tree/src/TreeCompressor.ts b/experimental/dds/tree/src/TreeCompressor.ts index 7a9c67ff0a6..36cc3363efc 100644 --- a/experimental/dds/tree/src/TreeCompressor.ts +++ b/experimental/dds/tree/src/TreeCompressor.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert } from '@fluidframework/core-utils'; import { isDetachedSequenceId } from './Identifiers.js'; import type { Definition, DetachedSequenceId, InternedStringId, OpSpaceNodeId, TraitLabel } from './Identifiers.js'; diff --git a/experimental/dds/tree/src/migration-shim/migrationShim.ts b/experimental/dds/tree/src/migration-shim/migrationShim.ts index 330b607be37..d4e8d9ae13b 100644 --- a/experimental/dds/tree/src/migration-shim/migrationShim.ts +++ b/experimental/dds/tree/src/migration-shim/migrationShim.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { AttachState } from '@fluidframework/container-definitions'; import { type IEvent, type IFluidHandle, type IFluidLoadable } from '@fluidframework/core-interfaces'; import { diff --git a/experimental/dds/tree/src/migration-shim/packageVersion.ts b/experimental/dds/tree/src/migration-shim/packageVersion.ts index ffb166ac028..7d0038adf59 100644 --- a/experimental/dds/tree/src/migration-shim/packageVersion.ts +++ b/experimental/dds/tree/src/migration-shim/packageVersion.ts @@ -1,8 +1,6 @@ /*! * 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 */ export const pkgName = '@fluid-experimental/migration-shim'; diff --git a/experimental/dds/tree/src/migration-shim/sharedTreeShim.ts b/experimental/dds/tree/src/migration-shim/sharedTreeShim.ts index 7496d5c7e16..57d91cfa57e 100644 --- a/experimental/dds/tree/src/migration-shim/sharedTreeShim.ts +++ b/experimental/dds/tree/src/migration-shim/sharedTreeShim.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { type IFluidHandle, type IFluidLoadable } from '@fluidframework/core-interfaces'; import { type IChannelFactory, diff --git a/experimental/dds/tree/src/test/Summary.tests.ts b/experimental/dds/tree/src/test/Summary.tests.ts index c85faf25fa7..5e1be5e5bed 100644 --- a/experimental/dds/tree/src/test/Summary.tests.ts +++ b/experimental/dds/tree/src/test/Summary.tests.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as fs from 'fs'; import { join } from 'path'; import { expect, assert } from 'chai'; diff --git a/experimental/framework/last-edited/src/index.ts b/experimental/framework/last-edited/src/index.ts index 53bf197c07a..510a7ed689a 100644 --- a/experimental/framework/last-edited/src/index.ts +++ b/experimental/framework/last-edited/src/index.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + export { IFluidLastEditedTracker, ILastEditDetails, diff --git a/packages/common/client-utils/src/test/mocha/typedEventEmitter.spec.ts b/packages/common/client-utils/src/test/mocha/typedEventEmitter.spec.ts index bb887709838..092ea4f63d3 100644 --- a/packages/common/client-utils/src/test/mocha/typedEventEmitter.spec.ts +++ b/packages/common/client-utils/src/test/mocha/typedEventEmitter.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { IErrorEvent } from "@fluidframework/core-interfaces"; import { TypedEventEmitter } from "../../typedEventEmitter.js"; diff --git a/packages/common/driver-definitions/src/urlResolver.ts b/packages/common/driver-definitions/src/urlResolver.ts index 5dd0cea30cd..d871f181d97 100644 --- a/packages/common/driver-definitions/src/urlResolver.ts +++ b/packages/common/driver-definitions/src/urlResolver.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import type { IRequest } from "@fluidframework/core-interfaces"; /** diff --git a/packages/dds/merge-tree/src/mergeTreeDeltaCallback.ts b/packages/dds/merge-tree/src/mergeTreeDeltaCallback.ts index f635bb25ed7..c9a788a6dd5 100644 --- a/packages/dds/merge-tree/src/mergeTreeDeltaCallback.ts +++ b/packages/dds/merge-tree/src/mergeTreeDeltaCallback.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ISequencedDocumentMessage } from "@fluidframework/protocol-definitions"; // eslint-disable-next-line import/no-deprecated import { IMergeTreeGroupMsg, IMergeTreeOp, MergeTreeDeltaType } from "./ops.js"; diff --git a/packages/dds/merge-tree/src/test/client.getPosition.spec.ts b/packages/dds/merge-tree/src/test/client.getPosition.spec.ts index c6161b0f079..fe4d5fff83c 100644 --- a/packages/dds/merge-tree/src/test/client.getPosition.spec.ts +++ b/packages/dds/merge-tree/src/test/client.getPosition.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @typescript-eslint/no-non-null-assertion */ import { strict as assert } from "assert"; diff --git a/packages/dds/merge-tree/src/test/client.localReference.spec.ts b/packages/dds/merge-tree/src/test/client.localReference.spec.ts index 0787395fbbb..da10d725295 100644 --- a/packages/dds/merge-tree/src/test/client.localReference.spec.ts +++ b/packages/dds/merge-tree/src/test/client.localReference.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @typescript-eslint/no-non-null-assertion */ import { strict as assert } from "assert"; diff --git a/packages/dds/merge-tree/src/test/client.localReferenceFarm.spec.ts b/packages/dds/merge-tree/src/test/client.localReferenceFarm.spec.ts index cb10e8b7ceb..f1e32ce6bfc 100644 --- a/packages/dds/merge-tree/src/test/client.localReferenceFarm.spec.ts +++ b/packages/dds/merge-tree/src/test/client.localReferenceFarm.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @typescript-eslint/no-non-null-assertion */ import { strict as assert } from "assert"; diff --git a/packages/dds/merge-tree/src/test/client.reconnectFarm.spec.ts b/packages/dds/merge-tree/src/test/client.reconnectFarm.spec.ts index ffa65a6a1ed..bf673679cd5 100644 --- a/packages/dds/merge-tree/src/test/client.reconnectFarm.spec.ts +++ b/packages/dds/merge-tree/src/test/client.reconnectFarm.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @typescript-eslint/no-non-null-assertion */ import { strict as assert } from "assert"; diff --git a/packages/dds/merge-tree/src/test/client.replay.spec.ts b/packages/dds/merge-tree/src/test/client.replay.spec.ts index 5d43ee5e0f9..edd236103f2 100644 --- a/packages/dds/merge-tree/src/test/client.replay.spec.ts +++ b/packages/dds/merge-tree/src/test/client.replay.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @typescript-eslint/no-non-null-assertion */ import * as fs from "fs"; diff --git a/packages/dds/merge-tree/src/test/client.rollback.spec.ts b/packages/dds/merge-tree/src/test/client.rollback.spec.ts index 31bf0e38cfe..fdb7129a13a 100644 --- a/packages/dds/merge-tree/src/test/client.rollback.spec.ts +++ b/packages/dds/merge-tree/src/test/client.rollback.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @typescript-eslint/no-non-null-assertion */ import { strict as assert } from "assert"; diff --git a/packages/dds/merge-tree/src/test/mergeTree.markRangeRemoved.spec.ts b/packages/dds/merge-tree/src/test/mergeTree.markRangeRemoved.spec.ts index bc76646ba9a..1de70486814 100644 --- a/packages/dds/merge-tree/src/test/mergeTree.markRangeRemoved.spec.ts +++ b/packages/dds/merge-tree/src/test/mergeTree.markRangeRemoved.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @typescript-eslint/no-non-null-assertion */ import { strict as assert } from "assert"; diff --git a/packages/dds/merge-tree/src/test/ordinal.spec.ts b/packages/dds/merge-tree/src/test/ordinal.spec.ts index 6eaad978300..8568f6464f4 100644 --- a/packages/dds/merge-tree/src/test/ordinal.spec.ts +++ b/packages/dds/merge-tree/src/test/ordinal.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import assert from "assert"; import { computeHierarchicalOrdinal } from "../ordinal.js"; import { doOverRange } from "./mergeTreeOperationRunner.js"; diff --git a/packages/dds/merge-tree/src/test/resetPendingSegmentsToOp.spec.ts b/packages/dds/merge-tree/src/test/resetPendingSegmentsToOp.spec.ts index 0ec9fc03970..704c2507f1a 100644 --- a/packages/dds/merge-tree/src/test/resetPendingSegmentsToOp.spec.ts +++ b/packages/dds/merge-tree/src/test/resetPendingSegmentsToOp.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @typescript-eslint/no-non-null-assertion */ import { strict as assert } from "assert"; diff --git a/packages/dds/merge-tree/src/test/snapshotlegacy.spec.ts b/packages/dds/merge-tree/src/test/snapshotlegacy.spec.ts index 25f657d4573..5b0b73714fe 100644 --- a/packages/dds/merge-tree/src/test/snapshotlegacy.spec.ts +++ b/packages/dds/merge-tree/src/test/snapshotlegacy.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @typescript-eslint/no-non-null-assertion */ import { strict as assert } from "assert"; diff --git a/packages/dds/sequence/src/intervalIndex/endpointInRangeIndex.ts b/packages/dds/sequence/src/intervalIndex/endpointInRangeIndex.ts index e61a2821cfa..05c92994ec3 100644 --- a/packages/dds/sequence/src/intervalIndex/endpointInRangeIndex.ts +++ b/packages/dds/sequence/src/intervalIndex/endpointInRangeIndex.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable import/no-deprecated */ import { Client, PropertyAction, RedBlackTree } from "@fluidframework/merge-tree"; diff --git a/packages/dds/sequence/src/intervalIndex/endpointIndex.ts b/packages/dds/sequence/src/intervalIndex/endpointIndex.ts index 8d1dcf079fb..e2f05dbec15 100644 --- a/packages/dds/sequence/src/intervalIndex/endpointIndex.ts +++ b/packages/dds/sequence/src/intervalIndex/endpointIndex.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable import/no-deprecated */ import { Client, RedBlackTree } from "@fluidframework/merge-tree"; diff --git a/packages/dds/sequence/src/intervalIndex/overlappingIntervalsIndex.ts b/packages/dds/sequence/src/intervalIndex/overlappingIntervalsIndex.ts index bd8e2ee9681..b0e0bde9a02 100644 --- a/packages/dds/sequence/src/intervalIndex/overlappingIntervalsIndex.ts +++ b/packages/dds/sequence/src/intervalIndex/overlappingIntervalsIndex.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable import/no-deprecated */ import { Client } from "@fluidframework/merge-tree"; diff --git a/packages/dds/sequence/src/intervalIndex/overlappingSequenceIntervalsIndex.ts b/packages/dds/sequence/src/intervalIndex/overlappingSequenceIntervalsIndex.ts index 58a1d3a0cc8..aba36e9231e 100644 --- a/packages/dds/sequence/src/intervalIndex/overlappingSequenceIntervalsIndex.ts +++ b/packages/dds/sequence/src/intervalIndex/overlappingSequenceIntervalsIndex.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable import/no-deprecated */ import { diff --git a/packages/dds/sequence/src/intervalIndex/startpointInRangeIndex.ts b/packages/dds/sequence/src/intervalIndex/startpointInRangeIndex.ts index 8a3a01d4305..6cdf50844e7 100644 --- a/packages/dds/sequence/src/intervalIndex/startpointInRangeIndex.ts +++ b/packages/dds/sequence/src/intervalIndex/startpointInRangeIndex.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable import/no-deprecated */ import { Client, PropertyAction, RedBlackTree } from "@fluidframework/merge-tree"; diff --git a/packages/dds/sequence/src/intervals/interval.ts b/packages/dds/sequence/src/intervals/interval.ts index f6121654396..c7d777fe860 100644 --- a/packages/dds/sequence/src/intervals/interval.ts +++ b/packages/dds/sequence/src/intervals/interval.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable import/no-deprecated */ import { diff --git a/packages/dds/sequence/src/test/fuzz/fuzzUtils.ts b/packages/dds/sequence/src/test/fuzz/fuzzUtils.ts index 1c1b16e78c7..e26084124c5 100644 --- a/packages/dds/sequence/src/test/fuzz/fuzzUtils.ts +++ b/packages/dds/sequence/src/test/fuzz/fuzzUtils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import * as path from "path"; import { strict as assert } from "assert"; import { diff --git a/packages/dds/sequence/src/test/intervalCollection.snapshot.spec.ts b/packages/dds/sequence/src/test/intervalCollection.snapshot.spec.ts index 9c84c4809be..f805fff3530 100644 --- a/packages/dds/sequence/src/test/intervalCollection.snapshot.spec.ts +++ b/packages/dds/sequence/src/test/intervalCollection.snapshot.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { ReferenceType, SlidingPreference } from "@fluidframework/merge-tree"; import { diff --git a/packages/dds/sequence/src/test/intervalIndexTestUtils.ts b/packages/dds/sequence/src/test/intervalIndexTestUtils.ts index 99b4427a291..7365f60df68 100644 --- a/packages/dds/sequence/src/test/intervalIndexTestUtils.ts +++ b/packages/dds/sequence/src/test/intervalIndexTestUtils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { v4 as uuid } from "uuid"; import { IRandom } from "@fluid-private/stochastic-test-utils"; diff --git a/packages/dds/sequence/src/test/intervalStashedOps.spec.ts b/packages/dds/sequence/src/test/intervalStashedOps.spec.ts index 7fad52a9e93..92ea6c5760f 100644 --- a/packages/dds/sequence/src/test/intervalStashedOps.spec.ts +++ b/packages/dds/sequence/src/test/intervalStashedOps.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @typescript-eslint/dot-notation */ import { strict as assert } from "assert"; diff --git a/packages/dds/sequence/src/test/sharedIntervalCollection.spec.ts b/packages/dds/sequence/src/test/sharedIntervalCollection.spec.ts index 537dd3fba83..2183322ecf4 100644 --- a/packages/dds/sequence/src/test/sharedIntervalCollection.spec.ts +++ b/packages/dds/sequence/src/test/sharedIntervalCollection.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { MockContainerRuntime, diff --git a/packages/dds/test-dds-utils/src/test/ddsFuzzHarness.spec.ts b/packages/dds/test-dds-utils/src/test/ddsFuzzHarness.spec.ts index f549ae37312..0b0d4ee30a4 100644 --- a/packages/dds/test-dds-utils/src/test/ddsFuzzHarness.spec.ts +++ b/packages/dds/test-dds-utils/src/test/ddsFuzzHarness.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import * as fs from "node:fs"; import * as path from "node:path"; diff --git a/packages/dds/test-dds-utils/src/test/ddsSuiteCases/replay.ts b/packages/dds/test-dds-utils/src/test/ddsSuiteCases/replay.ts index 1899c094fcb..7a4a25fe9b0 100644 --- a/packages/dds/test-dds-utils/src/test/ddsSuiteCases/replay.ts +++ b/packages/dds/test-dds-utils/src/test/ddsSuiteCases/replay.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import * as path from "node:path"; diff --git a/packages/dds/test-dds-utils/src/test/sharedNothing.ts b/packages/dds/test-dds-utils/src/test/sharedNothing.ts index 2309014bdaa..884b6c68bdd 100644 --- a/packages/dds/test-dds-utils/src/test/sharedNothing.ts +++ b/packages/dds/test-dds-utils/src/test/sharedNothing.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { SummaryTreeBuilder } from "@fluidframework/runtime-utils"; import { SharedObject } from "@fluidframework/shared-object-base"; import type { diff --git a/packages/dds/tree/src/codec/discriminatedUnions.ts b/packages/dds/tree/src/codec/discriminatedUnions.ts index 01be000f89d..e73ed811f95 100644 --- a/packages/dds/tree/src/codec/discriminatedUnions.ts +++ b/packages/dds/tree/src/codec/discriminatedUnions.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ObjectOptions } from "@sinclair/typebox"; import { assert } from "@fluidframework/core-utils"; import { _InlineTrick, fail, objectToMap } from "../util/index.js"; diff --git a/packages/dds/tree/src/codec/index.ts b/packages/dds/tree/src/codec/index.ts index 4937765a7a6..61adaa5011a 100644 --- a/packages/dds/tree/src/codec/index.ts +++ b/packages/dds/tree/src/codec/index.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + export { IBinaryCodec, ICodecFamily, diff --git a/packages/dds/tree/src/core/tree/visitDelta.ts b/packages/dds/tree/src/core/tree/visitDelta.ts index 3b5b934d728..77d7d4b8710 100644 --- a/packages/dds/tree/src/core/tree/visitDelta.ts +++ b/packages/dds/tree/src/core/tree/visitDelta.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert } from "@fluidframework/core-utils"; import { FieldKey } from "../schema-stored/index.js"; diff --git a/packages/dds/tree/src/core/tree/visitPath.ts b/packages/dds/tree/src/core/tree/visitPath.ts index 0716a3719cf..b20d0a90abf 100644 --- a/packages/dds/tree/src/core/tree/visitPath.ts +++ b/packages/dds/tree/src/core/tree/visitPath.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { DetachedPlaceUpPath, DetachedRangeUpPath, diff --git a/packages/dds/tree/src/feature-libraries/multiplicity.ts b/packages/dds/tree/src/feature-libraries/multiplicity.ts index 2b37beca4e9..5b5d18c7967 100644 --- a/packages/dds/tree/src/feature-libraries/multiplicity.ts +++ b/packages/dds/tree/src/feature-libraries/multiplicity.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /** * Describes how a particular field functions. * diff --git a/packages/dds/tree/src/shared-tree-core/branch.ts b/packages/dds/tree/src/shared-tree-core/branch.ts index 69e82d70e4e..ee927f05c7a 100644 --- a/packages/dds/tree/src/shared-tree-core/branch.ts +++ b/packages/dds/tree/src/shared-tree-core/branch.ts @@ -409,11 +409,11 @@ export class SharedTreeBranch exten const getRevertible = () => { assert( withinEventContext, - "cannot get a revertible outside of the context of a commitApplied event", + 0x902 /* cannot get a revertible outside of the context of a commitApplied event */, ); assert( this._revertibleCommits.get(revision) === undefined, - "cannot get the revertible more than once", + 0x903 /* cannot get the revertible more than once */, ); const revertibleCommits = this._revertibleCommits; @@ -427,7 +427,7 @@ export class SharedTreeBranch exten revert: () => { assert( revertible.status === RevertibleStatus.Valid, - "a disposed revertible cannot be reverted", + 0x904 /* a disposed revertible cannot be reverted */, ); this.revertRevertible(revision, data.kind); }, @@ -435,7 +435,7 @@ export class SharedTreeBranch exten dispose: () => { assert( revertible.status === RevertibleStatus.Valid, - "a disposed revertible cannot be reverted", + 0x905 /* a disposed revertible cannot be reverted */, ); this.disposeRevertible(revertible, revision); }, diff --git a/packages/dds/tree/src/shared-tree-core/index.ts b/packages/dds/tree/src/shared-tree-core/index.ts index 0b0a5cc1b7c..5c8123e53bd 100644 --- a/packages/dds/tree/src/shared-tree-core/index.ts +++ b/packages/dds/tree/src/shared-tree-core/index.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + export { onForkTransitive, SharedTreeBranch, diff --git a/packages/dds/tree/src/shared-tree/schematizingTreeView.ts b/packages/dds/tree/src/shared-tree/schematizingTreeView.ts index 7c1dbff6904..cb5f1baf33e 100644 --- a/packages/dds/tree/src/shared-tree/schematizingTreeView.ts +++ b/packages/dds/tree/src/shared-tree/schematizingTreeView.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert, unreachableCase } from "@fluidframework/core-utils"; import { UsageError } from "@fluidframework/telemetry-utils"; import { FieldKey, AllowedUpdateType, anchorSlot, Compatibility } from "../core/index.js"; diff --git a/packages/dds/tree/src/shared-tree/treeApi.ts b/packages/dds/tree/src/shared-tree/treeApi.ts index 0252e31a419..1c59ecd3a01 100644 --- a/packages/dds/tree/src/shared-tree/treeApi.ts +++ b/packages/dds/tree/src/shared-tree/treeApi.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert } from "@fluidframework/core-utils"; import { fail } from "../util/index.js"; import { Context } from "../feature-libraries/index.js"; diff --git a/packages/dds/tree/src/shared-tree/treeCheckout.ts b/packages/dds/tree/src/shared-tree/treeCheckout.ts index c983c966eb3..5cdf27a021b 100644 --- a/packages/dds/tree/src/shared-tree/treeCheckout.ts +++ b/packages/dds/tree/src/shared-tree/treeCheckout.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert } from "@fluidframework/core-utils"; import { IIdCompressor } from "@fluidframework/id-compressor"; import { diff --git a/packages/dds/tree/src/simple-tree/toFlexSchema.ts b/packages/dds/tree/src/simple-tree/toFlexSchema.ts index 35170a2a249..479dfcd18fb 100644 --- a/packages/dds/tree/src/simple-tree/toFlexSchema.ts +++ b/packages/dds/tree/src/simple-tree/toFlexSchema.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable import/no-internal-modules */ import { assert, unreachableCase } from "@fluidframework/core-utils"; import { diff --git a/packages/dds/tree/src/simple-tree/toMapTree.ts b/packages/dds/tree/src/simple-tree/toMapTree.ts index 0be18d1823d..3525b799ec8 100644 --- a/packages/dds/tree/src/simple-tree/toMapTree.ts +++ b/packages/dds/tree/src/simple-tree/toMapTree.ts @@ -416,7 +416,7 @@ function shallowCompatibilityTest( throw Error("Expected inserted value to be a map"); } - assert(schema instanceof FlexObjectNodeSchema, "Expected object schema"); + assert(schema instanceof FlexObjectNodeSchema, 0x906 /* Expected object schema */); // TODO: Improve type inference by making this logic more thorough. Handle at least: // * Types which are strict subsets of other types in the same polymorphic union diff --git a/packages/dds/tree/src/test/feature-libraries/chunked-forest/chunkEncodingEndToEnd.ts b/packages/dds/tree/src/test/feature-libraries/chunked-forest/chunkEncodingEndToEnd.ts index 31d1b252adc..4c891083101 100644 --- a/packages/dds/tree/src/test/feature-libraries/chunked-forest/chunkEncodingEndToEnd.ts +++ b/packages/dds/tree/src/test/feature-libraries/chunked-forest/chunkEncodingEndToEnd.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { SessionId, createIdCompressor } from "@fluidframework/id-compressor"; import { diff --git a/packages/dds/tree/src/test/feature-libraries/flex-tree/events.spec.ts b/packages/dds/tree/src/test/feature-libraries/flex-tree/events.spec.ts index 8d7a3770942..50d274b6328 100644 --- a/packages/dds/tree/src/test/feature-libraries/flex-tree/events.spec.ts +++ b/packages/dds/tree/src/test/feature-libraries/flex-tree/events.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { FieldKinds } from "../../../feature-libraries/index.js"; diff --git a/packages/dds/tree/src/test/scalableTestTrees.ts b/packages/dds/tree/src/test/scalableTestTrees.ts index 91ae00860b6..7ce8229ec01 100644 --- a/packages/dds/tree/src/test/scalableTestTrees.ts +++ b/packages/dds/tree/src/test/scalableTestTrees.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { FieldKinds, diff --git a/packages/dds/tree/src/test/shared-tree-core/message.spec.ts b/packages/dds/tree/src/test/shared-tree-core/message.spec.ts index 12935821926..ed5ff232bd3 100644 --- a/packages/dds/tree/src/test/shared-tree-core/message.spec.ts +++ b/packages/dds/tree/src/test/shared-tree-core/message.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { makeCodecFamily } from "../../codec/index.js"; import { typeboxValidator } from "../../external-utilities/index.js"; // eslint-disable-next-line import/no-internal-modules diff --git a/packages/dds/tree/src/test/shared-tree-core/sharedTreeCore.spec.ts b/packages/dds/tree/src/test/shared-tree-core/sharedTreeCore.spec.ts index bec5fe23a8a..e7e4194a5ee 100644 --- a/packages/dds/tree/src/test/shared-tree-core/sharedTreeCore.spec.ts +++ b/packages/dds/tree/src/test/shared-tree-core/sharedTreeCore.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { createIdCompressor } from "@fluidframework/id-compressor"; import { IEvent } from "@fluidframework/core-interfaces"; diff --git a/packages/dds/tree/src/test/shared-tree-core/utils.ts b/packages/dds/tree/src/test/shared-tree-core/utils.ts index 4a05ac981cf..c91fd1b60cf 100644 --- a/packages/dds/tree/src/test/shared-tree-core/utils.ts +++ b/packages/dds/tree/src/test/shared-tree-core/utils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { IChannelAttributes, IFluidDataStoreRuntime } from "@fluidframework/datastore-definitions"; import { MockFluidDataStoreRuntime } from "@fluidframework/test-runtime-utils"; import { SharedTreeBranch, SharedTreeCore, Summarizable } from "../../shared-tree-core/index.js"; diff --git a/packages/dds/tree/src/test/shared-tree/editing.spec.ts b/packages/dds/tree/src/test/shared-tree/editing.spec.ts index ed0f29b6ed6..8584d989284 100644 --- a/packages/dds/tree/src/test/shared-tree/editing.spec.ts +++ b/packages/dds/tree/src/test/shared-tree/editing.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { unreachableCase } from "@fluidframework/core-utils"; diff --git a/packages/dds/tree/src/test/shared-tree/fuzz/anchorStability.fuzz.spec.ts b/packages/dds/tree/src/test/shared-tree/fuzz/anchorStability.fuzz.spec.ts index b351c2e93ab..f76b550c2b1 100644 --- a/packages/dds/tree/src/test/shared-tree/fuzz/anchorStability.fuzz.spec.ts +++ b/packages/dds/tree/src/test/shared-tree/fuzz/anchorStability.fuzz.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { takeAsync } from "@fluid-private/stochastic-test-utils"; import { diff --git a/packages/dds/tree/src/test/shared-tree/fuzz/composeVsIndividual.fuzz.spec.ts b/packages/dds/tree/src/test/shared-tree/fuzz/composeVsIndividual.fuzz.spec.ts index ff3556ae251..f93cc818eaa 100644 --- a/packages/dds/tree/src/test/shared-tree/fuzz/composeVsIndividual.fuzz.spec.ts +++ b/packages/dds/tree/src/test/shared-tree/fuzz/composeVsIndividual.fuzz.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { AsyncGenerator, diff --git a/packages/dds/tree/src/test/shared-tree/fuzz/fuzzEditGenerators.ts b/packages/dds/tree/src/test/shared-tree/fuzz/fuzzEditGenerators.ts index 9323ca80844..fb19c137789 100644 --- a/packages/dds/tree/src/test/shared-tree/fuzz/fuzzEditGenerators.ts +++ b/packages/dds/tree/src/test/shared-tree/fuzz/fuzzEditGenerators.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { AsyncGenerator, diff --git a/packages/dds/tree/src/test/shared-tree/fuzz/fuzzUtils.ts b/packages/dds/tree/src/test/shared-tree/fuzz/fuzzUtils.ts index e70df62fbb3..6e46ae0ed28 100644 --- a/packages/dds/tree/src/test/shared-tree/fuzz/fuzzUtils.ts +++ b/packages/dds/tree/src/test/shared-tree/fuzz/fuzzUtils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { join as pathJoin } from "path"; import { makeRandom } from "@fluid-private/stochastic-test-utils"; diff --git a/packages/dds/tree/src/test/shared-tree/fuzz/topLevel.fuzz.spec.ts b/packages/dds/tree/src/test/shared-tree/fuzz/topLevel.fuzz.spec.ts index 5d6b1d993a7..c07dcc31abb 100644 --- a/packages/dds/tree/src/test/shared-tree/fuzz/topLevel.fuzz.spec.ts +++ b/packages/dds/tree/src/test/shared-tree/fuzz/topLevel.fuzz.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { takeAsync } from "@fluid-private/stochastic-test-utils"; import { DDSFuzzModel, diff --git a/packages/dds/tree/src/test/shared-tree/opSize.bench.ts b/packages/dds/tree/src/test/shared-tree/opSize.bench.ts index 999b7c585ea..f294a199f7c 100644 --- a/packages/dds/tree/src/test/shared-tree/opSize.bench.ts +++ b/packages/dds/tree/src/test/shared-tree/opSize.bench.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert, fail } from "assert"; import Table from "easy-table"; import { isInPerformanceTestingMode } from "@fluid-tools/benchmark"; diff --git a/packages/dds/tree/src/test/shared-tree/sharedTree.bench.ts b/packages/dds/tree/src/test/shared-tree/sharedTree.bench.ts index 4fae941b938..69dde882774 100644 --- a/packages/dds/tree/src/test/shared-tree/sharedTree.bench.ts +++ b/packages/dds/tree/src/test/shared-tree/sharedTree.bench.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { benchmark, diff --git a/packages/dds/tree/src/test/shared-tree/sharedTree.spec.ts b/packages/dds/tree/src/test/shared-tree/sharedTree.spec.ts index 6dfb65f65e4..feec84d8708 100644 --- a/packages/dds/tree/src/test/shared-tree/sharedTree.spec.ts +++ b/packages/dds/tree/src/test/shared-tree/sharedTree.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { createIdCompressor } from "@fluidframework/id-compressor"; import { diff --git a/packages/dds/tree/src/test/shared-tree/treeApi.spec.ts b/packages/dds/tree/src/test/shared-tree/treeApi.spec.ts index 54610fd02d3..d9526a3e7a5 100644 --- a/packages/dds/tree/src/test/shared-tree/treeApi.spec.ts +++ b/packages/dds/tree/src/test/shared-tree/treeApi.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { CheckoutFlexTreeView, Tree } from "../../shared-tree/index.js"; import { SchemaFactory, TreeConfiguration } from "../../simple-tree/index.js"; diff --git a/packages/dds/tree/src/test/shared-tree/treeCheckout.spec.ts b/packages/dds/tree/src/test/shared-tree/treeCheckout.spec.ts index cd50c9f27fa..4baa736bd7c 100644 --- a/packages/dds/tree/src/test/shared-tree/treeCheckout.spec.ts +++ b/packages/dds/tree/src/test/shared-tree/treeCheckout.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert, fail } from "assert"; import { validateAssertionError } from "@fluidframework/test-runtime-utils"; import { ITreeCheckout, TreeContent } from "../../shared-tree/index.js"; diff --git a/packages/dds/tree/src/test/shared-tree/treeView.spec.ts b/packages/dds/tree/src/test/shared-tree/treeView.spec.ts index 000c8e0baa3..a75c95423fa 100644 --- a/packages/dds/tree/src/test/shared-tree/treeView.spec.ts +++ b/packages/dds/tree/src/test/shared-tree/treeView.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { emptyStringSequenceConfig, flexTreeViewWithContent } from "../utils.js"; diff --git a/packages/dds/tree/src/test/shared-tree/undo.spec.ts b/packages/dds/tree/src/test/shared-tree/undo.spec.ts index 30a9b225551..36b78a8e385 100644 --- a/packages/dds/tree/src/test/shared-tree/undo.spec.ts +++ b/packages/dds/tree/src/test/shared-tree/undo.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { singleJsonCursor } from "../../domains/index.js"; import { rootFieldKey, UpPath } from "../../core/index.js"; import { ITreeCheckout } from "../../shared-tree/index.js"; diff --git a/packages/drivers/local-driver/src/localSessionStorageDb.ts b/packages/drivers/local-driver/src/localSessionStorageDb.ts index eaac9e0017e..7abfe3c05cf 100644 --- a/packages/drivers/local-driver/src/localSessionStorageDb.ts +++ b/packages/drivers/local-driver/src/localSessionStorageDb.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { EventEmitter } from "@fluid-internal/client-utils"; import { ICollection, IDb } from "@fluidframework/server-services-core"; import { ITestDbFactory } from "@fluidframework/server-test-utils"; diff --git a/packages/drivers/odsp-driver-definitions/src/errors.ts b/packages/drivers/odsp-driver-definitions/src/errors.ts index 4223f7d0192..9107ced92ae 100644 --- a/packages/drivers/odsp-driver-definitions/src/errors.ts +++ b/packages/drivers/odsp-driver-definitions/src/errors.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { DriverError, IDriverErrorBase, diff --git a/packages/drivers/odsp-driver/src/createOdspCreateContainerRequest.ts b/packages/drivers/odsp-driver/src/createOdspCreateContainerRequest.ts index dfbaee8dd50..1e7b9d11ada 100644 --- a/packages/drivers/odsp-driver/src/createOdspCreateContainerRequest.ts +++ b/packages/drivers/odsp-driver/src/createOdspCreateContainerRequest.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { IRequest } from "@fluidframework/core-interfaces"; import { DriverHeader } from "@fluidframework/driver-definitions"; import { ISharingLinkKind } from "@fluidframework/odsp-driver-definitions"; diff --git a/packages/drivers/odsp-driver/src/getQueryString.ts b/packages/drivers/odsp-driver/src/getQueryString.ts index 3470d21ae9b..f36bf10ea50 100644 --- a/packages/drivers/odsp-driver/src/getQueryString.ts +++ b/packages/drivers/odsp-driver/src/getQueryString.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ISnapshotOptions } from "@fluidframework/odsp-driver-definitions"; /** diff --git a/packages/drivers/odsp-driver/src/odspCache.ts b/packages/drivers/odsp-driver/src/odspCache.ts index 63dc7a56dfd..486c587bef9 100644 --- a/packages/drivers/odsp-driver/src/odspCache.ts +++ b/packages/drivers/odsp-driver/src/odspCache.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { PromiseCache } from "@fluidframework/core-utils"; import { IOdspResolvedUrl, diff --git a/packages/drivers/odsp-driver/src/odspDriverUrlResolver.ts b/packages/drivers/odsp-driver/src/odspDriverUrlResolver.ts index 249581607e2..79d97e0f901 100644 --- a/packages/drivers/odsp-driver/src/odspDriverUrlResolver.ts +++ b/packages/drivers/odsp-driver/src/odspDriverUrlResolver.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert } from "@fluidframework/core-utils"; import { IRequest } from "@fluidframework/core-interfaces"; import { diff --git a/packages/drivers/odsp-driver/src/odspDriverUrlResolverForShareLink.ts b/packages/drivers/odsp-driver/src/odspDriverUrlResolverForShareLink.ts index eb0bb1527d8..d5cc66ce084 100644 --- a/packages/drivers/odsp-driver/src/odspDriverUrlResolverForShareLink.ts +++ b/packages/drivers/odsp-driver/src/odspDriverUrlResolverForShareLink.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { PromiseCache } from "@fluidframework/core-utils"; import { ITelemetryBaseLogger, IRequest } from "@fluidframework/core-interfaces"; import { diff --git a/packages/drivers/odsp-driver/src/test/odspDriverResolverTest.spec.ts b/packages/drivers/odsp-driver/src/test/odspDriverResolverTest.spec.ts index c2badce99fe..544bd428df0 100644 --- a/packages/drivers/odsp-driver/src/test/odspDriverResolverTest.spec.ts +++ b/packages/drivers/odsp-driver/src/test/odspDriverResolverTest.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { DriverHeader } from "@fluidframework/driver-definitions"; import { IRequest } from "@fluidframework/core-interfaces"; diff --git a/packages/drivers/odsp-driver/src/test/opsCaching.spec.ts b/packages/drivers/odsp-driver/src/test/opsCaching.spec.ts index 141af3f4e31..50e1edf274a 100644 --- a/packages/drivers/odsp-driver/src/test/opsCaching.spec.ts +++ b/packages/drivers/odsp-driver/src/test/opsCaching.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { MockLogger } from "@fluidframework/telemetry-utils"; import { ISequencedDocumentMessage } from "@fluidframework/protocol-definitions"; diff --git a/packages/framework/attributor/src/attributor.ts b/packages/framework/attributor/src/attributor.ts index a80772b54e2..9d9f7320c2e 100644 --- a/packages/framework/attributor/src/attributor.ts +++ b/packages/framework/attributor/src/attributor.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert } from "@fluidframework/core-utils"; import { type IDocumentMessage, diff --git a/packages/framework/attributor/src/encoders.ts b/packages/framework/attributor/src/encoders.ts index 1604ad79c37..222d2d8f17a 100644 --- a/packages/framework/attributor/src/encoders.ts +++ b/packages/framework/attributor/src/encoders.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert } from "@fluidframework/core-utils"; import { type IUser } from "@fluidframework/protocol-definitions"; import { type AttributionInfo } from "@fluidframework/runtime-definitions"; diff --git a/packages/framework/attributor/src/index.ts b/packages/framework/attributor/src/index.ts index 22fae33a1c3..559e28cc7eb 100644 --- a/packages/framework/attributor/src/index.ts +++ b/packages/framework/attributor/src/index.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + export { Attributor, type IAttributor, OpStreamAttributor } from "./attributor.js"; export { createRuntimeAttributor, diff --git a/packages/framework/attributor/src/lz4Encoder.ts b/packages/framework/attributor/src/lz4Encoder.ts index 5802201d861..29487c70870 100644 --- a/packages/framework/attributor/src/lz4Encoder.ts +++ b/packages/framework/attributor/src/lz4Encoder.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { compress, decompress } from "lz4js"; import { bufferToString, stringToBuffer } from "@fluid-internal/client-utils"; import { type Jsonable } from "@fluidframework/datastore-definitions"; diff --git a/packages/framework/attributor/src/mixinAttributor.ts b/packages/framework/attributor/src/mixinAttributor.ts index 1669adafc3a..348b1c45fd6 100644 --- a/packages/framework/attributor/src/mixinAttributor.ts +++ b/packages/framework/attributor/src/mixinAttributor.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { type IDocumentMessage, type ISequencedDocumentMessage, diff --git a/packages/framework/attributor/src/test/attributor.spec.ts b/packages/framework/attributor/src/test/attributor.spec.ts index 89fd4d9a4a4..672cfc9e80f 100644 --- a/packages/framework/attributor/src/test/attributor.spec.ts +++ b/packages/framework/attributor/src/test/attributor.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { type IUser } from "@fluidframework/protocol-definitions"; import { type AttributionInfo } from "@fluidframework/runtime-definitions"; diff --git a/packages/framework/attributor/src/test/attributorSerializer.spec.ts b/packages/framework/attributor/src/test/attributorSerializer.spec.ts index 64a0352d6d9..bec4783c2cc 100644 --- a/packages/framework/attributor/src/test/attributorSerializer.spec.ts +++ b/packages/framework/attributor/src/test/attributorSerializer.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { type AttributionInfo } from "@fluidframework/runtime-definitions"; diff --git a/packages/framework/attributor/src/test/deltaEncoder.spec.ts b/packages/framework/attributor/src/test/deltaEncoder.spec.ts index 63b209e2b50..fe6b46c39a2 100644 --- a/packages/framework/attributor/src/test/deltaEncoder.spec.ts +++ b/packages/framework/attributor/src/test/deltaEncoder.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { deltaEncoder } from "../encoders.js"; diff --git a/packages/framework/attributor/src/test/lz4Encoder.spec.ts b/packages/framework/attributor/src/test/lz4Encoder.spec.ts index ac0bbe6f363..3557d937b42 100644 --- a/packages/framework/attributor/src/test/lz4Encoder.spec.ts +++ b/packages/framework/attributor/src/test/lz4Encoder.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { type JsonableTypeWith } from "@fluidframework/datastore-definitions"; diff --git a/packages/framework/attributor/src/test/opStreamAttributor.spec.ts b/packages/framework/attributor/src/test/opStreamAttributor.spec.ts index 95e708264a9..1a6c4f6e1ce 100644 --- a/packages/framework/attributor/src/test/opStreamAttributor.spec.ts +++ b/packages/framework/attributor/src/test/opStreamAttributor.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { type ISequencedDocumentMessage } from "@fluidframework/protocol-definitions"; import { MockDeltaManager } from "@fluidframework/test-runtime-utils"; diff --git a/packages/framework/attributor/src/test/utils.ts b/packages/framework/attributor/src/test/utils.ts index 019ce3e94f8..3a6eb4ac25c 100644 --- a/packages/framework/attributor/src/test/utils.ts +++ b/packages/framework/attributor/src/test/utils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { type IClient } from "@fluidframework/protocol-definitions"; import { type IAudience } from "@fluidframework/container-definitions"; diff --git a/packages/framework/client-logger/app-insights-logger/src/test/fluidAppInsightsLogger.spec.ts b/packages/framework/client-logger/app-insights-logger/src/test/fluidAppInsightsLogger.spec.ts index 33a0d115dd2..9e844416dc7 100644 --- a/packages/framework/client-logger/app-insights-logger/src/test/fluidAppInsightsLogger.spec.ts +++ b/packages/framework/client-logger/app-insights-logger/src/test/fluidAppInsightsLogger.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { ApplicationInsights, type IEventTelemetry } from "@microsoft/applicationinsights-web"; diff --git a/packages/framework/client-logger/app-insights-logger/src/test/types/validateFluidAppInsightsLoggerPrevious.generated.ts b/packages/framework/client-logger/app-insights-logger/src/test/types/validateFluidAppInsightsLoggerPrevious.generated.ts index b5d56e4aaa4..2cbbde2299f 100644 --- a/packages/framework/client-logger/app-insights-logger/src/test/types/validateFluidAppInsightsLoggerPrevious.generated.ts +++ b/packages/framework/client-logger/app-insights-logger/src/test/types/validateFluidAppInsightsLoggerPrevious.generated.ts @@ -2,6 +2,7 @@ * 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-test-generator in @fluidframework/build-tools. diff --git a/packages/framework/fluid-static/src/fluidContainer.ts b/packages/framework/fluid-static/src/fluidContainer.ts index 12980a11369..4cce84904b0 100644 --- a/packages/framework/fluid-static/src/fluidContainer.ts +++ b/packages/framework/fluid-static/src/fluidContainer.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { TypedEventEmitter } from "@fluid-internal/client-utils"; import { type IEvent, diff --git a/packages/framework/fluid-static/src/rootDataObject.ts b/packages/framework/fluid-static/src/rootDataObject.ts index c950d30bddb..ad9fa715071 100644 --- a/packages/framework/fluid-static/src/rootDataObject.ts +++ b/packages/framework/fluid-static/src/rootDataObject.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { BaseContainerRuntimeFactory, DataObject, diff --git a/packages/framework/synthesize/src/types.ts b/packages/framework/synthesize/src/types.ts index edb0606e5e4..6400898ec6c 100644 --- a/packages/framework/synthesize/src/types.ts +++ b/packages/framework/synthesize/src/types.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { IFluidDependencySynthesizer } from "./IFluidDependencySynthesizer.js"; /** diff --git a/packages/loader/container-loader/src/attachment.ts b/packages/loader/container-loader/src/attachment.ts index 31d6f1bf98b..5aa8dc56adf 100644 --- a/packages/loader/container-loader/src/attachment.ts +++ b/packages/loader/container-loader/src/attachment.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { AttachState } from "@fluidframework/container-definitions"; import { CombinedAppAndProtocolSummary } from "@fluidframework/driver-utils"; import { ISnapshotTree, ISummaryTree } from "@fluidframework/protocol-definitions"; diff --git a/packages/loader/container-loader/src/audience.ts b/packages/loader/container-loader/src/audience.ts index 1990d2b474e..c0e756d4a61 100644 --- a/packages/loader/container-loader/src/audience.ts +++ b/packages/loader/container-loader/src/audience.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { EventEmitter } from "@fluid-internal/client-utils"; import { assert } from "@fluidframework/core-utils"; import { IAudienceOwner } from "@fluidframework/container-definitions"; diff --git a/packages/loader/container-loader/src/quorum.ts b/packages/loader/container-loader/src/quorum.ts index 632ab890677..3f184396b89 100644 --- a/packages/loader/container-loader/src/quorum.ts +++ b/packages/loader/container-loader/src/quorum.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { IFluidCodeDetails } from "@fluidframework/core-interfaces"; import { ICommittedProposal } from "@fluidframework/protocol-definitions"; diff --git a/packages/loader/driver-utils/src/messageRecognition.ts b/packages/loader/driver-utils/src/messageRecognition.ts index b1cc4434bac..eaaa5eb51a5 100644 --- a/packages/loader/driver-utils/src/messageRecognition.ts +++ b/packages/loader/driver-utils/src/messageRecognition.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { IDocumentMessage, ISequencedDocumentMessage, diff --git a/packages/loader/driver-utils/src/parallelRequests.ts b/packages/loader/driver-utils/src/parallelRequests.ts index 9b907102d1f..70b339f40ce 100644 --- a/packages/loader/driver-utils/src/parallelRequests.ts +++ b/packages/loader/driver-utils/src/parallelRequests.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { performance } from "@fluid-internal/client-utils"; import { ITelemetryBaseProperties } from "@fluidframework/core-interfaces"; import { assert, Deferred } from "@fluidframework/core-utils"; diff --git a/packages/loader/driver-utils/src/prefetchDocumentStorageService.ts b/packages/loader/driver-utils/src/prefetchDocumentStorageService.ts index 32638ab43ce..f1f14d4a15d 100644 --- a/packages/loader/driver-utils/src/prefetchDocumentStorageService.ts +++ b/packages/loader/driver-utils/src/prefetchDocumentStorageService.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { LoaderCachingPolicy } from "@fluidframework/driver-definitions"; import { ISnapshotTree, IVersion } from "@fluidframework/protocol-definitions"; import { DocumentStorageServiceProxy } from "./documentStorageServiceProxy.js"; diff --git a/packages/loader/driver-utils/src/test/summaryCompresssionTester.spec.ts b/packages/loader/driver-utils/src/test/summaryCompresssionTester.spec.ts index 2e27716303c..3dbe98ff1e5 100644 --- a/packages/loader/driver-utils/src/test/summaryCompresssionTester.spec.ts +++ b/packages/loader/driver-utils/src/test/summaryCompresssionTester.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @typescript-eslint/no-unsafe-return */ /* eslint-disable @typescript-eslint/no-non-null-assertion */ /* eslint-disable @typescript-eslint/dot-notation */ diff --git a/packages/runtime/container-runtime/src/channelCollection.ts b/packages/runtime/container-runtime/src/channelCollection.ts index d69fdc8825d..3e6814f2061 100644 --- a/packages/runtime/container-runtime/src/channelCollection.ts +++ b/packages/runtime/container-runtime/src/channelCollection.ts @@ -679,7 +679,7 @@ export class ChannelCollection implements IFluidDataStoreChannel, IDisposable { case ContainerMessageType.FluidDataStoreOp: return this.reSubmitChannelOp(type, content, localOpMetadata); default: - assert(false, "unknown op type"); + assert(false, 0x907 /* unknown op type */); } } @@ -730,7 +730,7 @@ export class ChannelCollection implements IFluidDataStoreChannel, IDisposable { case ContainerMessageType.FluidDataStoreOp: return this.applyStashedChannelChannelOp(opContents.contents); default: - assert(false, "unknon type of op"); + assert(false, 0x908 /* unknon type of op */); } } diff --git a/packages/runtime/container-runtime/src/containerRuntime.ts b/packages/runtime/container-runtime/src/containerRuntime.ts index da7b6f0c06b..43d7a9a684c 100644 --- a/packages/runtime/container-runtime/src/containerRuntime.ts +++ b/packages/runtime/container-runtime/src/containerRuntime.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ITelemetryBaseLogger, FluidObject, @@ -1803,7 +1804,7 @@ export class ContainerRuntime } public setChannelDirty(address: string) { - assert(false, "should not be called"); + assert(false, 0x909 /* should not be called */); } /** diff --git a/packages/runtime/container-runtime/src/dataStoreRegistry.ts b/packages/runtime/container-runtime/src/dataStoreRegistry.ts index 26b718d88bc..2c117ef5144 100644 --- a/packages/runtime/container-runtime/src/dataStoreRegistry.ts +++ b/packages/runtime/container-runtime/src/dataStoreRegistry.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { UsageError } from "@fluidframework/telemetry-utils"; import { FluidDataStoreRegistryEntry, diff --git a/packages/runtime/container-runtime/src/scheduleManager.ts b/packages/runtime/container-runtime/src/scheduleManager.ts index c32dd4ee49b..f92c2a91b9d 100644 --- a/packages/runtime/container-runtime/src/scheduleManager.ts +++ b/packages/runtime/container-runtime/src/scheduleManager.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { IDeltaManager } from "@fluidframework/container-definitions"; import { IDocumentMessage, ISequencedDocumentMessage } from "@fluidframework/protocol-definitions"; import { diff --git a/packages/runtime/container-runtime/src/summary/orderedClientElection.ts b/packages/runtime/container-runtime/src/summary/orderedClientElection.ts index 7c081c15661..79b0fedbaca 100644 --- a/packages/runtime/container-runtime/src/summary/orderedClientElection.ts +++ b/packages/runtime/container-runtime/src/summary/orderedClientElection.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @rushstack/no-new-null */ import { IEvent, IEventProvider, ITelemetryBaseLogger } from "@fluidframework/core-interfaces"; import { diff --git a/packages/runtime/container-runtime/src/test/dataStoreCreation.spec.ts b/packages/runtime/container-runtime/src/test/dataStoreCreation.spec.ts index 3e1fb2989e7..2505982cfb4 100644 --- a/packages/runtime/container-runtime/src/test/dataStoreCreation.spec.ts +++ b/packages/runtime/container-runtime/src/test/dataStoreCreation.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { FluidObject } from "@fluidframework/core-interfaces"; diff --git a/packages/runtime/container-runtime/src/test/dataStoreRegistry.spec.ts b/packages/runtime/container-runtime/src/test/dataStoreRegistry.spec.ts index 759a54bb629..ba1328a19d4 100644 --- a/packages/runtime/container-runtime/src/test/dataStoreRegistry.spec.ts +++ b/packages/runtime/container-runtime/src/test/dataStoreRegistry.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { NamedFluidDataStoreRegistryEntries } from "@fluidframework/runtime-definitions"; import { ContainerErrorTypes } from "@fluidframework/container-definitions"; diff --git a/packages/runtime/container-runtime/src/test/fuzz/summarizerFuzzSuite.ts b/packages/runtime/container-runtime/src/test/fuzz/summarizerFuzzSuite.ts index 25b16a05cd9..5dfa7bac3fa 100644 --- a/packages/runtime/container-runtime/src/test/fuzz/summarizerFuzzSuite.ts +++ b/packages/runtime/container-runtime/src/test/fuzz/summarizerFuzzSuite.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable import/no-nodejs-modules */ import { strict as assert } from "assert"; diff --git a/packages/runtime/container-runtime/src/test/opLifecycle/opSplitter.spec.ts b/packages/runtime/container-runtime/src/test/opLifecycle/opSplitter.spec.ts index 91ad7ecba65..7279e8ba4ae 100644 --- a/packages/runtime/container-runtime/src/test/opLifecycle/opSplitter.spec.ts +++ b/packages/runtime/container-runtime/src/test/opLifecycle/opSplitter.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @typescript-eslint/no-non-null-assertion */ import * as crypto from "crypto"; diff --git a/packages/runtime/container-runtime/src/test/throttler.spec.ts b/packages/runtime/container-runtime/src/test/throttler.spec.ts index 5bd123ef6bd..377c9ed7e86 100644 --- a/packages/runtime/container-runtime/src/test/throttler.spec.ts +++ b/packages/runtime/container-runtime/src/test/throttler.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import sinon from "sinon"; import { diff --git a/packages/runtime/runtime-utils/src/requestParser.ts b/packages/runtime/runtime-utils/src/requestParser.ts index 6428b896878..089bec9d3ac 100644 --- a/packages/runtime/runtime-utils/src/requestParser.ts +++ b/packages/runtime/runtime-utils/src/requestParser.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { IRequest, IRequestHeader } from "@fluidframework/core-interfaces"; /** diff --git a/packages/runtime/test-runtime-utils/src/assertionShortCodesMap.ts b/packages/runtime/test-runtime-utils/src/assertionShortCodesMap.ts index a3c030e155c..bf23acf6b0b 100644 --- a/packages/runtime/test-runtime-utils/src/assertionShortCodesMap.ts +++ b/packages/runtime/test-runtime-utils/src/assertionShortCodesMap.ts @@ -1443,7 +1443,6 @@ export const shortCodeMap = { "0x8c3": "requireSchema invoked with incompatible schema", "0x8c4": "unexpected dispose", "0x8c5": "Cannot create second view from checkout", - "0x8c6": "Cannot dispose already disposed revertible", "0x8c7": "Expected oldest commit in collab window to have a parent or be the trunk base", "0x8c8": "AnnouncedVisitor would not get traversed", "0x8c9": "unexpected implementation", @@ -1476,7 +1475,6 @@ export const shortCodeMap = { "0x8e4": "Snapshot should exist", "0x8e5": "no base data", "0x8e6": "Protocol and App summary trees should be present", - "0x8e7": "type", "0x8e8": "type", "0x8e9": "unreached", "0x8ea": "compressor should have been loaded", @@ -1488,8 +1486,6 @@ export const shortCodeMap = { "0x8f0": "snapshotSeqNumber should be present", "0x8f1": "ID compressor should be in use", "0x8f2": "Summarizer never reconnects so should never resubmit", - "0x8f3": "This should be called after the channel is created, when the registry is populated", - "0x8f4": "no pending ops", "0x8f5": "groupId should be present to fetch snapshot", "0x8f6": "The datastore context package should be defined", "0x8f7": "there are no more createRootDataStore() kind of APIs!", @@ -1502,5 +1498,14 @@ export const shortCodeMap = { "0x8fe": "Ghost session already in progress.", "0x8ff": "GC data should be a utf-8-encoded blob", "0x900": "invalid input", - "0x901": "Unsupported context" + "0x901": "Unsupported context", + "0x902": "cannot get a revertible outside of the context of a commitApplied event", + "0x903": "cannot get the revertible more than once", + "0x904": "a disposed revertible cannot be reverted", + "0x905": "a disposed revertible cannot be reverted", + "0x906": "Expected object schema", + "0x907": "unknown op type", + "0x908": "unknon type of op", + "0x909": "should not be called", + "0x90a": "entryPoint must be of type IRootDataObject" }; diff --git a/packages/service-clients/azure-client/src/AzureClient.ts b/packages/service-clients/azure-client/src/AzureClient.ts index 844276c4267..b57a5972e2e 100644 --- a/packages/service-clients/azure-client/src/AzureClient.ts +++ b/packages/service-clients/azure-client/src/AzureClient.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { AttachState, type IContainer, @@ -321,7 +322,7 @@ export class AzureClient { const rootDataObject: FluidObject = await container.getEntryPoint(); assert( rootDataObject.IRootDataObject !== undefined, - "entryPoint must be of type IRootDataObject", + 0x90a /* entryPoint must be of type IRootDataObject */, ); return rootDataObject.IRootDataObject; } diff --git a/packages/service-clients/azure-client/src/AzureFunctionTokenProvider.ts b/packages/service-clients/azure-client/src/AzureFunctionTokenProvider.ts index 9d7b267eb75..40d341930ad 100644 --- a/packages/service-clients/azure-client/src/AzureFunctionTokenProvider.ts +++ b/packages/service-clients/azure-client/src/AzureFunctionTokenProvider.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import axios from "axios"; import { type ITokenProvider, type ITokenResponse } from "@fluidframework/routerlicious-driver"; diff --git a/packages/service-clients/azure-client/src/AzureUrlResolver.ts b/packages/service-clients/azure-client/src/AzureUrlResolver.ts index 15f4efa51f2..530caa21d32 100644 --- a/packages/service-clients/azure-client/src/AzureUrlResolver.ts +++ b/packages/service-clients/azure-client/src/AzureUrlResolver.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { type IRequest } from "@fluidframework/core-interfaces"; import { DriverHeader, diff --git a/packages/service-clients/azure-client/src/interfaces.ts b/packages/service-clients/azure-client/src/interfaces.ts index 5ec9385d279..180c45f7c4c 100644 --- a/packages/service-clients/azure-client/src/interfaces.ts +++ b/packages/service-clients/azure-client/src/interfaces.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { type IConfigProviderBase, type ITelemetryBaseLogger, diff --git a/packages/service-clients/azure-client/src/test/AzureClient.spec.ts b/packages/service-clients/azure-client/src/test/AzureClient.spec.ts index 19ecb5cf9ae..9cd6674a7ea 100644 --- a/packages/service-clients/azure-client/src/test/AzureClient.spec.ts +++ b/packages/service-clients/azure-client/src/test/AzureClient.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { SchemaFactory, SharedTree } from "@fluidframework/tree"; diff --git a/packages/service-clients/azure-client/src/utils.ts b/packages/service-clients/azure-client/src/utils.ts index 5dff19a0366..fe229733b40 100644 --- a/packages/service-clients/azure-client/src/utils.ts +++ b/packages/service-clients/azure-client/src/utils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import type { AzureConnectionConfig, AzureLocalConnectionConfig, diff --git a/packages/service-clients/end-to-end-tests/odsp-client/.eslintrc.cjs b/packages/service-clients/end-to-end-tests/odsp-client/.eslintrc.cjs index d6852880b02..a8cd753eade 100644 --- a/packages/service-clients/end-to-end-tests/odsp-client/.eslintrc.cjs +++ b/packages/service-clients/end-to-end-tests/odsp-client/.eslintrc.cjs @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + module.exports = { extends: [require.resolve("@fluidframework/eslint-config-fluid"), "prettier"], rules: { diff --git a/packages/service-clients/end-to-end-tests/odsp-client/src/test/OdspClientFactory.ts b/packages/service-clients/end-to-end-tests/odsp-client/src/test/OdspClientFactory.ts index 8ca2b3abd0e..b98de8cfe72 100644 --- a/packages/service-clients/end-to-end-tests/odsp-client/src/test/OdspClientFactory.ts +++ b/packages/service-clients/end-to-end-tests/odsp-client/src/test/OdspClientFactory.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { IConfigProviderBase, type ITelemetryBaseLogger } from "@fluidframework/core-interfaces"; import { OdspClient, OdspConnectionConfig } from "@fluid-experimental/odsp-client"; diff --git a/packages/service-clients/end-to-end-tests/odsp-client/src/test/OdspTokenFactory.ts b/packages/service-clients/end-to-end-tests/odsp-client/src/test/OdspTokenFactory.ts index c8c88a87ba8..2f0a1a2d91d 100644 --- a/packages/service-clients/end-to-end-tests/odsp-client/src/test/OdspTokenFactory.ts +++ b/packages/service-clients/end-to-end-tests/odsp-client/src/test/OdspTokenFactory.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + /* eslint-disable @typescript-eslint/no-unsafe-assignment */ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ import { TokenResponse } from "@fluidframework/odsp-driver-definitions"; diff --git a/packages/service-clients/end-to-end-tests/odsp-client/src/test/TestDataObject.ts b/packages/service-clients/end-to-end-tests/odsp-client/src/test/TestDataObject.ts index f958d2f7134..e888db81a16 100644 --- a/packages/service-clients/end-to-end-tests/odsp-client/src/test/TestDataObject.ts +++ b/packages/service-clients/end-to-end-tests/odsp-client/src/test/TestDataObject.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { DataObject, DataObjectFactory, IDataObjectProps } from "@fluidframework/aqueduct"; import { IFluidHandle } from "@fluidframework/core-interfaces"; import { SharedCounter } from "@fluidframework/counter"; diff --git a/packages/service-clients/end-to-end-tests/odsp-client/src/test/audience.spec.ts b/packages/service-clients/end-to-end-tests/odsp-client/src/test/audience.spec.ts index bd733672850..0f358d87a66 100644 --- a/packages/service-clients/end-to-end-tests/odsp-client/src/test/audience.spec.ts +++ b/packages/service-clients/end-to-end-tests/odsp-client/src/test/audience.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { OdspClient } from "@fluid-experimental/odsp-client"; diff --git a/packages/service-clients/end-to-end-tests/odsp-client/src/test/containerCreate.spec.ts b/packages/service-clients/end-to-end-tests/odsp-client/src/test/containerCreate.spec.ts index 5fbd9553f2f..092598d9274 100644 --- a/packages/service-clients/end-to-end-tests/odsp-client/src/test/containerCreate.spec.ts +++ b/packages/service-clients/end-to-end-tests/odsp-client/src/test/containerCreate.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { OdspClient } from "@fluid-experimental/odsp-client"; diff --git a/packages/service-clients/end-to-end-tests/odsp-client/src/test/ddsTests.spec.ts b/packages/service-clients/end-to-end-tests/odsp-client/src/test/ddsTests.spec.ts index 6f14d0e73b6..2412cffdb52 100644 --- a/packages/service-clients/end-to-end-tests/odsp-client/src/test/ddsTests.spec.ts +++ b/packages/service-clients/end-to-end-tests/odsp-client/src/test/ddsTests.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "node:assert"; import { OdspClient } from "@fluid-experimental/odsp-client"; diff --git a/packages/service-clients/odsp-client/src/interfaces.ts b/packages/service-clients/odsp-client/src/interfaces.ts index db4b0813d16..6deeeb6d523 100644 --- a/packages/service-clients/odsp-client/src/interfaces.ts +++ b/packages/service-clients/odsp-client/src/interfaces.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { type ITelemetryBaseLogger } from "@fluidframework/core-interfaces"; import type { IMember, IServiceAudience } from "@fluidframework/fluid-static"; import { IConfigProviderBase } from "@fluidframework/core-interfaces"; diff --git a/packages/service-clients/odsp-client/src/odspAudience.ts b/packages/service-clients/odsp-client/src/odspAudience.ts index 1f9af71c959..550f2ca0543 100644 --- a/packages/service-clients/odsp-client/src/odspAudience.ts +++ b/packages/service-clients/odsp-client/src/odspAudience.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert } from "@fluidframework/core-utils"; import { type IClient } from "@fluidframework/protocol-definitions"; diff --git a/packages/service-clients/odsp-client/src/odspClient.ts b/packages/service-clients/odsp-client/src/odspClient.ts index 899c9a1ccac..13818cb276a 100644 --- a/packages/service-clients/odsp-client/src/odspClient.ts +++ b/packages/service-clients/odsp-client/src/odspClient.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { v4 as uuid } from "uuid"; import { AttachState, diff --git a/packages/service-clients/tinylicious-client/src/TinyliciousClient.ts b/packages/service-clients/tinylicious-client/src/TinyliciousClient.ts index 3b699b97a28..1bf316ce738 100644 --- a/packages/service-clients/tinylicious-client/src/TinyliciousClient.ts +++ b/packages/service-clients/tinylicious-client/src/TinyliciousClient.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Loader } from "@fluidframework/container-loader"; import { type IDocumentServiceFactory, diff --git a/packages/service-clients/tinylicious-client/src/interfaces.ts b/packages/service-clients/tinylicious-client/src/interfaces.ts index 35ae9a0196d..098af05c49c 100644 --- a/packages/service-clients/tinylicious-client/src/interfaces.ts +++ b/packages/service-clients/tinylicious-client/src/interfaces.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { type ITelemetryBaseLogger } from "@fluidframework/core-interfaces"; import { type IMember, type IServiceAudience } from "@fluidframework/fluid-static"; import { type IUser } from "@fluidframework/protocol-definitions"; diff --git a/packages/test/stochastic-test-utils/src/generators.ts b/packages/test/stochastic-test-utils/src/generators.ts index 195b533ac1c..c861981e61d 100644 --- a/packages/test/stochastic-test-utils/src/generators.ts +++ b/packages/test/stochastic-test-utils/src/generators.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { unreachableCase } from "@fluidframework/core-utils"; import { AcceptanceCondition, diff --git a/packages/test/test-driver-definitions/src/interfaces.ts b/packages/test/test-driver-definitions/src/interfaces.ts index 19138cf2657..8bace5e7d91 100644 --- a/packages/test/test-driver-definitions/src/interfaces.ts +++ b/packages/test/test-driver-definitions/src/interfaces.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ITelemetryBaseLogger, IRequest } from "@fluidframework/core-interfaces"; import { IDocumentServiceFactory, diff --git a/packages/test/test-drivers/src/localServerTestDriver.ts b/packages/test/test-drivers/src/localServerTestDriver.ts index 2bd9a36b163..d4d8b0a19ec 100644 --- a/packages/test/test-drivers/src/localServerTestDriver.ts +++ b/packages/test/test-drivers/src/localServerTestDriver.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { IRequest } from "@fluidframework/core-interfaces"; import { IDocumentServiceFactory, IUrlResolver } from "@fluidframework/driver-definitions"; import { diff --git a/packages/test/test-end-to-end-tests/src/test/attachLifecycle.spec.ts b/packages/test/test-end-to-end-tests/src/test/attachLifecycle.spec.ts index 340cf5d7148..0859768ac86 100644 --- a/packages/test/test-end-to-end-tests/src/test/attachLifecycle.spec.ts +++ b/packages/test/test-end-to-end-tests/src/test/attachLifecycle.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { generatePairwiseOptions } from "@fluid-private/test-pairwise-generator"; diff --git a/packages/test/test-end-to-end-tests/src/test/benchmark/DocumentMatrix.ts b/packages/test/test-end-to-end-tests/src/test/benchmark/DocumentMatrix.ts index 3ff74fcc35f..96a729f6e6a 100644 --- a/packages/test/test-end-to-end-tests/src/test/benchmark/DocumentMatrix.ts +++ b/packages/test/test-end-to-end-tests/src/test/benchmark/DocumentMatrix.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { ContainerRuntime, diff --git a/packages/test/test-end-to-end-tests/src/test/benchmark/DocumentMatrixPlain.ts b/packages/test/test-end-to-end-tests/src/test/benchmark/DocumentMatrixPlain.ts index 6b6b4185172..5ee5640731f 100644 --- a/packages/test/test-end-to-end-tests/src/test/benchmark/DocumentMatrixPlain.ts +++ b/packages/test/test-end-to-end-tests/src/test/benchmark/DocumentMatrixPlain.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { CompressionAlgorithms, diff --git a/packages/test/test-end-to-end-tests/src/test/benchmark/DocumentMultipleDataStores.ts b/packages/test/test-end-to-end-tests/src/test/benchmark/DocumentMultipleDataStores.ts index 98dd233ebe8..f0c291ce4a1 100644 --- a/packages/test/test-end-to-end-tests/src/test/benchmark/DocumentMultipleDataStores.ts +++ b/packages/test/test-end-to-end-tests/src/test/benchmark/DocumentMultipleDataStores.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { ContainerRuntime, diff --git a/packages/test/test-end-to-end-tests/src/test/benchmark/LoadDocument.all.spec.ts b/packages/test/test-end-to-end-tests/src/test/benchmark/LoadDocument.all.spec.ts index e514bc3cda0..d047de3f84c 100644 --- a/packages/test/test-end-to-end-tests/src/test/benchmark/LoadDocument.all.spec.ts +++ b/packages/test/test-end-to-end-tests/src/test/benchmark/LoadDocument.all.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { IContainer } from "@fluidframework/container-definitions"; import { ITestObjectProvider } from "@fluidframework/test-utils"; diff --git a/packages/test/test-end-to-end-tests/src/test/benchmark/SimpleTest.all.spec.ts b/packages/test/test-end-to-end-tests/src/test/benchmark/SimpleTest.all.spec.ts index 3323ffe4f79..c288ac78c8e 100644 --- a/packages/test/test-end-to-end-tests/src/test/benchmark/SimpleTest.all.spec.ts +++ b/packages/test/test-end-to-end-tests/src/test/benchmark/SimpleTest.all.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { IContainer } from "@fluidframework/container-definitions"; import { ITestObjectProvider } from "@fluidframework/test-utils"; diff --git a/packages/test/test-end-to-end-tests/src/test/benchmark/container.time.spec.ts b/packages/test/test-end-to-end-tests/src/test/benchmark/container.time.spec.ts index 1948ff99773..7d4743dedd8 100644 --- a/packages/test/test-end-to-end-tests/src/test/benchmark/container.time.spec.ts +++ b/packages/test/test-end-to-end-tests/src/test/benchmark/container.time.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { v4 as uuid } from "uuid"; import { benchmark } from "@fluid-tools/benchmark"; diff --git a/packages/test/test-end-to-end-tests/src/test/benchmark/summarizationDocument.all.spec.ts b/packages/test/test-end-to-end-tests/src/test/benchmark/summarizationDocument.all.spec.ts index e88d63cc510..c1b0f04373e 100644 --- a/packages/test/test-end-to-end-tests/src/test/benchmark/summarizationDocument.all.spec.ts +++ b/packages/test/test-end-to-end-tests/src/test/benchmark/summarizationDocument.all.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { IContainer } from "@fluidframework/container-definitions"; import { delay } from "@fluidframework/core-utils"; diff --git a/packages/test/test-end-to-end-tests/src/test/idCompressor.spec.ts b/packages/test/test-end-to-end-tests/src/test/idCompressor.spec.ts index 16e3a928538..9cd3f591d19 100644 --- a/packages/test/test-end-to-end-tests/src/test/idCompressor.spec.ts +++ b/packages/test/test-end-to-end-tests/src/test/idCompressor.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import type { ISharedMap } from "@fluidframework/map"; import { diff --git a/packages/test/test-utils/src/loaderContainerTracker.ts b/packages/test/test-utils/src/loaderContainerTracker.ts index 4674925b412..7bef6403695 100644 --- a/packages/test/test-utils/src/loaderContainerTracker.ts +++ b/packages/test/test-utils/src/loaderContainerTracker.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert } from "@fluidframework/core-utils"; import { IContainer, IDeltaQueue, IHostLoader } from "@fluidframework/container-definitions"; import { ConnectionState } from "@fluidframework/container-loader"; diff --git a/packages/test/test-version-utils/src/baseVersion.ts b/packages/test/test-version-utils/src/baseVersion.ts index b8a74429cba..b7a718d9a52 100644 --- a/packages/test/test-version-utils/src/baseVersion.ts +++ b/packages/test/test-version-utils/src/baseVersion.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import nconf from "nconf"; import { isInternalVersionScheme } from "@fluid-tools/version-tools"; import { resolveVersion } from "./versionUtils.js"; diff --git a/packages/test/test-version-utils/src/compatConfig.ts b/packages/test/test-version-utils/src/compatConfig.ts index f631c8b1769..fe604b53eb3 100644 --- a/packages/test/test-version-utils/src/compatConfig.ts +++ b/packages/test/test-version-utils/src/compatConfig.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { assert, Lazy } from "@fluidframework/core-utils"; import { fromInternalScheme } from "@fluid-tools/version-tools"; import * as semver from "semver"; diff --git a/packages/test/test-version-utils/src/index.ts b/packages/test/test-version-utils/src/index.ts index f01928aafce..f6dea75364b 100644 --- a/packages/test/test-version-utils/src/index.ts +++ b/packages/test/test-version-utils/src/index.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + export { mochaGlobalSetup } from "./compatConfig.js"; export { getDataStoreFactory, diff --git a/packages/test/test-version-utils/src/test/baseVersion.spec.ts b/packages/test/test-version-utils/src/test/baseVersion.spec.ts index fc18a695ad8..0f8fca3f839 100644 --- a/packages/test/test-version-utils/src/test/baseVersion.spec.ts +++ b/packages/test/test-version-utils/src/test/baseVersion.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { testBaseVersion } from "../baseVersion.js"; diff --git a/packages/test/test-version-utils/src/test/versionUtils.spec.ts b/packages/test/test-version-utils/src/test/versionUtils.spec.ts index be6236b5079..71697ca19ea 100644 --- a/packages/test/test-version-utils/src/test/versionUtils.spec.ts +++ b/packages/test/test-version-utils/src/test/versionUtils.spec.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { strict as assert } from "assert"; import { satisfies } from "semver"; import { getRequestedVersion, versionHasMovedSparsedMatrix } from "../versionUtils.js"; diff --git a/packages/tools/devtools/devtools-browser-extension/e2e-tests/app/container.ts b/packages/tools/devtools/devtools-browser-extension/e2e-tests/app/container.ts index e28f68130f3..038e95ee0d3 100644 --- a/packages/tools/devtools/devtools-browser-extension/e2e-tests/app/container.ts +++ b/packages/tools/devtools/devtools-browser-extension/e2e-tests/app/container.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { SharedString } from "@fluidframework/sequence"; import { IContainerRuntime } from "@fluidframework/container-runtime-definitions"; import { IContainer } from "@fluidframework/container-definitions"; diff --git a/packages/tools/devtools/devtools-browser-extension/src/popup/PopupScript.ts b/packages/tools/devtools/devtools-browser-extension/src/popup/PopupScript.ts index a35815458a0..abc74600b03 100644 --- a/packages/tools/devtools/devtools-browser-extension/src/popup/PopupScript.ts +++ b/packages/tools/devtools/devtools-browser-extension/src/popup/PopupScript.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import ReactDOM from "react-dom"; import { browser } from "../Globals"; diff --git a/packages/tools/devtools/devtools-core/src/IContainerDevtools.ts b/packages/tools/devtools/devtools-core/src/IContainerDevtools.ts index cc5ee71c0f7..75875268629 100644 --- a/packages/tools/devtools/devtools-core/src/IContainerDevtools.ts +++ b/packages/tools/devtools/devtools-core/src/IContainerDevtools.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { type IDisposable } from "@fluidframework/core-interfaces"; import { type AudienceChangeLogEntry, type ConnectionStateChangeLogEntry } from "./Logs.js"; diff --git a/packages/tools/devtools/devtools-core/src/IFluidDevtools.ts b/packages/tools/devtools/devtools-core/src/IFluidDevtools.ts index a72217f4f0f..e18f54ea107 100644 --- a/packages/tools/devtools/devtools-core/src/IFluidDevtools.ts +++ b/packages/tools/devtools/devtools-core/src/IFluidDevtools.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { type IDisposable } from "@fluidframework/core-interfaces"; import { type ContainerDevtoolsProps } from "./ContainerDevtools.js"; diff --git a/packages/tools/devtools/devtools-core/src/Logs.ts b/packages/tools/devtools/devtools-core/src/Logs.ts index 3ef328914aa..e26f6d55d31 100644 --- a/packages/tools/devtools/devtools-core/src/Logs.ts +++ b/packages/tools/devtools/devtools-core/src/Logs.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { type IClient } from "@fluidframework/protocol-definitions"; import { type ContainerStateChangeKind } from "./Container.js"; diff --git a/packages/tools/devtools/devtools-example/jest.config.cjs b/packages/tools/devtools/devtools-example/jest.config.cjs index d26585157ff..ff7da774b87 100644 --- a/packages/tools/devtools/devtools-example/jest.config.cjs +++ b/packages/tools/devtools/devtools-example/jest.config.cjs @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + // Get the test port from the global map and set it in env for this test const testTools = require("@fluidframework/test-tools"); const { name } = require("./package.json"); diff --git a/packages/tools/devtools/devtools-example/src/App.tsx b/packages/tools/devtools/devtools-example/src/App.tsx index 48c14b917a0..31e1e4cd662 100644 --- a/packages/tools/devtools/devtools-example/src/App.tsx +++ b/packages/tools/devtools/devtools-example/src/App.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { type BrandVariants, createLightTheme, diff --git a/packages/tools/devtools/devtools-example/src/FluidObject.ts b/packages/tools/devtools/devtools-example/src/FluidObject.ts index c0f012bd8c3..ffc4a9acd20 100644 --- a/packages/tools/devtools/devtools-example/src/FluidObject.ts +++ b/packages/tools/devtools/devtools-example/src/FluidObject.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { DataObject, DataObjectFactory } from "@fluidframework/aqueduct"; import { type IFluidHandle, type IFluidLoadable } from "@fluidframework/core-interfaces"; import { SharedCounter } from "@fluidframework/counter"; diff --git a/packages/tools/devtools/devtools-example/src/index.tsx b/packages/tools/devtools/devtools-example/src/index.tsx index 439599ee797..138a1f72dd9 100644 --- a/packages/tools/devtools/devtools-example/src/index.tsx +++ b/packages/tools/devtools/devtools-example/src/index.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Resizable } from "re-resizable"; import React from "react"; import ReactDOM from "react-dom"; diff --git a/packages/tools/devtools/devtools-example/src/widgets/EmojiButton.tsx b/packages/tools/devtools/devtools-example/src/widgets/EmojiButton.tsx index 51869f24c46..c0a7c3a12c1 100644 --- a/packages/tools/devtools/devtools-example/src/widgets/EmojiButton.tsx +++ b/packages/tools/devtools/devtools-example/src/widgets/EmojiButton.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { Button, Tooltip } from "@fluentui/react-components"; import React from "react"; diff --git a/packages/tools/devtools/devtools-view/src/Audience.ts b/packages/tools/devtools/devtools-view/src/Audience.ts index 3b4715c924b..29225b56517 100644 --- a/packages/tools/devtools/devtools-view/src/Audience.ts +++ b/packages/tools/devtools/devtools-view/src/Audience.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { type IClient } from "@fluidframework/protocol-definitions"; import { type AudienceClientMetadata } from "@fluidframework/devtools-core"; diff --git a/packages/tools/devtools/devtools-view/src/ContainerFeatureFlagHelper.ts b/packages/tools/devtools/devtools-view/src/ContainerFeatureFlagHelper.ts index c70a8cdd288..0c69049a8b2 100644 --- a/packages/tools/devtools/devtools-view/src/ContainerFeatureFlagHelper.ts +++ b/packages/tools/devtools/devtools-view/src/ContainerFeatureFlagHelper.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { type ContainerDevtoolsFeatureFlags } from "@fluidframework/devtools-core"; import React from "react"; diff --git a/packages/tools/devtools/devtools-view/src/DevtoolsPanel.tsx b/packages/tools/devtools/devtools-view/src/DevtoolsPanel.tsx index 48c128614bd..a8b7b035ffb 100644 --- a/packages/tools/devtools/devtools-view/src/DevtoolsPanel.tsx +++ b/packages/tools/devtools/devtools-view/src/DevtoolsPanel.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import { type IMessageRelay } from "@fluidframework/devtools-core"; diff --git a/packages/tools/devtools/devtools-view/src/ThemeHelper.ts b/packages/tools/devtools/devtools-view/src/ThemeHelper.ts index e07ad3c6e90..c6663cda26c 100644 --- a/packages/tools/devtools/devtools-view/src/ThemeHelper.ts +++ b/packages/tools/devtools/devtools-view/src/ThemeHelper.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import { webDarkTheme, diff --git a/packages/tools/devtools/devtools-view/src/Utilities.ts b/packages/tools/devtools/devtools-view/src/Utilities.ts index 2d65acb02c6..477afb21aff 100644 --- a/packages/tools/devtools/devtools-view/src/Utilities.ts +++ b/packages/tools/devtools/devtools-view/src/Utilities.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ConnectionState } from "@fluidframework/container-loader"; /** diff --git a/packages/tools/devtools/devtools-view/src/components/AudienceView.tsx b/packages/tools/devtools/devtools-view/src/components/AudienceView.tsx index e3d140e1e02..f55413d2bb7 100644 --- a/packages/tools/devtools/devtools-view/src/components/AudienceView.tsx +++ b/packages/tools/devtools/devtools-view/src/components/AudienceView.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import { Divider } from "@fluentui/react-components"; import { diff --git a/packages/tools/devtools/devtools-view/src/components/ContainerHistoryLog.tsx b/packages/tools/devtools/devtools-view/src/components/ContainerHistoryLog.tsx index f0c4b143b9c..4f4366ea67c 100644 --- a/packages/tools/devtools/devtools-view/src/components/ContainerHistoryLog.tsx +++ b/packages/tools/devtools/devtools-view/src/components/ContainerHistoryLog.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import { tokens, diff --git a/packages/tools/devtools/devtools-view/src/components/ContainerHistoryView.tsx b/packages/tools/devtools/devtools-view/src/components/ContainerHistoryView.tsx index 6db3baa2c2d..1a02911b43f 100644 --- a/packages/tools/devtools/devtools-view/src/components/ContainerHistoryView.tsx +++ b/packages/tools/devtools/devtools-view/src/components/ContainerHistoryView.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import { Divider } from "@fluentui/react-components"; import { diff --git a/packages/tools/devtools/devtools-view/src/components/DataObjectsView.tsx b/packages/tools/devtools/devtools-view/src/components/DataObjectsView.tsx index 55df2ee1b50..af71b1d2364 100644 --- a/packages/tools/devtools/devtools-view/src/components/DataObjectsView.tsx +++ b/packages/tools/devtools/devtools-view/src/components/DataObjectsView.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import { Tree as FluentTree } from "@fluentui/react-components/unstable"; diff --git a/packages/tools/devtools/devtools-view/src/components/data-visualization/FluidHandleView.tsx b/packages/tools/devtools/devtools-view/src/components/data-visualization/FluidHandleView.tsx index 45ab611dc8c..d85f45be360 100644 --- a/packages/tools/devtools/devtools-view/src/components/data-visualization/FluidHandleView.tsx +++ b/packages/tools/devtools/devtools-view/src/components/data-visualization/FluidHandleView.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import { Spinner } from "@fluentui/react-components"; diff --git a/packages/tools/devtools/devtools-view/src/components/data-visualization/FluidTreeView.tsx b/packages/tools/devtools/devtools-view/src/components/data-visualization/FluidTreeView.tsx index 09b5acf51d3..0a84e9d0cd5 100644 --- a/packages/tools/devtools/devtools-view/src/components/data-visualization/FluidTreeView.tsx +++ b/packages/tools/devtools/devtools-view/src/components/data-visualization/FluidTreeView.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import { type HasContainerKey, type FluidObjectTreeNode } from "@fluidframework/devtools-core"; diff --git a/packages/tools/devtools/devtools-view/src/components/data-visualization/FluidValueView.tsx b/packages/tools/devtools/devtools-view/src/components/data-visualization/FluidValueView.tsx index 1fff480d055..67a5eae47b4 100644 --- a/packages/tools/devtools/devtools-view/src/components/data-visualization/FluidValueView.tsx +++ b/packages/tools/devtools/devtools-view/src/components/data-visualization/FluidValueView.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import type { FluidObjectValueNode, HasContainerKey } from "@fluidframework/devtools-core"; diff --git a/packages/tools/devtools/devtools-view/src/components/data-visualization/TreeDataView.tsx b/packages/tools/devtools/devtools-view/src/components/data-visualization/TreeDataView.tsx index 4830e37b218..02143433663 100644 --- a/packages/tools/devtools/devtools-view/src/components/data-visualization/TreeDataView.tsx +++ b/packages/tools/devtools/devtools-view/src/components/data-visualization/TreeDataView.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import { type HasContainerKey, VisualNodeKind } from "@fluidframework/devtools-core"; diff --git a/packages/tools/devtools/devtools-view/src/components/data-visualization/TreeHeader.tsx b/packages/tools/devtools/devtools-view/src/components/data-visualization/TreeHeader.tsx index 16054b7e56e..0e4e928ebcb 100644 --- a/packages/tools/devtools/devtools-view/src/components/data-visualization/TreeHeader.tsx +++ b/packages/tools/devtools/devtools-view/src/components/data-visualization/TreeHeader.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import { tokens } from "@fluentui/react-components"; diff --git a/packages/tools/devtools/devtools-view/src/components/data-visualization/UnknownDataView.tsx b/packages/tools/devtools/devtools-view/src/components/data-visualization/UnknownDataView.tsx index 792b6a1971e..8891d70025e 100644 --- a/packages/tools/devtools/devtools-view/src/components/data-visualization/UnknownDataView.tsx +++ b/packages/tools/devtools/devtools-view/src/components/data-visualization/UnknownDataView.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import { type UnknownObjectNode } from "@fluidframework/devtools-core"; diff --git a/packages/tools/devtools/devtools-view/src/components/data-visualization/UnknownFluidObjectView.tsx b/packages/tools/devtools/devtools-view/src/components/data-visualization/UnknownFluidObjectView.tsx index 56df57dae8f..242ff22fbac 100644 --- a/packages/tools/devtools/devtools-view/src/components/data-visualization/UnknownFluidObjectView.tsx +++ b/packages/tools/devtools/devtools-view/src/components/data-visualization/UnknownFluidObjectView.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import { type FluidUnknownObjectNode } from "@fluidframework/devtools-core"; diff --git a/packages/tools/devtools/devtools-view/src/components/data-visualization/ValueView.tsx b/packages/tools/devtools/devtools-view/src/components/data-visualization/ValueView.tsx index 9899d6145f2..5f6660b5a51 100644 --- a/packages/tools/devtools/devtools-view/src/components/data-visualization/ValueView.tsx +++ b/packages/tools/devtools/devtools-view/src/components/data-visualization/ValueView.tsx @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import React from "react"; import { type ValueNodeBase } from "@fluidframework/devtools-core"; diff --git a/packages/utils/telemetry-utils/src/config.ts b/packages/utils/telemetry-utils/src/config.ts index 462d84c5a22..05204ed87e0 100644 --- a/packages/utils/telemetry-utils/src/config.ts +++ b/packages/utils/telemetry-utils/src/config.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ITelemetryBaseLogger, IConfigProviderBase, diff --git a/packages/utils/telemetry-utils/src/eventEmitterWithErrorHandling.ts b/packages/utils/telemetry-utils/src/eventEmitterWithErrorHandling.ts index 077be5743cc..84164c81e08 100644 --- a/packages/utils/telemetry-utils/src/eventEmitterWithErrorHandling.ts +++ b/packages/utils/telemetry-utils/src/eventEmitterWithErrorHandling.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { TypedEventEmitter, EventEmitterEventType } from "@fluid-internal/client-utils"; import { IEvent } from "@fluidframework/core-interfaces"; diff --git a/packages/utils/telemetry-utils/src/index.ts b/packages/utils/telemetry-utils/src/index.ts index 4677899ce64..6944061a375 100644 --- a/packages/utils/telemetry-utils/src/index.ts +++ b/packages/utils/telemetry-utils/src/index.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + export { createChildMonitoringContext, MonitoringContext, diff --git a/packages/utils/telemetry-utils/src/utils.ts b/packages/utils/telemetry-utils/src/utils.ts index d66309da516..17f9751dac7 100644 --- a/packages/utils/telemetry-utils/src/utils.ts +++ b/packages/utils/telemetry-utils/src/utils.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ + import { ITelemetryBaseEvent } from "@fluidframework/core-interfaces"; import { loggerToMonitoringContext } from "./config.js"; import { ITelemetryGenericEventExt, ITelemetryLoggerExt } from "./telemetryTypes.js";