diff --git a/dist/typescript/schemas/content.yaml b/dist/typescript/schemas/content.yaml index 25f3156..8d54d57 100644 --- a/dist/typescript/schemas/content.yaml +++ b/dist/typescript/schemas/content.yaml @@ -13,23 +13,11 @@ components: - TimelineUser type: string ContentUnion: - discriminator: - mapping": - TimelineTimelineCursor: '#/components/schemas/TimelineTimelineCursor' - TimelineTimelineItem: '#/components/schemas/TimelineTimelineItem' - TimelineTimelineModule: '#/components/schemas/TimelineTimelineModule' - propertyName: entryType oneOf: - $ref: '#/components/schemas/TimelineTimelineItem' - $ref: '#/components/schemas/TimelineTimelineModule' - $ref: '#/components/schemas/TimelineTimelineCursor' ItemContentUnion: - discriminator: - mapping": - TimelineTimelineCursor: '#/components/schemas/TimelineTimelineCursor' - TimelineTweet: '#/components/schemas/TimelineTweet' - TimelineUser: '#/components/schemas/TimelineUser' - propertyName: itemType oneOf: - $ref: '#/components/schemas/TimelineTweet' - $ref: '#/components/schemas/TimelineTimelineCursor' diff --git a/dist/typescript/schemas/instruction.yaml b/dist/typescript/schemas/instruction.yaml index 9f73553..5e21763 100644 --- a/dist/typescript/schemas/instruction.yaml +++ b/dist/typescript/schemas/instruction.yaml @@ -8,13 +8,6 @@ components: - TimelineTerminateTimeline type: string InstructionUnion: - discriminator: - mapping": - TimelineAddEntries: '#/components/schemas/TimelineAddEntries' - TimelineClearCache: '#/components/schemas/TimelineClearCache' - TimelinePinEntry: '#/components/schemas/TimelinePinEntry' - TimelineTerminateTimeline: '#/components/schemas/TimelineTerminateTimeline' - propertyName: type oneOf: - $ref: '#/components/schemas/TimelineAddEntries' - $ref: '#/components/schemas/TimelineClearCache' diff --git a/dist/typescript/schemas/tweet.yaml b/dist/typescript/schemas/tweet.yaml index eff5faf..63aa7f6 100644 --- a/dist/typescript/schemas/tweet.yaml +++ b/dist/typescript/schemas/tweet.yaml @@ -222,12 +222,6 @@ components: __typename: $ref: ./typename.yaml#/components/schemas/TypeName TweetUnion: - discriminator: - mapping": - Tweet: '#/components/schemas/Tweet' - TweetTombstone: '#/components/schemas/TweetTombstone' - TweetWithVisibilityResults: '#/components/schemas/TweetWithVisibilityResults' - propertyName: __typename oneOf: - $ref: '#/components/schemas/Tweet' - $ref: '#/components/schemas/TweetWithVisibilityResults'