/** * Configuration for a command or operation. */ export interface CommandConfig { /** * The name of the command or operation. */ name: string; /** * The unique ID of a service that implements the command/operation. One of * `serviceId` or `itemType` is required. */ serviceId?: string; /** * The item type of a component model that implements the command/operation. * One of `serviceId` or `itemType` is required. */ itemType?: string; } /** * Configuration for messages. */ export interface MessagesConfig { /** * Configured commands. */ commands?: CommandConfig[]; /** * Configured operations. */ operations?: CommandConfig[]; }