19 lines
556 B
Swift
19 lines
556 B
Swift
//
|
|
// VehicleServiceProtocol.swift
|
|
// AutoCatCore
|
|
//
|
|
// Created by Selim Mustafaev on 19.01.2025.
|
|
// Copyright © 2025 Selim Mustafaev. All rights reserved.
|
|
//
|
|
|
|
import Mockable
|
|
|
|
@Mockable
|
|
public protocol VehicleServiceProtocol: Sendable {
|
|
|
|
func check(number: String) async throws -> VehicleWithErrors
|
|
func updateHistory(number: String) async throws -> VehicleWithErrors
|
|
func updateSearch(number: String) async throws -> VehicleWithErrors
|
|
func checkRecord(number: String, event: VehicleEventDto?) async throws -> VehicleWithErrors
|
|
}
|