You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/repos.ts
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -261,14 +261,16 @@ export class Repos extends Asset {
261
261
media_types: z
262
262
.string()
263
263
.optional()
264
+
.default('')
264
265
.describe(
265
-
'Comma-delimited list of media types. Only repositories containing one or more artifacts with one of these media types will be returned. null should be added to the list to get repositories with image artifacts to handle legacy repositories.'
266
+
'Comma-delimited list of media types. Only repositories containing one or more artifacts with one of these media types will be returned. Default is empty to get all repositories.'
266
267
),
267
268
content_types: z
268
269
.string()
269
270
.optional()
271
+
.default('')
270
272
.describe(
271
-
'Comma-delimited list of content types. Only repositories containing one or more artifacts with one of these content types will be returned.'
273
+
'Comma-delimited list of content types. Only repositories containing one or more artifacts with one of these content types will be returned. Default is empty to get all repositories.'
Copy file name to clipboardExpand all lines: tools.json
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,11 +32,13 @@
32
32
},
33
33
"media_types": {
34
34
"type": "string",
35
-
"description": "Comma-delimited list of media types. Only repositories containing one or more artifacts with one of these media types will be returned. null should be added to the list to get repositories with image artifacts to handle legacy repositories."
35
+
"default": "",
36
+
"description": "Comma-delimited list of media types. Only repositories containing one or more artifacts with one of these media types will be returned. Default is empty to get all repositories."
36
37
},
37
38
"content_types": {
38
39
"type": "string",
39
-
"description": "Comma-delimited list of content types. Only repositories containing one or more artifacts with one of these content types will be returned."
40
+
"default": "",
41
+
"description": "Comma-delimited list of content types. Only repositories containing one or more artifacts with one of these content types will be returned. Default is empty to get all repositories."
0 commit comments