Skip to content

Commit

Permalink
Generate latest types
Browse files Browse the repository at this point in the history
  • Loading branch information
juangm committed Dec 6, 2024
1 parent c8c2750 commit 9a12178
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 5 deletions.
60 changes: 60 additions & 0 deletions packages/graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2062,6 +2062,12 @@ input FollowingRequest {
orderBy: FollowingOrderBy! = DESC
}

enum ForYouSource {
FOLLOWING
CURATED
POPULAR
}

type ForbiddenError {
reason: String!
}
Expand Down Expand Up @@ -3096,6 +3102,47 @@ type MintMetadata {
content: Encryptable!
}

input MlaccountRecommendationsRequest {
"""The page size."""
pageSize: PageSize! = FIFTY

"""The cursor."""
cursor: Cursor

"""The account to get recommendations for."""
account: EvmAddress!

"""Shuffle the recommendations."""
shuffle: Boolean! = false
}

input MlexplorePostsFilter {
since: Int
}

input MlexplorePostsRequest {
"""The page size."""
pageSize: PageSize! = FIFTY

"""The cursor."""
cursor: Cursor
filter: MlexplorePostsFilter
}

input MlpostsForYouRequest {
"""The page size."""
pageSize: PageSize! = FIFTY

"""The cursor."""
cursor: Cursor

"""The account to get for you for."""
account: EvmAddress!

"""Shuffle the for you posts."""
shuffle: Boolean! = false
}

type Mutation {
"""
Create a new app
Expand Down Expand Up @@ -3759,6 +3806,11 @@ type PaginatedPostTagsResult {
pageInfo: PaginatedResultInfo!
}

type PaginatedPostsForYouResult {
items: [PostForYou!]!
pageInfo: PaginatedResultInfo!
}

type PaginatedPostsResult {
items: [Post!]!
pageInfo: PaginatedResultInfo!
Expand Down Expand Up @@ -3903,6 +3955,11 @@ input PostEditsRequest {
cursor: Cursor
}

type PostForYou {
post: Post!
source: ForYouSource!
}

scalar PostId

union PostMetadata = ArticleMetadata | AudioMetadata | CheckingInMetadata | EmbedMetadata | EventMetadata | ImageMetadata | LinkMetadata | LivestreamMetadata | MintMetadata | SpaceMetadata | StoryMetadata | TextOnlyMetadata | ThreeDMetadata | TransactionMetadata | VideoMetadata
Expand Down Expand Up @@ -4269,6 +4326,9 @@ type Query {
You MUST be authenticated to use this query.
"""
notifications(request: NotificationRequest!): PaginatedNotificationResult!
mlAccountRecommendations(request: MlaccountRecommendationsRequest!): PaginatedAccountsResult!
mlPostsForYou(request: MlpostsForYouRequest!): PaginatedPostsForYouResult!
mlPostsExplore(request: MlexplorePostsRequest!): PaginatedPostsResult

"""Get the status of a transaction by its hash."""
transactionStatus(request: TransactionStatusRequest!): TransactionStatusResult!
Expand Down
Loading

0 comments on commit 9a12178

Please sign in to comment.