import type { TriggerDefinition } from "../types" import { dashboardRunTriggerDefinition } from "./core-dashboard" import { httpRequestTriggerDefinition } from "./core-http" import { automationInvokedTriggerDefinition } from "./core-invocation" import { mailhookEmailReceivedTriggerDefinition } from "./core-mailhook" import { cronTickTriggerDefinition } from "./core-schedule" export { DASHBOARD_RUN_CONFIG_SCHEMA, dashboardRunTriggerDefinition, getDashboardRunEndpoint, getDashboardRunEndpointKey, type DashboardRunConfig, type DashboardRunEndpointOptions, } from "./core-dashboard" export { getHttpTriggerEndpoint, getHttpTriggerEndpointKey, httpRequestTriggerDefinition, type HttpTriggerEndpointOptions, type HttpTriggerScope, } from "./core-http" export { automationInvokedTriggerDefinition } from "./core-invocation" export { getMailhookAddress, getMailhookAddressKey, mailhookEmailReceivedTriggerDefinition, PLATFORM_EMAIL_DOMAIN, type MailhookAddressOptions, type MailhookScope, } from "./core-mailhook" export { cronTickTriggerDefinition } from "./core-schedule" export { sentenceCase } from "./name" export const coreTriggerDefinitions = { automationInvoked: automationInvokedTriggerDefinition, cronTick: cronTickTriggerDefinition, dashboardRun: dashboardRunTriggerDefinition, httpRequest: httpRequestTriggerDefinition, mailhookEmailReceived: mailhookEmailReceivedTriggerDefinition, } as const satisfies Record