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

part of '../../export_controller.dart';

/// Export metadata shared with every writer.
final class ExportContext {
  /// Creates an export context.
  ExportContext({
    required this.ownerId,
    required String timezone,
    required this.version,
  }) : timezone = _requiredTrimmed(timezone, 'timezone');

  /// Owner scope being exported.
  final core.OwnerId ownerId;

  /// Timezone id used to interpret local export presentation.
  final String timezone;

  /// Export format/schema version.
  final int version;
}
