ttbkk-mcp-server
Version:
MCP server providing access to Korean tteokbokki restaurant database with search, location-based queries, and brand information
347 lines • 10.7 kB
TypeScript
import { z } from 'zod';
export declare const HashtagSchema: z.ZodObject<{
name: z.ZodString;
created_at: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
created_at: string;
}, {
name: string;
created_at: string;
}>;
export type Hashtag = z.infer<typeof HashtagSchema>;
export declare const BrandSchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
description: z.ZodNullable<z.ZodString>;
created_at: z.ZodNullable<z.ZodString>;
updated_at: z.ZodNullable<z.ZodString>;
created_by: z.ZodNullable<z.ZodString>;
updated_by: z.ZodNullable<z.ZodString>;
hashtags: z.ZodOptional<z.ZodArray<z.ZodObject<{
hashtag_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
hashtag_id: string;
}, {
hashtag_id: string;
}>, "many">>;
place_count: z.ZodOptional<z.ZodArray<z.ZodObject<{
count: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
count: number;
}, {
count: number;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
name: string;
created_at: string | null;
id: string;
description: string | null;
updated_at: string | null;
created_by: string | null;
updated_by: string | null;
hashtags?: {
hashtag_id: string;
}[] | undefined;
place_count?: {
count: number;
}[] | undefined;
}, {
name: string;
created_at: string | null;
id: string;
description: string | null;
updated_at: string | null;
created_by: string | null;
updated_by: string | null;
hashtags?: {
hashtag_id: string;
}[] | undefined;
place_count?: {
count: number;
}[] | undefined;
}>;
export type Brand = z.infer<typeof BrandSchema>;
export declare const PlaceSchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
latitude: z.ZodNumber;
longitude: z.ZodNumber;
address: z.ZodNullable<z.ZodString>;
telephone: z.ZodNullable<z.ZodString>;
description: z.ZodNullable<z.ZodString>;
created_at: z.ZodString;
updated_at: z.ZodString;
created_by: z.ZodNullable<z.ZodString>;
updated_by: z.ZodNullable<z.ZodString>;
is_deleted: z.ZodBoolean;
brand: z.ZodNullable<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
description: z.ZodNullable<z.ZodString>;
created_at: z.ZodNullable<z.ZodString>;
updated_at: z.ZodNullable<z.ZodString>;
created_by: z.ZodNullable<z.ZodString>;
updated_by: z.ZodNullable<z.ZodString>;
hashtags: z.ZodOptional<z.ZodArray<z.ZodObject<{
hashtag_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
hashtag_id: string;
}, {
hashtag_id: string;
}>, "many">>;
place_count: z.ZodOptional<z.ZodArray<z.ZodObject<{
count: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
count: number;
}, {
count: number;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
name: string;
created_at: string | null;
id: string;
description: string | null;
updated_at: string | null;
created_by: string | null;
updated_by: string | null;
hashtags?: {
hashtag_id: string;
}[] | undefined;
place_count?: {
count: number;
}[] | undefined;
}, {
name: string;
created_at: string | null;
id: string;
description: string | null;
updated_at: string | null;
created_by: string | null;
updated_by: string | null;
hashtags?: {
hashtag_id: string;
}[] | undefined;
place_count?: {
count: number;
}[] | undefined;
}>>;
hashtags: z.ZodOptional<z.ZodArray<z.ZodObject<{
hashtag_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
hashtag_id: string;
}, {
hashtag_id: string;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
name: string;
created_at: string;
id: string;
description: string | null;
updated_at: string;
created_by: string | null;
updated_by: string | null;
latitude: number;
longitude: number;
address: string | null;
telephone: string | null;
is_deleted: boolean;
brand: {
name: string;
created_at: string | null;
id: string;
description: string | null;
updated_at: string | null;
created_by: string | null;
updated_by: string | null;
hashtags?: {
hashtag_id: string;
}[] | undefined;
place_count?: {
count: number;
}[] | undefined;
} | null;
hashtags?: {
hashtag_id: string;
}[] | undefined;
}, {
name: string;
created_at: string;
id: string;
description: string | null;
updated_at: string;
created_by: string | null;
updated_by: string | null;
latitude: number;
longitude: number;
address: string | null;
telephone: string | null;
is_deleted: boolean;
brand: {
name: string;
created_at: string | null;
id: string;
description: string | null;
updated_at: string | null;
created_by: string | null;
updated_by: string | null;
hashtags?: {
hashtag_id: string;
}[] | undefined;
place_count?: {
count: number;
}[] | undefined;
} | null;
hashtags?: {
hashtag_id: string;
}[] | undefined;
}>;
export type Place = z.infer<typeof PlaceSchema>;
export interface Database {
public: {
Tables: {
place: {
Row: {
id: string;
name: string;
latitude: number;
longitude: number;
address: string | null;
telephone: string | null;
description: string | null;
created_at: string;
updated_at: string;
created_by: string | null;
updated_by: string | null;
is_deleted: boolean;
brand_id: string | null;
};
Insert: {
id?: string;
name: string;
latitude: number;
longitude: number;
address?: string | null;
telephone?: string | null;
description?: string | null;
created_at?: string;
updated_at?: string;
created_by?: string | null;
updated_by?: string | null;
is_deleted?: boolean;
brand_id?: string | null;
};
Update: {
id?: string;
name?: string;
latitude?: number;
longitude?: number;
address?: string | null;
telephone?: string | null;
description?: string | null;
created_at?: string;
updated_at?: string;
created_by?: string | null;
updated_by?: string | null;
is_deleted?: boolean;
brand_id?: string | null;
};
};
brand: {
Row: {
id: string;
name: string;
description: string | null;
created_at: string | null;
updated_at: string | null;
created_by: string | null;
updated_by: string | null;
};
Insert: {
id?: string;
name: string;
description?: string | null;
created_at?: string | null;
updated_at?: string | null;
created_by?: string | null;
updated_by?: string | null;
};
Update: {
id?: string;
name?: string;
description?: string | null;
created_at?: string | null;
updated_at?: string | null;
created_by?: string | null;
updated_by?: string | null;
};
};
hashtag: {
Row: {
name: string;
created_at: string;
};
Insert: {
name: string;
created_at?: string;
};
Update: {
name?: string;
created_at?: string;
};
};
place_hashtags: {
Row: {
place_id: string;
hashtag_id: string;
};
Insert: {
place_id: string;
hashtag_id: string;
};
Update: {
place_id?: string;
hashtag_id?: string;
};
};
brand_hashtags: {
Row: {
brand_id: string;
hashtag_id: string;
};
Insert: {
brand_id: string;
hashtag_id: string;
};
Update: {
brand_id?: string;
hashtag_id?: string;
};
};
};
};
}
export declare const FranchiseType: {
readonly TERRYROZE: "태리로제떡볶이";
readonly SINJEON: "신전";
readonly GAMTAN: "감탄";
readonly YUPDDUK: "엽떡";
readonly BAEDDUCK: "배떡";
readonly MYUNGRANG: "명랑";
readonly YOUNGDABANG: "청년다방";
readonly SINCHAM: "신참";
readonly SINBUL: "신불";
readonly EUNGDDUK: "응떡";
readonly JAWSFOOD: "죠스떡볶이";
readonly TTEOKCHAM: "떡참";
readonly SAMCHEOP: "삼첩분식";
readonly DALDDUK: "달토끼의떡볶이흡입구역";
readonly DOOKKI: "두끼";
readonly KANG: "크앙";
readonly ESOTTUK: "이소떡";
readonly ZZING: "찡떡";
readonly BULLS: "불스떡볶이";
};
export type FranchiseTypeName = keyof typeof FranchiseType;
export type FranchiseTypeValue = typeof FranchiseType[FranchiseTypeName];
//# sourceMappingURL=database.d.ts.map