'use strict' ; import { Logger } from '@Tools/Logging' ; export class Availability { public static NONE : string = 'none' ; public static FRIENDS : string = 'friends' ; public static CONNECTIONS : string = 'connections' ; public static ALL : string = 'all' ; static async KnownAvailability ( pAvailability ) { return [ Availability . NONE , Availability . FRIENDS , Availability . CONNECTIONS , Availability . ALL ] . includes ( pAvailability ) ; } ; } ;