bun format
This commit is contained in:
parent
aaae231799
commit
8207a5f128
@ -49,8 +49,8 @@ const ENTITY_EVENT_NAMES = [
|
|||||||
const AUTOMATION_EVENT_NAMES = ["workflow_dispatch", "schedule"] as const;
|
const AUTOMATION_EVENT_NAMES = ["workflow_dispatch", "schedule"] as const;
|
||||||
|
|
||||||
// Derive types from constants for better maintainability
|
// Derive types from constants for better maintainability
|
||||||
type EntityEventName = typeof ENTITY_EVENT_NAMES[number];
|
type EntityEventName = (typeof ENTITY_EVENT_NAMES)[number];
|
||||||
type AutomationEventName = typeof AUTOMATION_EVENT_NAMES[number];
|
type AutomationEventName = (typeof AUTOMATION_EVENT_NAMES)[number];
|
||||||
|
|
||||||
// Common fields shared by all context types
|
// Common fields shared by all context types
|
||||||
type BaseContext = {
|
type BaseContext = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user