mirror of
https://github.com/fluxerapp/fluxer.git
synced 2026-09-02 21:04:06 +03:00
fix(api): support int53 attachment sizes (#1261)
This commit is contained in:
@@ -8977,7 +8977,7 @@
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 8640000000000000,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"description": "Inclusive start timestamp in milliseconds"
|
||||
}
|
||||
},
|
||||
@@ -8989,7 +8989,7 @@
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 8640000000000000,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"description": "Inclusive end timestamp in milliseconds"
|
||||
}
|
||||
},
|
||||
@@ -9087,7 +9087,7 @@
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 8640000000000000,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"description": "Inclusive start timestamp in milliseconds"
|
||||
}
|
||||
},
|
||||
@@ -9099,7 +9099,7 @@
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 8640000000000000,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"description": "Inclusive end timestamp in milliseconds"
|
||||
}
|
||||
},
|
||||
@@ -10613,7 +10613,7 @@
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"description": "Number of entries to skip"
|
||||
}
|
||||
}
|
||||
@@ -10645,7 +10645,7 @@
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"description": "Number of entries to skip"
|
||||
}
|
||||
}
|
||||
@@ -11147,7 +11147,7 @@
|
||||
"amount_cents": {
|
||||
"type": "integer",
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"minimum": 0,
|
||||
"exclusiveMinimum": true
|
||||
},
|
||||
@@ -11981,7 +11981,7 @@
|
||||
"properties": {
|
||||
"guild_id": {"$ref": "#/components/schemas/SnowflakeType"},
|
||||
"limit": {"type": "integer", "minimum": 1, "maximum": 200, "format": "int32"},
|
||||
"offset": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int64"}
|
||||
"offset": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int53"}
|
||||
},
|
||||
"required": ["guild_id"]
|
||||
},
|
||||
@@ -12219,7 +12219,7 @@
|
||||
"properties": {
|
||||
"query": {"type": "string"},
|
||||
"limit": {"type": "integer", "minimum": 1, "maximum": 200, "format": "int32"},
|
||||
"offset": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int64"}
|
||||
"offset": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int53"}
|
||||
}
|
||||
},
|
||||
"ShutdownGuildRequest": {
|
||||
@@ -12439,9 +12439,9 @@
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64"
|
||||
"format": "int53"
|
||||
},
|
||||
"use_count": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int64"},
|
||||
"use_count": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int53"},
|
||||
"revoked_at": {"nullable": true, "type": "string", "format": "date-time"},
|
||||
"approval_required": {"type": "boolean"},
|
||||
"last_used_at": {"nullable": true, "type": "string", "format": "date-time"},
|
||||
@@ -12668,7 +12668,7 @@
|
||||
"logo_uri": {"nullable": true, "type": "string"},
|
||||
"tos_uri": {"nullable": true, "type": "string"},
|
||||
"policy_uri": {"nullable": true, "type": "string"},
|
||||
"key_count": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int64"}
|
||||
"key_count": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int53"}
|
||||
},
|
||||
"required": [
|
||||
"enabled",
|
||||
@@ -12698,7 +12698,7 @@
|
||||
"nullable": true,
|
||||
"type": "integer",
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"minimum": 0,
|
||||
"exclusiveMinimum": true
|
||||
},
|
||||
@@ -12706,7 +12706,7 @@
|
||||
"nullable": true,
|
||||
"type": "integer",
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"minimum": 0,
|
||||
"exclusiveMinimum": true
|
||||
},
|
||||
@@ -12715,7 +12715,7 @@
|
||||
"nullable": true,
|
||||
"type": "integer",
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"minimum": 0,
|
||||
"exclusiveMinimum": true
|
||||
},
|
||||
@@ -12723,7 +12723,7 @@
|
||||
"nullable": true,
|
||||
"type": "integer",
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"minimum": 0,
|
||||
"exclusiveMinimum": true
|
||||
},
|
||||
@@ -12737,14 +12737,14 @@
|
||||
"min_lifetime_days": {
|
||||
"type": "integer",
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"minimum": 0,
|
||||
"exclusiveMinimum": true
|
||||
},
|
||||
"max_lifetime_days": {
|
||||
"type": "integer",
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"minimum": 0,
|
||||
"exclusiveMinimum": true
|
||||
},
|
||||
@@ -12752,14 +12752,14 @@
|
||||
"renew_threshold_days": {
|
||||
"type": "integer",
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"minimum": 0,
|
||||
"exclusiveMinimum": true
|
||||
},
|
||||
"renew_window_days": {
|
||||
"type": "integer",
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"minimum": 0,
|
||||
"exclusiveMinimum": true
|
||||
}
|
||||
@@ -12871,9 +12871,9 @@
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64"
|
||||
"format": "int53"
|
||||
},
|
||||
"use_count": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int64"},
|
||||
"use_count": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int53"},
|
||||
"revoked_at": {"nullable": true, "type": "string", "format": "date-time"},
|
||||
"approval_required": {"type": "boolean"},
|
||||
"last_used_at": {"nullable": true, "type": "string", "format": "date-time"},
|
||||
@@ -13064,7 +13064,7 @@
|
||||
"nullable": true,
|
||||
"type": "integer",
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"minimum": 0,
|
||||
"exclusiveMinimum": true
|
||||
},
|
||||
@@ -13072,7 +13072,7 @@
|
||||
"nullable": true,
|
||||
"type": "integer",
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"minimum": 0,
|
||||
"exclusiveMinimum": true
|
||||
},
|
||||
@@ -13081,7 +13081,7 @@
|
||||
"nullable": true,
|
||||
"type": "integer",
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"minimum": 0,
|
||||
"exclusiveMinimum": true
|
||||
},
|
||||
@@ -13089,7 +13089,7 @@
|
||||
"nullable": true,
|
||||
"type": "integer",
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"minimum": 0,
|
||||
"exclusiveMinimum": true
|
||||
}
|
||||
@@ -13296,7 +13296,7 @@
|
||||
},
|
||||
"limits": {
|
||||
"type": "object",
|
||||
"additionalProperties": {"type": "number", "minimum": 0},
|
||||
"additionalProperties": {"$ref": "#/components/schemas/NonNegativeSafeIntegerType"},
|
||||
"description": "Per-limit key values"
|
||||
},
|
||||
"modifiedFields": {"type": "array", "items": {"type": "string"}}
|
||||
@@ -13352,6 +13352,7 @@
|
||||
"limit_keys"
|
||||
]
|
||||
},
|
||||
"NonNegativeSafeIntegerType": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int53"},
|
||||
"LimitConfigUpdateRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -13387,7 +13388,7 @@
|
||||
},
|
||||
"limits": {
|
||||
"type": "object",
|
||||
"additionalProperties": {"type": "number", "minimum": 0},
|
||||
"additionalProperties": {"$ref": "#/components/schemas/NonNegativeSafeIntegerType"},
|
||||
"description": "Per-limit key values"
|
||||
}
|
||||
},
|
||||
@@ -13455,7 +13456,7 @@
|
||||
"content_type": {"nullable": true, "type": "string"},
|
||||
"width": {"nullable": true, "allOf": [{"$ref": "#/components/schemas/Int32Type"}]},
|
||||
"height": {"nullable": true, "allOf": [{"$ref": "#/components/schemas/Int32Type"}]},
|
||||
"size": {"nullable": true, "allOf": [{"$ref": "#/components/schemas/Int32Type"}]},
|
||||
"size": {"nullable": true, "allOf": [{"$ref": "#/components/schemas/NonNegativeSafeIntegerType"}]},
|
||||
"ncmec_status": {
|
||||
"type": "string",
|
||||
"enum": ["not_submitted", "submitted", "failed"],
|
||||
@@ -14124,8 +14125,8 @@
|
||||
"size": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 2147483647,
|
||||
"format": "int32",
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int53",
|
||||
"description": "The size of the attachment in bytes"
|
||||
},
|
||||
"url": {"description": "The URL of the attachment", "nullable": true, "type": "string"},
|
||||
@@ -14387,7 +14388,7 @@
|
||||
"items": {"$ref": "#/components/schemas/MessageResponseSchema"},
|
||||
"maxItems": 100
|
||||
},
|
||||
"total": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int64"}
|
||||
"total": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int53"}
|
||||
},
|
||||
"required": ["messages", "total"]
|
||||
},
|
||||
@@ -14405,7 +14406,7 @@
|
||||
"properties": {
|
||||
"success": {"type": "boolean", "enum": [true]},
|
||||
"job_id": {"type": "string"},
|
||||
"requested": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int64"}
|
||||
"requested": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int53"}
|
||||
},
|
||||
"required": ["success", "job_id"]
|
||||
},
|
||||
@@ -14558,7 +14559,10 @@
|
||||
"content_type": {"nullable": true, "type": "string"},
|
||||
"width": {"nullable": true, "allOf": [{"$ref": "#/components/schemas/Int32Type"}]},
|
||||
"height": {"nullable": true, "allOf": [{"$ref": "#/components/schemas/Int32Type"}]},
|
||||
"size": {"nullable": true, "allOf": [{"$ref": "#/components/schemas/Int32Type"}]},
|
||||
"size": {
|
||||
"nullable": true,
|
||||
"allOf": [{"$ref": "#/components/schemas/NonNegativeSafeIntegerType"}]
|
||||
},
|
||||
"ncmec_status": {
|
||||
"type": "string",
|
||||
"enum": ["not_submitted", "submitted", "failed"],
|
||||
@@ -14664,7 +14668,7 @@
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"description": "Number of reports to skip"
|
||||
}
|
||||
}
|
||||
@@ -14712,7 +14716,7 @@
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 9007199254740991,
|
||||
"format": "int64",
|
||||
"format": "int53",
|
||||
"description": "Number of entries to skip"
|
||||
},
|
||||
"reporter_id": {"$ref": "#/components/schemas/SnowflakeType"},
|
||||
@@ -15435,7 +15439,7 @@
|
||||
"email": {"type": "string"},
|
||||
"last_active_ip": {"type": "string"},
|
||||
"limit": {"type": "integer", "minimum": 1, "maximum": 200, "format": "int32"},
|
||||
"offset": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int64"}
|
||||
"offset": {"type": "integer", "minimum": 0, "maximum": 9007199254740991, "format": "int53"}
|
||||
}
|
||||
},
|
||||
"SendPasswordResetRequest": {
|
||||
|
||||
Reference in New Issue
Block a user