@fluidframework/driver-definitions 2.0.0-internal.2.3.0 → 2.0.0-internal.2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -76,7 +76,11 @@ export declare enum DriverErrorType {
76
76
  * Error indicating an API is being used improperly resulting in an invalid operation.
77
77
  * ! Should match the value of ContainerErrorType.usageError
78
78
  */
79
- usageError = "usageError"
79
+ usageError = "usageError",
80
+ /**
81
+ * File is locked for read/write by storage, e.g. whole collection is locked and access denied.
82
+ */
83
+ fileIsLocked = "fileIsLocked"
80
84
  }
81
85
  /**
82
86
  * Interface describing errors and warnings raised by any driver code.
@@ -134,7 +138,7 @@ export interface ILocationRedirectionError extends IDriverErrorBase {
134
138
  * allows compiler to differentiate interfaces based on error type
135
139
  */
136
140
  export interface IDriverBasicError extends IDriverErrorBase {
137
- readonly errorType: DriverErrorType.genericError | DriverErrorType.fileNotFoundOrAccessDeniedError | DriverErrorType.offlineError | DriverErrorType.unsupportedClientProtocolVersion | DriverErrorType.writeError | DriverErrorType.fetchFailure | DriverErrorType.incorrectServerResponse | DriverErrorType.fileOverwrittenInStorage | DriverErrorType.fluidInvalidSchema | DriverErrorType.usageError;
141
+ readonly errorType: DriverErrorType.genericError | DriverErrorType.fileNotFoundOrAccessDeniedError | DriverErrorType.offlineError | DriverErrorType.unsupportedClientProtocolVersion | DriverErrorType.writeError | DriverErrorType.fetchFailure | DriverErrorType.incorrectServerResponse | DriverErrorType.fileOverwrittenInStorage | DriverErrorType.fluidInvalidSchema | DriverErrorType.usageError | DriverErrorType.fileIsLocked;
138
142
  readonly statusCode?: number;
139
143
  }
140
144
  export declare type DriverError = IThrottlingWarning | IGenericNetworkError | IAuthorizationError | ILocationRedirectionError | IDriverBasicError;
@@ -1 +1 @@
1
- {"version":3,"file":"driverError.d.ts","sourceRoot":"","sources":["../src/driverError.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE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ACzB,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,GACxC,eAAe,CAAC,kBAAkB,GAClC,eAAe,CAAC,UAAU,GAC1B,eAAe,CAAC,YAAY,CAAC;IAC/B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,oBAAY,WAAW,GACjB,kBAAkB,GAClB,oBAAoB,GACpB,mBAAmB,GACnB,yBAAyB,GACzB,iBAAiB,CAAC"}
@@ -83,5 +83,9 @@ var DriverErrorType;
83
83
  * ! Should match the value of ContainerErrorType.usageError
84
84
  */
85
85
  DriverErrorType["usageError"] = "usageError";
86
+ /**
87
+ * File is locked for read/write by storage, e.g. whole collection is locked and access denied.
88
+ */
89
+ DriverErrorType["fileIsLocked"] = "fileIsLocked";
86
90
  })(DriverErrorType = exports.DriverErrorType || (exports.DriverErrorType = {}));
87
91
  //# sourceMappingURL=driverError.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"driverError.js","sourceRoot":"","sources":["../src/driverError.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH;;;GAGG;AACH,IAAY,eAsFX;AAtFD,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;IACH,wEAAqD,CAAA;IAErD;;OAEG;IACH,oFAAiE,CAAA;IAEjE;;;OAGG;IACH,8DAA2C,CAAA;IAE3C;;;;OAIG;IACH,4DAAyC,CAAA;IACzC;;;MAGE;IACF,4CAAyB,CAAA;AAC7B,CAAC,EAtFW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAsF1B","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 * When a file is not a Fluid file, but has Fluid extension such as \".note\",\n * server won't be able to open it and will return this error. The innerMostErrorCode will be\n * \"fluidInvalidSchema\"\n */\n fluidInvalidSchema = \"fluidInvalidSchema\",\n /**\n * Error indicating an API is being used improperly resulting in an invalid operation.\n * ! Should match the value of ContainerErrorType.usageError\n */\n usageError = \"usageError\",\n}\n\n/**\n * Interface describing errors and warnings raised by any driver code.\n * Not expected to be implemented by a class or an object literal, but rather used in place of\n * any or unknown in various function signatures that pass errors around.\n *\n * \"Any\" in the interface name is a nod to the fact that errorType has lost its type constraint.\n * It will be either DriverErrorType or the specific driver's specialized error type enum,\n * but we can't reference a specific driver's error type enum in this code.\n */\nexport interface IAnyDriverError extends Omit<IDriverErrorBase, \"errorType\"> {\n readonly errorType: string;\n}\n\n/**\n * Base interface for all errors and warnings\n */\nexport interface IDriverErrorBase {\n /**\n * Classification of what type of error this is, used programmatically by consumers to interpret the error\n */\n readonly errorType: DriverErrorType;\n\n /**\n * Free-form error message\n */\n readonly message: string;\n\n /**\n * True indicates the caller may retry the failed action. False indicates it's a fatal error\n */\n canRetry: boolean;\n\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 | DriverErrorType.fluidInvalidSchema\n | DriverErrorType.usageError;\n readonly statusCode?: number;\n}\n\nexport type DriverError =\n | IThrottlingWarning\n | IGenericNetworkError\n | IAuthorizationError\n | ILocationRedirectionError\n | IDriverBasicError;\n"]}
1
+ {"version":3,"file":"driverError.js","sourceRoot":"","sources":["../src/driverError.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH;;;GAGG;AACH,IAAY,eA4FX;AA5FD,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;IACH,wEAAqD,CAAA;IAErD;;OAEG;IACH,oFAAiE,CAAA;IAEjE;;;OAGG;IACH,8DAA2C,CAAA;IAE3C;;;;OAIG;IACH,4DAAyC,CAAA;IAEzC;;;MAGE;IACF,4CAAyB,CAAA;IAEzB;;OAEG;IACH,gDAA6B,CAAA;AACjC,CAAC,EA5FW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA4F1B","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 * When a file is not a Fluid file, but has Fluid extension such as \".note\",\n * server won't be able to open it and will return this error. The innerMostErrorCode will be\n * \"fluidInvalidSchema\"\n */\n fluidInvalidSchema = \"fluidInvalidSchema\",\n\n /**\n * Error indicating an API is being used improperly resulting in an invalid operation.\n * ! Should match the value of ContainerErrorType.usageError\n */\n usageError = \"usageError\",\n\n /**\n * File is locked for read/write by storage, e.g. whole collection is locked and access denied.\n */\n fileIsLocked = \"fileIsLocked\",\n}\n\n/**\n * Interface describing errors and warnings raised by any driver code.\n * Not expected to be implemented by a class or an object literal, but rather used in place of\n * any or unknown in various function signatures that pass errors around.\n *\n * \"Any\" in the interface name is a nod to the fact that errorType has lost its type constraint.\n * It will be either DriverErrorType or the specific driver's specialized error type enum,\n * but we can't reference a specific driver's error type enum in this code.\n */\nexport interface IAnyDriverError extends Omit<IDriverErrorBase, \"errorType\"> {\n readonly errorType: string;\n}\n\n/**\n * Base interface for all errors and warnings\n */\nexport interface IDriverErrorBase {\n /**\n * Classification of what type of error this is, used programmatically by consumers to interpret the error\n */\n readonly errorType: DriverErrorType;\n\n /**\n * Free-form error message\n */\n readonly message: string;\n\n /**\n * True indicates the caller may retry the failed action. False indicates it's a fatal error\n */\n canRetry: boolean;\n\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 | DriverErrorType.fluidInvalidSchema\n | DriverErrorType.usageError\n | DriverErrorType.fileIsLocked;\n readonly statusCode?: number;\n}\n\nexport type DriverError =\n | IThrottlingWarning\n | IGenericNetworkError\n | IAuthorizationError\n | ILocationRedirectionError\n | IDriverBasicError;\n"]}
@@ -76,7 +76,11 @@ export declare enum DriverErrorType {
76
76
  * Error indicating an API is being used improperly resulting in an invalid operation.
77
77
  * ! Should match the value of ContainerErrorType.usageError
78
78
  */
79
- usageError = "usageError"
79
+ usageError = "usageError",
80
+ /**
81
+ * File is locked for read/write by storage, e.g. whole collection is locked and access denied.
82
+ */
83
+ fileIsLocked = "fileIsLocked"
80
84
  }
81
85
  /**
82
86
  * Interface describing errors and warnings raised by any driver code.
@@ -134,7 +138,7 @@ export interface ILocationRedirectionError extends IDriverErrorBase {
134
138
  * allows compiler to differentiate interfaces based on error type
135
139
  */
136
140
  export interface IDriverBasicError extends IDriverErrorBase {
137
- readonly errorType: DriverErrorType.genericError | DriverErrorType.fileNotFoundOrAccessDeniedError | DriverErrorType.offlineError | DriverErrorType.unsupportedClientProtocolVersion | DriverErrorType.writeError | DriverErrorType.fetchFailure | DriverErrorType.incorrectServerResponse | DriverErrorType.fileOverwrittenInStorage | DriverErrorType.fluidInvalidSchema | DriverErrorType.usageError;
141
+ readonly errorType: DriverErrorType.genericError | DriverErrorType.fileNotFoundOrAccessDeniedError | DriverErrorType.offlineError | DriverErrorType.unsupportedClientProtocolVersion | DriverErrorType.writeError | DriverErrorType.fetchFailure | DriverErrorType.incorrectServerResponse | DriverErrorType.fileOverwrittenInStorage | DriverErrorType.fluidInvalidSchema | DriverErrorType.usageError | DriverErrorType.fileIsLocked;
138
142
  readonly statusCode?: number;
139
143
  }
140
144
  export declare type DriverError = IThrottlingWarning | IGenericNetworkError | IAuthorizationError | ILocationRedirectionError | IDriverBasicError;
@@ -1 +1 @@
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;;;;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CAAC,UAAU,GAC1B,eAAe,CAAC,YAAY,GAC5B,eAAe,CAAC,uBAAuB,GACvC,eAAe,CAAC,wBAAwB,GACxC,eAAe,CAAC,kBAAkB,GAClC,eAAe,CAAC,UAAU,GAC1B,eAAe,CAAC,YAAY,CAAC;IAC/B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,oBAAY,WAAW,GACjB,kBAAkB,GAClB,oBAAoB,GACpB,mBAAmB,GACnB,yBAAyB,GACzB,iBAAiB,CAAC"}
@@ -80,5 +80,9 @@ export var DriverErrorType;
80
80
  * ! Should match the value of ContainerErrorType.usageError
81
81
  */
82
82
  DriverErrorType["usageError"] = "usageError";
83
+ /**
84
+ * File is locked for read/write by storage, e.g. whole collection is locked and access denied.
85
+ */
86
+ DriverErrorType["fileIsLocked"] = "fileIsLocked";
83
87
  })(DriverErrorType || (DriverErrorType = {}));
84
88
  //# sourceMappingURL=driverError.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"driverError.js","sourceRoot":"","sources":["../src/driverError.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;;GAGG;AACH,MAAM,CAAN,IAAY,eAsFX;AAtFD,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;IACH,wEAAqD,CAAA;IAErD;;OAEG;IACH,oFAAiE,CAAA;IAEjE;;;OAGG;IACH,8DAA2C,CAAA;IAE3C;;;;OAIG;IACH,4DAAyC,CAAA;IACzC;;;MAGE;IACF,4CAAyB,CAAA;AAC7B,CAAC,EAtFW,eAAe,KAAf,eAAe,QAsF1B","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 * When a file is not a Fluid file, but has Fluid extension such as \".note\",\n * server won't be able to open it and will return this error. The innerMostErrorCode will be\n * \"fluidInvalidSchema\"\n */\n fluidInvalidSchema = \"fluidInvalidSchema\",\n /**\n * Error indicating an API is being used improperly resulting in an invalid operation.\n * ! Should match the value of ContainerErrorType.usageError\n */\n usageError = \"usageError\",\n}\n\n/**\n * Interface describing errors and warnings raised by any driver code.\n * Not expected to be implemented by a class or an object literal, but rather used in place of\n * any or unknown in various function signatures that pass errors around.\n *\n * \"Any\" in the interface name is a nod to the fact that errorType has lost its type constraint.\n * It will be either DriverErrorType or the specific driver's specialized error type enum,\n * but we can't reference a specific driver's error type enum in this code.\n */\nexport interface IAnyDriverError extends Omit<IDriverErrorBase, \"errorType\"> {\n readonly errorType: string;\n}\n\n/**\n * Base interface for all errors and warnings\n */\nexport interface IDriverErrorBase {\n /**\n * Classification of what type of error this is, used programmatically by consumers to interpret the error\n */\n readonly errorType: DriverErrorType;\n\n /**\n * Free-form error message\n */\n readonly message: string;\n\n /**\n * True indicates the caller may retry the failed action. False indicates it's a fatal error\n */\n canRetry: boolean;\n\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 | DriverErrorType.fluidInvalidSchema\n | DriverErrorType.usageError;\n readonly statusCode?: number;\n}\n\nexport type DriverError =\n | IThrottlingWarning\n | IGenericNetworkError\n | IAuthorizationError\n | ILocationRedirectionError\n | IDriverBasicError;\n"]}
1
+ {"version":3,"file":"driverError.js","sourceRoot":"","sources":["../src/driverError.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;;GAGG;AACH,MAAM,CAAN,IAAY,eA4FX;AA5FD,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;IACH,wEAAqD,CAAA;IAErD;;OAEG;IACH,oFAAiE,CAAA;IAEjE;;;OAGG;IACH,8DAA2C,CAAA;IAE3C;;;;OAIG;IACH,4DAAyC,CAAA;IAEzC;;;MAGE;IACF,4CAAyB,CAAA;IAEzB;;OAEG;IACH,gDAA6B,CAAA;AACjC,CAAC,EA5FW,eAAe,KAAf,eAAe,QA4F1B","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 * When a file is not a Fluid file, but has Fluid extension such as \".note\",\n * server won't be able to open it and will return this error. The innerMostErrorCode will be\n * \"fluidInvalidSchema\"\n */\n fluidInvalidSchema = \"fluidInvalidSchema\",\n\n /**\n * Error indicating an API is being used improperly resulting in an invalid operation.\n * ! Should match the value of ContainerErrorType.usageError\n */\n usageError = \"usageError\",\n\n /**\n * File is locked for read/write by storage, e.g. whole collection is locked and access denied.\n */\n fileIsLocked = \"fileIsLocked\",\n}\n\n/**\n * Interface describing errors and warnings raised by any driver code.\n * Not expected to be implemented by a class or an object literal, but rather used in place of\n * any or unknown in various function signatures that pass errors around.\n *\n * \"Any\" in the interface name is a nod to the fact that errorType has lost its type constraint.\n * It will be either DriverErrorType or the specific driver's specialized error type enum,\n * but we can't reference a specific driver's error type enum in this code.\n */\nexport interface IAnyDriverError extends Omit<IDriverErrorBase, \"errorType\"> {\n readonly errorType: string;\n}\n\n/**\n * Base interface for all errors and warnings\n */\nexport interface IDriverErrorBase {\n /**\n * Classification of what type of error this is, used programmatically by consumers to interpret the error\n */\n readonly errorType: DriverErrorType;\n\n /**\n * Free-form error message\n */\n readonly message: string;\n\n /**\n * True indicates the caller may retry the failed action. False indicates it's a fatal error\n */\n canRetry: boolean;\n\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 | DriverErrorType.fluidInvalidSchema\n | DriverErrorType.usageError\n | DriverErrorType.fileIsLocked;\n readonly statusCode?: number;\n}\n\nexport type DriverError =\n | IThrottlingWarning\n | IGenericNetworkError\n | IAuthorizationError\n | ILocationRedirectionError\n | IDriverBasicError;\n"]}
@@ -1,7 +1,11 @@
1
1
  use_current_TypeAliasDeclaration_DriverError(get_old_TypeAliasDeclaration_DriverError());
2
- use_old_TypeAliasDeclaration_DriverError(get_current_TypeAliasDeclaration_DriverError());
2
+ use_old_TypeAliasDeclaration_DriverError(
3
+ // @ts-expect-error compatibility expected to be broken
4
+ get_current_TypeAliasDeclaration_DriverError());
3
5
  use_current_EnumDeclaration_DriverErrorType(get_old_EnumDeclaration_DriverErrorType());
4
- use_old_EnumDeclaration_DriverErrorType(get_current_EnumDeclaration_DriverErrorType());
6
+ use_old_EnumDeclaration_DriverErrorType(
7
+ // @ts-expect-error compatibility expected to be broken
8
+ get_current_EnumDeclaration_DriverErrorType());
5
9
  use_current_EnumDeclaration_DriverHeader(get_old_EnumDeclaration_DriverHeader());
6
10
  use_old_EnumDeclaration_DriverHeader(get_current_EnumDeclaration_DriverHeader());
7
11
  use_current_InterfaceDeclaration_DriverPreCheckInfo(get_old_InterfaceDeclaration_DriverPreCheckInfo());
@@ -13,7 +17,9 @@ use_old_TypeAliasDeclaration_FiveDaysMs(get_current_TypeAliasDeclaration_FiveDay
13
17
  use_current_InterfaceDeclaration_IAnyDriverError(get_old_InterfaceDeclaration_IAnyDriverError());
14
18
  use_old_InterfaceDeclaration_IAnyDriverError(get_current_InterfaceDeclaration_IAnyDriverError());
15
19
  use_current_InterfaceDeclaration_IAuthorizationError(get_old_InterfaceDeclaration_IAuthorizationError());
16
- use_old_InterfaceDeclaration_IAuthorizationError(get_current_InterfaceDeclaration_IAuthorizationError());
20
+ use_old_InterfaceDeclaration_IAuthorizationError(
21
+ // @ts-expect-error compatibility expected to be broken
22
+ get_current_InterfaceDeclaration_IAuthorizationError());
17
23
  use_current_InterfaceDeclaration_IContainerPackageInfo(get_old_InterfaceDeclaration_IContainerPackageInfo());
18
24
  use_old_InterfaceDeclaration_IContainerPackageInfo(get_current_InterfaceDeclaration_IContainerPackageInfo());
19
25
  use_current_InterfaceDeclaration_IDeltasFetchResult(get_old_InterfaceDeclaration_IDeltasFetchResult());
@@ -37,17 +43,25 @@ use_old_InterfaceDeclaration_IDocumentStorageService(get_current_InterfaceDeclar
37
43
  use_current_InterfaceDeclaration_IDocumentStorageServicePolicies(get_old_InterfaceDeclaration_IDocumentStorageServicePolicies());
38
44
  use_old_InterfaceDeclaration_IDocumentStorageServicePolicies(get_current_InterfaceDeclaration_IDocumentStorageServicePolicies());
39
45
  use_current_InterfaceDeclaration_IDriverBasicError(get_old_InterfaceDeclaration_IDriverBasicError());
40
- use_old_InterfaceDeclaration_IDriverBasicError(get_current_InterfaceDeclaration_IDriverBasicError());
46
+ use_old_InterfaceDeclaration_IDriverBasicError(
47
+ // @ts-expect-error compatibility expected to be broken
48
+ get_current_InterfaceDeclaration_IDriverBasicError());
41
49
  use_current_InterfaceDeclaration_IDriverErrorBase(get_old_InterfaceDeclaration_IDriverErrorBase());
42
- use_old_InterfaceDeclaration_IDriverErrorBase(get_current_InterfaceDeclaration_IDriverErrorBase());
50
+ use_old_InterfaceDeclaration_IDriverErrorBase(
51
+ // @ts-expect-error compatibility expected to be broken
52
+ get_current_InterfaceDeclaration_IDriverErrorBase());
43
53
  use_current_InterfaceDeclaration_IDriverHeader(get_old_InterfaceDeclaration_IDriverHeader());
44
54
  use_old_InterfaceDeclaration_IDriverHeader(get_current_InterfaceDeclaration_IDriverHeader());
45
55
  use_current_InterfaceDeclaration_IFluidResolvedUrl(get_old_InterfaceDeclaration_IFluidResolvedUrl());
46
56
  use_old_InterfaceDeclaration_IFluidResolvedUrl(get_current_InterfaceDeclaration_IFluidResolvedUrl());
47
57
  use_current_InterfaceDeclaration_IGenericNetworkError(get_old_InterfaceDeclaration_IGenericNetworkError());
48
- use_old_InterfaceDeclaration_IGenericNetworkError(get_current_InterfaceDeclaration_IGenericNetworkError());
58
+ use_old_InterfaceDeclaration_IGenericNetworkError(
59
+ // @ts-expect-error compatibility expected to be broken
60
+ get_current_InterfaceDeclaration_IGenericNetworkError());
49
61
  use_current_InterfaceDeclaration_ILocationRedirectionError(get_old_InterfaceDeclaration_ILocationRedirectionError());
50
- use_old_InterfaceDeclaration_ILocationRedirectionError(get_current_InterfaceDeclaration_ILocationRedirectionError());
62
+ use_old_InterfaceDeclaration_ILocationRedirectionError(
63
+ // @ts-expect-error compatibility expected to be broken
64
+ get_current_InterfaceDeclaration_ILocationRedirectionError());
51
65
  use_current_TypeAliasDeclaration_IResolvedUrl(get_old_TypeAliasDeclaration_IResolvedUrl());
52
66
  use_old_TypeAliasDeclaration_IResolvedUrl(get_current_TypeAliasDeclaration_IResolvedUrl());
53
67
  use_current_InterfaceDeclaration_IResolvedUrlBase(get_old_InterfaceDeclaration_IResolvedUrlBase());
@@ -59,7 +73,9 @@ use_old_TypeAliasDeclaration_IStreamResult(get_current_TypeAliasDeclaration_IStr
59
73
  use_current_InterfaceDeclaration_ISummaryContext(get_old_InterfaceDeclaration_ISummaryContext());
60
74
  use_old_InterfaceDeclaration_ISummaryContext(get_current_InterfaceDeclaration_ISummaryContext());
61
75
  use_current_InterfaceDeclaration_IThrottlingWarning(get_old_InterfaceDeclaration_IThrottlingWarning());
62
- use_old_InterfaceDeclaration_IThrottlingWarning(get_current_InterfaceDeclaration_IThrottlingWarning());
76
+ use_old_InterfaceDeclaration_IThrottlingWarning(
77
+ // @ts-expect-error compatibility expected to be broken
78
+ get_current_InterfaceDeclaration_IThrottlingWarning());
63
79
  use_current_InterfaceDeclaration_IUrlResolver(get_old_InterfaceDeclaration_IUrlResolver());
64
80
  use_old_InterfaceDeclaration_IUrlResolver(get_current_InterfaceDeclaration_IUrlResolver());
65
81
  use_current_InterfaceDeclaration_IWebResolvedUrl(get_old_InterfaceDeclaration_IWebResolvedUrl());
@@ -1 +1 @@
1
- {"version":3,"file":"validateDriverDefinitionsPrevious.generated.js","sourceRoot":"","sources":["../../../src/test/types/validateDriverDefinitionsPrevious.generated.ts"],"names":[],"mappings":"AAwBA,4CAA4C,CACxC,wCAAwC,EAAE,CAAC,CAAC;AAWhD,wCAAwC,CACpC,4CAA4C,EAAE,CAAC,CAAC;AAWpD,2CAA2C,CACvC,uCAAuC,EAAE,CAAC,CAAC;AAW/C,uCAAuC,CACnC,2CAA2C,EAAE,CAAC,CAAC;AAWnD,wCAAwC,CACpC,oCAAoC,EAAE,CAAC,CAAC;AAW5C,oCAAoC,CAChC,wCAAwC,EAAE,CAAC,CAAC;AAWhD,mDAAmD,CAC/C,+CAA+C,EAAE,CAAC,CAAC;AAWvD,+CAA+C,CAC3C,mDAAmD,EAAE,CAAC,CAAC;AAW3D,uCAAuC,CACnC,mCAAmC,EAAE,CAAC,CAAC;AAW3C,mCAAmC,CAC/B,uCAAuC,EAAE,CAAC,CAAC;AAW/C,2CAA2C,CACvC,uCAAuC,EAAE,CAAC,CAAC;AAW/C,uCAAuC,CACnC,2CAA2C,EAAE,CAAC,CAAC;AAWnD,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C,CACxC,gDAAgD,EAAE,CAAC,CAAC;AAWxD,oDAAoD,CAChD,gDAAgD,EAAE,CAAC,CAAC;AAWxD,gDAAgD,CAC5C,oDAA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+C,CAC3C,2CAA2C,EAAE,CAAC,CAAC;AAWnD,2CAA2C,CACvC,+CAA+C,EAAE,CAAC,CAAC","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* \"EnumDeclaration_FetchSource\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_EnumDeclaration_FetchSource():\n TypeOnly<old.FetchSource>;\ndeclare function use_current_EnumDeclaration_FetchSource(\n use: TypeOnly<current.FetchSource>);\nuse_current_EnumDeclaration_FetchSource(\n get_old_EnumDeclaration_FetchSource());\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_FetchSource\": {\"backCompat\": false}\n*/\ndeclare function get_current_EnumDeclaration_FetchSource():\n TypeOnly<current.FetchSource>;\ndeclare function use_old_EnumDeclaration_FetchSource(\n use: TypeOnly<old.FetchSource>);\nuse_old_EnumDeclaration_FetchSource(\n get_current_EnumDeclaration_FetchSource());\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_FiveDaysMs\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_FiveDaysMs():\n TypeOnly<old.FiveDaysMs>;\ndeclare function use_current_TypeAliasDeclaration_FiveDaysMs(\n use: TypeOnly<current.FiveDaysMs>);\nuse_current_TypeAliasDeclaration_FiveDaysMs(\n get_old_TypeAliasDeclaration_FiveDaysMs());\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_FiveDaysMs\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_FiveDaysMs():\n TypeOnly<current.FiveDaysMs>;\ndeclare function use_old_TypeAliasDeclaration_FiveDaysMs(\n use: TypeOnly<old.FiveDaysMs>);\nuse_old_TypeAliasDeclaration_FiveDaysMs(\n get_current_TypeAliasDeclaration_FiveDaysMs());\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_IAnyDriverError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IAnyDriverError():\n TypeOnly<old.IAnyDriverError>;\ndeclare function use_current_InterfaceDeclaration_IAnyDriverError(\n use: TypeOnly<current.IAnyDriverError>);\nuse_current_InterfaceDeclaration_IAnyDriverError(\n get_old_InterfaceDeclaration_IAnyDriverError());\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_IAnyDriverError\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IAnyDriverError():\n TypeOnly<current.IAnyDriverError>;\ndeclare function use_old_InterfaceDeclaration_IAnyDriverError(\n use: TypeOnly<old.IAnyDriverError>);\nuse_old_InterfaceDeclaration_IAnyDriverError(\n get_current_InterfaceDeclaration_IAnyDriverError());\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"]}
1
+ {"version":3,"file":"validateDriverDefinitionsPrevious.generated.js","sourceRoot":"","sources":["../../../src/test/types/validateDriverDefinitionsPrevious.generated.ts"],"names":[],"mappings":"AAwBA,4CAA4C,CACxC,wCAAwC,EAAE,CAAC,CAAC;AAWhD,wCAAwC;AACpC,uDAAuD;AACvD,4CAA4C,EAAE,CAAC,CAAC;AAWpD,2CAA2C,CACvC,uCAAuC,EAAE,CAAC,CAAC;AAW/C,uCAAuC;AACnC,uDAAuD;AACvD,2CAA2C,EAAE,CAAC,CAAC;AAWnD,wCAAwC,CACpC,oCAAoC,EAAE,CAAC,CAAC;AAW5C,oCAAoC,CAChC,wCAAwC,EAAE,CAAC,CAAC;AAWhD,mDAAmD,CAC/C,+CAA+C,EAAE,CAAC,CAAC;AAWvD,+CAA+C,CAC3C,mDAAmD,EAAE,CAAC,CAAC;AAW3D,uCAAuC,CACnC,mCAAmC,EAAE,CAAC,CAAC;AAW3C,mCAAmC,CAC/B,uCAAuC,EAAE,CAAC,CAAC;AAW/C,2CAA2C,CACvC,uCAAuC,EAAE,CAAC,CAAC;AAW/C,uCAAuC,CACnC,2CAA2C,EAAE,CAAC,CAAC;AAWnD,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C,CACxC,gDAAgD,EAAE,CAAC,CA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C,CAAC;AAWjD,yCAAyC,CACrC,6CAA6C,EAAE,CAAC,CAAC;AAWrD,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C,CACxC,gDAAgD,EAAE,CAAC,CAAC;AAWxD,+CAA+C,CAC3C,2CAA2C,EAAE,CAAC,CAAC;AAWnD,2CAA2C,CACvC,+CAA+C,EAAE,CAAC,CAAC","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 // @ts-expect-error compatibility expected to be broken\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 // @ts-expect-error compatibility expected to be broken\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* \"EnumDeclaration_FetchSource\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_EnumDeclaration_FetchSource():\n TypeOnly<old.FetchSource>;\ndeclare function use_current_EnumDeclaration_FetchSource(\n use: TypeOnly<current.FetchSource>);\nuse_current_EnumDeclaration_FetchSource(\n get_old_EnumDeclaration_FetchSource());\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_FetchSource\": {\"backCompat\": false}\n*/\ndeclare function get_current_EnumDeclaration_FetchSource():\n TypeOnly<current.FetchSource>;\ndeclare function use_old_EnumDeclaration_FetchSource(\n use: TypeOnly<old.FetchSource>);\nuse_old_EnumDeclaration_FetchSource(\n get_current_EnumDeclaration_FetchSource());\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_FiveDaysMs\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_FiveDaysMs():\n TypeOnly<old.FiveDaysMs>;\ndeclare function use_current_TypeAliasDeclaration_FiveDaysMs(\n use: TypeOnly<current.FiveDaysMs>);\nuse_current_TypeAliasDeclaration_FiveDaysMs(\n get_old_TypeAliasDeclaration_FiveDaysMs());\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_FiveDaysMs\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_FiveDaysMs():\n TypeOnly<current.FiveDaysMs>;\ndeclare function use_old_TypeAliasDeclaration_FiveDaysMs(\n use: TypeOnly<old.FiveDaysMs>);\nuse_old_TypeAliasDeclaration_FiveDaysMs(\n get_current_TypeAliasDeclaration_FiveDaysMs());\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_IAnyDriverError\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IAnyDriverError():\n TypeOnly<old.IAnyDriverError>;\ndeclare function use_current_InterfaceDeclaration_IAnyDriverError(\n use: TypeOnly<current.IAnyDriverError>);\nuse_current_InterfaceDeclaration_IAnyDriverError(\n get_old_InterfaceDeclaration_IAnyDriverError());\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_IAnyDriverError\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IAnyDriverError():\n TypeOnly<current.IAnyDriverError>;\ndeclare function use_old_InterfaceDeclaration_IAnyDriverError(\n use: TypeOnly<old.IAnyDriverError>);\nuse_old_InterfaceDeclaration_IAnyDriverError(\n get_current_InterfaceDeclaration_IAnyDriverError());\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 // @ts-expect-error compatibility expected to be broken\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 // @ts-expect-error compatibility expected to be broken\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 // @ts-expect-error compatibility expected to be broken\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 // @ts-expect-error compatibility expected to be broken\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 // @ts-expect-error compatibility expected to be broken\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 // @ts-expect-error compatibility expected to be broken\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": "2.0.0-internal.2.3.0",
3
+ "version": "2.0.0-internal.2.4.0",
4
4
  "description": "Fluid driver definitions",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -40,13 +40,13 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@fluidframework/common-definitions": "^0.20.1",
43
- "@fluidframework/core-interfaces": ">=2.0.0-internal.2.3.0 <2.0.0-internal.3.0.0",
43
+ "@fluidframework/core-interfaces": ">=2.0.0-internal.2.4.0 <2.0.0-internal.3.0.0",
44
44
  "@fluidframework/protocol-definitions": "^1.1.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@fluid-tools/build-cli": "^0.7.0",
47
+ "@fluid-tools/build-cli": "^0.8.0",
48
48
  "@fluidframework/build-common": "^1.1.0",
49
- "@fluidframework/build-tools": "^0.7.0",
49
+ "@fluidframework/build-tools": "^0.8.0",
50
50
  "@fluidframework/driver-definitions-previous": "npm:@fluidframework/driver-definitions@2.0.0-internal.2.2.0",
51
51
  "@fluidframework/eslint-config-fluid": "^2.0.0",
52
52
  "@microsoft/api-extractor": "^7.22.2",
@@ -62,6 +62,31 @@
62
62
  "version": "2.0.0-internal.2.3.0",
63
63
  "baselineRange": ">=2.0.0-internal.2.2.0 <2.0.0-internal.2.3.0",
64
64
  "baselineVersion": "2.0.0-internal.2.2.0",
65
- "broken": {}
65
+ "broken": {
66
+ "TypeAliasDeclaration_DriverError": {
67
+ "backCompat": false
68
+ },
69
+ "EnumDeclaration_DriverErrorType": {
70
+ "backCompat": false
71
+ },
72
+ "InterfaceDeclaration_IDriverBasicError": {
73
+ "backCompat": false
74
+ },
75
+ "InterfaceDeclaration_IGenericNetworkError": {
76
+ "backCompat": false
77
+ },
78
+ "InterfaceDeclaration_IDriverErrorBase": {
79
+ "backCompat": false
80
+ },
81
+ "InterfaceDeclaration_IThrottlingWarning": {
82
+ "backCompat": false
83
+ },
84
+ "InterfaceDeclaration_IAuthorizationError": {
85
+ "backCompat": false
86
+ },
87
+ "InterfaceDeclaration_ILocationRedirectionError": {
88
+ "backCompat": false
89
+ }
90
+ }
66
91
  }
67
92
  }
@@ -90,11 +90,17 @@ export enum DriverErrorType {
90
90
  * "fluidInvalidSchema"
91
91
  */
92
92
  fluidInvalidSchema = "fluidInvalidSchema",
93
+
93
94
  /**
94
95
  * Error indicating an API is being used improperly resulting in an invalid operation.
95
96
  * ! Should match the value of ContainerErrorType.usageError
96
97
  */
97
98
  usageError = "usageError",
99
+
100
+ /**
101
+ * File is locked for read/write by storage, e.g. whole collection is locked and access denied.
102
+ */
103
+ fileIsLocked = "fileIsLocked",
98
104
  }
99
105
 
100
106
  /**
@@ -172,7 +178,8 @@ export interface IDriverBasicError extends IDriverErrorBase {
172
178
  | DriverErrorType.incorrectServerResponse
173
179
  | DriverErrorType.fileOverwrittenInStorage
174
180
  | DriverErrorType.fluidInvalidSchema
175
- | DriverErrorType.usageError;
181
+ | DriverErrorType.usageError
182
+ | DriverErrorType.fileIsLocked;
176
183
  readonly statusCode?: number;
177
184
  }
178
185