import 'package:equatable/equatable.dart';

abstract class DocumentViewerEvent extends Equatable {
  const DocumentViewerEvent();

  @override
  List<Object> get props => [];
}

class DocumentOpened extends DocumentViewerEvent {
  final String orgId;
  final String fileId;

  const DocumentOpened({required this.orgId, required this.fileId});

  @override
  List<Object> get props => [orgId, fileId];
}

class DocumentReloaded extends DocumentViewerEvent {}

class DocumentClosed extends DocumentViewerEvent {}
