supa-seed
Version:
A constraint-aware, framework-agnostic database seeding framework with deep PostgreSQL business logic discovery and MakerKit integration support
39 lines • 1.01 kB
TypeScript
/**
* Webhook Types
* Type definitions for development webhook functionality
*/
export interface DevelopmentWebhookConfig {
enabled: boolean;
baseUrl?: string;
endpoints?: string[];
authentication?: {
type: 'bearer' | 'basic' | 'none';
token?: string;
};
events?: string[];
}
export interface WebhookEndpoint {
id: string;
url: string;
events: string[];
enabled: boolean;
headers?: Record<string, string>;
}
export interface PlatformWebhookConfig {
architecture: 'individual' | 'team' | 'hybrid';
domain: 'outdoor' | 'saas' | 'ecommerce' | 'social' | 'generic';
endpoints: WebhookEndpoint[];
defaultEvents: string[];
}
export interface WebhookTriggerResult {
success: boolean;
status: number;
response?: any;
error?: string;
}
export interface WebhookConfiguration {
enabled: boolean;
endpoints: WebhookEndpoint[];
defaultHeaders: Record<string, string>;
}
//# sourceMappingURL=webhook-types.d.ts.map