Skip to main content
Glama
action.ts816 B
import { tw } from "@si/vue-lib"; import { IconNames } from "@si/vue-lib/design-system"; import { ActionKind } from "@/api/sdf/dal/action"; export const actionKindToAbbreviation = (actionKind: ActionKind) => { return { Create: "CRT", Destroy: "DLT", Refresh: "RFH", Manual: "MNL", Update: "UPT", }[actionKind]; }; export const actionIconClass = (kind: ActionKind) => { return { Create: tw`text-success-600`, Destroy: tw`text-destructive-500 dark:text-destructive-600`, Refresh: tw`text-action-600`, Manual: tw`text-action-600`, Update: tw`text-warning-600`, }[kind]; }; export const actionIcon = (kind: ActionKind) => { return { Create: "plus", Destroy: "trash", Refresh: "refresh", Manual: "play", Update: "tilde", }[kind] as IconNames; };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/systeminit/si'

If you have feedback or need assistance with the MCP directory API, please join our Discord server