Content-Length: 825836 | pFad | https://github.com/sourcebot-dev/sourcebot/commit/2789799e06f3b20ec62cbd86a50b2d0b44022fb5

02 chore: Update generated schema types and documentation · sourcebot-dev/sourcebot@2789799 · GitHub
Skip to content

Commit 2789799

Browse files
committed
chore: Update generated schema types and documentation
- Regenerate TypeScript types from updated schemas - Update schema documentation snippets - Update lockfile with test dependencies Auto-generated changes from schema modifications
1 parent 6c4d373 commit 2789799

24 files changed

+78
-181
lines changed

docs/snippets/schemas/v3/bitbucket.schema.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,12 @@
2121
}
2222
],
2323
"anyOf": [
24-
{
25-
"type": "string",
26-
"description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)",
27-
"minLength": 1
28-
},
2924
{
3025
"type": "object",
3126
"properties": {
3227
"secret": {
3328
"type": "string",
29+
"minLength": 1,
3430
"description": "The name of the secret that contains the token."
3531
}
3632
},
@@ -44,6 +40,7 @@
4440
"properties": {
4541
"env": {
4642
"type": "string",
43+
"minLength": 1,
4744
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
4845
}
4946
},

docs/snippets/schemas/v3/connection.schema.mdx

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,12 @@
2121
}
2222
],
2323
"anyOf": [
24-
{
25-
"type": "string",
26-
"description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)",
27-
"minLength": 1
28-
},
2924
{
3025
"type": "object",
3126
"properties": {
3227
"secret": {
3328
"type": "string",
29+
"minLength": 1,
3430
"description": "The name of the secret that contains the token."
3531
}
3632
},
@@ -44,6 +40,7 @@
4440
"properties": {
4541
"env": {
4642
"type": "string",
43+
"minLength": 1,
4744
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
4845
}
4946
},
@@ -239,16 +236,12 @@
239236
}
240237
],
241238
"anyOf": [
242-
{
243-
"type": "string",
244-
"description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)",
245-
"minLength": 1
246-
},
247239
{
248240
"type": "object",
249241
"properties": {
250242
"secret": {
251243
"type": "string",
244+
"minLength": 1,
252245
"description": "The name of the secret that contains the token."
253246
}
254247
},
@@ -262,6 +255,7 @@
262255
"properties": {
263256
"env": {
264257
"type": "string",
258+
"minLength": 1,
265259
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
266260
}
267261
},
@@ -446,16 +440,12 @@
446440
}
447441
],
448442
"anyOf": [
449-
{
450-
"type": "string",
451-
"description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)",
452-
"minLength": 1
453-
},
454443
{
455444
"type": "object",
456445
"properties": {
457446
"secret": {
458447
"type": "string",
448+
"minLength": 1,
459449
"description": "The name of the secret that contains the token."
460450
}
461451
},
@@ -469,6 +459,7 @@
469459
"properties": {
470460
"env": {
471461
"type": "string",
462+
"minLength": 1,
472463
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
473464
}
474465
},
@@ -624,7 +615,7 @@
624615
]
625616
},
626617
"password": {
627-
"description": "Gerrit HTTP password (not your account password). Generate this in Gerrit → Settings → HTTP Credentials → Generate Password.",
618+
"description": "Gerrit HTTP password (not your account password). Generate this in Gerrit → Settings → HTTP Credentials → Generate Password. Note: HTTP password authentication requires Gerrit's auth.gitBasicAuthPolicy to be set to HTTP or HTTP_LDAP.",
628619
"examples": [
629620
{
630621
"env": "GERRIT_HTTP_PASSWORD"
@@ -634,16 +625,12 @@
634625
}
635626
],
636627
"anyOf": [
637-
{
638-
"type": "string",
639-
"description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)",
640-
"minLength": 1
641-
},
642628
{
643629
"type": "object",
644630
"properties": {
645631
"secret": {
646632
"type": "string",
633+
"minLength": 1,
647634
"description": "The name of the secret that contains the token."
648635
}
649636
},
@@ -657,6 +644,7 @@
657644
"properties": {
658645
"env": {
659646
"type": "string",
647+
"minLength": 1,
660648
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
661649
}
662650
},
@@ -744,16 +732,12 @@
744732
}
745733
],
746734
"anyOf": [
747-
{
748-
"type": "string",
749-
"description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)",
750-
"minLength": 1
751-
},
752735
{
753736
"type": "object",
754737
"properties": {
755738
"secret": {
756739
"type": "string",
740+
"minLength": 1,
757741
"description": "The name of the secret that contains the token."
758742
}
759743
},
@@ -767,6 +751,7 @@
767751
"properties": {
768752
"env": {
769753
"type": "string",
754+
"minLength": 1,
770755
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
771756
}
772757
},

docs/snippets/schemas/v3/gerrit.schema.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
]
3131
},
3232
"password": {
33-
"description": "Gerrit HTTP password (not your account password). Generate this in Gerrit → Settings → HTTP Credentials → Generate Password.",
33+
"description": "Gerrit HTTP password (not your account password). Generate this in Gerrit → Settings → HTTP Credentials → Generate Password. Note: HTTP password authentication requires Gerrit's auth.gitBasicAuthPolicy to be set to HTTP or HTTP_LDAP.",
3434
"examples": [
3535
{
3636
"env": "GERRIT_HTTP_PASSWORD"
@@ -40,16 +40,12 @@
4040
}
4141
],
4242
"anyOf": [
43-
{
44-
"type": "string",
45-
"description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)",
46-
"minLength": 1
47-
},
4843
{
4944
"type": "object",
5045
"properties": {
5146
"secret": {
5247
"type": "string",
48+
"minLength": 1,
5349
"description": "The name of the secret that contains the token."
5450
}
5551
},
@@ -63,6 +59,7 @@
6359
"properties": {
6460
"env": {
6561
"type": "string",
62+
"minLength": 1,
6663
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
6764
}
6865
},

docs/snippets/schemas/v3/gitea.schema.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,12 @@
1717
}
1818
],
1919
"anyOf": [
20-
{
21-
"type": "string",
22-
"description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)",
23-
"minLength": 1
24-
},
2520
{
2621
"type": "object",
2722
"properties": {
2823
"secret": {
2924
"type": "string",
25+
"minLength": 1,
3026
"description": "The name of the secret that contains the token."
3127
}
3228
},
@@ -40,6 +36,7 @@
4036
"properties": {
4137
"env": {
4238
"type": "string",
39+
"minLength": 1,
4340
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
4441
}
4542
},

docs/snippets/schemas/v3/github.schema.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,12 @@
1717
}
1818
],
1919
"anyOf": [
20-
{
21-
"type": "string",
22-
"description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)",
23-
"minLength": 1
24-
},
2520
{
2621
"type": "object",
2722
"properties": {
2823
"secret": {
2924
"type": "string",
25+
"minLength": 1,
3026
"description": "The name of the secret that contains the token."
3127
}
3228
},
@@ -40,6 +36,7 @@
4036
"properties": {
4137
"env": {
4238
"type": "string",
39+
"minLength": 1,
4340
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
4441
}
4542
},

docs/snippets/schemas/v3/gitlab.schema.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,12 @@
1717
}
1818
],
1919
"anyOf": [
20-
{
21-
"type": "string",
22-
"description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)",
23-
"minLength": 1
24-
},
2520
{
2621
"type": "object",
2722
"properties": {
2823
"secret": {
2924
"type": "string",
25+
"minLength": 1,
3026
"description": "The name of the secret that contains the token."
3127
}
3228
},
@@ -40,6 +36,7 @@
4036
"properties": {
4137
"env": {
4238
"type": "string",
39+
"minLength": 1,
4340
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
4441
}
4542
},

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/sourcebot-dev/sourcebot/commit/2789799e06f3b20ec62cbd86a50b2d0b44022fb5

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy