mirror of https://codeberg.org/pzp/pzp-db.git
refactor: cosmetics
This commit is contained in:
parent
dea38e4c1a
commit
c1f527b5d5
|
@ -29,7 +29,6 @@ const { isEmptyObject } = require('./util')
|
||||||
* @typedef {import('ppppp-keypair').Keypair} Keypair
|
* @typedef {import('ppppp-keypair').Keypair} Keypair
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @template [T=any]
|
* @template [T=any]
|
||||||
* @typedef {{
|
* @typedef {{
|
||||||
|
@ -39,7 +38,9 @@ const { isEmptyObject } = require('./util')
|
||||||
* dataSize: number;
|
* dataSize: number;
|
||||||
* account: string | (typeof ACCOUNT_SELF) | (typeof ACCOUNT_ANY);
|
* account: string | (typeof ACCOUNT_SELF) | (typeof ACCOUNT_ANY);
|
||||||
* accountTips: Array<string> | null;
|
* accountTips: Array<string> | null;
|
||||||
* tangles: Record<string, TangleMetadata>;
|
* tangles: {
|
||||||
|
* [tangleID in string]: TangleMetadata
|
||||||
|
* };
|
||||||
* domain: string;
|
* domain: string;
|
||||||
* v: 3;
|
* v: 3;
|
||||||
* };
|
* };
|
||||||
|
@ -97,7 +98,9 @@ const { isEmptyObject } = require('./util')
|
||||||
* keypair: Keypair;
|
* keypair: Keypair;
|
||||||
* account: string | (typeof ACCOUNT_SELF) | (typeof ACCOUNT_ANY);
|
* account: string | (typeof ACCOUNT_SELF) | (typeof ACCOUNT_ANY);
|
||||||
* accountTips: Array<string> | null;
|
* accountTips: Array<string> | null;
|
||||||
* tangles: Record<string, Tangle>;
|
* tangles: {
|
||||||
|
* [tangleID in string]: Tangle
|
||||||
|
* };
|
||||||
* }} CreateOpts
|
* }} CreateOpts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue