@fluidframework/driver-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,45 @@
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
+ DriverErrorTypes,
13
+ IAnyDriverError,
14
+ IDriverErrorBase,
15
+
16
+ // alpha APIs
17
+ DriverError,
18
+ DriverHeader,
19
+ DriverPreCheckInfo,
20
+ FetchSource,
21
+ FiveDaysMs,
22
+ IAuthorizationError,
23
+ IContainerPackageInfo,
24
+ IDocumentDeltaConnection,
25
+ IDocumentDeltaConnectionEvents,
26
+ IDocumentDeltaStorageService,
27
+ IDocumentService,
28
+ IDocumentServiceEvents,
29
+ IDocumentServiceFactory,
30
+ IDocumentServicePolicies,
31
+ IDocumentStorageService,
32
+ IDocumentStorageServicePolicies,
33
+ IDriverBasicError,
34
+ IGenericNetworkError,
35
+ ILocationRedirectionError,
36
+ IResolvedUrl,
37
+ ISnapshot,
38
+ ISnapshotFetchOptions,
39
+ IStream,
40
+ IStreamResult,
41
+ ISummaryContext,
42
+ IThrottlingWarning,
43
+ IUrlResolver,
44
+ LoaderCachingPolicy
45
+ } from "./index.js";
package/dist/beta.d.ts ADDED
@@ -0,0 +1,15 @@
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
+ DriverErrorTypes,
13
+ IAnyDriverError,
14
+ IDriverErrorBase
15
+ } from "./index.js";
@@ -0,0 +1,15 @@
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
+ DriverErrorTypes,
13
+ IAnyDriverError,
14
+ IDriverErrorBase
15
+ } from "./index.js";
package/lib/alpha.d.ts ADDED
@@ -0,0 +1,45 @@
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
+ DriverErrorTypes,
13
+ IAnyDriverError,
14
+ IDriverErrorBase,
15
+
16
+ // alpha APIs
17
+ DriverError,
18
+ DriverHeader,
19
+ DriverPreCheckInfo,
20
+ FetchSource,
21
+ FiveDaysMs,
22
+ IAuthorizationError,
23
+ IContainerPackageInfo,
24
+ IDocumentDeltaConnection,
25
+ IDocumentDeltaConnectionEvents,
26
+ IDocumentDeltaStorageService,
27
+ IDocumentService,
28
+ IDocumentServiceEvents,
29
+ IDocumentServiceFactory,
30
+ IDocumentServicePolicies,
31
+ IDocumentStorageService,
32
+ IDocumentStorageServicePolicies,
33
+ IDriverBasicError,
34
+ IGenericNetworkError,
35
+ ILocationRedirectionError,
36
+ IResolvedUrl,
37
+ ISnapshot,
38
+ ISnapshotFetchOptions,
39
+ IStream,
40
+ IStreamResult,
41
+ ISummaryContext,
42
+ IThrottlingWarning,
43
+ IUrlResolver,
44
+ LoaderCachingPolicy
45
+ } from "./index.js";
package/lib/beta.d.ts ADDED
@@ -0,0 +1,15 @@
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
+ DriverErrorTypes,
13
+ IAnyDriverError,
14
+ IDriverErrorBase
15
+ } from "./index.js";
@@ -0,0 +1,15 @@
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
+ DriverErrorTypes,
13
+ IAnyDriverError,
14
+ IDriverErrorBase
15
+ } from "./index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/driver-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 driver 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/driver-definitions-public.d.ts",
18
+ "types": "./lib/public.d.ts",
19
19
  "default": "./lib/index.js"
20
20
  },
21
21
  "require": {
22
- "types": "./dist/driver-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/driver-definitions-alpha.d.ts",
28
+ "types": "./lib/alpha.d.ts",
29
29
  "default": "./lib/index.js"
30
30
  },
31
31
  "require": {
32
- "types": "./dist/driver-definitions-alpha.d.ts",
32
+ "types": "./dist/alpha.d.ts",
33
33
  "default": "./dist/index.js"
34
34
  }
35
35
  },
@@ -45,17 +45,17 @@
45
45
  }
46
46
  },
47
47
  "main": "dist/index.js",
48
- "types": "./dist/driver-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",
50
+ "@fluidframework/core-interfaces": "2.0.0-dev-rc.3.0.0.254674",
51
51
  "@fluidframework/protocol-definitions": "^3.2.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@arethetypeswrong/cli": "^0.15.2",
55
55
  "@biomejs/biome": "^1.6.2",
56
- "@fluid-tools/build-cli": "^0.34.0",
56
+ "@fluid-tools/build-cli": "^0.35.0",
57
57
  "@fluidframework/build-common": "^2.0.3",
58
- "@fluidframework/build-tools": "^0.34.0",
58
+ "@fluidframework/build-tools": "^0.35.0",
59
59
  "@fluidframework/driver-definitions-previous": "npm:@fluidframework/driver-definitions@2.0.0-internal.8.0.0",
60
60
  "@fluidframework/eslint-config-fluid": "^5.1.0",
61
61
  "@microsoft/api-extractor": "^7.42.3",
@@ -67,14 +67,6 @@
67
67
  },
68
68
  "fluidBuild": {
69
69
  "tasks": {
70
- "build:docs": {
71
- "dependsOn": [
72
- "...",
73
- "api-extractor:commonjs",
74
- "api-extractor:esnext"
75
- ],
76
- "script": false
77
- },
78
70
  "tsc": [
79
71
  "...",
80
72
  "typetests:gen"
@@ -97,11 +89,11 @@
97
89
  },
98
90
  "scripts": {
99
91
  "api": "fluid-build . --task api",
100
- "api-extractor:commonjs": "api-extractor run --config ./api-extractor-cjs.json",
101
- "api-extractor:esnext": "api-extractor run --local",
92
+ "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
93
+ "api-extractor:esnext": "flub generate entrypoints --outDir ./lib",
102
94
  "build": "fluid-build . --task build",
103
95
  "build:compile": "fluid-build . --task compile",
104
- "build:docs": "fluid-build . --task api",
96
+ "build:docs": "api-extractor run --local",
105
97
  "build:esnext": "tsc --project ./tsconfig.json",
106
98
  "check:are-the-types-wrong": "attw --pack . --entrypoints .",
107
99
  "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
@@ -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
- }