/**
 * Trigger metadata types
 */

export type TriggerFieldType = 'string' | 'integer' | 'boolean' | 'datetime' | 'array';

export interface TriggerField {
  name: string;
  type: TriggerFieldType;
  description: string;
  example: string;
}

export interface Trigger {
  type: string;
  label: string;
  description: string;
  integration?: string;
  available_fields: TriggerField[];
  is_available: boolean;
  availability_reason: string;
  plugin_type?: 'free' | 'paid' | '';
  install_url?: string;
}
