Function: default()
default(
__namedParameters
):object
Defined in: index.ts:26
Parameters
Parameter | Type |
---|---|
__namedParameters | ApplicationConfig |
Returns
object
Name | Type | Default value | Defined in |
---|---|---|---|
definitions | ({ aliases? : undefined ; config? : undefined ; definition : { dependencies : readonly ["application" , "eventLog" , "passphraseCache?" ]; factory : (__namedParameters ) => ApplicationApi ; id : "applicationApi" ; type : "api" ; }; if? : undefined ; storage? : undefined ; } | { aliases? : undefined ; config? : undefined ; definition : { dependencies : readonly ["wallet" , "unsafeStorage" , "lockedAtom" , "backedUpAtom" , "passphraseCache?" , "logger" , "eventLog" , "errorTracking" ]; factory : (args ) => Application ; id : "application" ; public : true ; type : "module" ; }; if? : undefined ; storage? : undefined ; } | { aliases? : undefined ; config? : undefined ; definition : { dependencies : readonly []; factory : () => Atom <boolean >; id : "lockedAtom" ; public : true ; type : "atom" ; }; if? : undefined ; storage? : undefined ; } | { aliases? : undefined ; config? : undefined ; definition : { dependencies : readonly []; factory : () => Atom <unknown >; id : "restoreAtom" ; public : true ; type : "atom" ; }; if? : undefined ; storage? : undefined ; } | { aliases? : undefined ; config? : undefined ; definition : { dependencies : readonly ["lockedAtom" ]; factory : (__namedParameters ) => Atom <LockHistoryEntry []>; id : "lockHistoryAtom" ; public : true ; type : "atom" ; }; if? : undefined ; storage? : undefined ; } | { aliases? : undefined ; config? : undefined ; definition : { dependencies : readonly ["fusion" , "logger" ]; factory : (__namedParameters ) => any ; id : "walletCreatedAtAtom" ; public : true ; type : "atom" ; }; if? : undefined ; storage? : undefined ; } | { aliases? : undefined ; config? : undefined ; definition : { dependencies : readonly ["port" , "lockedAtom" , "lockHistoryAtom" , "restoreAtom" , "backedUpAtom" , "autoLockTimerAtom" , "walletCreatedAtAtom" ]; factory : (__namedParameters ) => object ; id : "applicationLifecyclePlugin" ; public : true ; type : "plugin" ; }; if? : undefined ; storage? : undefined ; } | { aliases : object []; config? : undefined ; definition : { dependencies : readonly ["storage" ]; factory : (__namedParameters ) => Atom <boolean >; id : "backedUpAtom" ; public : true ; type : "atom" ; }; if? : undefined ; storage : { namespace : string ; }; } | { aliases : object []; config? : undefined ; definition : { dependencies : readonly ["storage" ]; factory : (__namedParameters ) => Atom <number >; id : "autoLockTimerAtom" ; public : true ; type : "atom" ; }; if? : undefined ; storage : { namespace : string ; }; } | { aliases : object []; config : { maxTtl : undefined | number ; }; definition : { dependencies : readonly ["storage" , "alarms" , "autoLockTimerAtom" , "logger" , "config" ]; factory : (args ) => PassphraseCache ; id : "passphraseCache" ; type : "module" ; }; if : boolean ; storage : { namespace : string ; }; } | { aliases? : undefined ; config? : undefined ; definition : { dependencies : readonly ["wallet" , "walletCreatedAtAtom" , "application" , "lockHistoryAtom" ]; factory : (__namedParameters ) => object ; id : "applicationReport" ; type : "report" ; }; if? : undefined ; storage? : undefined ; })[] | - | index.ts:31 |
id | string | 'application' | index.ts:30 |