@fluidframework/datastore 2.0.2 → 2.1.0-276326
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/api-extractor/api-extractor.legacy.json +4 -0
- package/api-report/datastore.beta.api.md +0 -30
- package/api-report/{datastore.alpha.api.md → datastore.legacy.alpha.api.md} +0 -30
- package/api-report/datastore.public.api.md +0 -30
- package/dist/dataStoreRuntime.d.ts +5 -0
- package/dist/dataStoreRuntime.d.ts.map +1 -1
- package/dist/dataStoreRuntime.js +4 -0
- package/dist/dataStoreRuntime.js.map +1 -1
- package/dist/fluidHandle.d.ts +1 -0
- package/dist/fluidHandle.d.ts.map +1 -1
- package/dist/fluidHandle.js +1 -0
- package/dist/fluidHandle.js.map +1 -1
- package/dist/legacy.d.ts +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.d.ts.map +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/dataStoreRuntime.d.ts +5 -0
- package/lib/dataStoreRuntime.d.ts.map +1 -1
- package/lib/dataStoreRuntime.js +4 -0
- package/lib/dataStoreRuntime.js.map +1 -1
- package/lib/fluidHandle.d.ts +1 -0
- package/lib/fluidHandle.d.ts.map +1 -1
- package/lib/fluidHandle.js +1 -0
- package/lib/fluidHandle.js.map +1 -1
- package/lib/legacy.d.ts +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.d.ts.map +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +24 -20
- package/src/dataStoreRuntime.ts +5 -0
- package/src/fluidHandle.ts +1 -0
- package/src/packageVersion.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,8BAA8B,CAAC;AACnD,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,8BAA8B,CAAC;AACnD,eAAO,MAAM,UAAU,iBAAiB,CAAC"}
|
package/lib/packageVersion.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,2BAA2B,CAAC;AACnD,MAAM,CAAC,MAAM,UAAU,GAAG,
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,2BAA2B,CAAC;AACnD,MAAM,CAAC,MAAM,UAAU,GAAG,cAAc,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/datastore\";\nexport const pkgVersion = \"2.1.0-276326\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/datastore",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0-276326",
|
|
4
4
|
"description": "Fluid data store implementation",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -67,29 +67,29 @@
|
|
|
67
67
|
"temp-directory": "nyc/.nyc_output"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@fluid-internal/client-utils": "
|
|
71
|
-
"@fluidframework/container-definitions": "
|
|
72
|
-
"@fluidframework/core-interfaces": "
|
|
73
|
-
"@fluidframework/core-utils": "
|
|
74
|
-
"@fluidframework/datastore-definitions": "
|
|
75
|
-
"@fluidframework/driver-definitions": "
|
|
76
|
-
"@fluidframework/driver-utils": "
|
|
77
|
-
"@fluidframework/id-compressor": "
|
|
78
|
-
"@fluidframework/runtime-definitions": "
|
|
79
|
-
"@fluidframework/runtime-utils": "
|
|
80
|
-
"@fluidframework/telemetry-utils": "
|
|
70
|
+
"@fluid-internal/client-utils": "2.1.0-276326",
|
|
71
|
+
"@fluidframework/container-definitions": "2.1.0-276326",
|
|
72
|
+
"@fluidframework/core-interfaces": "2.1.0-276326",
|
|
73
|
+
"@fluidframework/core-utils": "2.1.0-276326",
|
|
74
|
+
"@fluidframework/datastore-definitions": "2.1.0-276326",
|
|
75
|
+
"@fluidframework/driver-definitions": "2.1.0-276326",
|
|
76
|
+
"@fluidframework/driver-utils": "2.1.0-276326",
|
|
77
|
+
"@fluidframework/id-compressor": "2.1.0-276326",
|
|
78
|
+
"@fluidframework/runtime-definitions": "2.1.0-276326",
|
|
79
|
+
"@fluidframework/runtime-utils": "2.1.0-276326",
|
|
80
|
+
"@fluidframework/telemetry-utils": "2.1.0-276326",
|
|
81
81
|
"uuid": "^9.0.0"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
85
85
|
"@biomejs/biome": "^1.7.3",
|
|
86
|
-
"@fluid-internal/mocha-test-setup": "
|
|
86
|
+
"@fluid-internal/mocha-test-setup": "2.1.0-276326",
|
|
87
87
|
"@fluid-tools/build-cli": "^0.39.0",
|
|
88
88
|
"@fluidframework/build-common": "^2.0.3",
|
|
89
89
|
"@fluidframework/build-tools": "^0.39.0",
|
|
90
|
-
"@fluidframework/datastore-previous": "npm:@fluidframework/datastore@2.0.0-rc.
|
|
90
|
+
"@fluidframework/datastore-previous": "npm:@fluidframework/datastore@2.0.0-rc.5.0.0",
|
|
91
91
|
"@fluidframework/eslint-config-fluid": "^5.3.0",
|
|
92
|
-
"@fluidframework/test-runtime-utils": "
|
|
92
|
+
"@fluidframework/test-runtime-utils": "2.1.0-276326",
|
|
93
93
|
"@microsoft/api-extractor": "^7.45.1",
|
|
94
94
|
"@types/lodash": "^4.14.118",
|
|
95
95
|
"@types/mocha": "^9.1.1",
|
|
@@ -113,12 +113,14 @@
|
|
|
113
113
|
},
|
|
114
114
|
"scripts": {
|
|
115
115
|
"api": "fluid-build . --task api",
|
|
116
|
-
"api-extractor:commonjs": "flub generate entrypoints --
|
|
117
|
-
"api-extractor:esnext": "flub generate entrypoints --
|
|
116
|
+
"api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
|
|
117
|
+
"api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
|
|
118
118
|
"build": "fluid-build . --task build",
|
|
119
119
|
"build:commonjs": "fluid-build . --task commonjs",
|
|
120
120
|
"build:compile": "fluid-build . --task compile",
|
|
121
|
-
"build:docs": "
|
|
121
|
+
"build:docs": "concurrently \"npm:build:docs:*\"",
|
|
122
|
+
"build:docs:current": "api-extractor run --local",
|
|
123
|
+
"build:docs:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
|
|
122
124
|
"build:esnext": "tsc --project ./tsconfig.json",
|
|
123
125
|
"build:genver": "gen-version",
|
|
124
126
|
"build:test": "npm run build:test:esm && npm run build:test:cjs",
|
|
@@ -134,7 +136,9 @@
|
|
|
134
136
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
135
137
|
"check:format": "npm run check:biome",
|
|
136
138
|
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
137
|
-
"ci:build:docs": "
|
|
139
|
+
"ci:build:docs": "concurrently \"npm:ci:build:docs:*\"",
|
|
140
|
+
"ci:build:docs:current": "api-extractor run",
|
|
141
|
+
"ci:build:docs:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
138
142
|
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
139
143
|
"eslint": "eslint --format stylish src",
|
|
140
144
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
@@ -152,7 +156,7 @@
|
|
|
152
156
|
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
153
157
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && npm run place:cjs:package-stub",
|
|
154
158
|
"tsc:watch": "npm run place:cjs:package-stub && fluid-tsc commonjs --project ./tsconfig.cjs.json --watch",
|
|
155
|
-
"typetests:gen": "flub generate typetests --dir . -v
|
|
159
|
+
"typetests:gen": "flub generate typetests --dir . -v",
|
|
156
160
|
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
|
|
157
161
|
}
|
|
158
162
|
}
|
package/src/dataStoreRuntime.ts
CHANGED
|
@@ -96,6 +96,7 @@ import { pkgVersion } from "./packageVersion.js";
|
|
|
96
96
|
import { RemoteChannelContext } from "./remoteChannelContext.js";
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
|
+
* @legacy
|
|
99
100
|
* @alpha
|
|
100
101
|
*/
|
|
101
102
|
export enum DataStoreMessageType {
|
|
@@ -105,6 +106,7 @@ export enum DataStoreMessageType {
|
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
/**
|
|
109
|
+
* @legacy
|
|
108
110
|
* @alpha
|
|
109
111
|
*/
|
|
110
112
|
export interface ISharedObjectRegistry {
|
|
@@ -115,6 +117,7 @@ export interface ISharedObjectRegistry {
|
|
|
115
117
|
|
|
116
118
|
/**
|
|
117
119
|
* Base data store class
|
|
120
|
+
* @legacy
|
|
118
121
|
* @alpha
|
|
119
122
|
*/
|
|
120
123
|
export class FluidDataStoreRuntime
|
|
@@ -1243,6 +1246,7 @@ export class FluidDataStoreRuntime
|
|
|
1243
1246
|
* Request handler is only called when data store can't resolve request, i.e. for custom requests.
|
|
1244
1247
|
* @param Base - base class, inherits from FluidDataStoreRuntime
|
|
1245
1248
|
* @param requestHandler - request handler to mix in
|
|
1249
|
+
* @legacy
|
|
1246
1250
|
* @alpha
|
|
1247
1251
|
*/
|
|
1248
1252
|
export const mixinRequestHandler = (
|
|
@@ -1264,6 +1268,7 @@ export const mixinRequestHandler = (
|
|
|
1264
1268
|
* @param handler - handler that returns info about blob to be added to summary.
|
|
1265
1269
|
* Or undefined not to add anything to summary.
|
|
1266
1270
|
* @param Base - base class, inherits from FluidDataStoreRuntime
|
|
1271
|
+
* @legacy
|
|
1267
1272
|
* @alpha
|
|
1268
1273
|
*/
|
|
1269
1274
|
export const mixinSummaryHandler = (
|
package/src/fluidHandle.ts
CHANGED
package/src/packageVersion.ts
CHANGED