Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
No EOL
756 B
Text
19 lines
No EOL
756 B
Text
export interface NodeSchedule {
|
|
scheduleJob(nameOrExpression: string | Date | object, expressionOrCallback: string | Date | object | (() => void), callback?: () => void): unknown;
|
|
}
|
|
/**
|
|
* Instruments the `node-schedule` library to send a check-in event to Sentry for each job execution.
|
|
*
|
|
* ```ts
|
|
* import * as Sentry from '@sentry/node';
|
|
* import * as schedule from 'node-schedule';
|
|
*
|
|
* const scheduleWithCheckIn = Sentry.cron.instrumentNodeSchedule(schedule);
|
|
*
|
|
* const job = scheduleWithCheckIn.scheduleJob('my-cron-job', '* * * * *', () => {
|
|
* console.log('You will see this message every minute');
|
|
* });
|
|
* ```
|
|
*/
|
|
export declare function instrumentNodeSchedule<T>(lib: T & NodeSchedule): T;
|
|
//# sourceMappingURL=node-schedule.d.ts.map |