@fluidframework/odsp-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,42 @@
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
+ // beta APIs
12
+ TokenResponse,
13
+
14
+ // alpha APIs
15
+ CacheContentType,
16
+ HostStoragePolicy,
17
+ ICacheEntry,
18
+ ICollabSessionOptions,
19
+ IEntry,
20
+ IFileEntry,
21
+ IOdspError,
22
+ IOdspErrorAugmentations,
23
+ IOdspResolvedUrl,
24
+ IOdspUrlParts,
25
+ IOpsCachingPolicy,
26
+ IPersistedCache,
27
+ IProvideSessionAwareDriverFactory,
28
+ IRelaySessionAwareDriverFactory,
29
+ ISharingLink,
30
+ ISharingLinkKind,
31
+ ISnapshotOptions,
32
+ ISocketStorageDiscovery,
33
+ IdentityType,
34
+ OdspError,
35
+ OdspErrorTypes,
36
+ OdspResourceTokenFetchOptions,
37
+ ShareLinkInfoType,
38
+ SharingLinkRole,
39
+ SharingLinkScope,
40
+ TokenFetchOptions,
41
+ TokenFetcher
42
+ } from "./index.js";
package/dist/beta.d.ts ADDED
@@ -0,0 +1,13 @@
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
+ // beta APIs
12
+ TokenResponse
13
+ } from "./index.js";
@@ -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,42 @@
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
+ // beta APIs
12
+ TokenResponse,
13
+
14
+ // alpha APIs
15
+ CacheContentType,
16
+ HostStoragePolicy,
17
+ ICacheEntry,
18
+ ICollabSessionOptions,
19
+ IEntry,
20
+ IFileEntry,
21
+ IOdspError,
22
+ IOdspErrorAugmentations,
23
+ IOdspResolvedUrl,
24
+ IOdspUrlParts,
25
+ IOpsCachingPolicy,
26
+ IPersistedCache,
27
+ IProvideSessionAwareDriverFactory,
28
+ IRelaySessionAwareDriverFactory,
29
+ ISharingLink,
30
+ ISharingLinkKind,
31
+ ISnapshotOptions,
32
+ ISocketStorageDiscovery,
33
+ IdentityType,
34
+ OdspError,
35
+ OdspErrorTypes,
36
+ OdspResourceTokenFetchOptions,
37
+ ShareLinkInfoType,
38
+ SharingLinkRole,
39
+ SharingLinkScope,
40
+ TokenFetchOptions,
41
+ TokenFetcher
42
+ } from "./index.js";
package/lib/beta.d.ts ADDED
@@ -0,0 +1,13 @@
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
+ // beta APIs
12
+ TokenResponse
13
+ } from "./index.js";
@@ -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": "@fluidframework/odsp-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": "Socket storage implementation for SPO and ODC",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -15,31 +15,31 @@
15
15
  "exports": {
16
16
  ".": {
17
17
  "import": {
18
- "types": "./lib/odsp-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/odsp-driver-definitions-public.d.ts",
22
+ "types": "./dist/public.d.ts",
23
23
  "default": "./dist/index.js"
24
24
  }
25
25
  },
26
26
  "./beta": {
27
27
  "import": {
28
- "types": "./lib/odsp-driver-definitions-beta.d.ts",
28
+ "types": "./lib/beta.d.ts",
29
29
  "default": "./lib/index.js"
30
30
  },
31
31
  "require": {
32
- "types": "./dist/odsp-driver-definitions-beta.d.ts",
32
+ "types": "./dist/beta.d.ts",
33
33
  "default": "./dist/index.js"
34
34
  }
35
35
  },
36
36
  "./alpha": {
37
37
  "import": {
38
- "types": "./lib/odsp-driver-definitions-alpha.d.ts",
38
+ "types": "./lib/alpha.d.ts",
39
39
  "default": "./lib/index.js"
40
40
  },
41
41
  "require": {
42
- "types": "./dist/odsp-driver-definitions-alpha.d.ts",
42
+ "types": "./dist/alpha.d.ts",
43
43
  "default": "./dist/index.js"
44
44
  }
45
45
  },
@@ -55,16 +55,16 @@
55
55
  }
56
56
  },
57
57
  "main": "dist/index.js",
58
- "types": "./dist/odsp-driver-definitions-public.d.ts",
58
+ "types": "./dist/public.d.ts",
59
59
  "dependencies": {
60
- "@fluidframework/driver-definitions": "2.0.0-dev-rc.3.0.0.254274"
60
+ "@fluidframework/driver-definitions": "2.0.0-dev-rc.3.0.0.254674"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@arethetypeswrong/cli": "^0.15.2",
64
64
  "@biomejs/biome": "^1.6.2",
65
- "@fluid-tools/build-cli": "^0.34.0",
65
+ "@fluid-tools/build-cli": "^0.35.0",
66
66
  "@fluidframework/build-common": "^2.0.3",
67
- "@fluidframework/build-tools": "^0.34.0",
67
+ "@fluidframework/build-tools": "^0.35.0",
68
68
  "@fluidframework/eslint-config-fluid": "^5.1.0",
69
69
  "@fluidframework/odsp-driver-definitions-previous": "npm:@fluidframework/odsp-driver-definitions@2.0.0-internal.8.0.0",
70
70
  "@fluidframework/protocol-definitions": "^3.2.0",
@@ -76,18 +76,6 @@
76
76
  "rimraf": "^4.4.0",
77
77
  "typescript": "~5.1.6"
78
78
  },
79
- "fluidBuild": {
80
- "tasks": {
81
- "build:docs": {
82
- "dependsOn": [
83
- "...",
84
- "api-extractor:commonjs",
85
- "api-extractor:esnext"
86
- ],
87
- "script": false
88
- }
89
- }
90
- },
91
79
  "typeValidation": {
92
80
  "broken": {
93
81
  "RemovedEnumDeclaration_OdspErrorType": {
@@ -102,12 +90,12 @@
102
90
  },
103
91
  "scripts": {
104
92
  "api": "fluid-build . --task api",
105
- "api-extractor:commonjs": "api-extractor run --config ./api-extractor-cjs.json",
106
- "api-extractor:esnext": "api-extractor run --local",
93
+ "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
94
+ "api-extractor:esnext": "flub generate entrypoints --outDir ./lib",
107
95
  "build": "fluid-build . --task build",
108
96
  "build:commonjs": "fluid-build . --task commonjs",
109
97
  "build:compile": "fluid-build . --task compile",
110
- "build:docs": "fluid-build . --task api",
98
+ "build:docs": "api-extractor run --local",
111
99
  "build:esnext": "tsc --project ./tsconfig.json",
112
100
  "build:test": "npm run build:test:esm && npm run build:test:cjs",
113
101
  "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
- }