supa-seed
Version:
A constraint-aware, framework-agnostic database seeding framework with deep PostgreSQL business logic discovery and MakerKit integration support
40 lines • 1.39 kB
TypeScript
/**
* Development Webhook Manager
* Manages webhook endpoints for development and testing
*/
import type { DevelopmentWebhookConfig, WebhookEndpoint, PlatformWebhookConfig, WebhookTriggerResult, WebhookConfiguration } from './webhook-types';
export declare class DevelopmentWebhookManager {
private client;
private config;
private endpoints;
constructor(client: any, config?: DevelopmentWebhookConfig);
/**
* Configure webhook settings
*/
configure(config: DevelopmentWebhookConfig): Promise<void>;
/**
* Setup development webhook endpoints
*/
setupDevelopmentEndpoints(): Promise<{
success: boolean;
endpoints: WebhookEndpoint[];
errors: string[];
}>;
/**
* Generate platform-specific webhook configuration
*/
generatePlatformWebhookConfig(architecture?: 'individual' | 'team' | 'hybrid', domain?: 'outdoor' | 'saas' | 'ecommerce' | 'social' | 'generic'): PlatformWebhookConfig;
/**
* Get current webhook configuration
*/
getConfiguration(): WebhookConfiguration;
/**
* List all configured endpoints
*/
listEndpoints(): Promise<WebhookEndpoint[]>;
/**
* Trigger a webhook for a specific event
*/
triggerWebhook(event: string, payload: any): Promise<WebhookTriggerResult[]>;
}
//# sourceMappingURL=development-webhook-manager.d.ts.map