/** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export declare type ConfigCommand = ConfigCommandDefaults & { comment?: ConfigComment; interaction?: ConfigInteraction; [k: string]: unknown; }; export interface Config { defaults?: ConfigCommandDefaults; commands?: ConfigCommands; views?: ConfigViews; } export interface ConfigCommandDefaults { comment?: ConfigComment; reactionOnReceived?: string; reactionOnRelayed?: string; reactionOnError?: string; [k: string]: unknown; } export interface ConfigComment { text: string; ephemeral?: boolean; } export interface ConfigCommands { [k: string]: ConfigCommand; } export interface ConfigInteraction { response?: ConfigInteractionResponse; view?: string; } export interface ConfigInteractionResponse { type?: "in_channel" | "ephemeral"; text: string; } export interface ConfigViews { [k: string]: ConfigView; } export interface ConfigView { type?: string; attachments?: Attachment[]; blocks?: ConfigViewBlock[]; [k: string]: unknown; } export interface Attachment { callback_id?: string; private_metadata?: string; [k: string]: unknown; } export interface ConfigViewBlock { callback_id?: string; private_metadata?: string; element?: ConfigViewBlockElement; [k: string]: unknown; } export interface ConfigViewBlockElement { type?: string; action_id?: string; value?: string; [k: string]: unknown; }