@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
10 lines (8 loc) • 734 B
TypeScript
import { VerificationService, FormSelectChoice, ActiveMilitaryPersonalInfoViewModel, InactiveMilitaryPersonalInfoViewModel, MilitaryStatus, Organization } from '../../lib/types/types';
/**
* @deprecated Do org search with `?tag={status}`, instead.
* Kept here for es6 export, for now
* e.g. ?tag=RESERVIST&country=US
*/
export declare const orgsInStatus: (status: MilitaryStatus) => (org: Organization) => boolean;
export declare const updateMilitaryViewModel: (key: keyof ActiveMilitaryPersonalInfoViewModel | keyof InactiveMilitaryPersonalInfoViewModel, value: any, verificationService: VerificationService, availableStatuses: FormSelectChoice[]) => ActiveMilitaryPersonalInfoViewModel | InactiveMilitaryPersonalInfoViewModel;