@fluidframework/fluid-static 2.0.0-dev-rc.5.0.0.271262 → 2.0.0-dev-rc.5.0.0.272251
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-lint-bundle.json +5 -0
- package/api-extractor/api-extractor-lint-public.cjs.json +5 -0
- package/api-extractor/api-extractor-lint-public.esm.json +5 -0
- package/api-report/fluid-static.alpha.api.md +7 -7
- package/api-report/fluid-static.beta.api.md +7 -7
- package/api-report/fluid-static.public.api.md +7 -7
- package/dist/fluidContainer.d.ts +2 -2
- package/dist/fluidContainer.d.ts.map +1 -1
- package/dist/fluidContainer.js +16 -18
- package/dist/fluidContainer.js.map +1 -1
- package/dist/rootDataObject.d.ts +1 -1
- package/dist/rootDataObject.d.ts.map +1 -1
- package/dist/rootDataObject.js +5 -4
- package/dist/rootDataObject.js.map +1 -1
- package/dist/serviceAudience.d.ts +3 -3
- package/dist/serviceAudience.d.ts.map +1 -1
- package/dist/serviceAudience.js +18 -24
- package/dist/serviceAudience.js.map +1 -1
- package/dist/types.d.ts +3 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils.d.ts +4 -4
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js.map +1 -1
- package/lib/fluidContainer.d.ts +2 -2
- package/lib/fluidContainer.d.ts.map +1 -1
- package/lib/fluidContainer.js +16 -18
- package/lib/fluidContainer.js.map +1 -1
- package/lib/rootDataObject.d.ts +1 -1
- package/lib/rootDataObject.d.ts.map +1 -1
- package/lib/rootDataObject.js +5 -4
- package/lib/rootDataObject.js.map +1 -1
- package/lib/serviceAudience.d.ts +3 -3
- package/lib/serviceAudience.d.ts.map +1 -1
- package/lib/serviceAudience.js +18 -24
- package/lib/serviceAudience.js.map +1 -1
- package/lib/types.d.ts +3 -3
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js.map +1 -1
- package/lib/utils.d.ts +4 -4
- package/lib/utils.d.ts.map +1 -1
- package/lib/utils.js.map +1 -1
- package/package.json +23 -19
- package/src/fluidContainer.ts +2 -6
- package/src/rootDataObject.ts +8 -8
- package/src/serviceAudience.ts +5 -10
- package/src/types.ts +3 -7
- package/src/utils.ts +4 -4
- package/tsdoc.json +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/fluid-static",
|
|
3
|
-
"version": "2.0.0-dev-rc.5.0.0.
|
|
3
|
+
"version": "2.0.0-dev-rc.5.0.0.272251",
|
|
4
4
|
"description": "A tool to enable consumption of Fluid Data Objects without requiring custom container code.",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -57,36 +57,37 @@
|
|
|
57
57
|
"temp-directory": "nyc/.nyc_output"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@fluid-internal/client-utils": "2.0.0-dev-rc.5.0.0.
|
|
61
|
-
"@fluidframework/aqueduct": "2.0.0-dev-rc.5.0.0.
|
|
62
|
-
"@fluidframework/container-definitions": "2.0.0-dev-rc.5.0.0.
|
|
63
|
-
"@fluidframework/container-loader": "2.0.0-dev-rc.5.0.0.
|
|
64
|
-
"@fluidframework/container-runtime": "2.0.0-dev-rc.5.0.0.
|
|
65
|
-
"@fluidframework/container-runtime-definitions": "2.0.0-dev-rc.5.0.0.
|
|
66
|
-
"@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.
|
|
67
|
-
"@fluidframework/datastore-definitions": "2.0.0-dev-rc.5.0.0.
|
|
68
|
-
"@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.
|
|
69
|
-
"@fluidframework/request-handler": "2.0.0-dev-rc.5.0.0.
|
|
70
|
-
"@fluidframework/runtime-definitions": "2.0.0-dev-rc.5.0.0.
|
|
71
|
-
"@fluidframework/runtime-utils": "2.0.0-dev-rc.5.0.0.
|
|
72
|
-
"@fluidframework/shared-object-base": "2.0.0-dev-rc.5.0.0.
|
|
73
|
-
"@fluidframework/telemetry-utils": "2.0.0-dev-rc.5.0.0.
|
|
60
|
+
"@fluid-internal/client-utils": "2.0.0-dev-rc.5.0.0.272251",
|
|
61
|
+
"@fluidframework/aqueduct": "2.0.0-dev-rc.5.0.0.272251",
|
|
62
|
+
"@fluidframework/container-definitions": "2.0.0-dev-rc.5.0.0.272251",
|
|
63
|
+
"@fluidframework/container-loader": "2.0.0-dev-rc.5.0.0.272251",
|
|
64
|
+
"@fluidframework/container-runtime": "2.0.0-dev-rc.5.0.0.272251",
|
|
65
|
+
"@fluidframework/container-runtime-definitions": "2.0.0-dev-rc.5.0.0.272251",
|
|
66
|
+
"@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.272251",
|
|
67
|
+
"@fluidframework/datastore-definitions": "2.0.0-dev-rc.5.0.0.272251",
|
|
68
|
+
"@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.272251",
|
|
69
|
+
"@fluidframework/request-handler": "2.0.0-dev-rc.5.0.0.272251",
|
|
70
|
+
"@fluidframework/runtime-definitions": "2.0.0-dev-rc.5.0.0.272251",
|
|
71
|
+
"@fluidframework/runtime-utils": "2.0.0-dev-rc.5.0.0.272251",
|
|
72
|
+
"@fluidframework/shared-object-base": "2.0.0-dev-rc.5.0.0.272251",
|
|
73
|
+
"@fluidframework/telemetry-utils": "2.0.0-dev-rc.5.0.0.272251"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
77
77
|
"@biomejs/biome": "^1.7.3",
|
|
78
|
-
"@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.
|
|
78
|
+
"@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.272251",
|
|
79
79
|
"@fluid-tools/build-cli": "^0.39.0",
|
|
80
80
|
"@fluidframework/build-common": "^2.0.3",
|
|
81
81
|
"@fluidframework/build-tools": "^0.39.0",
|
|
82
82
|
"@fluidframework/eslint-config-fluid": "^5.3.0",
|
|
83
83
|
"@fluidframework/fluid-static-previous": "npm:@fluidframework/fluid-static@2.0.0-rc.4.0.0",
|
|
84
|
-
"@fluidframework/map": "2.0.0-dev-rc.5.0.0.
|
|
85
|
-
"@fluidframework/sequence": "2.0.0-dev-rc.5.0.0.
|
|
84
|
+
"@fluidframework/map": "2.0.0-dev-rc.5.0.0.272251",
|
|
85
|
+
"@fluidframework/sequence": "2.0.0-dev-rc.5.0.0.272251",
|
|
86
86
|
"@microsoft/api-extractor": "^7.45.1",
|
|
87
87
|
"@types/mocha": "^9.1.1",
|
|
88
88
|
"@types/node": "^18.19.0",
|
|
89
89
|
"c8": "^8.0.1",
|
|
90
|
+
"concurrently": "^8.2.1",
|
|
90
91
|
"copyfiles": "^2.4.1",
|
|
91
92
|
"cross-env": "^7.0.3",
|
|
92
93
|
"eslint": "~8.55.0",
|
|
@@ -137,9 +138,12 @@
|
|
|
137
138
|
"build:test:esm": "tsc --project ./src/test/tsconfig.json",
|
|
138
139
|
"check:are-the-types-wrong": "attw --pack .",
|
|
139
140
|
"check:biome": "biome check . --formatter-enabled=true",
|
|
141
|
+
"check:exports": "concurrently \"npm:check:exports:*\"",
|
|
142
|
+
"check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
|
|
143
|
+
"check:exports:cjs:public": "api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json",
|
|
144
|
+
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
140
145
|
"check:format": "npm run check:prettier",
|
|
141
146
|
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
142
|
-
"check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json",
|
|
143
147
|
"ci:build:docs": "api-extractor run",
|
|
144
148
|
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
145
149
|
"eslint": "eslint --format stylish src",
|
package/src/fluidContainer.ts
CHANGED
|
@@ -9,12 +9,8 @@ import {
|
|
|
9
9
|
type ConnectionState,
|
|
10
10
|
type ICriticalContainerError,
|
|
11
11
|
} from "@fluidframework/container-definitions";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
type IEvent,
|
|
15
|
-
type IEventProvider,
|
|
16
|
-
type IFluidLoadable,
|
|
17
|
-
} from "@fluidframework/core-interfaces";
|
|
12
|
+
import type { IContainer } from "@fluidframework/container-definitions/internal";
|
|
13
|
+
import type { IEvent, IEventProvider, IFluidLoadable } from "@fluidframework/core-interfaces";
|
|
18
14
|
import type { SharedObjectKind } from "@fluidframework/shared-object-base";
|
|
19
15
|
|
|
20
16
|
import type { ContainerAttachProps, ContainerSchema, IRootDataObject } from "./types.js";
|
package/src/rootDataObject.ts
CHANGED
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
DataObject,
|
|
9
9
|
DataObjectFactory,
|
|
10
10
|
} from "@fluidframework/aqueduct/internal";
|
|
11
|
-
import {
|
|
11
|
+
import type { IRuntimeFactory } from "@fluidframework/container-definitions/internal";
|
|
12
12
|
import type { ContainerRuntime } from "@fluidframework/container-runtime/internal";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
import type { IContainerRuntime } from "@fluidframework/container-runtime-definitions/internal";
|
|
14
|
+
import type {
|
|
15
|
+
FluidObject,
|
|
16
|
+
IFluidLoadable,
|
|
17
|
+
IRequest,
|
|
18
|
+
IResponse,
|
|
19
19
|
} from "@fluidframework/core-interfaces";
|
|
20
|
-
import {
|
|
20
|
+
import type { IDirectory } from "@fluidframework/map/internal";
|
|
21
21
|
import { RequestParser } from "@fluidframework/runtime-utils/internal";
|
|
22
22
|
import type { SharedObjectKind } from "@fluidframework/shared-object-base";
|
|
23
23
|
import type { ISharedObjectKind } from "@fluidframework/shared-object-base/internal";
|
package/src/serviceAudience.ts
CHANGED
|
@@ -4,16 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { TypedEventEmitter } from "@fluid-internal/client-utils";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
import {
|
|
12
|
-
type IMember,
|
|
13
|
-
type IServiceAudience,
|
|
14
|
-
type IServiceAudienceEvents,
|
|
15
|
-
type Myself,
|
|
16
|
-
} from "./types.js";
|
|
7
|
+
import type { IAudience } from "@fluidframework/container-definitions";
|
|
8
|
+
import type { IContainer } from "@fluidframework/container-definitions/internal";
|
|
9
|
+
import type { IClient } from "@fluidframework/driver-definitions";
|
|
10
|
+
|
|
11
|
+
import type { IMember, IServiceAudience, IServiceAudienceEvents, Myself } from "./types.js";
|
|
17
12
|
|
|
18
13
|
/**
|
|
19
14
|
* Creates a service audience for the provided container.
|
package/src/types.ts
CHANGED
|
@@ -3,14 +3,10 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
type IEvent,
|
|
8
|
-
type IEventProvider,
|
|
9
|
-
type IFluidLoadable,
|
|
10
|
-
} from "@fluidframework/core-interfaces";
|
|
6
|
+
import type { IEvent, IEventProvider, IFluidLoadable } from "@fluidframework/core-interfaces";
|
|
11
7
|
import type { IFluidDataStoreFactory } from "@fluidframework/runtime-definitions/internal";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
8
|
+
import type { SharedObjectKind } from "@fluidframework/shared-object-base";
|
|
9
|
+
import type { ISharedObjectKind } from "@fluidframework/shared-object-base/internal";
|
|
14
10
|
|
|
15
11
|
/**
|
|
16
12
|
* Valid compatibility modes that may be specified when creating a DOProviderContainerRuntimeFactory.
|
package/src/utils.ts
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import type { IFluidLoadable } from "@fluidframework/core-interfaces";
|
|
7
|
+
import type { IChannelFactory } from "@fluidframework/datastore-definitions/internal";
|
|
8
|
+
import type { NamedFluidDataStoreRegistryEntry } from "@fluidframework/runtime-definitions/internal";
|
|
9
9
|
import type { ISharedObjectKind } from "@fluidframework/shared-object-base/internal";
|
|
10
10
|
import { UsageError } from "@fluidframework/telemetry-utils/internal";
|
|
11
11
|
|
|
12
|
-
import {
|
|
12
|
+
import type { ContainerSchema, DataObjectClass, LoadableObjectClass } from "./types.js";
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Runtime check to determine if a class is a DataObject type.
|
package/tsdoc.json
ADDED