UNPKG

@gluneau/hive-mcp-server

Version:

An MCP server that enables AI assistants to interact with the Hive blockchain

130 lines (129 loc) 4.29 kB
import { z } from 'zod'; export declare const getPostContentSchema: z.ZodObject<{ author: z.ZodString; permlink: z.ZodString; }, "strip", z.ZodTypeAny, { author: string; permlink: string; }, { author: string; permlink: string; }>; export declare const getPostsByTagSchema: z.ZodObject<{ category: z.ZodEnum<["active", "cashout", "children", "comments", "created", "hot", "promoted", "trending", "votes"]>; tag: z.ZodString; limit: z.ZodDefault<z.ZodNumber>; }, "strip", z.ZodTypeAny, { limit: number; category: "active" | "cashout" | "children" | "comments" | "created" | "hot" | "promoted" | "trending" | "votes"; tag: string; }, { category: "active" | "cashout" | "children" | "comments" | "created" | "hot" | "promoted" | "trending" | "votes"; tag: string; limit?: number | undefined; }>; export declare const getPostsByUserSchema: z.ZodObject<{ category: z.ZodEnum<["blog", "feed"]>; username: z.ZodString; limit: z.ZodDefault<z.ZodNumber>; }, "strip", z.ZodTypeAny, { username: string; limit: number; category: "blog" | "feed"; }, { username: string; category: "blog" | "feed"; limit?: number | undefined; }>; export declare const createPostSchema: z.ZodObject<{ title: z.ZodString; body: z.ZodString; tags: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodEffects<z.ZodString, any[], string>]>>; beneficiaries: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{ account: z.ZodString; weight: z.ZodNumber; }, "strip", z.ZodTypeAny, { account: string; weight: number; }, { account: string; weight: number; }>, "many">, z.ZodNull]>>>; permalink: z.ZodOptional<z.ZodString>; max_accepted_payout: z.ZodOptional<z.ZodString>; percent_hbd: z.ZodOptional<z.ZodNumber>; allow_votes: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; allow_curation_rewards: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { title: string; body: string; tags: any[] | string[]; allow_votes: boolean; allow_curation_rewards: boolean; beneficiaries?: { account: string; weight: number; }[] | null | undefined; permalink?: string | undefined; max_accepted_payout?: string | undefined; percent_hbd?: number | undefined; }, { title: string; body: string; tags?: string | string[] | undefined; beneficiaries?: { account: string; weight: number; }[] | null | undefined; permalink?: string | undefined; max_accepted_payout?: string | undefined; percent_hbd?: number | undefined; allow_votes?: boolean | undefined; allow_curation_rewards?: boolean | undefined; }>; export declare const createCommentSchema: z.ZodObject<{ parent_author: z.ZodString; parent_permlink: z.ZodString; body: z.ZodString; permalink: z.ZodOptional<z.ZodString>; beneficiaries: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{ account: z.ZodString; weight: z.ZodNumber; }, "strip", z.ZodTypeAny, { account: string; weight: number; }, { account: string; weight: number; }>, "many">, z.ZodNull]>>>; max_accepted_payout: z.ZodOptional<z.ZodString>; percent_hbd: z.ZodOptional<z.ZodNumber>; allow_votes: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; allow_curation_rewards: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { body: string; allow_votes: boolean; allow_curation_rewards: boolean; parent_author: string; parent_permlink: string; beneficiaries?: { account: string; weight: number; }[] | null | undefined; permalink?: string | undefined; max_accepted_payout?: string | undefined; percent_hbd?: number | undefined; }, { body: string; parent_author: string; parent_permlink: string; beneficiaries?: { account: string; weight: number; }[] | null | undefined; permalink?: string | undefined; max_accepted_payout?: string | undefined; percent_hbd?: number | undefined; allow_votes?: boolean | undefined; allow_curation_rewards?: boolean | undefined; }>;