Skip to content

Commit efa0035

Browse files
authored
Update repository schema (#67)
* update schema * update tools list * fix format
1 parent 04cfa43 commit efa0035

File tree

2 files changed

+73
-0
lines changed

2 files changed

+73
-0
lines changed

src/repos.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ const Repository = z.object({
120120
})
121121
.optional()
122122
.nullable(),
123+
source: z.string().optional().nullable().describe('The source of the repository'),
123124
error: z.string().optional().nullable(),
124125
});
125126

tools.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,24 @@
566566
}
567567
]
568568
},
569+
"source": {
570+
"anyOf": [
571+
{
572+
"anyOf": [
573+
{
574+
"not": {}
575+
},
576+
{
577+
"type": "string"
578+
}
579+
]
580+
},
581+
{
582+
"type": "null"
583+
}
584+
],
585+
"description": "The source of the repository"
586+
},
569587
"error": {
570588
"anyOf": [
571589
{
@@ -1126,6 +1144,24 @@
11261144
}
11271145
]
11281146
},
1147+
"source": {
1148+
"anyOf": [
1149+
{
1150+
"anyOf": [
1151+
{
1152+
"not": {}
1153+
},
1154+
{
1155+
"type": "string"
1156+
}
1157+
]
1158+
},
1159+
{
1160+
"type": "null"
1161+
}
1162+
],
1163+
"description": "The source of the repository"
1164+
},
11291165
"error": {
11301166
"anyOf": [
11311167
{
@@ -1640,6 +1676,24 @@
16401676
}
16411677
]
16421678
},
1679+
"source": {
1680+
"anyOf": [
1681+
{
1682+
"anyOf": [
1683+
{
1684+
"not": {}
1685+
},
1686+
{
1687+
"type": "string"
1688+
}
1689+
]
1690+
},
1691+
{
1692+
"type": "null"
1693+
}
1694+
],
1695+
"description": "The source of the repository"
1696+
},
16431697
"error": {
16441698
"anyOf": [
16451699
{
@@ -2182,6 +2236,24 @@
21822236
}
21832237
]
21842238
},
2239+
"source": {
2240+
"anyOf": [
2241+
{
2242+
"anyOf": [
2243+
{
2244+
"not": {}
2245+
},
2246+
{
2247+
"type": "string"
2248+
}
2249+
]
2250+
},
2251+
{
2252+
"type": "null"
2253+
}
2254+
],
2255+
"description": "The source of the repository"
2256+
},
21852257
"error": {
21862258
"anyOf": [
21872259
{

0 commit comments

Comments
 (0)