@fluidframework/driver-definitions 2.0.0-internal.2.0.2 → 2.0.0-internal.2.1.0

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.
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
- "extends": "@fluidframework/build-common/api-extractor-common-report.json"
3
+ "extends": "@fluidframework/build-common/api-extractor-common-strict.json"
4
4
  }
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export * from "./driverError";
6
- export * from "./storage";
7
- export * from "./urlResolver";
5
+ export { DriverError, DriverErrorType, IAnyDriverError, IAuthorizationError, IDriverErrorBase, IDriverBasicError, IGenericNetworkError, ILocationRedirectionError, IThrottlingWarning, } from "./driverError";
6
+ export { FetchSource, FiveDaysMs, IDeltasFetchResult, IDeltaStorageService, IDocumentDeltaConnection, IDocumentDeltaConnectionEvents, IDocumentDeltaStorageService, IDocumentService, IDocumentServiceFactory, IDocumentServicePolicies, IDocumentStorageService, IDocumentStorageServicePolicies, IStream, IStreamResult, ISummaryContext, LoaderCachingPolicy, } from "./storage";
7
+ export { DriverPreCheckInfo, DriverHeader, IContainerPackageInfo, IDriverHeader, IFluidResolvedUrl, IResolvedUrl, IResolvedUrlBase, IWebResolvedUrl, IUrlResolver, } from "./urlResolver";
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,WAAW,EACX,eAAe,EACf,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,yBAAyB,EACzB,kBAAkB,GACrB,MAAM,eAAe,CAAC;AACvB,OAAO,EACH,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,oBAAoB,EACpB,wBAAwB,EACxB,8BAA8B,EAC9B,4BAA4B,EAC5B,gBAAgB,EAChB,uBAAuB,EACvB,wBAAwB,EACxB,uBAAuB,EACvB,+BAA+B,EAC/B,OAAO,EACP,aAAa,EACb,eAAe,EACf,mBAAmB,GACtB,MAAM,WAAW,CAAC;AACnB,OAAO,EACH,kBAAkB,EAClB,YAAY,EACZ,qBAAqB,EACrB,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,YAAY,GACf,MAAM,eAAe,CAAC"}
package/dist/index.js CHANGED
@@ -3,18 +3,13 @@
3
3
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
4
4
  * Licensed under the MIT License.
5
5
  */
6
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
- if (k2 === undefined) k2 = k;
8
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
6
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./driverError"), exports);
18
- __exportStar(require("./storage"), exports);
19
- __exportStar(require("./urlResolver"), exports);
7
+ exports.DriverHeader = exports.LoaderCachingPolicy = exports.FetchSource = exports.DriverErrorType = void 0;
8
+ var driverError_1 = require("./driverError");
9
+ Object.defineProperty(exports, "DriverErrorType", { enumerable: true, get: function () { return driverError_1.DriverErrorType; } });
10
+ var storage_1 = require("./storage");
11
+ Object.defineProperty(exports, "FetchSource", { enumerable: true, get: function () { return storage_1.FetchSource; } });
12
+ Object.defineProperty(exports, "LoaderCachingPolicy", { enumerable: true, get: function () { return storage_1.LoaderCachingPolicy; } });
13
+ var urlResolver_1 = require("./urlResolver");
14
+ Object.defineProperty(exports, "DriverHeader", { enumerable: true, get: function () { return urlResolver_1.DriverHeader; } });
20
15
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,4CAA0B;AAC1B,gDAA8B","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport * from \"./driverError\";\nexport * from \"./storage\";\nexport * from \"./urlResolver\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,6CAUuB;AARnB,8GAAA,eAAe,OAAA;AASnB,qCAiBmB;AAhBf,sGAAA,WAAW,OAAA;AAeX,8GAAA,mBAAmB,OAAA;AAEvB,6CAUuB;AARnB,2GAAA,YAAY,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n DriverError,\n DriverErrorType,\n IAnyDriverError,\n IAuthorizationError,\n IDriverErrorBase,\n IDriverBasicError,\n IGenericNetworkError,\n ILocationRedirectionError,\n IThrottlingWarning,\n} from \"./driverError\";\nexport {\n FetchSource,\n FiveDaysMs,\n IDeltasFetchResult,\n IDeltaStorageService,\n IDocumentDeltaConnection,\n IDocumentDeltaConnectionEvents,\n IDocumentDeltaStorageService,\n IDocumentService,\n IDocumentServiceFactory,\n IDocumentServicePolicies,\n IDocumentStorageService,\n IDocumentStorageServicePolicies,\n IStream,\n IStreamResult,\n ISummaryContext,\n LoaderCachingPolicy,\n} from \"./storage\";\nexport {\n DriverPreCheckInfo,\n DriverHeader,\n IContainerPackageInfo,\n IDriverHeader,\n IFluidResolvedUrl,\n IResolvedUrl,\n IResolvedUrlBase,\n IWebResolvedUrl,\n IUrlResolver,\n} from \"./urlResolver\";\n"]}
package/lib/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export * from "./driverError";
6
- export * from "./storage";
7
- export * from "./urlResolver";
5
+ export { DriverError, DriverErrorType, IAnyDriverError, IAuthorizationError, IDriverErrorBase, IDriverBasicError, IGenericNetworkError, ILocationRedirectionError, IThrottlingWarning, } from "./driverError";
6
+ export { FetchSource, FiveDaysMs, IDeltasFetchResult, IDeltaStorageService, IDocumentDeltaConnection, IDocumentDeltaConnectionEvents, IDocumentDeltaStorageService, IDocumentService, IDocumentServiceFactory, IDocumentServicePolicies, IDocumentStorageService, IDocumentStorageServicePolicies, IStream, IStreamResult, ISummaryContext, LoaderCachingPolicy, } from "./storage";
7
+ export { DriverPreCheckInfo, DriverHeader, IContainerPackageInfo, IDriverHeader, IFluidResolvedUrl, IResolvedUrl, IResolvedUrlBase, IWebResolvedUrl, IUrlResolver, } from "./urlResolver";
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,WAAW,EACX,eAAe,EACf,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,yBAAyB,EACzB,kBAAkB,GACrB,MAAM,eAAe,CAAC;AACvB,OAAO,EACH,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,oBAAoB,EACpB,wBAAwB,EACxB,8BAA8B,EAC9B,4BAA4B,EAC5B,gBAAgB,EAChB,uBAAuB,EACvB,wBAAwB,EACxB,uBAAuB,EACvB,+BAA+B,EAC/B,OAAO,EACP,aAAa,EACb,eAAe,EACf,mBAAmB,GACtB,MAAM,WAAW,CAAC;AACnB,OAAO,EACH,kBAAkB,EAClB,YAAY,EACZ,qBAAqB,EACrB,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,YAAY,GACf,MAAM,eAAe,CAAC"}
package/lib/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export * from "./driverError";
6
- export * from "./storage";
7
- export * from "./urlResolver";
5
+ export { DriverErrorType, } from "./driverError";
6
+ export { FetchSource, LoaderCachingPolicy, } from "./storage";
7
+ export { DriverHeader, } from "./urlResolver";
8
8
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport * from \"./driverError\";\nexport * from \"./storage\";\nexport * from \"./urlResolver\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEH,eAAe,GAQlB,MAAM,eAAe,CAAC;AACvB,OAAO,EACH,WAAW,EAeX,mBAAmB,GACtB,MAAM,WAAW,CAAC;AACnB,OAAO,EAEH,YAAY,GAQf,MAAM,eAAe,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n DriverError,\n DriverErrorType,\n IAnyDriverError,\n IAuthorizationError,\n IDriverErrorBase,\n IDriverBasicError,\n IGenericNetworkError,\n ILocationRedirectionError,\n IThrottlingWarning,\n} from \"./driverError\";\nexport {\n FetchSource,\n FiveDaysMs,\n IDeltasFetchResult,\n IDeltaStorageService,\n IDocumentDeltaConnection,\n IDocumentDeltaConnectionEvents,\n IDocumentDeltaStorageService,\n IDocumentService,\n IDocumentServiceFactory,\n IDocumentServicePolicies,\n IDocumentStorageService,\n IDocumentStorageServicePolicies,\n IStream,\n IStreamResult,\n ISummaryContext,\n LoaderCachingPolicy,\n} from \"./storage\";\nexport {\n DriverPreCheckInfo,\n DriverHeader,\n IContainerPackageInfo,\n IDriverHeader,\n IFluidResolvedUrl,\n IResolvedUrl,\n IResolvedUrlBase,\n IWebResolvedUrl,\n IUrlResolver,\n} from \"./urlResolver\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/driver-definitions",
3
- "version": "2.0.0-internal.2.0.2",
3
+ "version": "2.0.0-internal.2.1.0",
4
4
  "description": "Fluid driver definitions",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -16,7 +16,7 @@
16
16
  "types": "dist/index.d.ts",
17
17
  "scripts": {
18
18
  "build": "concurrently npm:build:compile npm:lint && npm run build:docs",
19
- "build:compile": "npm run typetests:gen && concurrently npm:tsc npm:build:esnext",
19
+ "build:compile": "concurrently npm:typetests:gen npm:tsc npm:build:esnext",
20
20
  "build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/",
21
21
  "build:esnext": "tsc --project ./tsconfig.esnext.json",
22
22
  "build:full": "npm run build",
@@ -32,31 +32,29 @@
32
32
  "lint:fix": "npm run eslint:fix",
33
33
  "tsc": "tsc",
34
34
  "tsc:watch": "tsc --watch",
35
- "tsfmt": "tsfmt --verify",
36
- "tsfmt:fix": "tsfmt --replace",
37
35
  "typetests:gen": "fluid-type-validator -g -d ."
38
36
  },
39
37
  "dependencies": {
40
38
  "@fluidframework/common-definitions": "^0.20.1",
41
- "@fluidframework/core-interfaces": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
39
+ "@fluidframework/core-interfaces": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
42
40
  "@fluidframework/protocol-definitions": "^1.1.0"
43
41
  },
44
42
  "devDependencies": {
45
- "@fluidframework/build-common": "^1.0.0",
46
- "@fluidframework/build-tools": "^0.4.6000",
43
+ "@fluid-tools/build-cli": "^0.5.0",
44
+ "@fluidframework/build-common": "^1.1.0",
45
+ "@fluidframework/build-tools": "^0.5.0",
47
46
  "@fluidframework/driver-definitions-previous": "npm:@fluidframework/driver-definitions@2.0.0-internal.2.0.0",
48
- "@fluidframework/eslint-config-fluid": "^1.0.0",
47
+ "@fluidframework/eslint-config-fluid": "^1.1.0",
49
48
  "@microsoft/api-extractor": "^7.22.2",
50
49
  "@rushstack/eslint-config": "^2.5.1",
51
50
  "concurrently": "^6.2.0",
52
51
  "copyfiles": "^2.4.1",
53
52
  "eslint": "~8.6.0",
54
53
  "rimraf": "^2.6.2",
55
- "typescript": "~4.5.5",
56
- "typescript-formatter": "7.1.0"
54
+ "typescript": "~4.5.5"
57
55
  },
58
56
  "typeValidation": {
59
- "version": "2.0.0-internal.2.0.1",
57
+ "version": "2.0.0-internal.2.1.0",
60
58
  "broken": {}
61
59
  }
62
60
  }
package/src/index.ts CHANGED
@@ -3,6 +3,43 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- export * from "./driverError";
7
- export * from "./storage";
8
- export * from "./urlResolver";
6
+ export {
7
+ DriverError,
8
+ DriverErrorType,
9
+ IAnyDriverError,
10
+ IAuthorizationError,
11
+ IDriverErrorBase,
12
+ IDriverBasicError,
13
+ IGenericNetworkError,
14
+ ILocationRedirectionError,
15
+ IThrottlingWarning,
16
+ } from "./driverError";
17
+ export {
18
+ FetchSource,
19
+ FiveDaysMs,
20
+ IDeltasFetchResult,
21
+ IDeltaStorageService,
22
+ IDocumentDeltaConnection,
23
+ IDocumentDeltaConnectionEvents,
24
+ IDocumentDeltaStorageService,
25
+ IDocumentService,
26
+ IDocumentServiceFactory,
27
+ IDocumentServicePolicies,
28
+ IDocumentStorageService,
29
+ IDocumentStorageServicePolicies,
30
+ IStream,
31
+ IStreamResult,
32
+ ISummaryContext,
33
+ LoaderCachingPolicy,
34
+ } from "./storage";
35
+ export {
36
+ DriverPreCheckInfo,
37
+ DriverHeader,
38
+ IContainerPackageInfo,
39
+ IDriverHeader,
40
+ IFluidResolvedUrl,
41
+ IResolvedUrl,
42
+ IResolvedUrlBase,
43
+ IWebResolvedUrl,
44
+ IUrlResolver,
45
+ } from "./urlResolver";