UNPKG

@toriihq/torii-mcp

Version:

Model Context Protocol server for Torii API

36 lines (35 loc) 899 B
import type { ListParams } from './shared.types.js'; export type { Filter, Aggregation } from './shared.types.js'; export type ListAppsParams = ListParams; export type GetAppParams = { id: number; fields?: string; version?: '1.0' | '1.1'; }; export type AppData = { name: string; url?: string; category?: string; description?: string; primaryOwner?: number; appOwners?: number[]; state?: string; imageUrl?: string; tags?: string[]; activeUsersCount?: number; score?: number; isCustom?: boolean; addedBy?: number; creationTime?: string; isHidden?: boolean; lastUsageTime?: string; sources?: string[]; vendor?: string; expenses?: number; activeContractsTotalValue?: number; }; export type FieldData = { name: string; type: 'text' | 'number' | 'boolean' | 'date' | 'select'; options?: string[]; };