• Blog
  • Changelog
  • Follow us on GitHubFollow us on XJoin our Discord server
  • Blog
  • GitHub
  • Releases
  • Getting started

    • Overview
  • Library

    • Getting started
    • Array
    • Result
    • Dependency injection
    • Resource management
    • Task
    • Type
    • Conventions
  • Local-first

    • Getting started
    • Playgrounds
    • Examples
    • Owners
    • Relay
    • Migrations
    • Time travel
    • Indexes
    • Protocol
    • Privacy
    • FAQ
  • Other

    • API reference
    • Comparison
    • Showcase
    • Changelog

API reference › @evolu/common › local‑first/Storage › ValidDbChangeValues

const ValidDbChangeValues: brand(
  "ValidDbChangeValues",
  DbChangeValues,
  (value) => {
    const invalidColumns = systemColumnsWithId.filter((key) => key in value);
    if (invalidColumns.length > 0)
      return err<ValidDbChangeValuesError>({
        type: "ValidDbChangeValues",
        value,
        invalidColumns,
      });

    return ok(value);
  },
);

Defined in: packages/common/src/local-first/Storage.ts:276

Markdown for LLMs

© 2026 Evolu

Follow us on GitHubFollow us on XJoin our Discord server