Skip to main content

Variable: SYSTEM_SEEDED_DOC_IDS

const SYSTEM_SEEDED_DOC_IDS: readonly string[];

Defined in: packages/client/src/core/datamodel/index.ts:1521

Every document id the system patches seed.

Derived from the patches rather than hand-listed, so it cannot drift as the datamodel grows. Load-bearing for replication: each client applies these patches for itself, so every one of these documents already exists on every client. Sending them costs quota and invites conflicts - two devices writing Policy-Admin independently - while telling a peer nothing it did not already know. See ADR-0023.

Example

SYSTEM_SEEDED_DOC_IDS.includes("Group-Admin"); // true - patch-seeded everywhere
SYSTEM_SEEDED_DOC_IDS.includes("user-alice"); // false - created by an application