MCPcopy Create free account
hub / github.com/Fibi66/FeiControl / getIntervalMs

Function getIntervalMs

src/components/CronWeeklyTimeline.tsx:51–56  ·  view source on GitHub ↗
(schedule: string | Record<string, unknown>)

Source from the content-addressed store, hash-verified

49}
50
51function getIntervalMs(schedule: string | Record<string, unknown>): number | null {
52 if (typeof schedule === "object" && schedule && schedule.kind === "every") {
53 return (schedule.everyMs as number) || null;
54 }
55 return null;
56}
57
58function getAtTime(schedule: string | Record<string, unknown>): Date | null {
59 if (typeof schedule === "object" && schedule && schedule.kind === "at") {

Callers 1

CronWeeklyTimelineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected