Library
Shared community library — tools, books, equipment borrowed and lent across a holon
Item types
Item shape
interface LibraryItem {
id: string;
type: LibraryItemType;
borrowed: boolean;
createdBy?: number | string; // owner (typically a user id)
createdByUsername?: string;
borrower: string | null; // display name of current borrower
borrowerId?: number | string | null;
borrowerInitials?: string;
borrowedAt?: Date | string;
returnBy?: Date | string;
returnedAt?: Date | string;
category: string;
description: string;
value: number; // for deposit accounting
created: Date | string;
ratings?: Array<{ user?: string; rating: number; review?: string; date: Date | string }>;
issues?: Array<{ reporter?: string; issue: string; date: Date | string; resolved: boolean }>;
}Operations
Function
Purpose
Deposit accounting
Ratings and issues
MCP tool surface
See also
Last updated
Was this helpful?