Add storage layer with FileStorage, MarkdownReader, and MarkdownWriter classes. Add data models (Project, Session, Note, Change).
14 lines
347 B
Python
14 lines
347 B
Python
"""Change model definition."""
|
|
from pydantic import BaseModel, Field
|
|
from datetime import date
|
|
|
|
|
|
class Change(BaseModel):
|
|
"""Represents a notable change in a project."""
|
|
|
|
date: date
|
|
type: str # code, infra, config, docs, automation, decision
|
|
title: str
|
|
impact: str = ""
|
|
references: list[str] = Field(default_factory=list)
|