Something went wrong. Try again.
Effortlessly glide through your todos
Something went wrong. Try again.
123456789101112131415/** * The account the local data belongs to. * * SINGLE-USER / DOGFOOD MODE: a fixed constant, no auth yet. This is the **client-side * swap point** for auth — when auth lands, return the signed-in user's id here, and call * `useTaskStore.getState().adoptOwner(id)` at the sign-in moment so existing local rows * get claimed into the account. (Keep DOGFOOD_OWNER in sync with the server constant in * convex/sync.ts.) See docs/engineering/convex-sync.md §Decisions. */export const DOGFOOD_OWNER = 'dogfood';
export function currentOwnerId(): string { return DOGFOOD_OWNER;}