devonthesofa_obsidian-note-.../types/noteStatus.ts

19 lines
466 B
TypeScript
Raw Normal View History

2025-07-15 15:30:17 +00:00
export type NoteStatus = {
name: string;
icon: string;
2025-11-21 07:04:30 +00:00
lucideIcon?: string;
2025-07-15 15:30:17 +00:00
color?: string; // Optional color property
description?: string; // Optional description property
2025-07-20 07:39:50 +00:00
templateId?: string; // Optional template scope for namespacing
2025-07-15 15:30:17 +00:00
[key: string]: unknown;
};
2025-07-20 07:39:50 +00:00
export type ScopedStatusName = {
templateId?: string;
name: string;
};
export type StatusIdentifier = string | ScopedStatusName;
2025-07-15 15:30:17 +00:00
export type GroupedStatuses = Record<string, NoteStatus[]>;