mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-09-03 14:32:39 -04:00
Compare commits
2 commits
976faf177d
...
2470515a2b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
2470515a2b | ||
![]() |
68a1e96553 |
2 changed files with 160 additions and 4 deletions
|
@ -21845,12 +21845,16 @@
|
|||
"base_mix": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"base_theme": {
|
||||
"$ref": "#/components/schemas/MessageShareCustomUserThemeBaseTheme"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"colors",
|
||||
"gradient_angle",
|
||||
"base_mix"
|
||||
"base_mix",
|
||||
"base_theme"
|
||||
]
|
||||
},
|
||||
"CustomClientThemeShareRequest": {
|
||||
|
@ -21877,6 +21881,16 @@
|
|||
"minimum": 0,
|
||||
"maximum": 100,
|
||||
"format": "int32"
|
||||
},
|
||||
"base_theme": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/MessageShareCustomUserThemeBaseTheme"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
@ -30802,6 +30816,37 @@
|
|||
"is_renewal"
|
||||
]
|
||||
},
|
||||
"MessageShareCustomUserThemeBaseTheme": {
|
||||
"type": "integer",
|
||||
"oneOf": [
|
||||
{
|
||||
"title": "UNSET",
|
||||
"description": "No base theme",
|
||||
"const": 0
|
||||
},
|
||||
{
|
||||
"title": "DARK",
|
||||
"description": "Dark base theme",
|
||||
"const": 1
|
||||
},
|
||||
{
|
||||
"title": "LIGHT",
|
||||
"description": "Light base theme",
|
||||
"const": 2
|
||||
},
|
||||
{
|
||||
"title": "DARKER",
|
||||
"description": "Darker base theme",
|
||||
"const": 3
|
||||
},
|
||||
{
|
||||
"title": "MIDNIGHT",
|
||||
"description": "Midnight base theme",
|
||||
"const": 4
|
||||
}
|
||||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"MessageSnapshotResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -31236,7 +31281,14 @@
|
|||
"components": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/TextDisplayComponentForModalRequest"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minItems": 1,
|
||||
"maxItems": 40
|
||||
|
@ -35352,6 +35404,32 @@
|
|||
"content"
|
||||
]
|
||||
},
|
||||
"TextDisplayComponentForModalRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
10
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/MessageComponentTypes"
|
||||
}
|
||||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"content": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 4000
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"content"
|
||||
]
|
||||
},
|
||||
"TextDisplayComponentResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
@ -22275,12 +22275,16 @@
|
|||
"base_mix": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"base_theme": {
|
||||
"$ref": "#/components/schemas/MessageShareCustomUserThemeBaseTheme"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"colors",
|
||||
"gradient_angle",
|
||||
"base_mix"
|
||||
"base_mix",
|
||||
"base_theme"
|
||||
]
|
||||
},
|
||||
"CustomClientThemeShareRequest": {
|
||||
|
@ -22307,6 +22311,16 @@
|
|||
"minimum": 0,
|
||||
"maximum": 100,
|
||||
"format": "int32"
|
||||
},
|
||||
"base_theme": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/MessageShareCustomUserThemeBaseTheme"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
@ -31409,6 +31423,37 @@
|
|||
"is_renewal"
|
||||
]
|
||||
},
|
||||
"MessageShareCustomUserThemeBaseTheme": {
|
||||
"type": "integer",
|
||||
"oneOf": [
|
||||
{
|
||||
"title": "UNSET",
|
||||
"description": "No base theme",
|
||||
"const": 0
|
||||
},
|
||||
{
|
||||
"title": "DARK",
|
||||
"description": "Dark base theme",
|
||||
"const": 1
|
||||
},
|
||||
{
|
||||
"title": "LIGHT",
|
||||
"description": "Light base theme",
|
||||
"const": 2
|
||||
},
|
||||
{
|
||||
"title": "DARKER",
|
||||
"description": "Darker base theme",
|
||||
"const": 3
|
||||
},
|
||||
{
|
||||
"title": "MIDNIGHT",
|
||||
"description": "Midnight base theme",
|
||||
"const": 4
|
||||
}
|
||||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"MessageSnapshotResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -31843,7 +31888,14 @@
|
|||
"components": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/TextDisplayComponentForModalRequest"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minItems": 1,
|
||||
"maxItems": 40
|
||||
|
@ -36788,6 +36840,32 @@
|
|||
"content"
|
||||
]
|
||||
},
|
||||
"TextDisplayComponentForModalRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
10
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/MessageComponentTypes"
|
||||
}
|
||||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"content": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 4000
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"content"
|
||||
]
|
||||
},
|
||||
"TextDisplayComponentResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
Loading…
Reference in a new issue