// SPDX-FileCopyrightText: 2026 FocusFlow contributors
// SPDX-License-Identifier: AGPL-3.0-only

part of '../../../persistence_contract.dart';

/// Document field names for [OwnerSettings] documents.
abstract final class OwnerSettingsDocumentFields {
  /// Stable storage field for `schemaVersion`.
  /// Keeping the key in one documented constant protects repository adapters, migrations, and tests from drifting string literals.
  static const schemaVersion = DocumentFields.schemaVersion;

  /// Stable storage field for `id`.
  /// Keeping the key in one documented constant protects repository adapters, migrations, and tests from drifting string literals.
  static const id = DocumentFields.id;

  /// Stable storage field for `ownerId`.
  /// Keeping the key in one documented constant protects repository adapters, migrations, and tests from drifting string literals.
  static const ownerId = DocumentFields.ownerId;

  /// Stable storage field for `revision`.
  /// Keeping the key in one documented constant protects repository adapters, migrations, and tests from drifting string literals.
  static const revision = DocumentFields.revision;

  /// Stable storage field for `createdAt`.
  /// Keeping the key in one documented constant protects repository adapters, migrations, and tests from drifting string literals.
  static const createdAt = DocumentFields.createdAt;

  /// Stable storage field for `updatedAt`.
  /// Keeping the key in one documented constant protects repository adapters, migrations, and tests from drifting string literals.
  static const updatedAt = DocumentFields.updatedAt;

  /// Stable storage field for `timeZoneId`.
  /// Keeping the key in one documented constant protects repository adapters, migrations, and tests from drifting string literals.
  static const timeZoneId = 'timeZoneId';

  /// Stable storage field for `dayStart`.
  /// Keeping the key in one documented constant protects repository adapters, migrations, and tests from drifting string literals.
  static const dayStart = 'dayStart';

  /// Stable storage field for `dayEnd`.
  /// Keeping the key in one documented constant protects repository adapters, migrations, and tests from drifting string literals.
  static const dayEnd = 'dayEnd';

  /// Stable storage field for `compactModeEnabled`.
  /// Keeping the key in one documented constant protects repository adapters, migrations, and tests from drifting string literals.
  static const compactModeEnabled = 'compactModeEnabled';

  /// Stable storage field for `backlogStaleness`.
  /// Keeping the key in one documented constant protects repository adapters, migrations, and tests from drifting string literals.
  static const backlogStaleness = 'backlogStaleness';

  /// Stable storage field for `all`.
  /// Keeping the key in one documented constant protects repository adapters, migrations, and tests from drifting string literals.
  static const all = <String>{
    ...DocumentFields.common,
    timeZoneId,
    dayStart,
    dayEnd,
    compactModeEnabled,
    backlogStaleness,
  };
}
