Skip to content

Commit 2cd6366

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 100530a commit 2cd6366

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
},
@@ -451,16 +445,12 @@
451445
}
452446
],
453447
"anyOf": [
454-
{
455-
"type": "string",
456-
"description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)",
457-
"minLength": 1
458-
},
459448
{
460449
"type": "object",
461450
"properties": {
462451
"secret": {
463452
"type": "string",
453+
"minLength": 1,
464454
"description": "The name of the secret that contains the token."
465455
}
466456
},
@@ -474,6 +464,7 @@
474464
"properties": {
475465
"env": {
476466
"type": "string",
467+
"minLength": 1,
477468
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
478469
}
479470
},
@@ -629,7 +620,7 @@
629620
]
630621
},
631622
"password": {
632-
"description": "Gerrit HTTP password (not your account password). Generate this in Gerrit → Settings → HTTP Credentials → Generate Password.",
623+
"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.",
633624
"examples": [
634625
{
635626
"env": "GERRIT_HTTP_PASSWORD"
@@ -639,16 +630,12 @@
639630
}
640631
],
641632
"anyOf": [
642-
{
643-
"type": "string",
644-
"description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)",
645-
"minLength": 1
646-
},
647633
{
648634
"type": "object",
649635
"properties": {
650636
"secret": {
651637
"type": "string",
638+
"minLength": 1,
652639
"description": "The name of the secret that contains the token."
653640
}
654641
},
@@ -662,6 +649,7 @@
662649
"properties": {
663650
"env": {
664651
"type": "string",
652+
"minLength": 1,
665653
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
666654
}
667655
},
@@ -790,16 +778,12 @@
790778
}
791779
],
792780
"anyOf": [
793-
{
794-
"type": "string",
795-
"description": "Direct token value (SECURITY RISK: not recommended for production - use secrets or environment variables instead)",
796-
"minLength": 1
797-
},
798781
{
799782
"type": "object",
800783
"properties": {
801784
"secret": {
802785
"type": "string",
786+
"minLength": 1,
803787
"description": "The name of the secret that contains the token."
804788
}
805789
},
@@ -813,6 +797,7 @@
813797
"properties": {
814798
"env": {
815799
"type": "string",
800+
"minLength": 1,
816801
"description": "The name of the environment variable that contains the token. Only supported in declarative connection configs."
817802
}
818803
},

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)