dorfteich/packages/shared/src/index.ts
Claude Fable 5 6c98a71d34
Some checks failed
CD / Build and push images (push) Successful in 3m57s
CD / Deploy to Test (push) Successful in 11s
CI / Lint, typecheck, test (push) Successful in 4m32s
CI / Build container images (push) Has been skipped
CD / Smoke tests against Test (push) Successful in 1m14s
CD / Promote to Int (push) Successful in 11s
CI / Auth e2e pack (push) Failing after 2m51s
CI / Import/export fidelity gate (push) Has been skipped
Favorites: personal page stars, golden icons, sidebar filter (#132)
Semantics changed from the issue during planning (documented there,
comment 1192): favorites are PERSONAL per user, not pond-wide — the
sys-fav label approach is dropped entirely. Storage is a page_favorites
table (userId+pageId, FK cascade); PUT/DELETE /pages/:id/favorite
toggles idempotently and needs read access only (#60 404 semantics —
a star is a note-to-self, not a page modification), GET
/ponds/:id/favorites lists the account's stars sliced to still-readable
pages. Trashed pages keep their rows, so restore keeps the star; purge
cascades it away.

Web: one shared ['favorites', pondId] query feeds the TopBar star
(between labels and history, golden when set), the golden tree icons in
the sidebar, and a latching "Favorites" filter button next to the view
switch that narrows either view (combinable with the label filter).
No public-API/MCP exposure — with the label approach gone, that parity
is no longer free; favorites stay UI-only for now.

New favorites e2e pack (star toggle, golden icon, filter, per-user
isolation) wired into CI; DB suite covers the round-trip, read gating,
and the trash/restore/purge lifecycle.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Fb2VzvcoBPHkjh8bZ6PzQn
2026-07-16 12:03:55 +02:00

36 lines
971 B
TypeScript

export * from './admin-users';
export * from './api-tokens';
export * from './api-error';
export * from './auth';
export * from './backup-set';
export * from './backup-status';
export * from './collab-token';
export * from './comments';
export * from './editor-schema';
export * from './env';
export * from './conversion';
export * from './favorites';
export * from './files';
export * from './fonts';
export * from './health';
export * from './home';
export * from './i18n-tools';
export * from './labels';
export * from './legal';
export * from './links';
export * from './members';
export * from './notifications';
export * from './pages';
export * from './permissions';
export * from './plugins';
export * from './search';
export * from './secret-store';
export * from './setup';
export * from './system';
export * from './ponds';
export * from './public-api';
export * from './quotas';
export * from './text-diff';
export * from './tree';
export * from './watches';