@fluidframework/datastore-definitions
Advanced tools
Comparing version 2.0.0-dev-rc.5.0.0.272251 to 2.0.0-dev-rc.5.0.0.272889
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", | ||
"extends": "../../../common/build/build-common/api-extractor-base.esm.primary.json" | ||
"extends": "../../../common/build/build-common/api-extractor-base.esm.current.json" | ||
} |
{ | ||
"name": "@fluidframework/datastore-definitions", | ||
"version": "2.0.0-dev-rc.5.0.0.272251", | ||
"version": "2.0.0-dev-rc.5.0.0.272889", | ||
"description": "Fluid data store definitions", | ||
@@ -44,7 +44,7 @@ "homepage": "https://fluidframework.com", | ||
"dependencies": { | ||
"@fluidframework/container-definitions": "2.0.0-dev-rc.5.0.0.272251", | ||
"@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.272251", | ||
"@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.272251", | ||
"@fluidframework/id-compressor": "2.0.0-dev-rc.5.0.0.272251", | ||
"@fluidframework/runtime-definitions": "2.0.0-dev-rc.5.0.0.272251" | ||
"@fluidframework/container-definitions": "2.0.0-dev-rc.5.0.0.272889", | ||
"@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.272889", | ||
"@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.272889", | ||
"@fluidframework/id-compressor": "2.0.0-dev-rc.5.0.0.272889", | ||
"@fluidframework/runtime-definitions": "2.0.0-dev-rc.5.0.0.272889" | ||
}, | ||
@@ -89,3 +89,3 @@ "devDependencies": { | ||
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json", | ||
"check:format": "npm run check:prettier", | ||
"check:format": "npm run check:biome", | ||
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore", | ||
@@ -96,3 +96,3 @@ "ci:build:docs": "api-extractor run", | ||
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout", | ||
"format": "npm run format:prettier", | ||
"format": "npm run format:biome", | ||
"format:biome": "biome check . --formatter-enabled=true --apply", | ||
@@ -99,0 +99,0 @@ "format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore", |
@@ -132,3 +132,7 @@ /*! | ||
*/ | ||
process: (message: ISequencedDocumentMessage, local: boolean, localOpMetadata: unknown) => void; | ||
process: ( | ||
message: ISequencedDocumentMessage, | ||
local: boolean, | ||
localOpMetadata: unknown, | ||
) => void; | ||
@@ -135,0 +139,0 @@ /** |
@@ -114,3 +114,6 @@ /*! | ||
*/ | ||
uploadBlob(blob: ArrayBufferLike, signal?: AbortSignal): Promise<IFluidHandle<ArrayBufferLike>>; | ||
uploadBlob( | ||
blob: ArrayBufferLike, | ||
signal?: AbortSignal, | ||
): Promise<IFluidHandle<ArrayBufferLike>>; | ||
@@ -117,0 +120,0 @@ /** |
@@ -84,26 +84,28 @@ /*! | ||
export type Jsonable<T, TReplaced = never> = /* test for 'any' */ boolean extends ( | ||
T extends never ? true : false | ||
T extends never | ||
? true | ||
: false | ||
) | ||
? /* 'any' => */ JsonableTypeWith<TReplaced> | ||
: /* test for 'unknown' */ unknown extends T | ||
? /* 'unknown' => */ JsonableTypeWith<TReplaced> | ||
: /* test for Jsonable primitive types */ T extends | ||
| undefined /* is not serialized */ | ||
| null | ||
| boolean | ||
| number | ||
| string | ||
| TReplaced | ||
? /* primitive types => */ T | ||
: // eslint-disable-next-line @typescript-eslint/ban-types | ||
/* test for not a function */ Extract<T, Function> extends never | ||
? /* not a function => => test for object */ T extends object | ||
? /* object => test for array */ T extends (infer U)[] // prefer ArrayLike test to catch non-array array-like types | ||
? /* array => */ Jsonable<U, TReplaced>[] | ||
: /* property bag => */ { | ||
[K in keyof T]: Extract<K, symbol> extends never | ||
? Jsonable<T[K], TReplaced> | ||
: never; | ||
} | ||
: /* not an object => */ never | ||
: /* function => */ never; | ||
? /* 'unknown' => */ JsonableTypeWith<TReplaced> | ||
: /* test for Jsonable primitive types */ T extends | ||
| undefined /* is not serialized */ | ||
| null | ||
| boolean | ||
| number | ||
| string | ||
| TReplaced | ||
? /* primitive types => */ T | ||
: // eslint-disable-next-line @typescript-eslint/ban-types | ||
/* test for not a function */ Extract<T, Function> extends never | ||
? /* not a function => => test for object */ T extends object | ||
? /* object => test for array */ T extends (infer U)[] // prefer ArrayLike test to catch non-array array-like types | ||
? /* array => */ Jsonable<U, TReplaced>[] | ||
: /* property bag => */ { | ||
[K in keyof T]: Extract<K, symbol> extends never | ||
? Jsonable<T[K], TReplaced> | ||
: never; | ||
} | ||
: /* not an object => */ never | ||
: /* function => */ never; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
125108
1773
+ Added@fluid-internal/client-utils@2.0.0-dev-rc.5.0.0.272889(transitive)
+ Added@fluidframework/container-definitions@2.0.0-dev-rc.5.0.0.272889(transitive)
+ Added@fluidframework/core-interfaces@2.0.0-dev-rc.5.0.0.272889(transitive)
+ Added@fluidframework/core-utils@2.0.0-dev-rc.5.0.0.272889(transitive)
+ Added@fluidframework/driver-definitions@2.0.0-dev-rc.5.0.0.272889(transitive)
+ Added@fluidframework/id-compressor@2.0.0-dev-rc.5.0.0.272889(transitive)
+ Added@fluidframework/runtime-definitions@2.0.0-dev-rc.5.0.0.272889(transitive)
+ Added@fluidframework/telemetry-utils@2.0.0-dev-rc.5.0.0.272889(transitive)
- Removed@fluid-internal/client-utils@2.0.0-dev-rc.5.0.0.272251(transitive)
- Removed@fluidframework/container-definitions@2.0.0-dev-rc.5.0.0.272251(transitive)
- Removed@fluidframework/core-interfaces@2.0.0-dev-rc.5.0.0.272251(transitive)
- Removed@fluidframework/core-utils@2.0.0-dev-rc.5.0.0.272251(transitive)
- Removed@fluidframework/driver-definitions@2.0.0-dev-rc.5.0.0.272251(transitive)
- Removed@fluidframework/id-compressor@2.0.0-dev-rc.5.0.0.272251(transitive)
- Removed@fluidframework/runtime-definitions@2.0.0-dev-rc.5.0.0.272251(transitive)
- Removed@fluidframework/telemetry-utils@2.0.0-dev-rc.5.0.0.272251(transitive)
Updated@fluidframework/container-definitions@2.0.0-dev-rc.5.0.0.272889
Updated@fluidframework/core-interfaces@2.0.0-dev-rc.5.0.0.272889
Updated@fluidframework/driver-definitions@2.0.0-dev-rc.5.0.0.272889
Updated@fluidframework/id-compressor@2.0.0-dev-rc.5.0.0.272889
Updated@fluidframework/runtime-definitions@2.0.0-dev-rc.5.0.0.272889