@fluid-experimental/data-object-base 2.0.0-dev-rc.3.0.0.254274 → 2.0.0-dev-rc.3.0.0.254674

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.
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
package/dist/beta.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
package/lib/alpha.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
package/lib/beta.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-experimental/data-object-base",
3
- "version": "2.0.0-dev-rc.3.0.0.254274",
3
+ "version": "2.0.0-dev-rc.3.0.0.254674",
4
4
  "description": "Data object base for synchronously and lazily loaded object scenarios",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -25,11 +25,11 @@
25
25
  },
26
26
  "./public": {
27
27
  "import": {
28
- "types": "./lib/data-object-base-public.d.ts",
28
+ "types": "./lib/public.d.ts",
29
29
  "default": "./lib/index.js"
30
30
  },
31
31
  "require": {
32
- "types": "./dist/data-object-base-public.d.ts",
32
+ "types": "./dist/public.d.ts",
33
33
  "default": "./dist/index.js"
34
34
  }
35
35
  },
@@ -53,25 +53,25 @@
53
53
  "es5/**/*"
54
54
  ],
55
55
  "dependencies": {
56
- "@fluid-internal/client-utils": "2.0.0-dev-rc.3.0.0.254274",
57
- "@fluidframework/container-definitions": "2.0.0-dev-rc.3.0.0.254274",
58
- "@fluidframework/container-runtime": "2.0.0-dev-rc.3.0.0.254274",
59
- "@fluidframework/container-runtime-definitions": "2.0.0-dev-rc.3.0.0.254274",
60
- "@fluidframework/core-interfaces": "2.0.0-dev-rc.3.0.0.254274",
61
- "@fluidframework/core-utils": "2.0.0-dev-rc.3.0.0.254274",
62
- "@fluidframework/datastore": "2.0.0-dev-rc.3.0.0.254274",
63
- "@fluidframework/datastore-definitions": "2.0.0-dev-rc.3.0.0.254274",
64
- "@fluidframework/request-handler": "2.0.0-dev-rc.3.0.0.254274",
65
- "@fluidframework/runtime-definitions": "2.0.0-dev-rc.3.0.0.254274",
66
- "@fluidframework/runtime-utils": "2.0.0-dev-rc.3.0.0.254274",
67
- "@fluidframework/shared-object-base": "2.0.0-dev-rc.3.0.0.254274"
56
+ "@fluid-internal/client-utils": "2.0.0-dev-rc.3.0.0.254674",
57
+ "@fluidframework/container-definitions": "2.0.0-dev-rc.3.0.0.254674",
58
+ "@fluidframework/container-runtime": "2.0.0-dev-rc.3.0.0.254674",
59
+ "@fluidframework/container-runtime-definitions": "2.0.0-dev-rc.3.0.0.254674",
60
+ "@fluidframework/core-interfaces": "2.0.0-dev-rc.3.0.0.254674",
61
+ "@fluidframework/core-utils": "2.0.0-dev-rc.3.0.0.254674",
62
+ "@fluidframework/datastore": "2.0.0-dev-rc.3.0.0.254674",
63
+ "@fluidframework/datastore-definitions": "2.0.0-dev-rc.3.0.0.254674",
64
+ "@fluidframework/request-handler": "2.0.0-dev-rc.3.0.0.254674",
65
+ "@fluidframework/runtime-definitions": "2.0.0-dev-rc.3.0.0.254674",
66
+ "@fluidframework/runtime-utils": "2.0.0-dev-rc.3.0.0.254674",
67
+ "@fluidframework/shared-object-base": "2.0.0-dev-rc.3.0.0.254674"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@arethetypeswrong/cli": "^0.15.2",
71
71
  "@biomejs/biome": "^1.6.2",
72
- "@fluid-tools/build-cli": "^0.34.0",
72
+ "@fluid-tools/build-cli": "^0.35.0",
73
73
  "@fluidframework/build-common": "^2.0.3",
74
- "@fluidframework/build-tools": "^0.34.0",
74
+ "@fluidframework/build-tools": "^0.35.0",
75
75
  "@fluidframework/eslint-config-fluid": "^5.1.0",
76
76
  "@microsoft/api-extractor": "^7.42.3",
77
77
  "@types/node": "^18.19.0",
@@ -81,29 +81,17 @@
81
81
  "rimraf": "^4.4.0",
82
82
  "typescript": "~5.1.6"
83
83
  },
84
- "fluidBuild": {
85
- "tasks": {
86
- "build:docs": {
87
- "dependsOn": [
88
- "...",
89
- "api-extractor:commonjs",
90
- "api-extractor:esnext"
91
- ],
92
- "script": false
93
- }
94
- }
95
- },
96
84
  "typeValidation": {
97
85
  "disabled": true,
98
86
  "broken": {}
99
87
  },
100
88
  "scripts": {
101
89
  "api": "fluid-build . --task api",
102
- "api-extractor:commonjs": "api-extractor run --config ./api-extractor-cjs.json",
103
- "api-extractor:esnext": "api-extractor run --local",
90
+ "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
91
+ "api-extractor:esnext": "flub generate entrypoints --outDir ./lib",
104
92
  "build": "fluid-build . --task build",
105
93
  "build:compile": "fluid-build . --task compile",
106
- "build:docs": "fluid-build . --task api",
94
+ "build:docs": "api-extractor run --local",
107
95
  "build:esnext": "tsc --project ./tsconfig.json",
108
96
  "build:test": "npm run build:test:esm && npm run build:test:cjs",
109
97
  "build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
@@ -1,20 +0,0 @@
1
- /**
2
- * The view interfaces provide a generic way for objects to expose their
3
- * rendering capabilities to consumers.
4
- *
5
- * @packageDocumentation
6
- */
7
-
8
- import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
9
- import { FluidObject } from '@fluidframework/core-interfaces';
10
- import { IContainerContext } from '@fluidframework/container-definitions/internal';
11
- import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
12
- import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
13
- import { RuntimeFactoryHelper } from '@fluidframework/runtime-utils/internal';
14
- import { RuntimeRequestHandler } from '@fluidframework/request-handler/internal';
15
-
16
- /* Excluded from this release type: RuntimeFactory */
17
-
18
- /* Excluded from this release type: RuntimeFactoryProps */
19
-
20
- export { }
@@ -1,32 +0,0 @@
1
- /**
2
- * The view interfaces provide a generic way for objects to expose their
3
- * rendering capabilities to consumers.
4
- *
5
- * @packageDocumentation
6
- */
7
-
8
- import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
9
- import { FluidObject } from '@fluidframework/core-interfaces';
10
- import { IContainerContext } from '@fluidframework/container-definitions/internal';
11
- import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
12
- import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
13
- import { RuntimeFactoryHelper } from '@fluidframework/runtime-utils/internal';
14
- import { RuntimeRequestHandler } from '@fluidframework/request-handler/internal';
15
-
16
- /* Excluded from this release type: ContainerRuntime */
17
-
18
- /* Excluded from this release type: IContainerContext */
19
-
20
- /* Excluded from this release type: IContainerRuntime */
21
-
22
- /* Excluded from this release type: IFluidDataStoreFactory */
23
-
24
- /* Excluded from this release type: RuntimeFactory */
25
-
26
- /* Excluded from this release type: RuntimeFactoryHelper */
27
-
28
- /* Excluded from this release type: RuntimeFactoryProps */
29
-
30
- /* Excluded from this release type: RuntimeRequestHandler */
31
-
32
- export { }
@@ -1,32 +0,0 @@
1
- /**
2
- * The view interfaces provide a generic way for objects to expose their
3
- * rendering capabilities to consumers.
4
- *
5
- * @packageDocumentation
6
- */
7
-
8
- import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
9
- import { FluidObject } from '@fluidframework/core-interfaces';
10
- import { IContainerContext } from '@fluidframework/container-definitions/internal';
11
- import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
12
- import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
13
- import { RuntimeFactoryHelper } from '@fluidframework/runtime-utils/internal';
14
- import { RuntimeRequestHandler } from '@fluidframework/request-handler/internal';
15
-
16
- /* Excluded from this release type: ContainerRuntime */
17
-
18
- /* Excluded from this release type: IContainerContext */
19
-
20
- /* Excluded from this release type: IContainerRuntime */
21
-
22
- /* Excluded from this release type: IFluidDataStoreFactory */
23
-
24
- /* Excluded from this release type: RuntimeFactory */
25
-
26
- /* Excluded from this release type: RuntimeFactoryHelper */
27
-
28
- /* Excluded from this release type: RuntimeFactoryProps */
29
-
30
- /* Excluded from this release type: RuntimeRequestHandler */
31
-
32
- export { }
@@ -1,43 +0,0 @@
1
- /**
2
- * The view interfaces provide a generic way for objects to expose their
3
- * rendering capabilities to consumers.
4
- *
5
- * @packageDocumentation
6
- */
7
-
8
- import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
9
- import { FluidObject } from '@fluidframework/core-interfaces';
10
- import { IContainerContext } from '@fluidframework/container-definitions/internal';
11
- import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
12
- import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
13
- import { RuntimeFactoryHelper } from '@fluidframework/runtime-utils/internal';
14
- import { RuntimeRequestHandler } from '@fluidframework/request-handler/internal';
15
-
16
- /**
17
- * @internal
18
- */
19
- export declare class RuntimeFactory extends RuntimeFactoryHelper {
20
- private readonly registry;
21
- private readonly defaultStoreFactory;
22
- private readonly requestHandlers;
23
- private readonly provideEntryPoint;
24
- constructor(props: RuntimeFactoryProps);
25
- instantiateFirstTime(runtime: ContainerRuntime): Promise<void>;
26
- preInitialize(context: IContainerContext, existing: boolean): Promise<ContainerRuntime>;
27
- }
28
-
29
- /**
30
- * {@link RuntimeFactory} construction properties.
31
- * @internal
32
- */
33
- export declare interface RuntimeFactoryProps {
34
- defaultStoreFactory: IFluidDataStoreFactory;
35
- storeFactories: IFluidDataStoreFactory[];
36
- /**
37
- * @deprecated Will be removed once Loader LTS version is "2.0.0-internal.7.0.0". Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
38
- */
39
- requestHandlers?: RuntimeRequestHandler[];
40
- provideEntryPoint: (runtime: IContainerRuntime) => Promise<FluidObject>;
41
- }
42
-
43
- export { }
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.42.3"
9
- }
10
- ]
11
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * The view interfaces provide a generic way for objects to expose their
3
- * rendering capabilities to consumers.
4
- *
5
- * @packageDocumentation
6
- */
7
-
8
- import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
9
- import { FluidObject } from '@fluidframework/core-interfaces';
10
- import { IContainerContext } from '@fluidframework/container-definitions/internal';
11
- import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
12
- import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
13
- import { RuntimeFactoryHelper } from '@fluidframework/runtime-utils/internal';
14
- import { RuntimeRequestHandler } from '@fluidframework/request-handler/internal';
15
-
16
- /* Excluded from this release type: RuntimeFactory */
17
-
18
- /* Excluded from this release type: RuntimeFactoryProps */
19
-
20
- export { }
@@ -1,32 +0,0 @@
1
- /**
2
- * The view interfaces provide a generic way for objects to expose their
3
- * rendering capabilities to consumers.
4
- *
5
- * @packageDocumentation
6
- */
7
-
8
- import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
9
- import { FluidObject } from '@fluidframework/core-interfaces';
10
- import { IContainerContext } from '@fluidframework/container-definitions/internal';
11
- import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
12
- import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
13
- import { RuntimeFactoryHelper } from '@fluidframework/runtime-utils/internal';
14
- import { RuntimeRequestHandler } from '@fluidframework/request-handler/internal';
15
-
16
- /* Excluded from this release type: ContainerRuntime */
17
-
18
- /* Excluded from this release type: IContainerContext */
19
-
20
- /* Excluded from this release type: IContainerRuntime */
21
-
22
- /* Excluded from this release type: IFluidDataStoreFactory */
23
-
24
- /* Excluded from this release type: RuntimeFactory */
25
-
26
- /* Excluded from this release type: RuntimeFactoryHelper */
27
-
28
- /* Excluded from this release type: RuntimeFactoryProps */
29
-
30
- /* Excluded from this release type: RuntimeRequestHandler */
31
-
32
- export { }
@@ -1,32 +0,0 @@
1
- /**
2
- * The view interfaces provide a generic way for objects to expose their
3
- * rendering capabilities to consumers.
4
- *
5
- * @packageDocumentation
6
- */
7
-
8
- import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
9
- import { FluidObject } from '@fluidframework/core-interfaces';
10
- import { IContainerContext } from '@fluidframework/container-definitions/internal';
11
- import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
12
- import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
13
- import { RuntimeFactoryHelper } from '@fluidframework/runtime-utils/internal';
14
- import { RuntimeRequestHandler } from '@fluidframework/request-handler/internal';
15
-
16
- /* Excluded from this release type: ContainerRuntime */
17
-
18
- /* Excluded from this release type: IContainerContext */
19
-
20
- /* Excluded from this release type: IContainerRuntime */
21
-
22
- /* Excluded from this release type: IFluidDataStoreFactory */
23
-
24
- /* Excluded from this release type: RuntimeFactory */
25
-
26
- /* Excluded from this release type: RuntimeFactoryHelper */
27
-
28
- /* Excluded from this release type: RuntimeFactoryProps */
29
-
30
- /* Excluded from this release type: RuntimeRequestHandler */
31
-
32
- export { }
@@ -1,43 +0,0 @@
1
- /**
2
- * The view interfaces provide a generic way for objects to expose their
3
- * rendering capabilities to consumers.
4
- *
5
- * @packageDocumentation
6
- */
7
-
8
- import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
9
- import { FluidObject } from '@fluidframework/core-interfaces';
10
- import { IContainerContext } from '@fluidframework/container-definitions/internal';
11
- import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
12
- import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
13
- import { RuntimeFactoryHelper } from '@fluidframework/runtime-utils/internal';
14
- import { RuntimeRequestHandler } from '@fluidframework/request-handler/internal';
15
-
16
- /**
17
- * @internal
18
- */
19
- export declare class RuntimeFactory extends RuntimeFactoryHelper {
20
- private readonly registry;
21
- private readonly defaultStoreFactory;
22
- private readonly requestHandlers;
23
- private readonly provideEntryPoint;
24
- constructor(props: RuntimeFactoryProps);
25
- instantiateFirstTime(runtime: ContainerRuntime): Promise<void>;
26
- preInitialize(context: IContainerContext, existing: boolean): Promise<ContainerRuntime>;
27
- }
28
-
29
- /**
30
- * {@link RuntimeFactory} construction properties.
31
- * @internal
32
- */
33
- export declare interface RuntimeFactoryProps {
34
- defaultStoreFactory: IFluidDataStoreFactory;
35
- storeFactories: IFluidDataStoreFactory[];
36
- /**
37
- * @deprecated Will be removed once Loader LTS version is "2.0.0-internal.7.0.0". Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
38
- */
39
- requestHandlers?: RuntimeRequestHandler[];
40
- provideEntryPoint: (runtime: IContainerRuntime) => Promise<FluidObject>;
41
- }
42
-
43
- export { }
@@ -1 +0,0 @@
1
- {"program":{"fileNames":[],"fileInfos":[],"options":{"composite":false,"declaration":false,"declarationMap":false,"esModuleInterop":true,"inlineSources":true,"jsx":2,"module":100,"noImplicitAny":false,"noUnusedLocals":true,"outDir":"","rootDir":"../../src/test","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7}},"version":"5.1.6"}