feat(types): add TimerOptions interface for timer configuration

This commit is contained in:
2025-05-21 02:58:53 +02:00
parent d5a383a62c
commit ba4b933f78
2 changed files with 13 additions and 0 deletions

1
src/types/mod.ts Normal file
View File

@@ -0,0 +1 @@
export type { TimerOptions } from './options.ts';

12
src/types/options.ts Normal file
View File

@@ -0,0 +1,12 @@
export interface TimerOptions {
name?: string;
exec: string;
calendar: string;
description?: string;
user?: boolean;
output?: string;
after?: string[];
environment?: string[];
logfile?: string;
dryRun?: boolean;
}