Variable parseWithdrawalValue
parseWithdrawalValue: (
value: unknown,
global?: boolean,
) => {
at: string;
atMs: number;
client: string;
raw: string;
scope: string;
} = ...
Type Declaration
-
- (
value: unknown,
global?: boolean,
): { at: string; atMs: number; client: string; raw: string; scope: string }
-
Parameters
- value: unknown
Optionalglobal: boolean
Returns { at: string; atMs: number; client: string; raw: string; scope: string }
{ at, atMs, scope, client, raw }, with an empty scope for
anything unreadable
Parses a withdrawal value:
<stamp> <scope> <client_id>on a person's entry,<stamp> <scope>on an application's.