From 54f46acec42b5f7ff2d030e567dba8e14bbd7b30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81?= Date: Fri, 21 Apr 2023 01:44:34 +0900 Subject: [PATCH] add promotedMetadata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ふぁ --- dist/schemas/content.yaml | 4 ++-- src/openapi/schemas/content.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/schemas/content.yaml b/dist/schemas/content.yaml index 5fb9bd8..f2d3622 100644 --- a/dist/schemas/content.yaml +++ b/dist/schemas/content.yaml @@ -144,6 +144,8 @@ components: itemType: $ref: '#/components/schemas/ContentItemType' type: string + promotedMetadata: + type: object tweetDisplayType: type: string tweet_results: @@ -164,8 +166,6 @@ components: type: string userDisplayType: type: string - user_results: - $ref: ./user.yaml#/components/schemas/UserResults required: - __typename - itemType diff --git a/src/openapi/schemas/content.yaml b/src/openapi/schemas/content.yaml index 16efd67..04d5f09 100644 --- a/src/openapi/schemas/content.yaml +++ b/src/openapi/schemas/content.yaml @@ -147,6 +147,8 @@ components: $ref: "#/components/schemas/ItemResult" SocialContext: $ref: "#/components/schemas/SocialContext" + promotedMetadata: + type: object # todo TimelineUser: required: @@ -165,8 +167,6 @@ components: $ref: "#/components/schemas/SocialContext" userDisplayType: type: string # enum - user_results: - $ref: "./user.yaml#/components/schemas/UserResults" ItemResult: required: