@fluidframework/driver-definitions 1.2.0-77818 → 1.2.1
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.
- package/dist/driverError.d.ts +12 -2
- package/dist/driverError.d.ts.map +1 -1
- package/dist/driverError.js +5 -0
- package/dist/driverError.js.map +1 -1
- package/lib/driverError.d.ts +12 -2
- package/lib/driverError.d.ts.map +1 -1
- package/lib/driverError.js +5 -0
- package/lib/driverError.js.map +1 -1
- package/lib/test/types/validateDriverDefinitionsPrevious.js +2 -0
- package/lib/test/types/validateDriverDefinitionsPrevious.js.map +1 -1
- package/package.json +4 -4
- package/src/driverError.ts +14 -0
package/dist/driverError.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
+
import { IResolvedUrl } from "./urlResolver";
|
|
5
6
|
/**
|
|
6
7
|
* Driver Error types
|
|
7
8
|
* Lists types that are likely to be used by all drivers
|
|
@@ -59,7 +60,12 @@ export declare enum DriverErrorType {
|
|
|
59
60
|
/**
|
|
60
61
|
* The document is read-only and delta stream connection is forbidden.
|
|
61
62
|
*/
|
|
62
|
-
deltaStreamConnectionForbidden = "deltaStreamConnectionForbidden"
|
|
63
|
+
deltaStreamConnectionForbidden = "deltaStreamConnectionForbidden",
|
|
64
|
+
/**
|
|
65
|
+
* The location of file/container can change on server. So if the file location moves and we try to access the old
|
|
66
|
+
* location, then this error is thrown to let the client know about the new location info.
|
|
67
|
+
*/
|
|
68
|
+
locationRedirection = "locationRedirection"
|
|
63
69
|
}
|
|
64
70
|
/**
|
|
65
71
|
* Base interface for all errors and warnings
|
|
@@ -90,6 +96,10 @@ export interface IAuthorizationError extends IDriverErrorBase {
|
|
|
90
96
|
readonly claims?: string;
|
|
91
97
|
readonly tenantId?: string;
|
|
92
98
|
}
|
|
99
|
+
export interface ILocationRedirectionError extends IDriverErrorBase {
|
|
100
|
+
readonly errorType: DriverErrorType.locationRedirection;
|
|
101
|
+
readonly redirectUrl: IResolvedUrl;
|
|
102
|
+
}
|
|
93
103
|
/**
|
|
94
104
|
* Having this uber interface without types that have their own interfaces
|
|
95
105
|
* allows compiler to differentiate interfaces based on error type
|
|
@@ -98,5 +108,5 @@ export interface IDriverBasicError extends IDriverErrorBase {
|
|
|
98
108
|
readonly errorType: DriverErrorType.genericError | DriverErrorType.fileNotFoundOrAccessDeniedError | DriverErrorType.offlineError | DriverErrorType.unsupportedClientProtocolVersion | DriverErrorType.writeError | DriverErrorType.fetchFailure | DriverErrorType.incorrectServerResponse | DriverErrorType.fileOverwrittenInStorage;
|
|
99
109
|
readonly statusCode?: number;
|
|
100
110
|
}
|
|
101
|
-
export declare type DriverError = IThrottlingWarning | IGenericNetworkError | IAuthorizationError | IDriverBasicError;
|
|
111
|
+
export declare type DriverError = IThrottlingWarning | IGenericNetworkError | IAuthorizationError | ILocationRedirectionError | IDriverBasicError;
|
|
102
112
|
//# sourceMappingURL=driverError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driverError.d.ts","sourceRoot":"","sources":["../src/driverError.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;GAGG;AACH,oBAAY,eAAe;IACvB;;OAEG;IACH,YAAY,iBAAiB;IAE7B;;;OAGG;IACH,mBAAmB,wBAAwB;IAE3C;;OAEG;IACH,kBAAkB,uBAAuB;IAEzC;;OAEG;IACH,+BAA+B,oCAAoC;IAEnE;;OAEG;IACH,eAAe,oBAAoB;IAEnC;;OAEG;IACH,YAAY,iBAAiB;IAK7B,gCAAgC,qCAAqC;IAErE;;;OAGG;IACH,UAAU,eAAe;IAEzB;;;;;OAKG;IACH,YAAY,iBAAiB;IAE7B;;OAEG;IACH,uBAAuB,4BAA4B;IAEnD;;;;;OAKG;IACF,wBAAwB,6BAA6B;IAErD;;OAEG;IACH,8BAA8B,mCAAmC;
|
|
1
|
+
{"version":3,"file":"driverError.d.ts","sourceRoot":"","sources":["../src/driverError.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C;;;GAGG;AACH,oBAAY,eAAe;IACvB;;OAEG;IACH,YAAY,iBAAiB;IAE7B;;;OAGG;IACH,mBAAmB,wBAAwB;IAE3C;;OAEG;IACH,kBAAkB,uBAAuB;IAEzC;;OAEG;IACH,+BAA+B,oCAAoC;IAEnE;;OAEG;IACH,eAAe,oBAAoB;IAEnC;;OAEG;IACH,YAAY,iBAAiB;IAK7B,gCAAgC,qCAAqC;IAErE;;;OAGG;IACH,UAAU,eAAe;IAEzB;;;;;OAKG;IACH,YAAY,iBAAiB;IAE7B;;OAEG;IACH,uBAAuB,4BAA4B;IAEnD;;;;;OAKG;IACF,wBAAwB,6BAA6B;IAErD;;OAEG;IACH,8BAA8B,mCAAmC;IAElE;;;OAGG;IACH,mBAAmB,wBAAwB;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,8GAA8G;IAC9G,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC;IACpC,8BAA8B;IAC9B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,gGAAgG;IAChG,QAAQ,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,kBAAmB,SAAQ,gBAAgB;IACxD,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC,eAAe,CAAC;IACpD,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;CACtC;AAED,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC1D,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC,mBAAmB,CAAC;IACxD,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;IACzD,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC,kBAAkB,CAAC;IACvD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,yBAA0B,SAAQ,gBAAgB;IAC/D,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC,mBAAmB,CAAC;IACxD,QAAQ,CAAC,WAAW,EAAE,YAAY,CAAC;CACtC;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACvD,QAAQ,CAAC,SAAS,EAClB,eAAe,CAAC,YAAY,GAC1B,eAAe,CAAC,+BAA+B,GAC/C,eAAe,CAAC,YAAY,GAC5B,eAAe,CAAC,gCAAgC,GAChD,eAAe,CAAC,UAAU,GAC1B,eAAe,CAAC,YAAY,GAC5B,eAAe,CAAC,uBAAuB,GACvC,eAAe,CAAC,wBAAwB,CAAC;IAC3C,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,oBAAY,WAAW,GACjB,kBAAkB,GAClB,oBAAoB,GACpB,mBAAmB,GACnB,yBAAyB,GACzB,iBAAiB,CAAC"}
|
package/dist/driverError.js
CHANGED
|
@@ -67,5 +67,10 @@ var DriverErrorType;
|
|
|
67
67
|
* The document is read-only and delta stream connection is forbidden.
|
|
68
68
|
*/
|
|
69
69
|
DriverErrorType["deltaStreamConnectionForbidden"] = "deltaStreamConnectionForbidden";
|
|
70
|
+
/**
|
|
71
|
+
* The location of file/container can change on server. So if the file location moves and we try to access the old
|
|
72
|
+
* location, then this error is thrown to let the client know about the new location info.
|
|
73
|
+
*/
|
|
74
|
+
DriverErrorType["locationRedirection"] = "locationRedirection";
|
|
70
75
|
})(DriverErrorType = exports.DriverErrorType || (exports.DriverErrorType = {}));
|
|
71
76
|
//# sourceMappingURL=driverError.js.map
|
package/dist/driverError.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driverError.js","sourceRoot":"","sources":["../src/driverError.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;
|
|
1
|
+
{"version":3,"file":"driverError.js","sourceRoot":"","sources":["../src/driverError.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH;;;GAGG;AACH,IAAY,eA0EX;AA1ED,WAAY,eAAe;IACvB;;OAEG;IACH,gDAA6B,CAAA;IAE7B;;;OAGG;IACH,8DAA2C,CAAA;IAE3C;;OAEG;IACH,4DAAyC,CAAA;IAEzC;;OAEG;IACH,sFAAmE,CAAA;IAEnE;;OAEG;IACH,sDAAmC,CAAA;IAEnC;;OAEG;IACH,gDAA6B,CAAA;IAE7B;;OAEG;IACH,wFAAqE,CAAA;IAErE;;;OAGG;IACH,4CAAyB,CAAA;IAEzB;;;;;OAKG;IACH,gDAA6B,CAAA;IAE7B;;OAEG;IACH,sEAAmD,CAAA;IAEnD;;;;;OAKG;IACF,wEAAqD,CAAA;IAErD;;OAEG;IACH,oFAAiE,CAAA;IAElE;;;OAGG;IACH,8DAA2C,CAAA;AAC/C,CAAC,EA1EW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA0E1B","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IResolvedUrl } from \"./urlResolver\";\n\n/**\n * Driver Error types\n * Lists types that are likely to be used by all drivers\n */\nexport enum DriverErrorType {\n /**\n * A fatal error with no specific interpretation covered by other DriverErrorType values\n */\n genericError = \"genericError\",\n\n /**\n * Some non-categorized (below) networking error\n * Include errors like fatal server error (usually 500).\n */\n genericNetworkError = \"genericNetworkError\",\n\n /**\n * Access denied - user does not have enough privileges to open a file, or continue to operate on a file\n */\n authorizationError = \"authorizationError\",\n\n /**\n * File not found, or file deleted during session\n */\n fileNotFoundOrAccessDeniedError = \"fileNotFoundOrAccessDeniedError\",\n\n /**\n * Throttling error from server. Server is busy and is asking not to reconnect for some time\n */\n throttlingError = \"throttlingError\",\n\n /**\n * We can not reach server due to computer being offline.\n */\n offlineError = \"offlineError\",\n\n /*\n * Unsupported client protocol\n */\n unsupportedClientProtocolVersion = \"unsupportedClientProtocolVersion\",\n\n /**\n * User does not have write permissions to a file, but is changing content of a file.\n * That might be indication of some data store error - data stores should not generate ops in readonly mode.\n */\n writeError = \"writeError\",\n\n /**\n * A generic fetch failure that indicates we were not able to get a response from the server.\n * This may be due to the client being offline (though, if we are able to detect offline state it will be\n * logged as an offlineError instead). Other possibilities could be DNS errors, malformed fetch request,\n * CSP violation, etc.\n */\n fetchFailure = \"fetchFailure\",\n\n /**\n * Unexpected response from server. Either JSON is malformed, or some required properties are missing\n */\n incorrectServerResponse = \"incorrectServerResponse\",\n\n /**\n * This error occurs when the file is modified externally (not through Fluid protocol) in storage.\n * It will occur in cases where client has some state or cache that is based on old content (identity) of a file,\n * and storage / driver / loader detects such mismatch.\n * When it's hit, client needs to forget all the knowlege about this file and start over.\n */\n fileOverwrittenInStorage = \"fileOverwrittenInStorage\",\n\n /**\n * The document is read-only and delta stream connection is forbidden.\n */\n deltaStreamConnectionForbidden = \"deltaStreamConnectionForbidden\",\n\n /**\n * The location of file/container can change on server. So if the file location moves and we try to access the old\n * location, then this error is thrown to let the client know about the new location info.\n */\n locationRedirection = \"locationRedirection\",\n}\n\n/**\n * Base interface for all errors and warnings\n */\nexport interface IDriverErrorBase {\n /** Classification of what type of error this is, used programmatically by consumers to interpret the error */\n readonly errorType: DriverErrorType;\n /** Free-form error message */\n readonly message: string;\n /** True indicates the caller may retry the failed action. False indicates it's a fatal error */\n canRetry: boolean;\n /**\n * Best guess as to network conditions (online/offline) when the error arose.\n * See OnlineStatus enum in driver-utils package for expected values.\n */\n online?: string;\n}\n\nexport interface IThrottlingWarning extends IDriverErrorBase {\n readonly errorType: DriverErrorType.throttlingError;\n readonly retryAfterSeconds: number;\n}\n\nexport interface IGenericNetworkError extends IDriverErrorBase {\n readonly errorType: DriverErrorType.genericNetworkError;\n readonly statusCode?: number;\n}\n\nexport interface IAuthorizationError extends IDriverErrorBase {\n readonly errorType: DriverErrorType.authorizationError;\n readonly claims?: string;\n readonly tenantId?: string;\n}\n\nexport interface ILocationRedirectionError extends IDriverErrorBase {\n readonly errorType: DriverErrorType.locationRedirection;\n readonly redirectUrl: IResolvedUrl;\n}\n\n/**\n * Having this uber interface without types that have their own interfaces\n * allows compiler to differentiate interfaces based on error type\n */\nexport interface IDriverBasicError extends IDriverErrorBase {\n readonly errorType:\n DriverErrorType.genericError\n | DriverErrorType.fileNotFoundOrAccessDeniedError\n | DriverErrorType.offlineError\n | DriverErrorType.unsupportedClientProtocolVersion\n | DriverErrorType.writeError\n | DriverErrorType.fetchFailure\n | DriverErrorType.incorrectServerResponse\n | DriverErrorType.fileOverwrittenInStorage;\n readonly statusCode?: number;\n}\n\nexport type DriverError =\n | IThrottlingWarning\n | IGenericNetworkError\n | IAuthorizationError\n | ILocationRedirectionError\n | IDriverBasicError;\n"]}
|
package/lib/driverError.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
+
import { IResolvedUrl } from "./urlResolver";
|
|
5
6
|
/**
|
|
6
7
|
* Driver Error types
|
|
7
8
|
* Lists types that are likely to be used by all drivers
|
|
@@ -59,7 +60,12 @@ export declare enum DriverErrorType {
|
|
|
59
60
|
/**
|
|
60
61
|
* The document is read-only and delta stream connection is forbidden.
|
|
61
62
|
*/
|
|
62
|
-
deltaStreamConnectionForbidden = "deltaStreamConnectionForbidden"
|
|
63
|
+
deltaStreamConnectionForbidden = "deltaStreamConnectionForbidden",
|
|
64
|
+
/**
|
|
65
|
+
* The location of file/container can change on server. So if the file location moves and we try to access the old
|
|
66
|
+
* location, then this error is thrown to let the client know about the new location info.
|
|
67
|
+
*/
|
|
68
|
+
locationRedirection = "locationRedirection"
|
|
63
69
|
}
|
|
64
70
|
/**
|
|
65
71
|
* Base interface for all errors and warnings
|
|
@@ -90,6 +96,10 @@ export interface IAuthorizationError extends IDriverErrorBase {
|
|
|
90
96
|
readonly claims?: string;
|
|
91
97
|
readonly tenantId?: string;
|
|
92
98
|
}
|
|
99
|
+
export interface ILocationRedirectionError extends IDriverErrorBase {
|
|
100
|
+
readonly errorType: DriverErrorType.locationRedirection;
|
|
101
|
+
readonly redirectUrl: IResolvedUrl;
|
|
102
|
+
}
|
|
93
103
|
/**
|
|
94
104
|
* Having this uber interface without types that have their own interfaces
|
|
95
105
|
* allows compiler to differentiate interfaces based on error type
|
|
@@ -98,5 +108,5 @@ export interface IDriverBasicError extends IDriverErrorBase {
|
|
|
98
108
|
readonly errorType: DriverErrorType.genericError | DriverErrorType.fileNotFoundOrAccessDeniedError | DriverErrorType.offlineError | DriverErrorType.unsupportedClientProtocolVersion | DriverErrorType.writeError | DriverErrorType.fetchFailure | DriverErrorType.incorrectServerResponse | DriverErrorType.fileOverwrittenInStorage;
|
|
99
109
|
readonly statusCode?: number;
|
|
100
110
|
}
|
|
101
|
-
export declare type DriverError = IThrottlingWarning | IGenericNetworkError | IAuthorizationError | IDriverBasicError;
|
|
111
|
+
export declare type DriverError = IThrottlingWarning | IGenericNetworkError | IAuthorizationError | ILocationRedirectionError | IDriverBasicError;
|
|
102
112
|
//# sourceMappingURL=driverError.d.ts.map
|
package/lib/driverError.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driverError.d.ts","sourceRoot":"","sources":["../src/driverError.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;GAGG;AACH,oBAAY,eAAe;IACvB;;OAEG;IACH,YAAY,iBAAiB;IAE7B;;;OAGG;IACH,mBAAmB,wBAAwB;IAE3C;;OAEG;IACH,kBAAkB,uBAAuB;IAEzC;;OAEG;IACH,+BAA+B,oCAAoC;IAEnE;;OAEG;IACH,eAAe,oBAAoB;IAEnC;;OAEG;IACH,YAAY,iBAAiB;IAK7B,gCAAgC,qCAAqC;IAErE;;;OAGG;IACH,UAAU,eAAe;IAEzB;;;;;OAKG;IACH,YAAY,iBAAiB;IAE7B;;OAEG;IACH,uBAAuB,4BAA4B;IAEnD;;;;;OAKG;IACF,wBAAwB,6BAA6B;IAErD;;OAEG;IACH,8BAA8B,mCAAmC;
|
|
1
|
+
{"version":3,"file":"driverError.d.ts","sourceRoot":"","sources":["../src/driverError.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C;;;GAGG;AACH,oBAAY,eAAe;IACvB;;OAEG;IACH,YAAY,iBAAiB;IAE7B;;;OAGG;IACH,mBAAmB,wBAAwB;IAE3C;;OAEG;IACH,kBAAkB,uBAAuB;IAEzC;;OAEG;IACH,+BAA+B,oCAAoC;IAEnE;;OAEG;IACH,eAAe,oBAAoB;IAEnC;;OAEG;IACH,YAAY,iBAAiB;IAK7B,gCAAgC,qCAAqC;IAErE;;;OAGG;IACH,UAAU,eAAe;IAEzB;;;;;OAKG;IACH,YAAY,iBAAiB;IAE7B;;OAEG;IACH,uBAAuB,4BAA4B;IAEnD;;;;;OAKG;IACF,wBAAwB,6BAA6B;IAErD;;OAEG;IACH,8BAA8B,mCAAmC;IAElE;;;OAGG;IACH,mBAAmB,wBAAwB;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,8GAA8G;IAC9G,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC;IACpC,8BAA8B;IAC9B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,gGAAgG;IAChG,QAAQ,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,kBAAmB,SAAQ,gBAAgB;IACxD,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC,eAAe,CAAC;IACpD,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;CACtC;AAED,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC1D,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC,mBAAmB,CAAC;IACxD,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;IACzD,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC,kBAAkB,CAAC;IACvD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,yBAA0B,SAAQ,gBAAgB;IAC/D,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC,mBAAmB,CAAC;IACxD,QAAQ,CAAC,WAAW,EAAE,YAAY,CAAC;CACtC;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACvD,QAAQ,CAAC,SAAS,EAClB,eAAe,CAAC,YAAY,GAC1B,eAAe,CAAC,+BAA+B,GAC/C,eAAe,CAAC,YAAY,GAC5B,eAAe,CAAC,gCAAgC,GAChD,eAAe,CAAC,UAAU,GAC1B,eAAe,CAAC,YAAY,GAC5B,eAAe,CAAC,uBAAuB,GACvC,eAAe,CAAC,wBAAwB,CAAC;IAC3C,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,oBAAY,WAAW,GACjB,kBAAkB,GAClB,oBAAoB,GACpB,mBAAmB,GACnB,yBAAyB,GACzB,iBAAiB,CAAC"}
|
package/lib/driverError.js
CHANGED
|
@@ -64,5 +64,10 @@ export var DriverErrorType;
|
|
|
64
64
|
* The document is read-only and delta stream connection is forbidden.
|
|
65
65
|
*/
|
|
66
66
|
DriverErrorType["deltaStreamConnectionForbidden"] = "deltaStreamConnectionForbidden";
|
|
67
|
+
/**
|
|
68
|
+
* The location of file/container can change on server. So if the file location moves and we try to access the old
|
|
69
|
+
* location, then this error is thrown to let the client know about the new location info.
|
|
70
|
+
*/
|
|
71
|
+
DriverErrorType["locationRedirection"] = "locationRedirection";
|
|
67
72
|
})(DriverErrorType || (DriverErrorType = {}));
|
|
68
73
|
//# sourceMappingURL=driverError.js.map
|
package/lib/driverError.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driverError.js","sourceRoot":"","sources":["../src/driverError.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"driverError.js","sourceRoot":"","sources":["../src/driverError.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;;GAGG;AACH,MAAM,CAAN,IAAY,eA0EX;AA1ED,WAAY,eAAe;IACvB;;OAEG;IACH,gDAA6B,CAAA;IAE7B;;;OAGG;IACH,8DAA2C,CAAA;IAE3C;;OAEG;IACH,4DAAyC,CAAA;IAEzC;;OAEG;IACH,sFAAmE,CAAA;IAEnE;;OAEG;IACH,sDAAmC,CAAA;IAEnC;;OAEG;IACH,gDAA6B,CAAA;IAE7B;;OAEG;IACH,wFAAqE,CAAA;IAErE;;;OAGG;IACH,4CAAyB,CAAA;IAEzB;;;;;OAKG;IACH,gDAA6B,CAAA;IAE7B;;OAEG;IACH,sEAAmD,CAAA;IAEnD;;;;;OAKG;IACF,wEAAqD,CAAA;IAErD;;OAEG;IACH,oFAAiE,CAAA;IAElE;;;OAGG;IACH,8DAA2C,CAAA;AAC/C,CAAC,EA1EW,eAAe,KAAf,eAAe,QA0E1B","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IResolvedUrl } from \"./urlResolver\";\n\n/**\n * Driver Error types\n * Lists types that are likely to be used by all drivers\n */\nexport enum DriverErrorType {\n /**\n * A fatal error with no specific interpretation covered by other DriverErrorType values\n */\n genericError = \"genericError\",\n\n /**\n * Some non-categorized (below) networking error\n * Include errors like fatal server error (usually 500).\n */\n genericNetworkError = \"genericNetworkError\",\n\n /**\n * Access denied - user does not have enough privileges to open a file, or continue to operate on a file\n */\n authorizationError = \"authorizationError\",\n\n /**\n * File not found, or file deleted during session\n */\n fileNotFoundOrAccessDeniedError = \"fileNotFoundOrAccessDeniedError\",\n\n /**\n * Throttling error from server. Server is busy and is asking not to reconnect for some time\n */\n throttlingError = \"throttlingError\",\n\n /**\n * We can not reach server due to computer being offline.\n */\n offlineError = \"offlineError\",\n\n /*\n * Unsupported client protocol\n */\n unsupportedClientProtocolVersion = \"unsupportedClientProtocolVersion\",\n\n /**\n * User does not have write permissions to a file, but is changing content of a file.\n * That might be indication of some data store error - data stores should not generate ops in readonly mode.\n */\n writeError = \"writeError\",\n\n /**\n * A generic fetch failure that indicates we were not able to get a response from the server.\n * This may be due to the client being offline (though, if we are able to detect offline state it will be\n * logged as an offlineError instead). Other possibilities could be DNS errors, malformed fetch request,\n * CSP violation, etc.\n */\n fetchFailure = \"fetchFailure\",\n\n /**\n * Unexpected response from server. Either JSON is malformed, or some required properties are missing\n */\n incorrectServerResponse = \"incorrectServerResponse\",\n\n /**\n * This error occurs when the file is modified externally (not through Fluid protocol) in storage.\n * It will occur in cases where client has some state or cache that is based on old content (identity) of a file,\n * and storage / driver / loader detects such mismatch.\n * When it's hit, client needs to forget all the knowlege about this file and start over.\n */\n fileOverwrittenInStorage = \"fileOverwrittenInStorage\",\n\n /**\n * The document is read-only and delta stream connection is forbidden.\n */\n deltaStreamConnectionForbidden = \"deltaStreamConnectionForbidden\",\n\n /**\n * The location of file/container can change on server. So if the file location moves and we try to access the old\n * location, then this error is thrown to let the client know about the new location info.\n */\n locationRedirection = \"locationRedirection\",\n}\n\n/**\n * Base interface for all errors and warnings\n */\nexport interface IDriverErrorBase {\n /** Classification of what type of error this is, used programmatically by consumers to interpret the error */\n readonly errorType: DriverErrorType;\n /** Free-form error message */\n readonly message: string;\n /** True indicates the caller may retry the failed action. False indicates it's a fatal error */\n canRetry: boolean;\n /**\n * Best guess as to network conditions (online/offline) when the error arose.\n * See OnlineStatus enum in driver-utils package for expected values.\n */\n online?: string;\n}\n\nexport interface IThrottlingWarning extends IDriverErrorBase {\n readonly errorType: DriverErrorType.throttlingError;\n readonly retryAfterSeconds: number;\n}\n\nexport interface IGenericNetworkError extends IDriverErrorBase {\n readonly errorType: DriverErrorType.genericNetworkError;\n readonly statusCode?: number;\n}\n\nexport interface IAuthorizationError extends IDriverErrorBase {\n readonly errorType: DriverErrorType.authorizationError;\n readonly claims?: string;\n readonly tenantId?: string;\n}\n\nexport interface ILocationRedirectionError extends IDriverErrorBase {\n readonly errorType: DriverErrorType.locationRedirection;\n readonly redirectUrl: IResolvedUrl;\n}\n\n/**\n * Having this uber interface without types that have their own interfaces\n * allows compiler to differentiate interfaces based on error type\n */\nexport interface IDriverBasicError extends IDriverErrorBase {\n readonly errorType:\n DriverErrorType.genericError\n | DriverErrorType.fileNotFoundOrAccessDeniedError\n | DriverErrorType.offlineError\n | DriverErrorType.unsupportedClientProtocolVersion\n | DriverErrorType.writeError\n | DriverErrorType.fetchFailure\n | DriverErrorType.incorrectServerResponse\n | DriverErrorType.fileOverwrittenInStorage;\n readonly statusCode?: number;\n}\n\nexport type DriverError =\n | IThrottlingWarning\n | IGenericNetworkError\n | IAuthorizationError\n | ILocationRedirectionError\n | IDriverBasicError;\n"]}
|
|
@@ -40,6 +40,8 @@ use_current_InterfaceDeclaration_IFluidResolvedUrl(get_old_InterfaceDeclaration_
|
|
|
40
40
|
use_old_InterfaceDeclaration_IFluidResolvedUrl(get_current_InterfaceDeclaration_IFluidResolvedUrl());
|
|
41
41
|
use_current_InterfaceDeclaration_IGenericNetworkError(get_old_InterfaceDeclaration_IGenericNetworkError());
|
|
42
42
|
use_old_InterfaceDeclaration_IGenericNetworkError(get_current_InterfaceDeclaration_IGenericNetworkError());
|
|
43
|
+
use_current_InterfaceDeclaration_ILocationRedirectionError(get_old_InterfaceDeclaration_ILocationRedirectionError());
|
|
44
|
+
use_old_InterfaceDeclaration_ILocationRedirectionError(get_current_InterfaceDeclaration_ILocationRedirectionError());
|
|
43
45
|
use_current_TypeAliasDeclaration_IResolvedUrl(get_old_TypeAliasDeclaration_IResolvedUrl());
|
|
44
46
|
use_old_TypeAliasDeclaration_IResolvedUrl(get_current_TypeAliasDeclaration_IResolvedUrl());
|
|
45
47
|
use_current_InterfaceDeclaration_IResolvedUrlBase(get_old_InterfaceDeclaration_IResolvedUrlBase());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateDriverDefinitionsPrevious.js","sourceRoot":"","sources":["../../../src/test/types/validateDriverDefinitionsPrevious.ts"],"names":[],"mappings":"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","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/*\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.\n * Generated by fluid-type-validator in @fluidframework/build-tools.\n */\nimport * as old from \"@fluidframework/driver-definitions-previous\";\nimport * as current from \"../../index\";\n\ntype TypeOnly<T> = {\n [P in keyof T]: TypeOnly<T[P]>;\n};\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_DriverError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_DriverError():\n TypeOnly<old.DriverError>;\ndeclare function use_current_TypeAliasDeclaration_DriverError(\n use: TypeOnly<current.DriverError>);\nuse_current_TypeAliasDeclaration_DriverError(\n get_old_TypeAliasDeclaration_DriverError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_DriverError\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_DriverError():\n TypeOnly<current.DriverError>;\ndeclare function use_old_TypeAliasDeclaration_DriverError(\n use: TypeOnly<old.DriverError>);\nuse_old_TypeAliasDeclaration_DriverError(\n get_current_TypeAliasDeclaration_DriverError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_DriverErrorType\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_EnumDeclaration_DriverErrorType():\n TypeOnly<old.DriverErrorType>;\ndeclare function use_current_EnumDeclaration_DriverErrorType(\n use: TypeOnly<current.DriverErrorType>);\nuse_current_EnumDeclaration_DriverErrorType(\n get_old_EnumDeclaration_DriverErrorType());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_DriverErrorType\": {\"backCompat\": false}\n*/\ndeclare function get_current_EnumDeclaration_DriverErrorType():\n TypeOnly<current.DriverErrorType>;\ndeclare function use_old_EnumDeclaration_DriverErrorType(\n use: TypeOnly<old.DriverErrorType>);\nuse_old_EnumDeclaration_DriverErrorType(\n get_current_EnumDeclaration_DriverErrorType());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_DriverHeader\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_EnumDeclaration_DriverHeader():\n TypeOnly<old.DriverHeader>;\ndeclare function use_current_EnumDeclaration_DriverHeader(\n use: TypeOnly<current.DriverHeader>);\nuse_current_EnumDeclaration_DriverHeader(\n get_old_EnumDeclaration_DriverHeader());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_DriverHeader\": {\"backCompat\": false}\n*/\ndeclare function get_current_EnumDeclaration_DriverHeader():\n TypeOnly<current.DriverHeader>;\ndeclare function use_old_EnumDeclaration_DriverHeader(\n use: TypeOnly<old.DriverHeader>);\nuse_old_EnumDeclaration_DriverHeader(\n get_current_EnumDeclaration_DriverHeader());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_DriverPreCheckInfo\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_DriverPreCheckInfo():\n TypeOnly<old.DriverPreCheckInfo>;\ndeclare function use_current_InterfaceDeclaration_DriverPreCheckInfo(\n use: TypeOnly<current.DriverPreCheckInfo>);\nuse_current_InterfaceDeclaration_DriverPreCheckInfo(\n get_old_InterfaceDeclaration_DriverPreCheckInfo());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_DriverPreCheckInfo\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_DriverPreCheckInfo():\n TypeOnly<current.DriverPreCheckInfo>;\ndeclare function use_old_InterfaceDeclaration_DriverPreCheckInfo(\n use: TypeOnly<old.DriverPreCheckInfo>);\nuse_old_InterfaceDeclaration_DriverPreCheckInfo(\n get_current_InterfaceDeclaration_DriverPreCheckInfo());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IAuthorizationError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IAuthorizationError():\n TypeOnly<old.IAuthorizationError>;\ndeclare function use_current_InterfaceDeclaration_IAuthorizationError(\n use: TypeOnly<current.IAuthorizationError>);\nuse_current_InterfaceDeclaration_IAuthorizationError(\n get_old_InterfaceDeclaration_IAuthorizationError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IAuthorizationError\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IAuthorizationError():\n TypeOnly<current.IAuthorizationError>;\ndeclare function use_old_InterfaceDeclaration_IAuthorizationError(\n use: TypeOnly<old.IAuthorizationError>);\nuse_old_InterfaceDeclaration_IAuthorizationError(\n get_current_InterfaceDeclaration_IAuthorizationError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IContainerPackageInfo\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IContainerPackageInfo():\n TypeOnly<old.IContainerPackageInfo>;\ndeclare function use_current_InterfaceDeclaration_IContainerPackageInfo(\n use: TypeOnly<current.IContainerPackageInfo>);\nuse_current_InterfaceDeclaration_IContainerPackageInfo(\n get_old_InterfaceDeclaration_IContainerPackageInfo());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IContainerPackageInfo\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IContainerPackageInfo():\n TypeOnly<current.IContainerPackageInfo>;\ndeclare function use_old_InterfaceDeclaration_IContainerPackageInfo(\n use: TypeOnly<old.IContainerPackageInfo>);\nuse_old_InterfaceDeclaration_IContainerPackageInfo(\n get_current_InterfaceDeclaration_IContainerPackageInfo());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDeltasFetchResult\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDeltasFetchResult():\n TypeOnly<old.IDeltasFetchResult>;\ndeclare function use_current_InterfaceDeclaration_IDeltasFetchResult(\n use: TypeOnly<current.IDeltasFetchResult>);\nuse_current_InterfaceDeclaration_IDeltasFetchResult(\n get_old_InterfaceDeclaration_IDeltasFetchResult());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDeltasFetchResult\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDeltasFetchResult():\n TypeOnly<current.IDeltasFetchResult>;\ndeclare function use_old_InterfaceDeclaration_IDeltasFetchResult(\n use: TypeOnly<old.IDeltasFetchResult>);\nuse_old_InterfaceDeclaration_IDeltasFetchResult(\n get_current_InterfaceDeclaration_IDeltasFetchResult());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDeltaStorageService\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDeltaStorageService():\n TypeOnly<old.IDeltaStorageService>;\ndeclare function use_current_InterfaceDeclaration_IDeltaStorageService(\n use: TypeOnly<current.IDeltaStorageService>);\nuse_current_InterfaceDeclaration_IDeltaStorageService(\n get_old_InterfaceDeclaration_IDeltaStorageService());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDeltaStorageService\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDeltaStorageService():\n TypeOnly<current.IDeltaStorageService>;\ndeclare function use_old_InterfaceDeclaration_IDeltaStorageService(\n use: TypeOnly<old.IDeltaStorageService>);\nuse_old_InterfaceDeclaration_IDeltaStorageService(\n get_current_InterfaceDeclaration_IDeltaStorageService());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentDeltaConnection\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDocumentDeltaConnection():\n TypeOnly<old.IDocumentDeltaConnection>;\ndeclare function use_current_InterfaceDeclaration_IDocumentDeltaConnection(\n use: TypeOnly<current.IDocumentDeltaConnection>);\nuse_current_InterfaceDeclaration_IDocumentDeltaConnection(\n get_old_InterfaceDeclaration_IDocumentDeltaConnection());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentDeltaConnection\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDocumentDeltaConnection():\n TypeOnly<current.IDocumentDeltaConnection>;\ndeclare function use_old_InterfaceDeclaration_IDocumentDeltaConnection(\n use: TypeOnly<old.IDocumentDeltaConnection>);\nuse_old_InterfaceDeclaration_IDocumentDeltaConnection(\n get_current_InterfaceDeclaration_IDocumentDeltaConnection());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentDeltaConnectionEvents\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDocumentDeltaConnectionEvents():\n TypeOnly<old.IDocumentDeltaConnectionEvents>;\ndeclare function use_current_InterfaceDeclaration_IDocumentDeltaConnectionEvents(\n use: TypeOnly<current.IDocumentDeltaConnectionEvents>);\nuse_current_InterfaceDeclaration_IDocumentDeltaConnectionEvents(\n get_old_InterfaceDeclaration_IDocumentDeltaConnectionEvents());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentDeltaConnectionEvents\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDocumentDeltaConnectionEvents():\n TypeOnly<current.IDocumentDeltaConnectionEvents>;\ndeclare function use_old_InterfaceDeclaration_IDocumentDeltaConnectionEvents(\n use: TypeOnly<old.IDocumentDeltaConnectionEvents>);\nuse_old_InterfaceDeclaration_IDocumentDeltaConnectionEvents(\n get_current_InterfaceDeclaration_IDocumentDeltaConnectionEvents());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentDeltaStorageService\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDocumentDeltaStorageService():\n TypeOnly<old.IDocumentDeltaStorageService>;\ndeclare function use_current_InterfaceDeclaration_IDocumentDeltaStorageService(\n use: TypeOnly<current.IDocumentDeltaStorageService>);\nuse_current_InterfaceDeclaration_IDocumentDeltaStorageService(\n get_old_InterfaceDeclaration_IDocumentDeltaStorageService());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentDeltaStorageService\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDocumentDeltaStorageService():\n TypeOnly<current.IDocumentDeltaStorageService>;\ndeclare function use_old_InterfaceDeclaration_IDocumentDeltaStorageService(\n use: TypeOnly<old.IDocumentDeltaStorageService>);\nuse_old_InterfaceDeclaration_IDocumentDeltaStorageService(\n get_current_InterfaceDeclaration_IDocumentDeltaStorageService());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentService\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDocumentService():\n TypeOnly<old.IDocumentService>;\ndeclare function use_current_InterfaceDeclaration_IDocumentService(\n use: TypeOnly<current.IDocumentService>);\nuse_current_InterfaceDeclaration_IDocumentService(\n get_old_InterfaceDeclaration_IDocumentService());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentService\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDocumentService():\n TypeOnly<current.IDocumentService>;\ndeclare function use_old_InterfaceDeclaration_IDocumentService(\n use: TypeOnly<old.IDocumentService>);\nuse_old_InterfaceDeclaration_IDocumentService(\n get_current_InterfaceDeclaration_IDocumentService());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentServiceFactory\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDocumentServiceFactory():\n TypeOnly<old.IDocumentServiceFactory>;\ndeclare function use_current_InterfaceDeclaration_IDocumentServiceFactory(\n use: TypeOnly<current.IDocumentServiceFactory>);\nuse_current_InterfaceDeclaration_IDocumentServiceFactory(\n get_old_InterfaceDeclaration_IDocumentServiceFactory());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentServiceFactory\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDocumentServiceFactory():\n TypeOnly<current.IDocumentServiceFactory>;\ndeclare function use_old_InterfaceDeclaration_IDocumentServiceFactory(\n use: TypeOnly<old.IDocumentServiceFactory>);\nuse_old_InterfaceDeclaration_IDocumentServiceFactory(\n get_current_InterfaceDeclaration_IDocumentServiceFactory());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentServicePolicies\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDocumentServicePolicies():\n TypeOnly<old.IDocumentServicePolicies>;\ndeclare function use_current_InterfaceDeclaration_IDocumentServicePolicies(\n use: TypeOnly<current.IDocumentServicePolicies>);\nuse_current_InterfaceDeclaration_IDocumentServicePolicies(\n get_old_InterfaceDeclaration_IDocumentServicePolicies());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentServicePolicies\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDocumentServicePolicies():\n TypeOnly<current.IDocumentServicePolicies>;\ndeclare function use_old_InterfaceDeclaration_IDocumentServicePolicies(\n use: TypeOnly<old.IDocumentServicePolicies>);\nuse_old_InterfaceDeclaration_IDocumentServicePolicies(\n get_current_InterfaceDeclaration_IDocumentServicePolicies());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentStorageService\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDocumentStorageService():\n TypeOnly<old.IDocumentStorageService>;\ndeclare function use_current_InterfaceDeclaration_IDocumentStorageService(\n use: TypeOnly<current.IDocumentStorageService>);\nuse_current_InterfaceDeclaration_IDocumentStorageService(\n get_old_InterfaceDeclaration_IDocumentStorageService());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentStorageService\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDocumentStorageService():\n TypeOnly<current.IDocumentStorageService>;\ndeclare function use_old_InterfaceDeclaration_IDocumentStorageService(\n use: TypeOnly<old.IDocumentStorageService>);\nuse_old_InterfaceDeclaration_IDocumentStorageService(\n get_current_InterfaceDeclaration_IDocumentStorageService());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentStorageServicePolicies\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDocumentStorageServicePolicies():\n TypeOnly<old.IDocumentStorageServicePolicies>;\ndeclare function use_current_InterfaceDeclaration_IDocumentStorageServicePolicies(\n use: TypeOnly<current.IDocumentStorageServicePolicies>);\nuse_current_InterfaceDeclaration_IDocumentStorageServicePolicies(\n get_old_InterfaceDeclaration_IDocumentStorageServicePolicies());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentStorageServicePolicies\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDocumentStorageServicePolicies():\n TypeOnly<current.IDocumentStorageServicePolicies>;\ndeclare function use_old_InterfaceDeclaration_IDocumentStorageServicePolicies(\n use: TypeOnly<old.IDocumentStorageServicePolicies>);\nuse_old_InterfaceDeclaration_IDocumentStorageServicePolicies(\n get_current_InterfaceDeclaration_IDocumentStorageServicePolicies());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDriverBasicError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDriverBasicError():\n TypeOnly<old.IDriverBasicError>;\ndeclare function use_current_InterfaceDeclaration_IDriverBasicError(\n use: TypeOnly<current.IDriverBasicError>);\nuse_current_InterfaceDeclaration_IDriverBasicError(\n get_old_InterfaceDeclaration_IDriverBasicError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDriverBasicError\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDriverBasicError():\n TypeOnly<current.IDriverBasicError>;\ndeclare function use_old_InterfaceDeclaration_IDriverBasicError(\n use: TypeOnly<old.IDriverBasicError>);\nuse_old_InterfaceDeclaration_IDriverBasicError(\n get_current_InterfaceDeclaration_IDriverBasicError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDriverErrorBase\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDriverErrorBase():\n TypeOnly<old.IDriverErrorBase>;\ndeclare function use_current_InterfaceDeclaration_IDriverErrorBase(\n use: TypeOnly<current.IDriverErrorBase>);\nuse_current_InterfaceDeclaration_IDriverErrorBase(\n get_old_InterfaceDeclaration_IDriverErrorBase());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDriverErrorBase\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDriverErrorBase():\n TypeOnly<current.IDriverErrorBase>;\ndeclare function use_old_InterfaceDeclaration_IDriverErrorBase(\n use: TypeOnly<old.IDriverErrorBase>);\nuse_old_InterfaceDeclaration_IDriverErrorBase(\n get_current_InterfaceDeclaration_IDriverErrorBase());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDriverHeader\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDriverHeader():\n TypeOnly<old.IDriverHeader>;\ndeclare function use_current_InterfaceDeclaration_IDriverHeader(\n use: TypeOnly<current.IDriverHeader>);\nuse_current_InterfaceDeclaration_IDriverHeader(\n get_old_InterfaceDeclaration_IDriverHeader());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDriverHeader\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDriverHeader():\n TypeOnly<current.IDriverHeader>;\ndeclare function use_old_InterfaceDeclaration_IDriverHeader(\n use: TypeOnly<old.IDriverHeader>);\nuse_old_InterfaceDeclaration_IDriverHeader(\n get_current_InterfaceDeclaration_IDriverHeader());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidResolvedUrl\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidResolvedUrl():\n TypeOnly<old.IFluidResolvedUrl>;\ndeclare function use_current_InterfaceDeclaration_IFluidResolvedUrl(\n use: TypeOnly<current.IFluidResolvedUrl>);\nuse_current_InterfaceDeclaration_IFluidResolvedUrl(\n get_old_InterfaceDeclaration_IFluidResolvedUrl());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidResolvedUrl\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidResolvedUrl():\n TypeOnly<current.IFluidResolvedUrl>;\ndeclare function use_old_InterfaceDeclaration_IFluidResolvedUrl(\n use: TypeOnly<old.IFluidResolvedUrl>);\nuse_old_InterfaceDeclaration_IFluidResolvedUrl(\n get_current_InterfaceDeclaration_IFluidResolvedUrl());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IGenericNetworkError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IGenericNetworkError():\n TypeOnly<old.IGenericNetworkError>;\ndeclare function use_current_InterfaceDeclaration_IGenericNetworkError(\n use: TypeOnly<current.IGenericNetworkError>);\nuse_current_InterfaceDeclaration_IGenericNetworkError(\n get_old_InterfaceDeclaration_IGenericNetworkError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IGenericNetworkError\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IGenericNetworkError():\n TypeOnly<current.IGenericNetworkError>;\ndeclare function use_old_InterfaceDeclaration_IGenericNetworkError(\n use: TypeOnly<old.IGenericNetworkError>);\nuse_old_InterfaceDeclaration_IGenericNetworkError(\n get_current_InterfaceDeclaration_IGenericNetworkError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_IResolvedUrl\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_IResolvedUrl():\n TypeOnly<old.IResolvedUrl>;\ndeclare function use_current_TypeAliasDeclaration_IResolvedUrl(\n use: TypeOnly<current.IResolvedUrl>);\nuse_current_TypeAliasDeclaration_IResolvedUrl(\n get_old_TypeAliasDeclaration_IResolvedUrl());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_IResolvedUrl\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_IResolvedUrl():\n TypeOnly<current.IResolvedUrl>;\ndeclare function use_old_TypeAliasDeclaration_IResolvedUrl(\n use: TypeOnly<old.IResolvedUrl>);\nuse_old_TypeAliasDeclaration_IResolvedUrl(\n get_current_TypeAliasDeclaration_IResolvedUrl());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IResolvedUrlBase\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IResolvedUrlBase():\n TypeOnly<old.IResolvedUrlBase>;\ndeclare function use_current_InterfaceDeclaration_IResolvedUrlBase(\n use: TypeOnly<current.IResolvedUrlBase>);\nuse_current_InterfaceDeclaration_IResolvedUrlBase(\n get_old_InterfaceDeclaration_IResolvedUrlBase());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IResolvedUrlBase\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IResolvedUrlBase():\n TypeOnly<current.IResolvedUrlBase>;\ndeclare function use_old_InterfaceDeclaration_IResolvedUrlBase(\n use: TypeOnly<old.IResolvedUrlBase>);\nuse_old_InterfaceDeclaration_IResolvedUrlBase(\n get_current_InterfaceDeclaration_IResolvedUrlBase());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IStream\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IStream():\n TypeOnly<old.IStream<any>>;\ndeclare function use_current_InterfaceDeclaration_IStream(\n use: TypeOnly<current.IStream<any>>);\nuse_current_InterfaceDeclaration_IStream(\n get_old_InterfaceDeclaration_IStream());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IStream\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IStream():\n TypeOnly<current.IStream<any>>;\ndeclare function use_old_InterfaceDeclaration_IStream(\n use: TypeOnly<old.IStream<any>>);\nuse_old_InterfaceDeclaration_IStream(\n get_current_InterfaceDeclaration_IStream());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_IStreamResult\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_IStreamResult():\n TypeOnly<old.IStreamResult<any>>;\ndeclare function use_current_TypeAliasDeclaration_IStreamResult(\n use: TypeOnly<current.IStreamResult<any>>);\nuse_current_TypeAliasDeclaration_IStreamResult(\n get_old_TypeAliasDeclaration_IStreamResult());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_IStreamResult\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_IStreamResult():\n TypeOnly<current.IStreamResult<any>>;\ndeclare function use_old_TypeAliasDeclaration_IStreamResult(\n use: TypeOnly<old.IStreamResult<any>>);\nuse_old_TypeAliasDeclaration_IStreamResult(\n get_current_TypeAliasDeclaration_IStreamResult());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_ISummaryContext\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_ISummaryContext():\n TypeOnly<old.ISummaryContext>;\ndeclare function use_current_InterfaceDeclaration_ISummaryContext(\n use: TypeOnly<current.ISummaryContext>);\nuse_current_InterfaceDeclaration_ISummaryContext(\n get_old_InterfaceDeclaration_ISummaryContext());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_ISummaryContext\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_ISummaryContext():\n TypeOnly<current.ISummaryContext>;\ndeclare function use_old_InterfaceDeclaration_ISummaryContext(\n use: TypeOnly<old.ISummaryContext>);\nuse_old_InterfaceDeclaration_ISummaryContext(\n get_current_InterfaceDeclaration_ISummaryContext());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IThrottlingWarning\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IThrottlingWarning():\n TypeOnly<old.IThrottlingWarning>;\ndeclare function use_current_InterfaceDeclaration_IThrottlingWarning(\n use: TypeOnly<current.IThrottlingWarning>);\nuse_current_InterfaceDeclaration_IThrottlingWarning(\n get_old_InterfaceDeclaration_IThrottlingWarning());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IThrottlingWarning\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IThrottlingWarning():\n TypeOnly<current.IThrottlingWarning>;\ndeclare function use_old_InterfaceDeclaration_IThrottlingWarning(\n use: TypeOnly<old.IThrottlingWarning>);\nuse_old_InterfaceDeclaration_IThrottlingWarning(\n get_current_InterfaceDeclaration_IThrottlingWarning());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IUrlResolver\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IUrlResolver():\n TypeOnly<old.IUrlResolver>;\ndeclare function use_current_InterfaceDeclaration_IUrlResolver(\n use: TypeOnly<current.IUrlResolver>);\nuse_current_InterfaceDeclaration_IUrlResolver(\n get_old_InterfaceDeclaration_IUrlResolver());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IUrlResolver\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IUrlResolver():\n TypeOnly<current.IUrlResolver>;\ndeclare function use_old_InterfaceDeclaration_IUrlResolver(\n use: TypeOnly<old.IUrlResolver>);\nuse_old_InterfaceDeclaration_IUrlResolver(\n get_current_InterfaceDeclaration_IUrlResolver());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IWebResolvedUrl\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IWebResolvedUrl():\n TypeOnly<old.IWebResolvedUrl>;\ndeclare function use_current_InterfaceDeclaration_IWebResolvedUrl(\n use: TypeOnly<current.IWebResolvedUrl>);\nuse_current_InterfaceDeclaration_IWebResolvedUrl(\n get_old_InterfaceDeclaration_IWebResolvedUrl());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IWebResolvedUrl\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IWebResolvedUrl():\n TypeOnly<current.IWebResolvedUrl>;\ndeclare function use_old_InterfaceDeclaration_IWebResolvedUrl(\n use: TypeOnly<old.IWebResolvedUrl>);\nuse_old_InterfaceDeclaration_IWebResolvedUrl(\n get_current_InterfaceDeclaration_IWebResolvedUrl());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_LoaderCachingPolicy\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_EnumDeclaration_LoaderCachingPolicy():\n TypeOnly<old.LoaderCachingPolicy>;\ndeclare function use_current_EnumDeclaration_LoaderCachingPolicy(\n use: TypeOnly<current.LoaderCachingPolicy>);\nuse_current_EnumDeclaration_LoaderCachingPolicy(\n get_old_EnumDeclaration_LoaderCachingPolicy());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_LoaderCachingPolicy\": {\"backCompat\": false}\n*/\ndeclare function get_current_EnumDeclaration_LoaderCachingPolicy():\n TypeOnly<current.LoaderCachingPolicy>;\ndeclare function use_old_EnumDeclaration_LoaderCachingPolicy(\n use: TypeOnly<old.LoaderCachingPolicy>);\nuse_old_EnumDeclaration_LoaderCachingPolicy(\n get_current_EnumDeclaration_LoaderCachingPolicy());\n"]}
|
|
1
|
+
{"version":3,"file":"validateDriverDefinitionsPrevious.js","sourceRoot":"","sources":["../../../src/test/types/validateDriverDefinitionsPrevious.ts"],"names":[],"mappings":"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","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/*\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.\n * Generated by fluid-type-validator in @fluidframework/build-tools.\n */\nimport * as old from \"@fluidframework/driver-definitions-previous\";\nimport * as current from \"../../index\";\n\ntype TypeOnly<T> = {\n [P in keyof T]: TypeOnly<T[P]>;\n};\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_DriverError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_DriverError():\n TypeOnly<old.DriverError>;\ndeclare function use_current_TypeAliasDeclaration_DriverError(\n use: TypeOnly<current.DriverError>);\nuse_current_TypeAliasDeclaration_DriverError(\n get_old_TypeAliasDeclaration_DriverError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_DriverError\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_DriverError():\n TypeOnly<current.DriverError>;\ndeclare function use_old_TypeAliasDeclaration_DriverError(\n use: TypeOnly<old.DriverError>);\nuse_old_TypeAliasDeclaration_DriverError(\n get_current_TypeAliasDeclaration_DriverError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_DriverErrorType\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_EnumDeclaration_DriverErrorType():\n TypeOnly<old.DriverErrorType>;\ndeclare function use_current_EnumDeclaration_DriverErrorType(\n use: TypeOnly<current.DriverErrorType>);\nuse_current_EnumDeclaration_DriverErrorType(\n get_old_EnumDeclaration_DriverErrorType());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_DriverErrorType\": {\"backCompat\": false}\n*/\ndeclare function get_current_EnumDeclaration_DriverErrorType():\n TypeOnly<current.DriverErrorType>;\ndeclare function use_old_EnumDeclaration_DriverErrorType(\n use: TypeOnly<old.DriverErrorType>);\nuse_old_EnumDeclaration_DriverErrorType(\n get_current_EnumDeclaration_DriverErrorType());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_DriverHeader\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_EnumDeclaration_DriverHeader():\n TypeOnly<old.DriverHeader>;\ndeclare function use_current_EnumDeclaration_DriverHeader(\n use: TypeOnly<current.DriverHeader>);\nuse_current_EnumDeclaration_DriverHeader(\n get_old_EnumDeclaration_DriverHeader());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_DriverHeader\": {\"backCompat\": false}\n*/\ndeclare function get_current_EnumDeclaration_DriverHeader():\n TypeOnly<current.DriverHeader>;\ndeclare function use_old_EnumDeclaration_DriverHeader(\n use: TypeOnly<old.DriverHeader>);\nuse_old_EnumDeclaration_DriverHeader(\n get_current_EnumDeclaration_DriverHeader());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_DriverPreCheckInfo\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_DriverPreCheckInfo():\n TypeOnly<old.DriverPreCheckInfo>;\ndeclare function use_current_InterfaceDeclaration_DriverPreCheckInfo(\n use: TypeOnly<current.DriverPreCheckInfo>);\nuse_current_InterfaceDeclaration_DriverPreCheckInfo(\n get_old_InterfaceDeclaration_DriverPreCheckInfo());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_DriverPreCheckInfo\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_DriverPreCheckInfo():\n TypeOnly<current.DriverPreCheckInfo>;\ndeclare function use_old_InterfaceDeclaration_DriverPreCheckInfo(\n use: TypeOnly<old.DriverPreCheckInfo>);\nuse_old_InterfaceDeclaration_DriverPreCheckInfo(\n get_current_InterfaceDeclaration_DriverPreCheckInfo());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IAuthorizationError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IAuthorizationError():\n TypeOnly<old.IAuthorizationError>;\ndeclare function use_current_InterfaceDeclaration_IAuthorizationError(\n use: TypeOnly<current.IAuthorizationError>);\nuse_current_InterfaceDeclaration_IAuthorizationError(\n get_old_InterfaceDeclaration_IAuthorizationError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IAuthorizationError\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IAuthorizationError():\n TypeOnly<current.IAuthorizationError>;\ndeclare function use_old_InterfaceDeclaration_IAuthorizationError(\n use: TypeOnly<old.IAuthorizationError>);\nuse_old_InterfaceDeclaration_IAuthorizationError(\n get_current_InterfaceDeclaration_IAuthorizationError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IContainerPackageInfo\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IContainerPackageInfo():\n TypeOnly<old.IContainerPackageInfo>;\ndeclare function use_current_InterfaceDeclaration_IContainerPackageInfo(\n use: TypeOnly<current.IContainerPackageInfo>);\nuse_current_InterfaceDeclaration_IContainerPackageInfo(\n get_old_InterfaceDeclaration_IContainerPackageInfo());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IContainerPackageInfo\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IContainerPackageInfo():\n TypeOnly<current.IContainerPackageInfo>;\ndeclare function use_old_InterfaceDeclaration_IContainerPackageInfo(\n use: TypeOnly<old.IContainerPackageInfo>);\nuse_old_InterfaceDeclaration_IContainerPackageInfo(\n get_current_InterfaceDeclaration_IContainerPackageInfo());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDeltasFetchResult\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDeltasFetchResult():\n TypeOnly<old.IDeltasFetchResult>;\ndeclare function use_current_InterfaceDeclaration_IDeltasFetchResult(\n use: TypeOnly<current.IDeltasFetchResult>);\nuse_current_InterfaceDeclaration_IDeltasFetchResult(\n get_old_InterfaceDeclaration_IDeltasFetchResult());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDeltasFetchResult\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDeltasFetchResult():\n TypeOnly<current.IDeltasFetchResult>;\ndeclare function use_old_InterfaceDeclaration_IDeltasFetchResult(\n use: TypeOnly<old.IDeltasFetchResult>);\nuse_old_InterfaceDeclaration_IDeltasFetchResult(\n get_current_InterfaceDeclaration_IDeltasFetchResult());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDeltaStorageService\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDeltaStorageService():\n TypeOnly<old.IDeltaStorageService>;\ndeclare function use_current_InterfaceDeclaration_IDeltaStorageService(\n use: TypeOnly<current.IDeltaStorageService>);\nuse_current_InterfaceDeclaration_IDeltaStorageService(\n get_old_InterfaceDeclaration_IDeltaStorageService());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDeltaStorageService\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDeltaStorageService():\n TypeOnly<current.IDeltaStorageService>;\ndeclare function use_old_InterfaceDeclaration_IDeltaStorageService(\n use: TypeOnly<old.IDeltaStorageService>);\nuse_old_InterfaceDeclaration_IDeltaStorageService(\n get_current_InterfaceDeclaration_IDeltaStorageService());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentDeltaConnection\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDocumentDeltaConnection():\n TypeOnly<old.IDocumentDeltaConnection>;\ndeclare function use_current_InterfaceDeclaration_IDocumentDeltaConnection(\n use: TypeOnly<current.IDocumentDeltaConnection>);\nuse_current_InterfaceDeclaration_IDocumentDeltaConnection(\n get_old_InterfaceDeclaration_IDocumentDeltaConnection());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentDeltaConnection\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDocumentDeltaConnection():\n TypeOnly<current.IDocumentDeltaConnection>;\ndeclare function use_old_InterfaceDeclaration_IDocumentDeltaConnection(\n use: TypeOnly<old.IDocumentDeltaConnection>);\nuse_old_InterfaceDeclaration_IDocumentDeltaConnection(\n get_current_InterfaceDeclaration_IDocumentDeltaConnection());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentDeltaConnectionEvents\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDocumentDeltaConnectionEvents():\n TypeOnly<old.IDocumentDeltaConnectionEvents>;\ndeclare function use_current_InterfaceDeclaration_IDocumentDeltaConnectionEvents(\n use: TypeOnly<current.IDocumentDeltaConnectionEvents>);\nuse_current_InterfaceDeclaration_IDocumentDeltaConnectionEvents(\n get_old_InterfaceDeclaration_IDocumentDeltaConnectionEvents());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentDeltaConnectionEvents\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDocumentDeltaConnectionEvents():\n TypeOnly<current.IDocumentDeltaConnectionEvents>;\ndeclare function use_old_InterfaceDeclaration_IDocumentDeltaConnectionEvents(\n use: TypeOnly<old.IDocumentDeltaConnectionEvents>);\nuse_old_InterfaceDeclaration_IDocumentDeltaConnectionEvents(\n get_current_InterfaceDeclaration_IDocumentDeltaConnectionEvents());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentDeltaStorageService\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDocumentDeltaStorageService():\n TypeOnly<old.IDocumentDeltaStorageService>;\ndeclare function use_current_InterfaceDeclaration_IDocumentDeltaStorageService(\n use: TypeOnly<current.IDocumentDeltaStorageService>);\nuse_current_InterfaceDeclaration_IDocumentDeltaStorageService(\n get_old_InterfaceDeclaration_IDocumentDeltaStorageService());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentDeltaStorageService\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDocumentDeltaStorageService():\n TypeOnly<current.IDocumentDeltaStorageService>;\ndeclare function use_old_InterfaceDeclaration_IDocumentDeltaStorageService(\n use: TypeOnly<old.IDocumentDeltaStorageService>);\nuse_old_InterfaceDeclaration_IDocumentDeltaStorageService(\n get_current_InterfaceDeclaration_IDocumentDeltaStorageService());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentService\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDocumentService():\n TypeOnly<old.IDocumentService>;\ndeclare function use_current_InterfaceDeclaration_IDocumentService(\n use: TypeOnly<current.IDocumentService>);\nuse_current_InterfaceDeclaration_IDocumentService(\n get_old_InterfaceDeclaration_IDocumentService());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentService\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDocumentService():\n TypeOnly<current.IDocumentService>;\ndeclare function use_old_InterfaceDeclaration_IDocumentService(\n use: TypeOnly<old.IDocumentService>);\nuse_old_InterfaceDeclaration_IDocumentService(\n get_current_InterfaceDeclaration_IDocumentService());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentServiceFactory\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDocumentServiceFactory():\n TypeOnly<old.IDocumentServiceFactory>;\ndeclare function use_current_InterfaceDeclaration_IDocumentServiceFactory(\n use: TypeOnly<current.IDocumentServiceFactory>);\nuse_current_InterfaceDeclaration_IDocumentServiceFactory(\n get_old_InterfaceDeclaration_IDocumentServiceFactory());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentServiceFactory\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDocumentServiceFactory():\n TypeOnly<current.IDocumentServiceFactory>;\ndeclare function use_old_InterfaceDeclaration_IDocumentServiceFactory(\n use: TypeOnly<old.IDocumentServiceFactory>);\nuse_old_InterfaceDeclaration_IDocumentServiceFactory(\n get_current_InterfaceDeclaration_IDocumentServiceFactory());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentServicePolicies\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDocumentServicePolicies():\n TypeOnly<old.IDocumentServicePolicies>;\ndeclare function use_current_InterfaceDeclaration_IDocumentServicePolicies(\n use: TypeOnly<current.IDocumentServicePolicies>);\nuse_current_InterfaceDeclaration_IDocumentServicePolicies(\n get_old_InterfaceDeclaration_IDocumentServicePolicies());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentServicePolicies\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDocumentServicePolicies():\n TypeOnly<current.IDocumentServicePolicies>;\ndeclare function use_old_InterfaceDeclaration_IDocumentServicePolicies(\n use: TypeOnly<old.IDocumentServicePolicies>);\nuse_old_InterfaceDeclaration_IDocumentServicePolicies(\n get_current_InterfaceDeclaration_IDocumentServicePolicies());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentStorageService\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDocumentStorageService():\n TypeOnly<old.IDocumentStorageService>;\ndeclare function use_current_InterfaceDeclaration_IDocumentStorageService(\n use: TypeOnly<current.IDocumentStorageService>);\nuse_current_InterfaceDeclaration_IDocumentStorageService(\n get_old_InterfaceDeclaration_IDocumentStorageService());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentStorageService\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDocumentStorageService():\n TypeOnly<current.IDocumentStorageService>;\ndeclare function use_old_InterfaceDeclaration_IDocumentStorageService(\n use: TypeOnly<old.IDocumentStorageService>);\nuse_old_InterfaceDeclaration_IDocumentStorageService(\n get_current_InterfaceDeclaration_IDocumentStorageService());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentStorageServicePolicies\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDocumentStorageServicePolicies():\n TypeOnly<old.IDocumentStorageServicePolicies>;\ndeclare function use_current_InterfaceDeclaration_IDocumentStorageServicePolicies(\n use: TypeOnly<current.IDocumentStorageServicePolicies>);\nuse_current_InterfaceDeclaration_IDocumentStorageServicePolicies(\n get_old_InterfaceDeclaration_IDocumentStorageServicePolicies());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDocumentStorageServicePolicies\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDocumentStorageServicePolicies():\n TypeOnly<current.IDocumentStorageServicePolicies>;\ndeclare function use_old_InterfaceDeclaration_IDocumentStorageServicePolicies(\n use: TypeOnly<old.IDocumentStorageServicePolicies>);\nuse_old_InterfaceDeclaration_IDocumentStorageServicePolicies(\n get_current_InterfaceDeclaration_IDocumentStorageServicePolicies());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDriverBasicError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDriverBasicError():\n TypeOnly<old.IDriverBasicError>;\ndeclare function use_current_InterfaceDeclaration_IDriverBasicError(\n use: TypeOnly<current.IDriverBasicError>);\nuse_current_InterfaceDeclaration_IDriverBasicError(\n get_old_InterfaceDeclaration_IDriverBasicError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDriverBasicError\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDriverBasicError():\n TypeOnly<current.IDriverBasicError>;\ndeclare function use_old_InterfaceDeclaration_IDriverBasicError(\n use: TypeOnly<old.IDriverBasicError>);\nuse_old_InterfaceDeclaration_IDriverBasicError(\n get_current_InterfaceDeclaration_IDriverBasicError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDriverErrorBase\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDriverErrorBase():\n TypeOnly<old.IDriverErrorBase>;\ndeclare function use_current_InterfaceDeclaration_IDriverErrorBase(\n use: TypeOnly<current.IDriverErrorBase>);\nuse_current_InterfaceDeclaration_IDriverErrorBase(\n get_old_InterfaceDeclaration_IDriverErrorBase());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDriverErrorBase\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDriverErrorBase():\n TypeOnly<current.IDriverErrorBase>;\ndeclare function use_old_InterfaceDeclaration_IDriverErrorBase(\n use: TypeOnly<old.IDriverErrorBase>);\nuse_old_InterfaceDeclaration_IDriverErrorBase(\n get_current_InterfaceDeclaration_IDriverErrorBase());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDriverHeader\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IDriverHeader():\n TypeOnly<old.IDriverHeader>;\ndeclare function use_current_InterfaceDeclaration_IDriverHeader(\n use: TypeOnly<current.IDriverHeader>);\nuse_current_InterfaceDeclaration_IDriverHeader(\n get_old_InterfaceDeclaration_IDriverHeader());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IDriverHeader\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IDriverHeader():\n TypeOnly<current.IDriverHeader>;\ndeclare function use_old_InterfaceDeclaration_IDriverHeader(\n use: TypeOnly<old.IDriverHeader>);\nuse_old_InterfaceDeclaration_IDriverHeader(\n get_current_InterfaceDeclaration_IDriverHeader());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidResolvedUrl\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidResolvedUrl():\n TypeOnly<old.IFluidResolvedUrl>;\ndeclare function use_current_InterfaceDeclaration_IFluidResolvedUrl(\n use: TypeOnly<current.IFluidResolvedUrl>);\nuse_current_InterfaceDeclaration_IFluidResolvedUrl(\n get_old_InterfaceDeclaration_IFluidResolvedUrl());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidResolvedUrl\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidResolvedUrl():\n TypeOnly<current.IFluidResolvedUrl>;\ndeclare function use_old_InterfaceDeclaration_IFluidResolvedUrl(\n use: TypeOnly<old.IFluidResolvedUrl>);\nuse_old_InterfaceDeclaration_IFluidResolvedUrl(\n get_current_InterfaceDeclaration_IFluidResolvedUrl());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IGenericNetworkError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IGenericNetworkError():\n TypeOnly<old.IGenericNetworkError>;\ndeclare function use_current_InterfaceDeclaration_IGenericNetworkError(\n use: TypeOnly<current.IGenericNetworkError>);\nuse_current_InterfaceDeclaration_IGenericNetworkError(\n get_old_InterfaceDeclaration_IGenericNetworkError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IGenericNetworkError\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IGenericNetworkError():\n TypeOnly<current.IGenericNetworkError>;\ndeclare function use_old_InterfaceDeclaration_IGenericNetworkError(\n use: TypeOnly<old.IGenericNetworkError>);\nuse_old_InterfaceDeclaration_IGenericNetworkError(\n get_current_InterfaceDeclaration_IGenericNetworkError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_ILocationRedirectionError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_ILocationRedirectionError():\n TypeOnly<old.ILocationRedirectionError>;\ndeclare function use_current_InterfaceDeclaration_ILocationRedirectionError(\n use: TypeOnly<current.ILocationRedirectionError>);\nuse_current_InterfaceDeclaration_ILocationRedirectionError(\n get_old_InterfaceDeclaration_ILocationRedirectionError());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_ILocationRedirectionError\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_ILocationRedirectionError():\n TypeOnly<current.ILocationRedirectionError>;\ndeclare function use_old_InterfaceDeclaration_ILocationRedirectionError(\n use: TypeOnly<old.ILocationRedirectionError>);\nuse_old_InterfaceDeclaration_ILocationRedirectionError(\n get_current_InterfaceDeclaration_ILocationRedirectionError());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_IResolvedUrl\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_IResolvedUrl():\n TypeOnly<old.IResolvedUrl>;\ndeclare function use_current_TypeAliasDeclaration_IResolvedUrl(\n use: TypeOnly<current.IResolvedUrl>);\nuse_current_TypeAliasDeclaration_IResolvedUrl(\n get_old_TypeAliasDeclaration_IResolvedUrl());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_IResolvedUrl\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_IResolvedUrl():\n TypeOnly<current.IResolvedUrl>;\ndeclare function use_old_TypeAliasDeclaration_IResolvedUrl(\n use: TypeOnly<old.IResolvedUrl>);\nuse_old_TypeAliasDeclaration_IResolvedUrl(\n get_current_TypeAliasDeclaration_IResolvedUrl());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IResolvedUrlBase\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IResolvedUrlBase():\n TypeOnly<old.IResolvedUrlBase>;\ndeclare function use_current_InterfaceDeclaration_IResolvedUrlBase(\n use: TypeOnly<current.IResolvedUrlBase>);\nuse_current_InterfaceDeclaration_IResolvedUrlBase(\n get_old_InterfaceDeclaration_IResolvedUrlBase());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IResolvedUrlBase\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IResolvedUrlBase():\n TypeOnly<current.IResolvedUrlBase>;\ndeclare function use_old_InterfaceDeclaration_IResolvedUrlBase(\n use: TypeOnly<old.IResolvedUrlBase>);\nuse_old_InterfaceDeclaration_IResolvedUrlBase(\n get_current_InterfaceDeclaration_IResolvedUrlBase());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IStream\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IStream():\n TypeOnly<old.IStream<any>>;\ndeclare function use_current_InterfaceDeclaration_IStream(\n use: TypeOnly<current.IStream<any>>);\nuse_current_InterfaceDeclaration_IStream(\n get_old_InterfaceDeclaration_IStream());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IStream\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IStream():\n TypeOnly<current.IStream<any>>;\ndeclare function use_old_InterfaceDeclaration_IStream(\n use: TypeOnly<old.IStream<any>>);\nuse_old_InterfaceDeclaration_IStream(\n get_current_InterfaceDeclaration_IStream());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_IStreamResult\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_IStreamResult():\n TypeOnly<old.IStreamResult<any>>;\ndeclare function use_current_TypeAliasDeclaration_IStreamResult(\n use: TypeOnly<current.IStreamResult<any>>);\nuse_current_TypeAliasDeclaration_IStreamResult(\n get_old_TypeAliasDeclaration_IStreamResult());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_IStreamResult\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_IStreamResult():\n TypeOnly<current.IStreamResult<any>>;\ndeclare function use_old_TypeAliasDeclaration_IStreamResult(\n use: TypeOnly<old.IStreamResult<any>>);\nuse_old_TypeAliasDeclaration_IStreamResult(\n get_current_TypeAliasDeclaration_IStreamResult());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_ISummaryContext\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_ISummaryContext():\n TypeOnly<old.ISummaryContext>;\ndeclare function use_current_InterfaceDeclaration_ISummaryContext(\n use: TypeOnly<current.ISummaryContext>);\nuse_current_InterfaceDeclaration_ISummaryContext(\n get_old_InterfaceDeclaration_ISummaryContext());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_ISummaryContext\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_ISummaryContext():\n TypeOnly<current.ISummaryContext>;\ndeclare function use_old_InterfaceDeclaration_ISummaryContext(\n use: TypeOnly<old.ISummaryContext>);\nuse_old_InterfaceDeclaration_ISummaryContext(\n get_current_InterfaceDeclaration_ISummaryContext());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IThrottlingWarning\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IThrottlingWarning():\n TypeOnly<old.IThrottlingWarning>;\ndeclare function use_current_InterfaceDeclaration_IThrottlingWarning(\n use: TypeOnly<current.IThrottlingWarning>);\nuse_current_InterfaceDeclaration_IThrottlingWarning(\n get_old_InterfaceDeclaration_IThrottlingWarning());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IThrottlingWarning\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IThrottlingWarning():\n TypeOnly<current.IThrottlingWarning>;\ndeclare function use_old_InterfaceDeclaration_IThrottlingWarning(\n use: TypeOnly<old.IThrottlingWarning>);\nuse_old_InterfaceDeclaration_IThrottlingWarning(\n get_current_InterfaceDeclaration_IThrottlingWarning());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IUrlResolver\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IUrlResolver():\n TypeOnly<old.IUrlResolver>;\ndeclare function use_current_InterfaceDeclaration_IUrlResolver(\n use: TypeOnly<current.IUrlResolver>);\nuse_current_InterfaceDeclaration_IUrlResolver(\n get_old_InterfaceDeclaration_IUrlResolver());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IUrlResolver\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IUrlResolver():\n TypeOnly<current.IUrlResolver>;\ndeclare function use_old_InterfaceDeclaration_IUrlResolver(\n use: TypeOnly<old.IUrlResolver>);\nuse_old_InterfaceDeclaration_IUrlResolver(\n get_current_InterfaceDeclaration_IUrlResolver());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IWebResolvedUrl\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IWebResolvedUrl():\n TypeOnly<old.IWebResolvedUrl>;\ndeclare function use_current_InterfaceDeclaration_IWebResolvedUrl(\n use: TypeOnly<current.IWebResolvedUrl>);\nuse_current_InterfaceDeclaration_IWebResolvedUrl(\n get_old_InterfaceDeclaration_IWebResolvedUrl());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IWebResolvedUrl\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IWebResolvedUrl():\n TypeOnly<current.IWebResolvedUrl>;\ndeclare function use_old_InterfaceDeclaration_IWebResolvedUrl(\n use: TypeOnly<old.IWebResolvedUrl>);\nuse_old_InterfaceDeclaration_IWebResolvedUrl(\n get_current_InterfaceDeclaration_IWebResolvedUrl());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_LoaderCachingPolicy\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_EnumDeclaration_LoaderCachingPolicy():\n TypeOnly<old.LoaderCachingPolicy>;\ndeclare function use_current_EnumDeclaration_LoaderCachingPolicy(\n use: TypeOnly<current.LoaderCachingPolicy>);\nuse_current_EnumDeclaration_LoaderCachingPolicy(\n get_old_EnumDeclaration_LoaderCachingPolicy());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"EnumDeclaration_LoaderCachingPolicy\": {\"backCompat\": false}\n*/\ndeclare function get_current_EnumDeclaration_LoaderCachingPolicy():\n TypeOnly<current.LoaderCachingPolicy>;\ndeclare function use_old_EnumDeclaration_LoaderCachingPolicy(\n use: TypeOnly<old.LoaderCachingPolicy>);\nuse_old_EnumDeclaration_LoaderCachingPolicy(\n get_current_EnumDeclaration_LoaderCachingPolicy());\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/driver-definitions",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Fluid driver definitions",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@fluidframework/common-definitions": "^0.20.1",
|
|
41
|
-
"@fluidframework/core-interfaces": "1.2.
|
|
41
|
+
"@fluidframework/core-interfaces": "^1.2.1",
|
|
42
42
|
"@fluidframework/protocol-definitions": "^0.1028.2000"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@fluidframework/build-common": "^0.24.0",
|
|
46
46
|
"@fluidframework/build-tools": "^0.2.74327",
|
|
47
|
-
"@fluidframework/driver-definitions-previous": "npm:@fluidframework/driver-definitions@1.
|
|
47
|
+
"@fluidframework/driver-definitions-previous": "npm:@fluidframework/driver-definitions@1.2.0",
|
|
48
48
|
"@fluidframework/eslint-config-fluid": "^0.28.2000",
|
|
49
49
|
"@microsoft/api-extractor": "^7.22.2",
|
|
50
50
|
"@rushstack/eslint-config": "^2.5.1",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"typescript-formatter": "7.1.0"
|
|
57
57
|
},
|
|
58
58
|
"typeValidation": {
|
|
59
|
-
"version": "1.2.
|
|
59
|
+
"version": "1.2.1",
|
|
60
60
|
"broken": {}
|
|
61
61
|
}
|
|
62
62
|
}
|
package/src/driverError.ts
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
import { IResolvedUrl } from "./urlResolver";
|
|
7
|
+
|
|
6
8
|
/**
|
|
7
9
|
* Driver Error types
|
|
8
10
|
* Lists types that are likely to be used by all drivers
|
|
@@ -75,6 +77,12 @@ export enum DriverErrorType {
|
|
|
75
77
|
* The document is read-only and delta stream connection is forbidden.
|
|
76
78
|
*/
|
|
77
79
|
deltaStreamConnectionForbidden = "deltaStreamConnectionForbidden",
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* The location of file/container can change on server. So if the file location moves and we try to access the old
|
|
83
|
+
* location, then this error is thrown to let the client know about the new location info.
|
|
84
|
+
*/
|
|
85
|
+
locationRedirection = "locationRedirection",
|
|
78
86
|
}
|
|
79
87
|
|
|
80
88
|
/**
|
|
@@ -110,6 +118,11 @@ export interface IAuthorizationError extends IDriverErrorBase {
|
|
|
110
118
|
readonly tenantId?: string;
|
|
111
119
|
}
|
|
112
120
|
|
|
121
|
+
export interface ILocationRedirectionError extends IDriverErrorBase {
|
|
122
|
+
readonly errorType: DriverErrorType.locationRedirection;
|
|
123
|
+
readonly redirectUrl: IResolvedUrl;
|
|
124
|
+
}
|
|
125
|
+
|
|
113
126
|
/**
|
|
114
127
|
* Having this uber interface without types that have their own interfaces
|
|
115
128
|
* allows compiler to differentiate interfaces based on error type
|
|
@@ -131,4 +144,5 @@ export type DriverError =
|
|
|
131
144
|
| IThrottlingWarning
|
|
132
145
|
| IGenericNetworkError
|
|
133
146
|
| IAuthorizationError
|
|
147
|
+
| ILocationRedirectionError
|
|
134
148
|
| IDriverBasicError;
|