createAccount(
args
: {id?
:LixGenerated
<string
>;lix
:Lix
;lixcol_version_id?
:string
;name
:string
; }):Promise
<{id
:LixGenerated
<string
>;name
:string
; }>
Inserts a new account into the Lix database.
Accounts represent different identities working with the same Lix file. Switching the active account is handled separately via switchAccount.
Parameter | Type |
---|---|
args | { id? : LixGenerated <string >; lix : Lix ; lixcol_version_id? : string ; name : string ; } |
args.id? | LixGenerated <string > |
args.lix | Lix |
args.lixcol_version_id? | string |
args.name | string |
Promise
<{ id
: LixGenerated
<string
>; name
: string
; }>