AirshipInputValidation

public struct AirshipInputValidation

A struct that encapsulates input validation logic for different request types such as email and SMS.

  • A closure type used for overriding validation logic.

    Declaration

    Swift

    public typealias OverridesClosure = (@Sendable (Request) async throws -> Override)
  • Enum representing the result of validation. It indicates whether an input is valid or invalid.

    See more

    Declaration

    Swift

    public enum Result : Sendable, Equatable
  • Enum representing the override options for input validation.

    See more

    Declaration

    Swift

    public enum Override : Sendable, Equatable
  • Enum representing the types of requests to be validated (e.g., Email or SMS).

    See more

    Declaration

    Swift

    public enum Request : Sendable, Equatable