diff --git a/dist/compatible/schemas/content.yaml b/dist/compatible/schemas/content.yaml index da479f4..ccadf95 100644 --- a/dist/compatible/schemas/content.yaml +++ b/dist/compatible/schemas/content.yaml @@ -191,6 +191,7 @@ components: enum: - User - UserDetailed + - SubscribableUser type: string user_results: $ref: ./user.yaml#/components/schemas/UserResults diff --git a/dist/compatible/schemas/tweet.yaml b/dist/compatible/schemas/tweet.yaml index 5fe8e20..c115145 100644 --- a/dist/compatible/schemas/tweet.yaml +++ b/dist/compatible/schemas/tweet.yaml @@ -260,6 +260,8 @@ components: rest_id: pattern: ^[0-9]+$ type: string + source: + type: string unmention_data: additionalProperties: true type: object @@ -270,6 +272,7 @@ components: - core - edit_control - is_translatable + - source - legacy - views TweetCard: @@ -314,6 +317,26 @@ components: required: - type TweetEditControl: + properties: + edit_control_initial: + $ref: '#/components/schemas/TweetEditControlInitial' + edit_tweet_ids: + items: + pattern: ^[0-9]+$ + type: string + type: array + editable_until_msecs: + pattern: ^[0-9]+$ + type: string + edits_remaining: + pattern: ^[0-9]+$ + type: string + initial_tweet_id: + pattern: ^[0-9]+$ + type: string + is_edit_eligible: + type: boolean + TweetEditControlInitial: properties: edit_tweet_ids: items: @@ -328,6 +351,11 @@ components: type: string is_edit_eligible: type: boolean + required: + - edit_tweet_ids + - editable_until_msecs + - is_edit_eligible + - edits_remaining TweetEditPrespective: properties: favorited: diff --git a/dist/docs/schemas/content.yaml b/dist/docs/schemas/content.yaml index da479f4..ccadf95 100644 --- a/dist/docs/schemas/content.yaml +++ b/dist/docs/schemas/content.yaml @@ -191,6 +191,7 @@ components: enum: - User - UserDetailed + - SubscribableUser type: string user_results: $ref: ./user.yaml#/components/schemas/UserResults diff --git a/dist/docs/schemas/tweet.yaml b/dist/docs/schemas/tweet.yaml index 5fe8e20..c115145 100644 --- a/dist/docs/schemas/tweet.yaml +++ b/dist/docs/schemas/tweet.yaml @@ -260,6 +260,8 @@ components: rest_id: pattern: ^[0-9]+$ type: string + source: + type: string unmention_data: additionalProperties: true type: object @@ -270,6 +272,7 @@ components: - core - edit_control - is_translatable + - source - legacy - views TweetCard: @@ -314,6 +317,26 @@ components: required: - type TweetEditControl: + properties: + edit_control_initial: + $ref: '#/components/schemas/TweetEditControlInitial' + edit_tweet_ids: + items: + pattern: ^[0-9]+$ + type: string + type: array + editable_until_msecs: + pattern: ^[0-9]+$ + type: string + edits_remaining: + pattern: ^[0-9]+$ + type: string + initial_tweet_id: + pattern: ^[0-9]+$ + type: string + is_edit_eligible: + type: boolean + TweetEditControlInitial: properties: edit_tweet_ids: items: @@ -328,6 +351,11 @@ components: type: string is_edit_eligible: type: boolean + required: + - edit_tweet_ids + - editable_until_msecs + - is_edit_eligible + - edits_remaining TweetEditPrespective: properties: favorited: