@turbo/types 2.3.1 → 2.3.2-canary.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turbo/types",
3
- "version": "2.3.1",
3
+ "version": "2.3.2-canary.0",
4
4
  "description": "Turborepo types",
5
5
  "homepage": "https://turbo.build/repo",
6
6
  "license": "MIT",
@@ -18,8 +18,8 @@
18
18
  "@types/node": "^20",
19
19
  "ts-json-schema-generator": "2.3.0",
20
20
  "tsx": "4.19.1",
21
- "@turbo/eslint-config": "0.0.0",
22
- "@turbo/tsconfig": "0.0.0"
21
+ "@turbo/tsconfig": "0.0.0",
22
+ "@turbo/eslint-config": "0.0.0"
23
23
  },
24
24
  "files": [
25
25
  "src",
@@ -213,6 +213,11 @@
213
213
  "type": "number",
214
214
  "description": "Sets a timeout for remote cache operations. Value is given in seconds and only whole values are accepted. If `0` is passed, then there is no timeout for any cache operations.",
215
215
  "default": 30
216
+ },
217
+ "uploadTimeout": {
218
+ "type": "number",
219
+ "description": "Sets a timeout for remote cache uploads. Value is given in seconds and only whole values are accepted. If `0` is passed, then there is no timeout for any remote cache uploads.",
220
+ "default": 60
216
221
  }
217
222
  },
218
223
  "additionalProperties": false
@@ -213,6 +213,11 @@
213
213
  "type": "number",
214
214
  "description": "Sets a timeout for remote cache operations. Value is given in seconds and only whole values are accepted. If `0` is passed, then there is no timeout for any cache operations.",
215
215
  "default": 30
216
+ },
217
+ "uploadTimeout": {
218
+ "type": "number",
219
+ "description": "Sets a timeout for remote cache uploads. Value is given in seconds and only whole values are accepted. If `0` is passed, then there is no timeout for any remote cache uploads.",
220
+ "default": 60
216
221
  }
217
222
  },
218
223
  "additionalProperties": false
@@ -336,6 +336,14 @@ export interface RemoteCache {
336
336
  * @defaultValue `30`
337
337
  */
338
338
  timeout?: number;
339
+ /**
340
+ * Sets a timeout for remote cache uploads. Value is given in seconds and
341
+ * only whole values are accepted. If `0` is passed, then there is no timeout
342
+ * for any remote cache uploads.
343
+ *
344
+ * @defaultValue `60`
345
+ */
346
+ uploadTimeout?: number;
339
347
  }
340
348
 
341
349
  export const isRootSchemaV2 = (schema: Schema): schema is RootSchema =>