devonthesofa_obsidian-note-.../types/noteStatus.ts
2025-07-20 09:39:50 +02:00

17 lines
444 B
TypeScript

export type NoteStatus = {
name: string;
icon: 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[]>;