fluid-framework 2.113.1 → 2.114.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.
- package/CHANGELOG.md +110 -0
- package/api-report/fluid-framework.alpha.api.md +165 -4
- package/api-report/fluid-framework.beta.api.md +47 -4
- package/api-report/fluid-framework.legacy.beta.api.md +47 -4
- package/api-report/fluid-framework.legacy.public.api.md +79 -0
- package/api-report/fluid-framework.public.api.md +79 -0
- package/dist/alpha.d.ts +31 -4
- package/dist/beta.d.ts +5 -4
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -9
- package/dist/index.js.map +1 -1
- package/dist/legacy.d.ts +5 -4
- package/dist/public.d.ts +5 -0
- package/lib/alpha.d.ts +31 -4
- package/lib/beta.d.ts +5 -4
- package/lib/index.d.ts +5 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +12 -0
- package/lib/index.js.map +1 -1
- package/lib/legacy.d.ts +5 -4
- package/lib/public.d.ts +5 -0
- package/package.json +17 -17
- package/src/index.ts +36 -0
package/lib/legacy.d.ts
CHANGED
|
@@ -34,8 +34,13 @@ export {
|
|
|
34
34
|
FieldProps,
|
|
35
35
|
FieldSchema,
|
|
36
36
|
FieldSchemaMetadata,
|
|
37
|
+
FluidIterable,
|
|
38
|
+
FluidIterableIterator,
|
|
39
|
+
FluidMap,
|
|
37
40
|
FluidObject,
|
|
38
41
|
FluidObjectProviderKeys,
|
|
42
|
+
FluidReadonlyArray,
|
|
43
|
+
FluidReadonlyMap,
|
|
39
44
|
IConnection,
|
|
40
45
|
ICriticalContainerError,
|
|
41
46
|
IDisposable,
|
|
@@ -166,10 +171,6 @@ export {
|
|
|
166
171
|
ErasedBaseType,
|
|
167
172
|
ExtensibleUnionNode,
|
|
168
173
|
FixRecursiveArraySchema,
|
|
169
|
-
FluidIterable,
|
|
170
|
-
FluidIterableIterator,
|
|
171
|
-
FluidMap,
|
|
172
|
-
FluidReadonlyMap,
|
|
173
174
|
FluidSerializableAsTree,
|
|
174
175
|
ForestOptions,
|
|
175
176
|
ForestType,
|
package/lib/public.d.ts
CHANGED
|
@@ -34,8 +34,13 @@ export {
|
|
|
34
34
|
FieldProps,
|
|
35
35
|
FieldSchema,
|
|
36
36
|
FieldSchemaMetadata,
|
|
37
|
+
FluidIterable,
|
|
38
|
+
FluidIterableIterator,
|
|
39
|
+
FluidMap,
|
|
37
40
|
FluidObject,
|
|
38
41
|
FluidObjectProviderKeys,
|
|
42
|
+
FluidReadonlyArray,
|
|
43
|
+
FluidReadonlyMap,
|
|
39
44
|
IConnection,
|
|
40
45
|
ICriticalContainerError,
|
|
41
46
|
IDisposable,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fluid-framework",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.114.0",
|
|
4
4
|
"description": "The main entry point into Fluid Framework public packages",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
"main": "lib/index.js",
|
|
58
58
|
"types": "lib/public.d.ts",
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@fluidframework/container-definitions": "~2.
|
|
61
|
-
"@fluidframework/container-loader": "~2.
|
|
62
|
-
"@fluidframework/core-interfaces": "~2.
|
|
63
|
-
"@fluidframework/core-utils": "~2.
|
|
64
|
-
"@fluidframework/driver-definitions": "~2.
|
|
65
|
-
"@fluidframework/fluid-static": "~2.
|
|
66
|
-
"@fluidframework/map": "~2.
|
|
67
|
-
"@fluidframework/runtime-utils": "~2.
|
|
68
|
-
"@fluidframework/sequence": "~2.
|
|
69
|
-
"@fluidframework/shared-object-base": "~2.
|
|
70
|
-
"@fluidframework/tree": "~2.
|
|
60
|
+
"@fluidframework/container-definitions": "~2.114.0",
|
|
61
|
+
"@fluidframework/container-loader": "~2.114.0",
|
|
62
|
+
"@fluidframework/core-interfaces": "~2.114.0",
|
|
63
|
+
"@fluidframework/core-utils": "~2.114.0",
|
|
64
|
+
"@fluidframework/driver-definitions": "~2.114.0",
|
|
65
|
+
"@fluidframework/fluid-static": "~2.114.0",
|
|
66
|
+
"@fluidframework/map": "~2.114.0",
|
|
67
|
+
"@fluidframework/runtime-utils": "~2.114.0",
|
|
68
|
+
"@fluidframework/sequence": "~2.114.0",
|
|
69
|
+
"@fluidframework/shared-object-base": "~2.114.0",
|
|
70
|
+
"@fluidframework/tree": "~2.114.0"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"concurrently": "^10.0.3",
|
|
82
82
|
"copyfiles": "^2.4.1",
|
|
83
83
|
"eslint": "~9.39.1",
|
|
84
|
-
"fluid-framework-previous": "npm:fluid-framework@2.
|
|
84
|
+
"fluid-framework-previous": "npm:fluid-framework@2.112.0",
|
|
85
85
|
"jiti": "^2.6.1",
|
|
86
86
|
"rimraf": "^6.1.3",
|
|
87
87
|
"typescript": "~5.4.5"
|
|
@@ -91,9 +91,6 @@
|
|
|
91
91
|
"broken": {}
|
|
92
92
|
},
|
|
93
93
|
"scripts": {
|
|
94
|
-
"api": "fluid-build . --task api",
|
|
95
|
-
"api-extractor:commonjs": "flub generate entrypoints --resolutionConditions require --outFileLegacyBeta legacy --outDir ./dist",
|
|
96
|
-
"api-extractor:esnext": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat",
|
|
97
94
|
"build": "fluid-build . --task build",
|
|
98
95
|
"build:api-reports": "concurrently \"npm:build:api-reports:*\"",
|
|
99
96
|
"build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
|
|
@@ -101,8 +98,11 @@
|
|
|
101
98
|
"build:commonjs": "fluid-build . --task commonjs",
|
|
102
99
|
"build:compile": "fluid-build . --task compile",
|
|
103
100
|
"build:docs": "api-extractor run --local",
|
|
101
|
+
"build:entrypoints": "fluid-build . --task build:entrypoints",
|
|
102
|
+
"build:entrypoints:cjs": "flub generate entrypoints --resolutionConditions require --outFileLegacyBeta legacy --outDir ./dist",
|
|
103
|
+
"build:entrypoints:esm": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat",
|
|
104
104
|
"build:esnext": "tsc --project ./tsconfig.json",
|
|
105
|
-
"build:test": "npm
|
|
105
|
+
"build:test": "concurrently npm:build:test:esm npm:build:test:cjs",
|
|
106
106
|
"build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
|
|
107
107
|
"build:test:esm": "tsc --project ./src/test/tsconfig.json",
|
|
108
108
|
"check:are-the-types-wrong": "attw --pack .",
|
package/src/index.ts
CHANGED
|
@@ -71,6 +71,7 @@ export type {
|
|
|
71
71
|
FluidIterable,
|
|
72
72
|
FluidIterableIterator,
|
|
73
73
|
FluidMap,
|
|
74
|
+
FluidReadonlyArray,
|
|
74
75
|
FluidReadonlyMap,
|
|
75
76
|
} from "@fluidframework/core-interfaces/internal";
|
|
76
77
|
export { onAssertionFailure } from "@fluidframework/core-utils/internal";
|
|
@@ -92,6 +93,41 @@ export * from "@fluidframework/tree/alpha";
|
|
|
92
93
|
// ---------------------------------------------------------------
|
|
93
94
|
// #region Custom re-exports
|
|
94
95
|
|
|
96
|
+
// These are alpha APIs, but this package doesn't have an alpha entry point so they are imported from "internal".
|
|
97
|
+
export {
|
|
98
|
+
defineDataStore,
|
|
99
|
+
sharedObjectRegistryFromIterable,
|
|
100
|
+
} from "@fluidframework/shared-object-base/internal";
|
|
101
|
+
export type {
|
|
102
|
+
DataStoreOptions,
|
|
103
|
+
SharedObjectCreator,
|
|
104
|
+
SharedObjectRegistry,
|
|
105
|
+
SharedObjectKey,
|
|
106
|
+
SharedObjectKindAlpha,
|
|
107
|
+
DataStoreContext,
|
|
108
|
+
} from "@fluidframework/shared-object-base/internal";
|
|
109
|
+
export type {
|
|
110
|
+
DataStoreCreator,
|
|
111
|
+
DataStoreKey,
|
|
112
|
+
DataStoreKind,
|
|
113
|
+
DataStoreRegistry,
|
|
114
|
+
FluidContainer,
|
|
115
|
+
FluidContainerAttached,
|
|
116
|
+
FluidContainerWithService,
|
|
117
|
+
MinimumVersionForCollaboration,
|
|
118
|
+
Registry,
|
|
119
|
+
RegistryKey,
|
|
120
|
+
ServiceClient,
|
|
121
|
+
ServiceOptions,
|
|
122
|
+
} from "@fluidframework/driver-definitions/internal";
|
|
123
|
+
export {
|
|
124
|
+
createBasicRegistryKey,
|
|
125
|
+
lookupInRegistry,
|
|
126
|
+
// Due to this currently referencing several existing public types we do not want to stabilize as reexports from here,
|
|
127
|
+
// do not reexport getContainerAudience for now.
|
|
128
|
+
// getContainerAudience,
|
|
129
|
+
} from "@fluidframework/driver-definitions/internal";
|
|
130
|
+
|
|
95
131
|
import type { SharedObjectKind } from "@fluidframework/shared-object-base";
|
|
96
132
|
import type { ITree } from "@fluidframework/tree";
|
|
97
133
|
import {
|