@fluidframework/container-definitions 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,57 @@
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
+ */
10
+ export {
11
+ // public APIs
12
+ AttachState,
13
+ ConnectionState,
14
+ IAudience,
15
+ IConnectionDetails,
16
+ ICriticalContainerError,
17
+ IDeltaManager,
18
+ IDeltaManagerEvents,
19
+ IDeltaQueue,
20
+ IDeltaQueueEvents,
21
+ IDeltaSender,
22
+ IErrorBase,
23
+ ReadOnlyInfo,
24
+
25
+ // alpha APIs
26
+ ContainerErrorTypes,
27
+ ContainerWarning,
28
+ IAudienceOwner,
29
+ IBatchMessage,
30
+ ICodeDetailsLoader,
31
+ IContainer,
32
+ IContainerContext,
33
+ IContainerEvents,
34
+ IFluidBrowserPackage,
35
+ IFluidBrowserPackageEnvironment,
36
+ IFluidCodeDetails,
37
+ IFluidCodeDetailsComparer,
38
+ IFluidCodeDetailsConfig,
39
+ IFluidModule,
40
+ IFluidModuleWithDetails,
41
+ IFluidPackage,
42
+ IFluidPackageEnvironment,
43
+ IGetPendingLocalStateProps,
44
+ IHostLoader,
45
+ ILoader,
46
+ ILoaderOptions,
47
+ IProvideFluidCodeDetailsComparer,
48
+ IProvideLoader,
49
+ IProvideRuntimeFactory,
50
+ IRuntime,
51
+ IRuntimeFactory,
52
+ ISnapshotTreeWithBlobContents,
53
+ IThrottlingWarning,
54
+ LoaderHeader,
55
+ isFluidBrowserPackage,
56
+ isFluidPackage
57
+ } from "./index.js";
package/dist/beta.d.ts ADDED
@@ -0,0 +1,24 @@
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
+ */
10
+ export {
11
+ // public APIs
12
+ AttachState,
13
+ ConnectionState,
14
+ IAudience,
15
+ IConnectionDetails,
16
+ ICriticalContainerError,
17
+ IDeltaManager,
18
+ IDeltaManagerEvents,
19
+ IDeltaQueue,
20
+ IDeltaQueueEvents,
21
+ IDeltaSender,
22
+ IErrorBase,
23
+ ReadOnlyInfo
24
+ } from "./index.js";
@@ -0,0 +1,24 @@
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
+ */
10
+ export {
11
+ // public APIs
12
+ AttachState,
13
+ ConnectionState,
14
+ IAudience,
15
+ IConnectionDetails,
16
+ ICriticalContainerError,
17
+ IDeltaManager,
18
+ IDeltaManagerEvents,
19
+ IDeltaQueue,
20
+ IDeltaQueueEvents,
21
+ IDeltaSender,
22
+ IErrorBase,
23
+ ReadOnlyInfo
24
+ } from "./index.js";
package/lib/alpha.d.ts ADDED
@@ -0,0 +1,57 @@
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
+ */
10
+ export {
11
+ // public APIs
12
+ AttachState,
13
+ ConnectionState,
14
+ IAudience,
15
+ IConnectionDetails,
16
+ ICriticalContainerError,
17
+ IDeltaManager,
18
+ IDeltaManagerEvents,
19
+ IDeltaQueue,
20
+ IDeltaQueueEvents,
21
+ IDeltaSender,
22
+ IErrorBase,
23
+ ReadOnlyInfo,
24
+
25
+ // alpha APIs
26
+ ContainerErrorTypes,
27
+ ContainerWarning,
28
+ IAudienceOwner,
29
+ IBatchMessage,
30
+ ICodeDetailsLoader,
31
+ IContainer,
32
+ IContainerContext,
33
+ IContainerEvents,
34
+ IFluidBrowserPackage,
35
+ IFluidBrowserPackageEnvironment,
36
+ IFluidCodeDetails,
37
+ IFluidCodeDetailsComparer,
38
+ IFluidCodeDetailsConfig,
39
+ IFluidModule,
40
+ IFluidModuleWithDetails,
41
+ IFluidPackage,
42
+ IFluidPackageEnvironment,
43
+ IGetPendingLocalStateProps,
44
+ IHostLoader,
45
+ ILoader,
46
+ ILoaderOptions,
47
+ IProvideFluidCodeDetailsComparer,
48
+ IProvideLoader,
49
+ IProvideRuntimeFactory,
50
+ IRuntime,
51
+ IRuntimeFactory,
52
+ ISnapshotTreeWithBlobContents,
53
+ IThrottlingWarning,
54
+ LoaderHeader,
55
+ isFluidBrowserPackage,
56
+ isFluidPackage
57
+ } from "./index.js";
package/lib/beta.d.ts ADDED
@@ -0,0 +1,24 @@
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
+ */
10
+ export {
11
+ // public APIs
12
+ AttachState,
13
+ ConnectionState,
14
+ IAudience,
15
+ IConnectionDetails,
16
+ ICriticalContainerError,
17
+ IDeltaManager,
18
+ IDeltaManagerEvents,
19
+ IDeltaQueue,
20
+ IDeltaQueueEvents,
21
+ IDeltaSender,
22
+ IErrorBase,
23
+ ReadOnlyInfo
24
+ } from "./index.js";
@@ -0,0 +1,24 @@
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
+ */
10
+ export {
11
+ // public APIs
12
+ AttachState,
13
+ ConnectionState,
14
+ IAudience,
15
+ IConnectionDetails,
16
+ ICriticalContainerError,
17
+ IDeltaManager,
18
+ IDeltaManagerEvents,
19
+ IDeltaQueue,
20
+ IDeltaQueueEvents,
21
+ IDeltaSender,
22
+ IErrorBase,
23
+ ReadOnlyInfo
24
+ } from "./index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/container-definitions",
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": "Fluid container definitions",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -15,21 +15,21 @@
15
15
  "exports": {
16
16
  ".": {
17
17
  "import": {
18
- "types": "./lib/container-definitions-public.d.ts",
18
+ "types": "./lib/public.d.ts",
19
19
  "default": "./lib/index.js"
20
20
  },
21
21
  "require": {
22
- "types": "./dist/container-definitions-public.d.ts",
22
+ "types": "./dist/public.d.ts",
23
23
  "default": "./dist/index.js"
24
24
  }
25
25
  },
26
26
  "./alpha": {
27
27
  "import": {
28
- "types": "./lib/container-definitions-alpha.d.ts",
28
+ "types": "./lib/alpha.d.ts",
29
29
  "default": "./lib/index.js"
30
30
  },
31
31
  "require": {
32
- "types": "./dist/container-definitions-alpha.d.ts",
32
+ "types": "./dist/alpha.d.ts",
33
33
  "default": "./dist/index.js"
34
34
  }
35
35
  },
@@ -45,19 +45,19 @@
45
45
  }
46
46
  },
47
47
  "main": "dist/index.js",
48
- "types": "./dist/container-definitions-public.d.ts",
48
+ "types": "./dist/public.d.ts",
49
49
  "dependencies": {
50
- "@fluidframework/core-interfaces": "2.0.0-dev-rc.3.0.0.254274",
51
- "@fluidframework/driver-definitions": "2.0.0-dev-rc.3.0.0.254274",
50
+ "@fluidframework/core-interfaces": "2.0.0-dev-rc.3.0.0.254674",
51
+ "@fluidframework/driver-definitions": "2.0.0-dev-rc.3.0.0.254674",
52
52
  "@fluidframework/protocol-definitions": "^3.2.0",
53
53
  "@types/events_pkg": "npm:@types/events@^3.0.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@arethetypeswrong/cli": "^0.15.2",
57
57
  "@biomejs/biome": "^1.6.2",
58
- "@fluid-tools/build-cli": "^0.34.0",
58
+ "@fluid-tools/build-cli": "^0.35.0",
59
59
  "@fluidframework/build-common": "^2.0.3",
60
- "@fluidframework/build-tools": "^0.34.0",
60
+ "@fluidframework/build-tools": "^0.35.0",
61
61
  "@fluidframework/container-definitions-previous": "npm:@fluidframework/container-definitions@2.0.0-internal.8.0.0",
62
62
  "@fluidframework/eslint-config-fluid": "^5.1.0",
63
63
  "@microsoft/api-extractor": "^7.42.3",
@@ -68,18 +68,6 @@
68
68
  "rimraf": "^4.4.0",
69
69
  "typescript": "~5.1.6"
70
70
  },
71
- "fluidBuild": {
72
- "tasks": {
73
- "build:docs": {
74
- "dependsOn": [
75
- "...",
76
- "api-extractor:commonjs",
77
- "api-extractor:esnext"
78
- ],
79
- "script": false
80
- }
81
- }
82
- },
83
71
  "typeValidation": {
84
72
  "broken": {
85
73
  "RemovedEnumDeclaration_ContainerErrorType": {
@@ -103,12 +91,12 @@
103
91
  },
104
92
  "scripts": {
105
93
  "api": "fluid-build . --task api",
106
- "api-extractor:commonjs": "api-extractor run --config ./api-extractor-cjs.json",
107
- "api-extractor:esnext": "api-extractor run --local",
94
+ "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
95
+ "api-extractor:esnext": "flub generate entrypoints --outDir ./lib",
108
96
  "build": "fluid-build . --task build",
109
97
  "build:commonjs": "fluid-build . --task commonjs",
110
98
  "build:compile": "fluid-build . --task compile",
111
- "build:docs": "fluid-build . --task api",
99
+ "build:docs": "api-extractor run --local",
112
100
  "build:esnext": "tsc --project ./tsconfig.json",
113
101
  "build:test": "npm run build:test:esm && npm run build:test:cjs",
114
102
  "build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
@@ -1,8 +0,0 @@
1
- {
2
- "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
- "extends": "../../../common/build/build-common/api-extractor-base.cjs.primary.json",
4
- // CJS is actually secondary; so, no report.
5
- "apiReport": {
6
- "enabled": false
7
- }
8
- }