@fluidframework/driver-definitions 2.0.0-dev.7.3.0.209174 → 2.0.0-dev.7.3.0.210328
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/README.md
CHANGED
|
@@ -32,8 +32,7 @@ package for more information including tools to convert between version schemes.
|
|
|
32
32
|
|
|
33
33
|
This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
|
|
34
34
|
|
|
35
|
-
Use of these trademarks or logos must follow Microsoft's [Trademark & Brand
|
|
36
|
-
Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
|
|
35
|
+
Use of these trademarks or logos must follow Microsoft's [Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
|
|
37
36
|
|
|
38
37
|
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
|
|
39
38
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maximumCacheDurationPolicy.spec.js","sourceRoot":"","sources":["../../../src/test/types/maximumCacheDurationPolicy.spec.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAuBH,QAAQ,sBAAsB,EAAE;
|
|
1
|
+
{"version":3,"file":"maximumCacheDurationPolicy.spec.js","sourceRoot":"","sources":["../../../src/test/types/maximumCacheDurationPolicy.spec.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAuBH,QAAQ,sBAAsB,EAAE;IAC/B,sCAAsC;IACtC,KAAK,SAAS,CAAC;IACf,KAAK,SAAW,CAAC,CAAC;QACjB,MAAM;KACN;IACD,OAAO,CAAC,CAAC;QACR,WAAW,CAAC,sBAAsB,CAAC,CAAC;KACpC;CACD","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IDocumentStorageServicePolicies } from \"../../storage\";\n\n/**\n * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING\n *\n * If you find this code doesn't compile, PLEASE STOP AND READ THIS!\n *\n * The maximumCacheDurationMs policy represents an important interop mechanism between the driver layer\n * and the runtime layer. The driver layer owns using the snapshot cache. Meanwhile the runtime layer\n * runs Garbage Collection, which requires that the max age of snapshots is constrained in order to reliably\n * compute when an object cannot possibly be referenced anymore and should be deleted.\n * To protect against data loss, the runtime will close the container if it finds the value of\n * maximumCacheDurationMs has changed (specifically, grown) in the lifetime of a file.\n *\n * So changing the type restrictions on this policy will likely lead to locking users out of existing documents.\n *\n * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING\n */\n\ndeclare function assertNever(x: never): void;\ndeclare const maximumCacheDurationMs: IDocumentStorageServicePolicies[\"maximumCacheDurationMs\"];\nswitch (maximumCacheDurationMs) {\n\t// These are the only two valid values\n\tcase undefined:\n\tcase 432_000_000: {\n\t\tbreak;\n\t}\n\tdefault: {\n\t\tassertNever(maximumCacheDurationMs);\n\t}\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/driver-definitions",
|
|
3
|
-
"version": "2.0.0-dev.7.3.0.
|
|
3
|
+
"version": "2.0.0-dev.7.3.0.210328",
|
|
4
4
|
"description": "Fluid driver definitions",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"module": "lib/index.js",
|
|
16
16
|
"types": "dist/index.d.ts",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@fluidframework/core-interfaces": "2.0.0-dev.7.3.0.
|
|
18
|
+
"@fluidframework/core-interfaces": "2.0.0-dev.7.3.0.210328",
|
|
19
19
|
"@fluidframework/protocol-definitions": "^3.0.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@fluid-tools/build-cli": "^0.
|
|
22
|
+
"@fluid-tools/build-cli": "^0.27.0",
|
|
23
23
|
"@fluidframework/build-common": "^2.0.3",
|
|
24
|
-
"@fluidframework/build-tools": "^0.
|
|
24
|
+
"@fluidframework/build-tools": "^0.27.0",
|
|
25
25
|
"@fluidframework/driver-definitions-previous": "npm:@fluidframework/driver-definitions@2.0.0-internal.7.2.0",
|
|
26
26
|
"@fluidframework/eslint-config-fluid": "^3.1.0",
|
|
27
27
|
"@microsoft/api-extractor": "^7.37.0",
|
package/tsconfig.esnext.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends":
|
|
3
|
-
|
|
2
|
+
"extends": [
|
|
3
|
+
"../../../common/build/build-common/tsconfig.base.json",
|
|
4
|
+
"../../../common/build/build-common/tsconfig.cjs.json",
|
|
5
|
+
],
|
|
6
|
+
"include": ["src/**/*"],
|
|
4
7
|
"compilerOptions": {
|
|
5
8
|
"rootDir": "./src",
|
|
6
9
|
"outDir": "./dist",
|
|
7
10
|
},
|
|
8
|
-
"include": ["src/**/*"],
|
|
9
11
|
}
|