Interface ModuleQueryFunctions
interface ModuleQueryFunctions { manifest: ( maxDepth?: number, ignoreAddresses?: Lowercase<string>[], ) => Promisable< | DeepRestrictToStringKeys< { config: { accountPath?: string; features?: string[]; labels?: { [key: string]: undefined | string }; language?: string; name: string; os?: string; schema: string; }; description?: string; lazyStart?: boolean; schema: "network.xyo.module.manifest"; status?: { address: Lowercase<string>; children?: { [key: Lowercase<string>]: null | string }; }; }, > | DeepRestrictToStringKeys< { config: { accountPath?: string; features?: string[]; labels?: { [key: string]: undefined | string }; language?: string; name: string; os?: string; schema: string; }; description?: string; lazyStart?: boolean; schema: "network.xyo.node.manifest"; status?: { address: Lowercase<string>; children?: { [key: Lowercase<string>]: null | string }; }; }, >, >; manifestQuery: ( account: AccountInstance, maxDepth?: number, ignoreAddresses?: Lowercase<string>[], ) => Promisable< ModuleQueryResult< | DeepRestrictToStringKeys< { config: { accountPath?: string; features?: string[]; labels?: { [key: string]: undefined | string }; language?: string; name: string; os?: string; schema: string; }; description?: string; lazyStart?: boolean; schema: "network.xyo.module.manifest"; status?: { address: Lowercase<string>; children?: { [key: Lowercase<(...)
>]: (...)
| (...)
}; }; }, > | DeepRestrictToStringKeys< { config: { accountPath?: string; features?: string[]; labels?: { [key: string]: undefined | string }; language?: string; name: string; os?: string; schema: string; }; description?: string; lazyStart?: boolean; schema: "network.xyo.node.manifest"; status?: { address: Lowercase<string>; children?: { [key: Lowercase<(...)
>]: (...)
| (...)
}; }; }, >, DeepRestrictToStringKeys< { details?: | null | string | number | boolean | { [key: string]: | null | string | number | boolean | (
{ [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null)[] | null; }
)
| (
string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
)
[]; } | (
| null | string | number | boolean | { [key: string]: string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
; } | (
(string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null)[]
)
)
[]; message?: string; name?: string; query?: Lowercase<string>; schema: "network.xyo.error.module"; }, >, BoundWitness, >, >; moduleAddress: () => Promisable< (
| DeepRestrictToStringKeys< { address: Lowercase<string>; previousHash?: string; schema: "network.xyo.address.hash.previous"; }, > | DeepRestrictToStringKeys< { address: Lowercase<string>; schema: "network.xyo.address" }, > )
[], >; state: () => Promisable<DeepRestrictToStringKeys<{ schema: string }>[]>; stateQuery: ( account: AccountInstance, ) => Promisable< ModuleQueryResult< DeepRestrictToStringKeys<{ schema: string }>, DeepRestrictToStringKeys< { details?: | null | string | number | boolean | { [key: string]: | null | string | number | boolean | (
{ [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null)[] | null; }
)
| (
string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
)
[]; } | (
| null | string | number | boolean | { [key: string]: string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
; } | (
(string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null)[]
)
)
[]; message?: string; name?: string; query?: Lowercase<string>; schema: "network.xyo.error.module"; }, >, BoundWitness, >, >;} Properties
manifest
manifest: ( maxDepth?: number, ignoreAddresses?: Lowercase<string>[],) => Promisable< | DeepRestrictToStringKeys< { config: { accountPath?: string; features?: string[]; labels?: { [key: string]: undefined | string }; language?: string; name: string; os?: string; schema: string; }; description?: string; lazyStart?: boolean; schema: "network.xyo.module.manifest"; status?: { address: Lowercase<string>; children?: { [key: Lowercase<string>]: null | string }; }; }, > | DeepRestrictToStringKeys< { config: { accountPath?: string; features?: string[]; labels?: { [key: string]: undefined | string }; language?: string; name: string; os?: string; schema: string; }; description?: string; lazyStart?: boolean; schema: "network.xyo.node.manifest"; status?: { address: Lowercase<string>; children?: { [key: Lowercase<string>]: null | string }; }; }, >,> manifestQuery
manifestQuery: ( account: AccountInstance, maxDepth?: number, ignoreAddresses?: Lowercase<string>[],) => Promisable< ModuleQueryResult< | DeepRestrictToStringKeys< { config: { accountPath?: string; features?: string[]; labels?: { [key: string]: undefined | string }; language?: string; name: string; os?: string; schema: string; }; description?: string; lazyStart?: boolean; schema: "network.xyo.module.manifest"; status?: { address: Lowercase<string>; children?: { [key: Lowercase<(...)
>]: (...)
| (...)
}; }; }, > | DeepRestrictToStringKeys< { config: { accountPath?: string; features?: string[]; labels?: { [key: string]: undefined | string }; language?: string; name: string; os?: string; schema: string; }; description?: string; lazyStart?: boolean; schema: "network.xyo.node.manifest"; status?: { address: Lowercase<string>; children?: { [key: Lowercase<(...)
>]: (...)
| (...)
}; }; }, >, DeepRestrictToStringKeys< { details?: | null | string | number | boolean | { [key: string]: | null | string | number | boolean | (
{ [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null)[] | null; }
)
| (
string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
)
[]; } | (
| null | string | number | boolean | { [key: string]: string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
; } | (
(string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null)[]
)
)
[]; message?: string; name?: string; query?: Lowercase<string>; schema: "network.xyo.error.module"; }, >, BoundWitness, >,> moduleAddress
moduleAddress: () => Promisable< (
| DeepRestrictToStringKeys< { address: Lowercase<string>; previousHash?: string; schema: "network.xyo.address.hash.previous"; }, > | DeepRestrictToStringKeys< { address: Lowercase<string>; schema: "network.xyo.address" }, > )
[],> state
stateQuery
stateQuery: ( account: AccountInstance,) => Promisable< ModuleQueryResult< DeepRestrictToStringKeys<{ schema: string }>, DeepRestrictToStringKeys< { details?: | null | string | number | boolean | { [key: string]: | null | string | number | boolean | (
{ [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null)[] | null; }
)
| (
string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
)
[]; } | (
| null | string | number | boolean | { [key: string]: string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
; } | (
(string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null)[]
)
)
[]; message?: string; name?: string; query?: Lowercase<string>; schema: "network.xyo.error.module"; }, >, BoundWitness, >,>