You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dist/schema.json
+74Lines changed: 74 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -35184,6 +35184,28 @@
35184
35184
"null"
35185
35185
],
35186
35186
"properties": {
35187
+
"small": {
35188
+
"description": "Details about the small preview version of the attachment.",
35189
+
"oneOf": [
35190
+
{
35191
+
"$ref": "#/components/schemas/MetaDetails"
35192
+
},
35193
+
{
35194
+
"type": "null"
35195
+
}
35196
+
]
35197
+
},
35198
+
"original": {
35199
+
"description": "Details about the original version of the attachment.",
35200
+
"oneOf": [
35201
+
{
35202
+
"$ref": "#/components/schemas/MetaDetails"
35203
+
},
35204
+
{
35205
+
"type": "null"
35206
+
}
35207
+
]
35208
+
},
35187
35209
"focus": {
35188
35210
"description": "Coordinates that may be used for smart thumbnail cropping -- see [Focal points for cropped media thumbnails]({{< relref \"api/guidelines#focal-points\" >}}) for more.",
35189
35211
"type": [
@@ -35241,6 +35263,58 @@
35241
35263
"description": "Official Mastodon API documentation"
35242
35264
}
35243
35265
},
35266
+
"MetaDetails": {
35267
+
"type": "object",
35268
+
"description": "Additional entity definition for MetaDetails",
35269
+
"properties": {
35270
+
"aspect": {
35271
+
"description": "The media aspect ratio of the video or image attachment.",
35272
+
"type": [
35273
+
"number",
35274
+
"null"
35275
+
]
35276
+
},
35277
+
"bitrate": {
35278
+
"description": "The media bitrate of the video or audio attachment.",
35279
+
"type": [
35280
+
"integer",
35281
+
"null"
35282
+
]
35283
+
},
35284
+
"duration": {
35285
+
"description": "The duration of the video attachment.",
35286
+
"type": [
35287
+
"number",
35288
+
"null"
35289
+
]
35290
+
},
35291
+
"frame_rate": {
35292
+
"description": "The frame rate of the video attachment.",
35293
+
"type": [
35294
+
"string",
35295
+
"null"
35296
+
]
35297
+
},
35298
+
"height": {
35299
+
"description": "The height of the attachment in pixels.",
35300
+
"type": [
35301
+
"integer",
35302
+
"null"
35303
+
]
35304
+
},
35305
+
"width": {
35306
+
"description": "The width of the attachment in pixels.",
// This test validates that only explicit draft: true is filtered
41
41
// This is implicitly tested by checking that we still get a reasonable number of entities
42
42
constentities=parser.parseAllEntities();
43
-
expect(entities.length).toBe(91);// Exact count after removing EncryptedMessage and entities from blocked files (increased due to extracted nested entities + Admin::DimensionData + DiscoverOauthServerConfigurationResponse + OEmbedResponse)
43
+
expect(entities.length).toBe(92);// Exact count after removing EncryptedMessage and entities from blocked files (increased due to extracted nested entities + Admin::DimensionData + DiscoverOauthServerConfigurationResponse + OEmbedResponse)
0 commit comments