@fluidframework/odsp-driver-definitions 0.54.0-47413 → 0.55.0-48551
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +1 -1
- package/README.md +3 -1
- package/dist/odspCache.d.ts +3 -1
- package/dist/odspCache.d.ts.map +1 -1
- package/dist/odspCache.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/odspCache.d.ts +3 -1
- package/lib/odspCache.d.ts.map +1 -1
- package/lib/odspCache.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +11 -10
- package/src/odspCache.ts +3 -1
- package/src/packageVersion.ts +1 -1
package/.eslintrc.js
CHANGED
package/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
# @fluidframework/odsp-driver-definitions
|
|
2
2
|
|
|
3
|
-
Definitions for @fluidframework/odsp-driver
|
|
3
|
+
Definitions for @fluidframework/odsp-driver package.
|
|
4
4
|
Currently it contains all the contracts for driver factory.
|
|
5
|
+
|
|
6
|
+
Though the host is responsible for implementing the IPersistedCache, snapshot cached entries will be disregarded if they are older than 2 days, which is based on `defaultCacheExpiryTimeoutMs`. The ODSP driver will delete all entries if it interacts with such a file.
|
package/dist/odspCache.d.ts
CHANGED
|
@@ -54,7 +54,9 @@ export interface ICacheEntry extends IEntry {
|
|
|
54
54
|
/**
|
|
55
55
|
* Persistent cache. This interface can be implemented by the host to provide durable caching
|
|
56
56
|
* across sessions. If not provided at driver factory construction, factory will use in-memory
|
|
57
|
-
* cache implementation that does not survive across sessions.
|
|
57
|
+
* cache implementation that does not survive across sessions. Snapshot entires stored in the
|
|
58
|
+
* IPersistedCache will be considered stale and removed after 2 days. Read the README for more
|
|
59
|
+
* information.
|
|
58
60
|
*/
|
|
59
61
|
export interface IPersistedCache {
|
|
60
62
|
/**
|
package/dist/odspCache.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"odspCache.d.ts","sourceRoot":"","sources":["../src/odspCache.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,WAAW,aAAa,CAAC;AACtC,oBAAY,gBAAgB,GAAG,UAAU,GAAG,KAAK,CAAC;AAOlD,MAAM,WAAW,UAAU;IACvB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,WAAW,EAAE,iBAAiB,CAAC;CAClC;AAED;;GAEG;AACF,MAAM,WAAW,MAAM;IACpB;;;;OAIG;IACH,IAAI,EAAE,gBAAgB,CAAC;IAEvB;;;;;;;OAOG;IACH,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,MAAM;IACvC;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;CACpB;AAED
|
|
1
|
+
{"version":3,"file":"odspCache.d.ts","sourceRoot":"","sources":["../src/odspCache.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,WAAW,aAAa,CAAC;AACtC,oBAAY,gBAAgB,GAAG,UAAU,GAAG,KAAK,CAAC;AAOlD,MAAM,WAAW,UAAU;IACvB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,WAAW,EAAE,iBAAiB,CAAC;CAClC;AAED;;GAEG;AACF,MAAM,WAAW,MAAM;IACpB;;;;OAIG;IACH,IAAI,EAAE,gBAAgB,CAAC;IAEvB;;;;;;;OAOG;IACH,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,MAAM;IACvC;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;CACpB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;MAIE;IACF,GAAG,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAEtC;;;;;OAKG;IACH,GAAG,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnD;;;OAGG;IACH,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAClD"}
|
package/dist/odspCache.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"odspCache.js","sourceRoot":"","sources":["../src/odspCache.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH;;GAEG;AACU,QAAA,WAAW,GAAG,UAAU,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IFluidResolvedUrl } from \"@fluidframework/driver-definitions\";\n\n/**\n * Describes what kind of content is stored in cache entry.\n */\nexport const snapshotKey = \"snapshot\";\nexport type CacheContentType = \"snapshot\" | \"ops\";\n\n/*\n * File / container identifier.\n * There is overlapping information here - host can use all of it or parts\n * to implement storage / identify files.\n */\nexport interface IFileEntry {\n /**\n * Unique and stable ID of the document.\n * Driver guarantees that docId is stable ID uniquely identifying document.\n */\n docId: string;\n /**\n * Resolved URI is provided for additional versatility - host can use it to\n * identify file in storage, and (as example) delete all cached entries for\n * a file if user requests so.\n * This is IOdspResolvedUrl in case of ODSP driver.\n */\n resolvedUrl: IFluidResolvedUrl;\n}\n\n/**\n * Cache entry. Identifies file that this entry belongs to, and type of content stored in it.\n */\n export interface IEntry {\n /**\n * Identifies type of entry for a given file.\n * Each file can have multiple types of entries associated with it.\n * For example, it can be snapshot, blob, ops, etc.\n */\n type: CacheContentType;\n\n /**\n * Identifies individual entry for a given file and type.\n * Each file can have multiple cache entries associated with it.\n * This property identifies a particular instance of entry.\n * For example, for blobs it will be unique ID of the blob in a file.\n * For batch of ops, it can be starting op sequence number.\n * For types that have only one entry (like snapshots), it will be empty string.\n */\n key: string;\n}\n\n/**\n * Cache entry. Identifies file that this entry belongs to, and type of content stored in it.\n */\nexport interface ICacheEntry extends IEntry {\n /**\n * Identifies file in storage this cached entry is for\n */\n file: IFileEntry;\n}\n\n/**\n * Persistent cache. This interface can be implemented by the host to provide durable caching\n * across sessions. If not provided at driver factory construction, factory will use in-memory\n * cache implementation that does not survive across sessions.\n */\nexport interface IPersistedCache {\n /**\n * Get the cache value of the key\n * @param entry - cache entry, identifies file and particular key for this file.\n * @returns Cached value. undefined if nothing is cached.\n */\n get(entry: ICacheEntry): Promise<any>;\n\n /**\n * Put the value into cache.\n * Important - only serializable content is allowed since this cache may be persisted between sessions\n * @param entry - cache entry.\n * @param value - JSON-serializable content.\n */\n put(entry: ICacheEntry, value: any): Promise<void>;\n\n /**\n * Removes the entries from the cache for given parametres.\n * @param file - file entry to be deleted.\n */\n removeEntries(file: IFileEntry): Promise<void>;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"odspCache.js","sourceRoot":"","sources":["../src/odspCache.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH;;GAEG;AACU,QAAA,WAAW,GAAG,UAAU,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IFluidResolvedUrl } from \"@fluidframework/driver-definitions\";\n\n/**\n * Describes what kind of content is stored in cache entry.\n */\nexport const snapshotKey = \"snapshot\";\nexport type CacheContentType = \"snapshot\" | \"ops\";\n\n/*\n * File / container identifier.\n * There is overlapping information here - host can use all of it or parts\n * to implement storage / identify files.\n */\nexport interface IFileEntry {\n /**\n * Unique and stable ID of the document.\n * Driver guarantees that docId is stable ID uniquely identifying document.\n */\n docId: string;\n /**\n * Resolved URI is provided for additional versatility - host can use it to\n * identify file in storage, and (as example) delete all cached entries for\n * a file if user requests so.\n * This is IOdspResolvedUrl in case of ODSP driver.\n */\n resolvedUrl: IFluidResolvedUrl;\n}\n\n/**\n * Cache entry. Identifies file that this entry belongs to, and type of content stored in it.\n */\n export interface IEntry {\n /**\n * Identifies type of entry for a given file.\n * Each file can have multiple types of entries associated with it.\n * For example, it can be snapshot, blob, ops, etc.\n */\n type: CacheContentType;\n\n /**\n * Identifies individual entry for a given file and type.\n * Each file can have multiple cache entries associated with it.\n * This property identifies a particular instance of entry.\n * For example, for blobs it will be unique ID of the blob in a file.\n * For batch of ops, it can be starting op sequence number.\n * For types that have only one entry (like snapshots), it will be empty string.\n */\n key: string;\n}\n\n/**\n * Cache entry. Identifies file that this entry belongs to, and type of content stored in it.\n */\nexport interface ICacheEntry extends IEntry {\n /**\n * Identifies file in storage this cached entry is for\n */\n file: IFileEntry;\n}\n\n/**\n * Persistent cache. This interface can be implemented by the host to provide durable caching\n * across sessions. If not provided at driver factory construction, factory will use in-memory\n * cache implementation that does not survive across sessions. Snapshot entires stored in the\n * IPersistedCache will be considered stale and removed after 2 days. Read the README for more\n * information.\n */\nexport interface IPersistedCache {\n /**\n * Get the cache value of the key\n * @param entry - cache entry, identifies file and particular key for this file.\n * @returns Cached value. undefined if nothing is cached.\n */\n get(entry: ICacheEntry): Promise<any>;\n\n /**\n * Put the value into cache.\n * Important - only serializable content is allowed since this cache may be persisted between sessions\n * @param entry - cache entry.\n * @param value - JSON-serializable content.\n */\n put(entry: ICacheEntry, value: any): Promise<void>;\n\n /**\n * Removes the entries from the cache for given parametres.\n * @param file - file entry to be deleted.\n */\n removeEntries(file: IFileEntry): Promise<void>;\n}\n"]}
|
package/dist/packageVersion.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
*/
|
|
7
7
|
export declare const pkgName = "@fluidframework/odsp-driver-definitions";
|
|
8
|
-
export declare const pkgVersion = "0.
|
|
8
|
+
export declare const pkgVersion = "0.55.0-48551";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/dist/packageVersion.js
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.pkgVersion = exports.pkgName = void 0;
|
|
10
10
|
exports.pkgName = "@fluidframework/odsp-driver-definitions";
|
|
11
|
-
exports.pkgVersion = "0.
|
|
11
|
+
exports.pkgVersion = "0.55.0-48551";
|
|
12
12
|
//# sourceMappingURL=packageVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,yCAAyC,CAAC;AACpD,QAAA,UAAU,GAAG,cAAc,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/odsp-driver-definitions\";\nexport const pkgVersion = \"0.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,yCAAyC,CAAC;AACpD,QAAA,UAAU,GAAG,cAAc,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/odsp-driver-definitions\";\nexport const pkgVersion = \"0.55.0-48551\";\n"]}
|
package/lib/odspCache.d.ts
CHANGED
|
@@ -54,7 +54,9 @@ export interface ICacheEntry extends IEntry {
|
|
|
54
54
|
/**
|
|
55
55
|
* Persistent cache. This interface can be implemented by the host to provide durable caching
|
|
56
56
|
* across sessions. If not provided at driver factory construction, factory will use in-memory
|
|
57
|
-
* cache implementation that does not survive across sessions.
|
|
57
|
+
* cache implementation that does not survive across sessions. Snapshot entires stored in the
|
|
58
|
+
* IPersistedCache will be considered stale and removed after 2 days. Read the README for more
|
|
59
|
+
* information.
|
|
58
60
|
*/
|
|
59
61
|
export interface IPersistedCache {
|
|
60
62
|
/**
|
package/lib/odspCache.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"odspCache.d.ts","sourceRoot":"","sources":["../src/odspCache.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,WAAW,aAAa,CAAC;AACtC,oBAAY,gBAAgB,GAAG,UAAU,GAAG,KAAK,CAAC;AAOlD,MAAM,WAAW,UAAU;IACvB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,WAAW,EAAE,iBAAiB,CAAC;CAClC;AAED;;GAEG;AACF,MAAM,WAAW,MAAM;IACpB;;;;OAIG;IACH,IAAI,EAAE,gBAAgB,CAAC;IAEvB;;;;;;;OAOG;IACH,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,MAAM;IACvC;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;CACpB;AAED
|
|
1
|
+
{"version":3,"file":"odspCache.d.ts","sourceRoot":"","sources":["../src/odspCache.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,WAAW,aAAa,CAAC;AACtC,oBAAY,gBAAgB,GAAG,UAAU,GAAG,KAAK,CAAC;AAOlD,MAAM,WAAW,UAAU;IACvB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,WAAW,EAAE,iBAAiB,CAAC;CAClC;AAED;;GAEG;AACF,MAAM,WAAW,MAAM;IACpB;;;;OAIG;IACH,IAAI,EAAE,gBAAgB,CAAC;IAEvB;;;;;;;OAOG;IACH,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,MAAM;IACvC;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;CACpB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;MAIE;IACF,GAAG,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAEtC;;;;;OAKG;IACH,GAAG,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnD;;;OAGG;IACH,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAClD"}
|
package/lib/odspCache.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"odspCache.js","sourceRoot":"","sources":["../src/odspCache.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,UAAU,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IFluidResolvedUrl } from \"@fluidframework/driver-definitions\";\n\n/**\n * Describes what kind of content is stored in cache entry.\n */\nexport const snapshotKey = \"snapshot\";\nexport type CacheContentType = \"snapshot\" | \"ops\";\n\n/*\n * File / container identifier.\n * There is overlapping information here - host can use all of it or parts\n * to implement storage / identify files.\n */\nexport interface IFileEntry {\n /**\n * Unique and stable ID of the document.\n * Driver guarantees that docId is stable ID uniquely identifying document.\n */\n docId: string;\n /**\n * Resolved URI is provided for additional versatility - host can use it to\n * identify file in storage, and (as example) delete all cached entries for\n * a file if user requests so.\n * This is IOdspResolvedUrl in case of ODSP driver.\n */\n resolvedUrl: IFluidResolvedUrl;\n}\n\n/**\n * Cache entry. Identifies file that this entry belongs to, and type of content stored in it.\n */\n export interface IEntry {\n /**\n * Identifies type of entry for a given file.\n * Each file can have multiple types of entries associated with it.\n * For example, it can be snapshot, blob, ops, etc.\n */\n type: CacheContentType;\n\n /**\n * Identifies individual entry for a given file and type.\n * Each file can have multiple cache entries associated with it.\n * This property identifies a particular instance of entry.\n * For example, for blobs it will be unique ID of the blob in a file.\n * For batch of ops, it can be starting op sequence number.\n * For types that have only one entry (like snapshots), it will be empty string.\n */\n key: string;\n}\n\n/**\n * Cache entry. Identifies file that this entry belongs to, and type of content stored in it.\n */\nexport interface ICacheEntry extends IEntry {\n /**\n * Identifies file in storage this cached entry is for\n */\n file: IFileEntry;\n}\n\n/**\n * Persistent cache. This interface can be implemented by the host to provide durable caching\n * across sessions. If not provided at driver factory construction, factory will use in-memory\n * cache implementation that does not survive across sessions.\n */\nexport interface IPersistedCache {\n /**\n * Get the cache value of the key\n * @param entry - cache entry, identifies file and particular key for this file.\n * @returns Cached value. undefined if nothing is cached.\n */\n get(entry: ICacheEntry): Promise<any>;\n\n /**\n * Put the value into cache.\n * Important - only serializable content is allowed since this cache may be persisted between sessions\n * @param entry - cache entry.\n * @param value - JSON-serializable content.\n */\n put(entry: ICacheEntry, value: any): Promise<void>;\n\n /**\n * Removes the entries from the cache for given parametres.\n * @param file - file entry to be deleted.\n */\n removeEntries(file: IFileEntry): Promise<void>;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"odspCache.js","sourceRoot":"","sources":["../src/odspCache.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,UAAU,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IFluidResolvedUrl } from \"@fluidframework/driver-definitions\";\n\n/**\n * Describes what kind of content is stored in cache entry.\n */\nexport const snapshotKey = \"snapshot\";\nexport type CacheContentType = \"snapshot\" | \"ops\";\n\n/*\n * File / container identifier.\n * There is overlapping information here - host can use all of it or parts\n * to implement storage / identify files.\n */\nexport interface IFileEntry {\n /**\n * Unique and stable ID of the document.\n * Driver guarantees that docId is stable ID uniquely identifying document.\n */\n docId: string;\n /**\n * Resolved URI is provided for additional versatility - host can use it to\n * identify file in storage, and (as example) delete all cached entries for\n * a file if user requests so.\n * This is IOdspResolvedUrl in case of ODSP driver.\n */\n resolvedUrl: IFluidResolvedUrl;\n}\n\n/**\n * Cache entry. Identifies file that this entry belongs to, and type of content stored in it.\n */\n export interface IEntry {\n /**\n * Identifies type of entry for a given file.\n * Each file can have multiple types of entries associated with it.\n * For example, it can be snapshot, blob, ops, etc.\n */\n type: CacheContentType;\n\n /**\n * Identifies individual entry for a given file and type.\n * Each file can have multiple cache entries associated with it.\n * This property identifies a particular instance of entry.\n * For example, for blobs it will be unique ID of the blob in a file.\n * For batch of ops, it can be starting op sequence number.\n * For types that have only one entry (like snapshots), it will be empty string.\n */\n key: string;\n}\n\n/**\n * Cache entry. Identifies file that this entry belongs to, and type of content stored in it.\n */\nexport interface ICacheEntry extends IEntry {\n /**\n * Identifies file in storage this cached entry is for\n */\n file: IFileEntry;\n}\n\n/**\n * Persistent cache. This interface can be implemented by the host to provide durable caching\n * across sessions. If not provided at driver factory construction, factory will use in-memory\n * cache implementation that does not survive across sessions. Snapshot entires stored in the\n * IPersistedCache will be considered stale and removed after 2 days. Read the README for more\n * information.\n */\nexport interface IPersistedCache {\n /**\n * Get the cache value of the key\n * @param entry - cache entry, identifies file and particular key for this file.\n * @returns Cached value. undefined if nothing is cached.\n */\n get(entry: ICacheEntry): Promise<any>;\n\n /**\n * Put the value into cache.\n * Important - only serializable content is allowed since this cache may be persisted between sessions\n * @param entry - cache entry.\n * @param value - JSON-serializable content.\n */\n put(entry: ICacheEntry, value: any): Promise<void>;\n\n /**\n * Removes the entries from the cache for given parametres.\n * @param file - file entry to be deleted.\n */\n removeEntries(file: IFileEntry): Promise<void>;\n}\n"]}
|
package/lib/packageVersion.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
*/
|
|
7
7
|
export declare const pkgName = "@fluidframework/odsp-driver-definitions";
|
|
8
|
-
export declare const pkgVersion = "0.
|
|
8
|
+
export declare const pkgVersion = "0.55.0-48551";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/lib/packageVersion.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,yCAAyC,CAAC;AACjE,MAAM,CAAC,MAAM,UAAU,GAAG,cAAc,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/odsp-driver-definitions\";\nexport const pkgVersion = \"0.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,yCAAyC,CAAC;AACjE,MAAM,CAAC,MAAM,UAAU,GAAG,cAAc,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/odsp-driver-definitions\";\nexport const pkgVersion = \"0.55.0-48551\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/odsp-driver-definitions",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.55.0-48551",
|
|
4
4
|
"description": "Socket storage implementation for SPO and ODC",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": "https://github.com/microsoft/FluidFramework",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/",
|
|
23
23
|
"clean": "rimraf dist lib *.tsbuildinfo *.build.log",
|
|
24
24
|
"eslint": "eslint --format stylish src",
|
|
25
|
-
"eslint:fix": "eslint --format stylish src --fix",
|
|
25
|
+
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
26
26
|
"lint": "npm run eslint",
|
|
27
27
|
"lint:fix": "npm run eslint:fix",
|
|
28
28
|
"tsc": "tsc",
|
|
@@ -34,21 +34,22 @@
|
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@fluidframework/build-common": "^0.23.0",
|
|
37
|
-
"@fluidframework/eslint-config-fluid": "^0.
|
|
37
|
+
"@fluidframework/eslint-config-fluid": "^0.25.0-0",
|
|
38
38
|
"@fluidframework/protocol-definitions": "^0.1026.0",
|
|
39
39
|
"@microsoft/api-extractor": "^7.16.1",
|
|
40
|
-
"@
|
|
41
|
-
"@typescript-eslint/
|
|
40
|
+
"@rushstack/eslint-config": "^2.5.1",
|
|
41
|
+
"@typescript-eslint/eslint-plugin": "~5.9.0",
|
|
42
|
+
"@typescript-eslint/parser": "~5.9.0",
|
|
42
43
|
"concurrently": "^6.2.0",
|
|
43
44
|
"copyfiles": "^2.1.0",
|
|
44
45
|
"cross-env": "^7.0.2",
|
|
45
|
-
"eslint": "~
|
|
46
|
+
"eslint": "~8.6.0",
|
|
47
|
+
"eslint-plugin-editorconfig": "~3.2.0",
|
|
46
48
|
"eslint-plugin-eslint-comments": "~3.2.0",
|
|
47
|
-
"eslint-plugin-import": "~2.
|
|
49
|
+
"eslint-plugin-import": "~2.25.4",
|
|
48
50
|
"eslint-plugin-no-null": "~1.0.2",
|
|
49
|
-
"eslint-plugin-
|
|
50
|
-
"eslint-plugin-
|
|
51
|
-
"eslint-plugin-unicorn": "~26.0.1",
|
|
51
|
+
"eslint-plugin-react": "~7.28.0",
|
|
52
|
+
"eslint-plugin-unicorn": "~40.0.0",
|
|
52
53
|
"rimraf": "^2.6.2",
|
|
53
54
|
"typescript": "~4.1.3",
|
|
54
55
|
"typescript-formatter": "7.1.0"
|
package/src/odspCache.ts
CHANGED
|
@@ -66,7 +66,9 @@ export interface ICacheEntry extends IEntry {
|
|
|
66
66
|
/**
|
|
67
67
|
* Persistent cache. This interface can be implemented by the host to provide durable caching
|
|
68
68
|
* across sessions. If not provided at driver factory construction, factory will use in-memory
|
|
69
|
-
* cache implementation that does not survive across sessions.
|
|
69
|
+
* cache implementation that does not survive across sessions. Snapshot entires stored in the
|
|
70
|
+
* IPersistedCache will be considered stale and removed after 2 days. Read the README for more
|
|
71
|
+
* information.
|
|
70
72
|
*/
|
|
71
73
|
export interface IPersistedCache {
|
|
72
74
|
/**
|
package/src/packageVersion.ts
CHANGED