### This file was generated by Nexus Schema ### Do not make changes to this file directly type Award { id: Int! image: String! project: Project! title: String! url: String! } type Bounty implements PostBase { applicants_count: Int! applications: [BountyApplication!]! author: User! body: String! cover_image: String! date: String! deadline: String! excerpt: String! id: Int! reward_amount: Int! tags: [Tag!]! title: String! type: String! votes_count: Int! } type BountyApplication { author: User! date: String! id: Int! workplan: String! } type Category { apps_count: Int! cover_image: String icon: String id: Int! project: [Project!]! title: String! votes_sum: Int! } type LnurlDetails { commentAllowed: Int maxSendable: Int metadata: String minSendable: Int } type Mutation { confirmVote(payment_request: String!, preimage: String!): Vote! vote(amount_in_sat: Int!, project_id: Int!): Vote! } enum POST_TYPE { Bounty Question Story } union Post = Bounty | Question | Story interface PostBase { author: User! body: String! date: String! excerpt: String! id: Int! tags: [Tag!]! title: String! votes_count: Int! } type PostComment { author: User! body: String! created_at: String! id: Int! parentId: Int votes_count: Int! } type Project { awards: [Award!]! category: Category! cover_image: String! description: String! id: Int! lightning_address: String lnurl_callback_url: String screenshots: [String!]! tags: [Tag!]! thumbnail_image: String! title: String! votes_count: Int! website: String! } type Query { allCategories: [Category!]! allProjects(skip: Int = 0, take: Int = 50): [Project!]! getCategory(id: Int!): Category! getFeed(category: String = "all", skip: Int = 0, sortBy: String = "all", take: Int = 10): [Post!]! getLnurlDetailsForProject(project_id: Int!): LnurlDetails! getPostById(id: Int!, type: POST_TYPE!): Post! getProject(id: Int!): Project! getTrendingPosts: [Post!]! hottestProjects(skip: Int = 0, take: Int = 50): [Project!]! newProjects(skip: Int = 0, take: Int = 50): [Project!]! projectsByCategory(category_id: Int!, skip: Int = 0, take: Int = 10): [Project!]! searchProjects(search: String!, skip: Int = 0, take: Int = 50): [Project!]! } type Question implements PostBase { answers_count: Int! author: User! body: String! comments: [PostComment!]! date: String! excerpt: String! id: Int! tags: [Tag!]! title: String! type: String! votes_count: Int! } type Story implements PostBase { author: User! body: String! comments: [PostComment!]! comments_count: Int! cover_image: String! date: String! excerpt: String! id: Int! tags: [Tag!]! title: String! type: String! votes_count: Int! } type Tag { id: Int! title: String! } type User { id: Int! image: String! name: String! } type Vote { amount_in_sat: Int! id: Int! paid: Boolean! payment_hash: String! payment_request: String! project: Project! }