@fluidframework/container-runtime-definitions 2.0.0-rc.4.0.6 → 2.0.0-rc.5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @fluidframework/container-runtime-definitions
2
2
 
3
+ ## 2.0.0-rc.5.0.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
8
+
9
+ Update package implementations to use TypeScript 5.4.5.
10
+
3
11
  ## 2.0.0-rc.4.0.0
4
12
 
5
13
  ### Minor Changes
@@ -0,0 +1,5 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-lint.json",
4
+ "mainEntryPointFilePath": "<projectFolder>/lib/index.d.ts"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-lint.entrypoint.json",
4
+ "mainEntryPointFilePath": "<projectFolder>/dist/legacy.d.ts"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-lint.entrypoint.json",
4
+ "mainEntryPointFilePath": "<projectFolder>/lib/legacy.d.ts"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-lint.entrypoint.json",
4
+ "mainEntryPointFilePath": "<projectFolder>/dist/public.d.ts"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-lint.entrypoint.json",
4
+ "mainEntryPointFilePath": "<projectFolder>/lib/public.d.ts"
5
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
- "extends": "../../../common/build/build-common/api-extractor-base.esm.primary.json"
3
+ "extends": "../../../common/build/build-common/api-extractor-base.esm.current.json"
4
4
  }
@@ -1,4 +1,4 @@
1
- ## API Report File for "@fluidframework/container-runtime-definitions"
1
+ ## Alpha API Report File for "@fluidframework/container-runtime-definitions"
2
2
 
3
3
  > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
4
 
@@ -6,20 +6,20 @@
6
6
 
7
7
  import type { AttachState } from '@fluidframework/container-definitions';
8
8
  import type { FluidObject } from '@fluidframework/core-interfaces';
9
- import { FlushMode } from '@fluidframework/runtime-definitions/internal';
10
- import { IClientDetails } from '@fluidframework/protocol-definitions';
11
- import { IContainerRuntimeBase } from '@fluidframework/runtime-definitions/internal';
12
- import { IContainerRuntimeBaseEvents } from '@fluidframework/runtime-definitions/internal';
9
+ import type { FlushMode } from '@fluidframework/runtime-definitions/internal';
10
+ import type { IClientDetails } from '@fluidframework/driver-definitions';
11
+ import type { IContainerRuntimeBase } from '@fluidframework/runtime-definitions/internal';
12
+ import type { IContainerRuntimeBaseEvents } from '@fluidframework/runtime-definitions/internal';
13
13
  import type { IDeltaManager } from '@fluidframework/container-definitions/internal';
14
- import { IDocumentMessage } from '@fluidframework/protocol-definitions';
14
+ import type { IDocumentMessage } from '@fluidframework/driver-definitions/internal';
15
15
  import type { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
16
16
  import type { IEventProvider } from '@fluidframework/core-interfaces';
17
17
  import type { IFluidHandle } from '@fluidframework/core-interfaces';
18
- import type { IFluidHandleContext } from '@fluidframework/core-interfaces';
19
- import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions/internal';
18
+ import type { IFluidHandleContext } from '@fluidframework/core-interfaces/internal';
19
+ import type { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions/internal';
20
20
  import type { IRequest } from '@fluidframework/core-interfaces';
21
21
  import type { IResponse } from '@fluidframework/core-interfaces';
22
- import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
22
+ import type { ISequencedDocumentMessage } from '@fluidframework/driver-definitions/internal';
23
23
 
24
24
  // @alpha
25
25
  export interface IContainerRuntime extends IProvideFluidDataStoreRegistry, IContainerRuntimeBaseWithCombinedEvents {
@@ -0,0 +1,26 @@
1
+ ## Beta API Report File for "@fluidframework/container-runtime-definitions"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import type { AttachState } from '@fluidframework/container-definitions';
8
+ import type { FluidObject } from '@fluidframework/core-interfaces';
9
+ import type { FlushMode } from '@fluidframework/runtime-definitions/internal';
10
+ import type { IClientDetails } from '@fluidframework/driver-definitions';
11
+ import type { IContainerRuntimeBase } from '@fluidframework/runtime-definitions/internal';
12
+ import type { IContainerRuntimeBaseEvents } from '@fluidframework/runtime-definitions/internal';
13
+ import type { IDeltaManager } from '@fluidframework/container-definitions/internal';
14
+ import type { IDocumentMessage } from '@fluidframework/driver-definitions/internal';
15
+ import type { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
16
+ import type { IEventProvider } from '@fluidframework/core-interfaces';
17
+ import type { IFluidHandle } from '@fluidframework/core-interfaces';
18
+ import type { IFluidHandleContext } from '@fluidframework/core-interfaces/internal';
19
+ import type { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions/internal';
20
+ import type { IRequest } from '@fluidframework/core-interfaces';
21
+ import type { IResponse } from '@fluidframework/core-interfaces';
22
+ import type { ISequencedDocumentMessage } from '@fluidframework/driver-definitions/internal';
23
+
24
+ // (No @packageDocumentation comment for this package)
25
+
26
+ ```
@@ -0,0 +1,26 @@
1
+ ## Public API Report File for "@fluidframework/container-runtime-definitions"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import type { AttachState } from '@fluidframework/container-definitions';
8
+ import type { FluidObject } from '@fluidframework/core-interfaces';
9
+ import type { FlushMode } from '@fluidframework/runtime-definitions/internal';
10
+ import type { IClientDetails } from '@fluidframework/driver-definitions';
11
+ import type { IContainerRuntimeBase } from '@fluidframework/runtime-definitions/internal';
12
+ import type { IContainerRuntimeBaseEvents } from '@fluidframework/runtime-definitions/internal';
13
+ import type { IDeltaManager } from '@fluidframework/container-definitions/internal';
14
+ import type { IDocumentMessage } from '@fluidframework/driver-definitions/internal';
15
+ import type { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
16
+ import type { IEventProvider } from '@fluidframework/core-interfaces';
17
+ import type { IFluidHandle } from '@fluidframework/core-interfaces';
18
+ import type { IFluidHandleContext } from '@fluidframework/core-interfaces/internal';
19
+ import type { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions/internal';
20
+ import type { IRequest } from '@fluidframework/core-interfaces';
21
+ import type { IResponse } from '@fluidframework/core-interfaces';
22
+ import type { ISequencedDocumentMessage } from '@fluidframework/driver-definitions/internal';
23
+
24
+ // (No @packageDocumentation comment for this package)
25
+
26
+ ```
package/biome.jsonc ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3
+ "extends": ["../../../biome.jsonc"]
4
+ }
@@ -4,10 +4,11 @@
4
4
  */
5
5
  import type { AttachState } from "@fluidframework/container-definitions";
6
6
  import type { IDeltaManager } from "@fluidframework/container-definitions/internal";
7
- import type { FluidObject, IEventProvider, IFluidHandle, IFluidHandleContext, IRequest, IResponse } from "@fluidframework/core-interfaces";
8
- import type { IDocumentStorageService } from "@fluidframework/driver-definitions/internal";
9
- import { type IClientDetails, type IDocumentMessage, type ISequencedDocumentMessage } from "@fluidframework/protocol-definitions";
10
- import { type FlushMode, type IContainerRuntimeBase, type IContainerRuntimeBaseEvents, type IProvideFluidDataStoreRegistry } from "@fluidframework/runtime-definitions/internal";
7
+ import type { FluidObject, IEventProvider, IFluidHandle, IRequest, IResponse } from "@fluidframework/core-interfaces";
8
+ import type { IFluidHandleContext } from "@fluidframework/core-interfaces/internal";
9
+ import type { IClientDetails } from "@fluidframework/driver-definitions";
10
+ import type { IDocumentStorageService, IDocumentMessage, ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
11
+ import type { FlushMode, IContainerRuntimeBase, IContainerRuntimeBaseEvents, IProvideFluidDataStoreRegistry } from "@fluidframework/runtime-definitions/internal";
11
12
  /**
12
13
  * @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
13
14
  * @alpha
@@ -1 +1 @@
1
- {"version":3,"file":"containerRuntime.d.ts","sourceRoot":"","sources":["../src/containerRuntime.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,KAAK,EACX,WAAW,EACX,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,QAAQ,EACR,SAAS,EACT,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EACN,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACN,KAAK,SAAS,EACd,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,MAAM,8CAA8C,CAAC;AAEtD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,uCAAuC,GAAG,qBAAqB,GAC1E,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAEzC;;;GAGG;AACH,MAAM,WAAW,iBAChB,SAAQ,8BAA8B,EACrC,uCAAuC;IAExC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/C,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,aAAa,EAAE,cAAc,CAAC;IACvC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,aAAa,CAAC,yBAAyB,EAAE,gBAAgB,CAAC,CAAC;IAClF,QAAQ,CAAC,OAAO,EAAE,uBAAuB,CAAC;IAC1C,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAElC;;;;;OAKG;IACH,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,CAAC;IAE7F;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAE1B;;;;OAIG;IACH,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjE"}
@@ -4,10 +4,11 @@
4
4
  */
5
5
  import type { AttachState } from "@fluidframework/container-definitions";
6
6
  import type { IDeltaManager } from "@fluidframework/container-definitions/internal";
7
- import type { FluidObject, IEventProvider, IFluidHandle, IFluidHandleContext, IRequest, IResponse } from "@fluidframework/core-interfaces";
8
- import type { IDocumentStorageService } from "@fluidframework/driver-definitions/internal";
9
- import { type IClientDetails, type IDocumentMessage, type ISequencedDocumentMessage } from "@fluidframework/protocol-definitions";
10
- import { type FlushMode, type IContainerRuntimeBase, type IContainerRuntimeBaseEvents, type IProvideFluidDataStoreRegistry } from "@fluidframework/runtime-definitions/internal";
7
+ import type { FluidObject, IEventProvider, IFluidHandle, IRequest, IResponse } from "@fluidframework/core-interfaces";
8
+ import type { IFluidHandleContext } from "@fluidframework/core-interfaces/internal";
9
+ import type { IClientDetails } from "@fluidframework/driver-definitions";
10
+ import type { IDocumentStorageService, IDocumentMessage, ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
11
+ import type { FlushMode, IContainerRuntimeBase, IContainerRuntimeBaseEvents, IProvideFluidDataStoreRegistry } from "@fluidframework/runtime-definitions/internal";
11
12
  /**
12
13
  * @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
13
14
  * @alpha
@@ -1 +1 @@
1
- {"version":3,"file":"containerRuntime.d.ts","sourceRoot":"","sources":["../src/containerRuntime.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,KAAK,EACX,WAAW,EACX,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,QAAQ,EACR,SAAS,EACT,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EACN,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACN,KAAK,SAAS,EACd,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,MAAM,8CAA8C,CAAC;AAEtD;;;GAGG;AACH,MAAM,WAAW,6CAA8C,SAAQ,iBAAiB;IACvF,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;IAClD,aAAa,CAAC,OAAO,E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,uCAAuC;IAExC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/C,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,aAAa,EAAE,cAAc,CAAC;IACvC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,aAAa,CAAC,yBAAyB,EAAE,gBAAgB,CAAC,CAAC;IAClF,QAAQ,CAAC,OAAO,EAAE,uBAAuB,CAAC;IAC1C,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAElC;;;;;OAKG;IACH,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,CAAC;IAE7F;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAE1B;;;;OAIG;IACH,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjE"}
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.43.1"
8
+ "packageVersion": "7.45.1"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/container-runtime-definitions",
3
- "version": "2.0.0-rc.4.0.6",
3
+ "version": "2.0.0-rc.5.0.1",
4
4
  "description": "Fluid Runtime definitions",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -41,29 +41,42 @@
41
41
  "main": "",
42
42
  "types": "lib/public.d.ts",
43
43
  "dependencies": {
44
- "@fluidframework/container-definitions": ">=2.0.0-rc.4.0.6 <2.0.0-rc.4.1.0",
45
- "@fluidframework/core-interfaces": ">=2.0.0-rc.4.0.6 <2.0.0-rc.4.1.0",
46
- "@fluidframework/driver-definitions": ">=2.0.0-rc.4.0.6 <2.0.0-rc.4.1.0",
47
- "@fluidframework/protocol-definitions": "^3.2.0",
48
- "@fluidframework/runtime-definitions": ">=2.0.0-rc.4.0.6 <2.0.0-rc.4.1.0"
44
+ "@fluidframework/container-definitions": ">=2.0.0-rc.5.0.1 <2.0.0-rc.5.1.0",
45
+ "@fluidframework/core-interfaces": ">=2.0.0-rc.5.0.1 <2.0.0-rc.5.1.0",
46
+ "@fluidframework/driver-definitions": ">=2.0.0-rc.5.0.1 <2.0.0-rc.5.1.0",
47
+ "@fluidframework/runtime-definitions": ">=2.0.0-rc.5.0.1 <2.0.0-rc.5.1.0"
49
48
  },
50
49
  "devDependencies": {
51
50
  "@arethetypeswrong/cli": "^0.15.2",
52
- "@biomejs/biome": "^1.6.2",
53
- "@fluid-tools/build-cli": "^0.38.0",
51
+ "@biomejs/biome": "^1.7.3",
52
+ "@fluid-tools/build-cli": "^0.39.0",
54
53
  "@fluidframework/build-common": "^2.0.3",
55
- "@fluidframework/build-tools": "^0.38.0",
56
- "@fluidframework/container-runtime-definitions-previous": "npm:@fluidframework/container-runtime-definitions@2.0.0-rc.3.0.0",
57
- "@fluidframework/eslint-config-fluid": "^5.1.0",
58
- "@microsoft/api-extractor": "^7.43.1",
54
+ "@fluidframework/build-tools": "^0.39.0",
55
+ "@fluidframework/container-runtime-definitions-previous": "npm:@fluidframework/container-runtime-definitions@2.0.0-rc.4.0.0",
56
+ "@fluidframework/eslint-config-fluid": "^5.3.0",
57
+ "@microsoft/api-extractor": "^7.45.1",
58
+ "concurrently": "^8.2.1",
59
59
  "copyfiles": "^2.4.1",
60
60
  "eslint": "~8.55.0",
61
61
  "prettier": "~3.0.3",
62
62
  "rimraf": "^4.4.0",
63
- "typescript": "~5.1.6"
63
+ "typescript": "~5.4.5"
64
64
  },
65
65
  "typeValidation": {
66
- "broken": {}
66
+ "broken": {
67
+ "InterfaceDeclaration_IContainerRuntime": {
68
+ "backCompat": false,
69
+ "forwardCompat": false
70
+ },
71
+ "InterfaceDeclaration_IContainerRuntimeWithResolveHandle_Deprecated": {
72
+ "backCompat": false,
73
+ "forwardCompat": false
74
+ },
75
+ "TypeAliasDeclaration_IContainerRuntimeBaseWithCombinedEvents": {
76
+ "backCompat": false,
77
+ "forwardCompat": false
78
+ }
79
+ }
67
80
  },
68
81
  "scripts": {
69
82
  "api": "fluid-build . --task api",
@@ -77,13 +90,21 @@
77
90
  "build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
78
91
  "build:test:esm": "tsc --project ./src/test/tsconfig.json",
79
92
  "check:are-the-types-wrong": "attw --pack .",
93
+ "check:biome": "biome check . --formatter-enabled=true",
94
+ "check:exports": "concurrently \"npm:check:exports:*\"",
95
+ "check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
96
+ "check:exports:cjs:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.cjs.json",
97
+ "check:exports:cjs:public": "api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json",
98
+ "check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
99
+ "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
100
+ "check:format": "npm run check:biome",
80
101
  "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
81
- "check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json",
82
102
  "ci:build:docs": "api-extractor run",
83
103
  "clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
84
104
  "eslint": "eslint --format stylish src",
85
105
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
86
- "format": "fluid-build --task format .",
106
+ "format": "npm run format:biome",
107
+ "format:biome": "biome check . --formatter-enabled=true --apply",
87
108
  "format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
88
109
  "lint": "fluid-build . --task lint",
89
110
  "lint:fix": "fluid-build . --task eslint:fix --task format",
@@ -9,21 +9,21 @@ import type {
9
9
  FluidObject,
10
10
  IEventProvider,
11
11
  IFluidHandle,
12
- IFluidHandleContext,
13
12
  IRequest,
14
13
  IResponse,
15
14
  } from "@fluidframework/core-interfaces";
16
- import type { IDocumentStorageService } from "@fluidframework/driver-definitions/internal";
17
- import {
18
- type IClientDetails,
19
- type IDocumentMessage,
20
- type ISequencedDocumentMessage,
21
- } from "@fluidframework/protocol-definitions";
22
- import {
23
- type FlushMode,
24
- type IContainerRuntimeBase,
25
- type IContainerRuntimeBaseEvents,
26
- type IProvideFluidDataStoreRegistry,
15
+ import type { IFluidHandleContext } from "@fluidframework/core-interfaces/internal";
16
+ import type { IClientDetails } from "@fluidframework/driver-definitions";
17
+ import type {
18
+ IDocumentStorageService,
19
+ IDocumentMessage,
20
+ ISequencedDocumentMessage,
21
+ } from "@fluidframework/driver-definitions/internal";
22
+ import type {
23
+ FlushMode,
24
+ IContainerRuntimeBase,
25
+ IContainerRuntimeBaseEvents,
26
+ IProvideFluidDataStoreRegistry,
27
27
  } from "@fluidframework/runtime-definitions/internal";
28
28
 
29
29
  /**
package/tsconfig.json CHANGED
@@ -6,5 +6,6 @@
6
6
  "rootDir": "./src",
7
7
  "outDir": "./lib",
8
8
  "emitDeclarationOnly": true,
9
+ "exactOptionalPropertyTypes": false,
9
10
  },
10
11
  }
package/tsdoc.json ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
3
+ "extends": ["../../../common/build/build-common/tsdoc-base.json"]
4
+ }