MCPcopy
hub / github.com/simstudioai/sim / isSimRuleEventType

Function isSimRuleEventType

apps/sim/lib/workspace-events/constants.ts:55–57  ·  view source on GitHub ↗
(eventType: string)

Source from the content-addressed store, hash-verified

53)
54
55export function isSimRuleEventType(eventType: string): eventType is SimRuleEventType {
56 return (SIM_RULE_EVENT_TYPES as readonly string[]).includes(eventType)
57}
58
59/** Cooldown between firings of the same rule-based subscription. */
60export const SIM_RULE_COOLDOWN_HOURS = 1

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected