Files
q-blog/docs/GLOSSARY_DOMAIN.md
greenflame089 0b100af686 Release v0.2.2
2025-08-22 07:28:42 -04:00

24 lines
1.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Q-Blog — Glossary & Domain Canon
_Generated 2025-08-16 23:27Z_
**Name** — The account identity under which blogs are created.
**Blog** — A container for posts; owned by a Name; has **handle**, **title**, **visibility**.
**Handle** — Human-friendly unique identifier per Name (slug rules).
**Post** — Content item; belongs to exactly one Blog (immutable link).
**Role**`owner | editor | author`; defines allowed operations.
**Membership** — Name ↔ Blog relationship with role.
**Revision** — Monotonically increasing number used for concurrency control.
**Invite** — Time-limited token that assigns a role on acceptance.
### Invariants
- A Posts `blogId` does not change after creation.
- (`nameId`, `blogHandle`) is unique.
- All write operations require a role check (server-enforced).
### Identifier & URL Guidance
- Canonical blog URL: `/{nameHandle}/{blogHandle}/…` (conceptual).
- Slugs are normalized to lowercase, ASCII, hyphen-separated; collisions rejected with a helpful message.