]> git.codecow.com Git - libnemo.git/commitdiff
Add account as a valid data type for named data so it can be added to database.
authorChris Duncan <chris@zoso.dev>
Thu, 21 Aug 2025 19:57:53 +0000 (12:57 -0700)
committerChris Duncan <chris@zoso.dev>
Thu, 21 Aug 2025 19:57:53 +0000 (12:57 -0700)
src/types.d.ts

index 441d5c557f17241a3eb543be43b53fd0c6f04734..8cf9870598bf356ba5db61994b0e85cbfb941c97 100644 (file)
@@ -383,7 +383,7 @@ export type BlockInfo = {
        }
 }
 
-export type Data = boolean | number | number[] | string | string[] | ArrayBuffer | CryptoKey | { [key: string]: Data }
+export type Data = boolean | number | number[] | string | string[] | Account | ArrayBuffer | CryptoKey | { [key: string]: Data }
 
 export type NamedData<T extends Data = Data> = {
        [key: string]: T