mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-05-26 23:26:15 +00:00
fix lint
This commit is contained in:
@@ -166,8 +166,6 @@ export class WebMcpBridge {
|
|||||||
return toMcpResponse(basicIndis);
|
return toMcpResponse(basicIndis);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/** Updates the currently selected individual in focus. */
|
/** Updates the currently selected individual in focus. */
|
||||||
public setDetailIndi(newDetailIndi: string | null): void {
|
public setDetailIndi(newDetailIndi: string | null): void {
|
||||||
this.detailIndi = newDetailIndi;
|
this.detailIndi = newDetailIndi;
|
||||||
|
|||||||
@@ -9,7 +9,8 @@ export const WEBMCP_TOOLS: ToolDefinition[] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'search_indi',
|
name: 'search_indi',
|
||||||
description: 'Searches the genealogy index for individuals by name. Returns up to 10 results starting with the ones that match the best.',
|
description:
|
||||||
|
'Searches the genealogy index for individuals by name. Returns up to 10 results starting with the ones that match the best.',
|
||||||
inputSchema: {
|
inputSchema: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
properties: {
|
properties: {
|
||||||
@@ -57,7 +58,8 @@ export const WEBMCP_TOOLS: ToolDefinition[] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'get_ancestors',
|
name: 'get_ancestors',
|
||||||
description: 'Returns ancestors of a specific individual up to a maximum depth of 5 generations.',
|
description:
|
||||||
|
'Returns ancestors of a specific individual up to a maximum depth of 5 generations.',
|
||||||
inputSchema: {
|
inputSchema: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
properties: {
|
properties: {
|
||||||
@@ -75,7 +77,8 @@ export const WEBMCP_TOOLS: ToolDefinition[] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'get_descendants',
|
name: 'get_descendants',
|
||||||
description: 'Returns descendants of a specific individual up to a maximum depth of 5 generations.',
|
description:
|
||||||
|
'Returns descendants of a specific individual up to a maximum depth of 5 generations.',
|
||||||
inputSchema: {
|
inputSchema: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
properties: {
|
properties: {
|
||||||
|
|||||||
Reference in New Issue
Block a user