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<(...)
>]: (...)
| (...)
}; }; }, >, >, >; moduleAddress: () => Promisable< (
| DeepRestrictToStringKeys< { address: Lowercase<string>; schema: "network.xyo.address" }, > | DeepRestrictToStringKeys< { address: Lowercase<string>; previousHash?: string; schema: "network.xyo.address.hash.previous"; }, > )
[], >; state: () => Promisable<DeepRestrictToStringKeys<{ schema: string }>[]>; stateQuery: (account: AccountInstance) => Promisable<ModuleQueryResult>;} 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<(...)
>]: (...)
| (...)
}; }; }, >, >,> moduleAddress
moduleAddress: () => Promisable< (
| DeepRestrictToStringKeys< { address: Lowercase<string>; schema: "network.xyo.address" }, > | DeepRestrictToStringKeys< { address: Lowercase<string>; previousHash?: string; schema: "network.xyo.address.hash.previous"; }, > )
[],>