@chromia/ft4 - v2.1.0
    Preparing search index...

    Type Alias AuthDescriptorGtvModule

    type AuthDescriptorGtvModule = {
        authDescriptorFromGtv: (res: RawAnyAuthDescriptor) => AnyAuthDescriptor;
        authDescriptorRegistrationToGtv: (
            registration: AnyAuthDescriptorRegistration,
        ) => RawAnyAuthDescriptorRegistration;
        mapAuthDescriptorsFromGtv: (
            response: RawAnyAuthDescriptor[],
        ) => AnyAuthDescriptor[];
        rulesFromGtv: <T extends string>(
            gtvRules: RawRules,
            mapRule: (rule: RawSimpleRule) => SimpleRule<T>,
        ) => ComplexRule<T> | SimpleRule<T>;
    }
    Index

    Properties

    authDescriptorFromGtv: (res: RawAnyAuthDescriptor) => AnyAuthDescriptor

    Parses an auth descriptor from its gtv representation to its typescript representation

    Type Declaration

    authDescriptorRegistrationToGtv: (
        registration: AnyAuthDescriptorRegistration,
    ) => RawAnyAuthDescriptorRegistration

    Serializes an auth descriptor registration instance into its gtv representation

    Type Declaration

    mapAuthDescriptorsFromGtv: (
        response: RawAnyAuthDescriptor[],
    ) => AnyAuthDescriptor[]

    Converts an auth descriptor from its gtv representation to its typescript representation

    Type Declaration

    rulesFromGtv: <T extends string>(
        gtvRules: RawRules,
        mapRule: (rule: RawSimpleRule) => SimpleRule<T>,
    ) => ComplexRule<T> | SimpleRule<T>

    Parses a simple or complex rule from its gtv representation to its typescript representation

    Type Declaration