@fluidframework/driver-definitions
Advanced tools
Comparing version 0.29.2 to 0.29.3
@@ -11,3 +11,4 @@ "use strict"; | ||
__export(require("./driverError")); | ||
__export(require("./storage")); | ||
__export(require("./urlResolver")); | ||
//# sourceMappingURL=index.js.map |
@@ -139,5 +139,22 @@ /*! | ||
} | ||
export declare enum LoaderCachingPolicy { | ||
/** | ||
* The loader should not implement any prefetching or caching policy. | ||
*/ | ||
NoCaching = 0, | ||
/** | ||
* The loader should implement prefetching policy, i.e. it should prefetch resources from the latest snapshot. | ||
*/ | ||
Prefetch = 1 | ||
} | ||
export interface IDocumentServicePolicies { | ||
readonly caching?: LoaderCachingPolicy; | ||
} | ||
export interface IDocumentService { | ||
resolvedUrl: IResolvedUrl; | ||
/** | ||
* Policies implemented/instructed by driver. | ||
*/ | ||
policies?: IDocumentServicePolicies; | ||
/** | ||
* Access to storage associated with the document... | ||
@@ -144,0 +161,0 @@ */ |
@@ -7,2 +7,13 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var LoaderCachingPolicy; | ||
(function (LoaderCachingPolicy) { | ||
/** | ||
* The loader should not implement any prefetching or caching policy. | ||
*/ | ||
LoaderCachingPolicy[LoaderCachingPolicy["NoCaching"] = 0] = "NoCaching"; | ||
/** | ||
* The loader should implement prefetching policy, i.e. it should prefetch resources from the latest snapshot. | ||
*/ | ||
LoaderCachingPolicy[LoaderCachingPolicy["Prefetch"] = 1] = "Prefetch"; | ||
})(LoaderCachingPolicy = exports.LoaderCachingPolicy || (exports.LoaderCachingPolicy = {})); | ||
//# sourceMappingURL=storage.js.map |
@@ -6,3 +6,4 @@ /*! | ||
export * from "./driverError"; | ||
export * from "./storage"; | ||
export * from "./urlResolver"; | ||
//# sourceMappingURL=index.js.map |
@@ -139,5 +139,22 @@ /*! | ||
} | ||
export declare enum LoaderCachingPolicy { | ||
/** | ||
* The loader should not implement any prefetching or caching policy. | ||
*/ | ||
NoCaching = 0, | ||
/** | ||
* The loader should implement prefetching policy, i.e. it should prefetch resources from the latest snapshot. | ||
*/ | ||
Prefetch = 1 | ||
} | ||
export interface IDocumentServicePolicies { | ||
readonly caching?: LoaderCachingPolicy; | ||
} | ||
export interface IDocumentService { | ||
resolvedUrl: IResolvedUrl; | ||
/** | ||
* Policies implemented/instructed by driver. | ||
*/ | ||
policies?: IDocumentServicePolicies; | ||
/** | ||
* Access to storage associated with the document... | ||
@@ -144,0 +161,0 @@ */ |
@@ -5,2 +5,13 @@ /*! | ||
*/ | ||
export var LoaderCachingPolicy; | ||
(function (LoaderCachingPolicy) { | ||
/** | ||
* The loader should not implement any prefetching or caching policy. | ||
*/ | ||
LoaderCachingPolicy[LoaderCachingPolicy["NoCaching"] = 0] = "NoCaching"; | ||
/** | ||
* The loader should implement prefetching policy, i.e. it should prefetch resources from the latest snapshot. | ||
*/ | ||
LoaderCachingPolicy[LoaderCachingPolicy["Prefetch"] = 1] = "Prefetch"; | ||
})(LoaderCachingPolicy || (LoaderCachingPolicy = {})); | ||
//# sourceMappingURL=storage.js.map |
{ | ||
"name": "@fluidframework/driver-definitions", | ||
"version": "0.29.2", | ||
"version": "0.29.3", | ||
"description": "Fluid driver definitions", | ||
@@ -32,3 +32,3 @@ "homepage": "https://fluidframework.com", | ||
"@fluidframework/common-definitions": "^0.19.1", | ||
"@fluidframework/core-interfaces": "^0.29.2", | ||
"@fluidframework/core-interfaces": "^0.29.3", | ||
"@fluidframework/protocol-definitions": "^0.1015.0" | ||
@@ -35,0 +35,0 @@ }, |
@@ -189,2 +189,18 @@ /*! | ||
export enum LoaderCachingPolicy { | ||
/** | ||
* The loader should not implement any prefetching or caching policy. | ||
*/ | ||
NoCaching, | ||
/** | ||
* The loader should implement prefetching policy, i.e. it should prefetch resources from the latest snapshot. | ||
*/ | ||
Prefetch, | ||
} | ||
export interface IDocumentServicePolicies { | ||
readonly caching?: LoaderCachingPolicy; | ||
} | ||
export interface IDocumentService { | ||
@@ -195,2 +211,7 @@ | ||
/** | ||
* Policies implemented/instructed by driver. | ||
*/ | ||
policies?: IDocumentServicePolicies; | ||
/** | ||
* Access to storage associated with the document... | ||
@@ -197,0 +218,0 @@ */ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
91853
1280