devonthesofa_obsidian-note-.../types/noteStatus.ts
2025-11-21 08:04:30 +01:00

18 lines
466 B
TypeScript

export type NoteStatus = {
name: string;
icon: string;
lucideIcon?: string;
color?: string; // Optional color property
description?: string; // Optional description property
templateId?: string; // Optional template scope for namespacing
[key: string]: unknown;
};
export type ScopedStatusName = {
templateId?: string;
name: string;
};
export type StatusIdentifier = string | ScopedStatusName;
export type GroupedStatuses = Record<string, NoteStatus[]>;