@turbo/types 2.4.3-canary.2 → 2.4.3-canary.3
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 +1 -1
- package/schemas/schema.json +8 -0
- package/schemas/schema.v2.json +8 -0
- package/src/types/config-v2.ts +13 -0
package/package.json
CHANGED
package/schemas/schema.json
CHANGED
|
@@ -223,6 +223,14 @@
|
|
|
223
223
|
"type": "number",
|
|
224
224
|
"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.",
|
|
225
225
|
"default": 60
|
|
226
|
+
},
|
|
227
|
+
"teamId": {
|
|
228
|
+
"type": "string",
|
|
229
|
+
"description": "The ID of the Remote Cache team. Value will be passed as `teamId` in the querystring for all Remote Cache HTTP calls. Must start with `team_` or it will not be used."
|
|
230
|
+
},
|
|
231
|
+
"teamSlug": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"description": "The slug of the Remote Cache team. Value will be passed as `slug` in the querystring for all Remote Cache HTTP calls."
|
|
226
234
|
}
|
|
227
235
|
},
|
|
228
236
|
"additionalProperties": false
|
package/schemas/schema.v2.json
CHANGED
|
@@ -223,6 +223,14 @@
|
|
|
223
223
|
"type": "number",
|
|
224
224
|
"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.",
|
|
225
225
|
"default": 60
|
|
226
|
+
},
|
|
227
|
+
"teamId": {
|
|
228
|
+
"type": "string",
|
|
229
|
+
"description": "The ID of the Remote Cache team. Value will be passed as `teamId` in the querystring for all Remote Cache HTTP calls. Must start with `team_` or it will not be used."
|
|
230
|
+
},
|
|
231
|
+
"teamSlug": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"description": "The slug of the Remote Cache team. Value will be passed as `slug` in the querystring for all Remote Cache HTTP calls."
|
|
226
234
|
}
|
|
227
235
|
},
|
|
228
236
|
"additionalProperties": false
|
package/src/types/config-v2.ts
CHANGED
|
@@ -357,6 +357,19 @@ export interface RemoteCache {
|
|
|
357
357
|
* @defaultValue `60`
|
|
358
358
|
*/
|
|
359
359
|
uploadTimeout?: number;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* The ID of the Remote Cache team. Value will be passed as `teamId` in the
|
|
363
|
+
* querystring for all Remote Cache HTTP calls. Must start with `team_` or it will
|
|
364
|
+
* not be used.
|
|
365
|
+
*/
|
|
366
|
+
teamId?: string;
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* The slug of the Remote Cache team. Value will be passed as `slug` in the
|
|
370
|
+
* querystring for all Remote Cache HTTP calls.
|
|
371
|
+
*/
|
|
372
|
+
teamSlug?: string;
|
|
360
373
|
}
|
|
361
374
|
|
|
362
375
|
export const isRootSchemaV2 = (schema: Schema): schema is RootSchema =>
|