fluid-framework 2.1.0-276985 → 2.1.0

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.
@@ -682,6 +682,7 @@ type ScopedSchemaName<TScope extends string | undefined, TName extends number |
682
682
 
683
683
  // @public @sealed
684
684
  export interface SharedObjectKind<out TSharedObject = unknown> extends ErasedType<readonly ["SharedObjectKind", TSharedObject]> {
685
+ is(value: IFluidLoadable): value is IFluidLoadable & TSharedObject;
685
686
  }
686
687
 
687
688
  // @public
@@ -741,6 +742,7 @@ interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom> extends ReadonlyArray<
741
742
  moveToStart(sourceIndex: number, source: TMoveFrom): void;
742
743
  removeAt(index: number): void;
743
744
  removeRange(start?: number, end?: number): void;
745
+ values(): IterableIterator<T>;
744
746
  }
745
747
 
746
748
  // @public @sealed
@@ -794,7 +796,7 @@ export interface TreeNodeApi {
794
796
  parent(node: TreeNode): TreeNode | undefined;
795
797
  schema<T extends TreeNode | TreeLeafValue>(node: T): TreeNodeSchema<string, NodeKind, unknown, T>;
796
798
  shortId(node: TreeNode): number | string | undefined;
797
- readonly status: (node: TreeNode) => TreeStatus;
799
+ status(node: TreeNode): TreeStatus;
798
800
  }
799
801
 
800
802
  // @public
package/dist/legacy.d.ts CHANGED
@@ -5,7 +5,14 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
+ */
10
+
11
+ /**
12
+ * Bundles a collection of Fluid Framework client libraries for easy use when paired with a corresponding service client
13
+ * package (e.g. `@fluidframework/azure-client`, `@fluidframework/tinylicious-client`, or `@fluidframework/odsp-client (BETA)`).
14
+ *
15
+ * @packageDocumentation
9
16
  */
10
17
 
11
18
  export {
package/dist/public.d.ts CHANGED
@@ -5,7 +5,14 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
+ */
10
+
11
+ /**
12
+ * Bundles a collection of Fluid Framework client libraries for easy use when paired with a corresponding service client
13
+ * package (e.g. `@fluidframework/azure-client`, `@fluidframework/tinylicious-client`, or `@fluidframework/odsp-client (BETA)`).
14
+ *
15
+ * @packageDocumentation
9
16
  */
10
17
 
11
18
  export {
package/legacy.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
11
  export * from "./lib/legacy.js";
package/lib/legacy.d.ts CHANGED
@@ -5,7 +5,14 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
+ */
10
+
11
+ /**
12
+ * Bundles a collection of Fluid Framework client libraries for easy use when paired with a corresponding service client
13
+ * package (e.g. `@fluidframework/azure-client`, `@fluidframework/tinylicious-client`, or `@fluidframework/odsp-client (BETA)`).
14
+ *
15
+ * @packageDocumentation
9
16
  */
10
17
 
11
18
  export {
package/lib/public.d.ts CHANGED
@@ -5,7 +5,14 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
+ */
10
+
11
+ /**
12
+ * Bundles a collection of Fluid Framework client libraries for easy use when paired with a corresponding service client
13
+ * package (e.g. `@fluidframework/azure-client`, `@fluidframework/tinylicious-client`, or `@fluidframework/odsp-client (BETA)`).
14
+ *
15
+ * @packageDocumentation
9
16
  */
10
17
 
11
18
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluid-framework",
3
- "version": "2.1.0-276985",
3
+ "version": "2.1.0",
4
4
  "description": "The main entry point into Fluid Framework public packages",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -37,22 +37,22 @@
37
37
  "main": "lib/index.js",
38
38
  "types": "lib/public.d.ts",
39
39
  "dependencies": {
40
- "@fluidframework/container-definitions": "2.1.0-276985",
41
- "@fluidframework/container-loader": "2.1.0-276985",
42
- "@fluidframework/core-interfaces": "2.1.0-276985",
43
- "@fluidframework/driver-definitions": "2.1.0-276985",
44
- "@fluidframework/fluid-static": "2.1.0-276985",
45
- "@fluidframework/map": "2.1.0-276985",
46
- "@fluidframework/sequence": "2.1.0-276985",
47
- "@fluidframework/shared-object-base": "2.1.0-276985",
48
- "@fluidframework/tree": "2.1.0-276985"
40
+ "@fluidframework/container-definitions": "~2.1.0",
41
+ "@fluidframework/container-loader": "~2.1.0",
42
+ "@fluidframework/core-interfaces": "~2.1.0",
43
+ "@fluidframework/driver-definitions": "~2.1.0",
44
+ "@fluidframework/fluid-static": "~2.1.0",
45
+ "@fluidframework/map": "~2.1.0",
46
+ "@fluidframework/sequence": "~2.1.0",
47
+ "@fluidframework/shared-object-base": "~2.1.0",
48
+ "@fluidframework/tree": "~2.1.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@arethetypeswrong/cli": "^0.15.2",
52
- "@biomejs/biome": "^1.7.3",
53
- "@fluid-tools/build-cli": "^0.39.0",
52
+ "@biomejs/biome": "~1.8.3",
53
+ "@fluid-tools/build-cli": "^0.41.0",
54
54
  "@fluidframework/build-common": "^2.0.3",
55
- "@fluidframework/build-tools": "^0.39.0",
55
+ "@fluidframework/build-tools": "^0.41.0",
56
56
  "@fluidframework/eslint-config-fluid": "^5.3.0",
57
57
  "@microsoft/api-extractor": "^7.45.1",
58
58
  "@types/node": "^18.19.0",
@@ -79,30 +79,32 @@
79
79
  "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
80
80
  "api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
81
81
  "build": "fluid-build . --task build",
82
+ "build:api-reports": "concurrently \"npm:build:api-reports:*\"",
83
+ "build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
84
+ "build:api-reports:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
82
85
  "build:commonjs": "fluid-build . --task commonjs",
83
86
  "build:compile": "fluid-build . --task compile",
84
- "build:docs": "concurrently \"npm:build:docs:*\"",
85
- "build:docs:current": "api-extractor run --local",
86
- "build:docs:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
87
+ "build:docs": "api-extractor run --local",
87
88
  "build:esnext": "tsc --project ./tsconfig.json",
88
89
  "check:are-the-types-wrong": "attw --pack .",
89
- "check:biome": "biome check . --formatter-enabled=true",
90
+ "check:biome": "biome check .",
90
91
  "check:exports": "concurrently \"npm:check:exports:*\"",
91
92
  "check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
92
- "check:exports:cjs:legacy": "echo AB#8288 skip api-extractor run --config api-extractor/api-extractor-lint-legacy.cjs.json",
93
- "check:exports:cjs:public": "echo AB#8288 skip api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json",
94
- "check:exports:esm:legacy": "echo AB#8288 skip api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
95
- "check:exports:esm:public": "echo AB#8288 skip api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
93
+ "check:exports:cjs:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.cjs.json",
94
+ "check:exports:cjs:public": "api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json",
95
+ "check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
96
+ "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
96
97
  "check:format": "npm run check:biome",
97
98
  "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
98
- "ci:build:docs": "concurrently \"npm:ci:build:docs:*\"",
99
- "ci:build:docs:current": "api-extractor run",
100
- "ci:build:docs:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
99
+ "ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
100
+ "ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
101
+ "ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
102
+ "ci:build:docs": "api-extractor run",
101
103
  "clean": "rimraf --glob _api-extractor-temp dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\"",
102
104
  "eslint": "eslint --format stylish src",
103
105
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
104
106
  "format": "npm run format:biome",
105
- "format:biome": "biome check . --formatter-enabled=true --apply",
107
+ "format:biome": "biome check . --write",
106
108
  "format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
107
109
  "lint": "fluid-build . --task lint",
108
110
  "lint:fix": "fluid-build . --task eslint:fix --task format",