address
address: Lowercase<string>
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<(...)
>]: (...)
| (...)
}; }; }, >, >,> Optional
modName
modName?: string
moduleAddress
moduleAddress: () => Promisable< (
| DeepRestrictToStringKeys< { address: Lowercase<string>; schema: "network.xyo.address" }, > | DeepRestrictToStringKeys< { address: Lowercase<string>; previousHash?: string; schema: "network.xyo.address.hash.previous"; }, > )
[],> Optional
Readonly
pipeline
pipeline?: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many"
previousHash
previousHash: () => Promisable<undefined | string>
query
query: < T extends UnsignedQueryBoundWitness = UnsignedQueryBoundWitness, TConf extends DeepRestrictToStringKeys< { allowedQueries?: string[]; archiving?: { archivists?: string[]; queries?: string[] }; archivist?: string; consoleLogger?: LogLevel; labels?: { [key: string]: undefined | string }; name?: string; paging?: { [key: string]: { size?: number } }; retry?: { backoff?: number; interval?: number; retries?: number }; schema: "network.xyo.module.config"; security?: { allowAnonymous?: boolean; allowed?: { [key: string]: (
Lowercase<string> | Lowercase<(...)
>[])
[] }; disallowed?: { [key: string]: Lowercase<string>[] }; }; sign?: boolean; storeQueries?: boolean; timestamp?: boolean; }, > = DeepRestrictToStringKeys< { allowedQueries?: string[]; archiving?: { archivists?: string[]; queries?: string[] }; archivist?: string; consoleLogger?: LogLevel; labels?: { [key: string]: undefined | string }; name?: string; paging?: { [key: string]: { size?: number } }; retry?: { backoff?: number; interval?: number; retries?: number }; schema: "network.xyo.module.config"; security?: { allowAnonymous?: boolean; allowed?: { [key: string]: (
Lowercase<string> | Lowercase<(...)
>[])
[] }; disallowed?: { [key: string]: Lowercase<string>[] }; }; sign?: boolean; storeQueries?: boolean; timestamp?: boolean; }, >,>( query: T, payloads?: DeepRestrictToStringKeys<{ schema: string }>[], queryConfig?: TConf,) => Promisable<ModuleQueryResult> queryable
queryable: < T extends UnsignedQueryBoundWitness = UnsignedQueryBoundWitness, TConf extends DeepRestrictToStringKeys< { allowedQueries?: string[]; archiving?: { archivists?: string[]; queries?: string[] }; archivist?: string; consoleLogger?: LogLevel; labels?: { [key: string]: undefined | string }; name?: string; paging?: { [key: string]: { size?: number } }; retry?: { backoff?: number; interval?: number; retries?: number }; schema: "network.xyo.module.config"; security?: { allowAnonymous?: boolean; allowed?: { [key: string]: (
Lowercase<string> | Lowercase<(...)
>[])
[] }; disallowed?: { [key: string]: Lowercase<string>[] }; }; sign?: boolean; storeQueries?: boolean; timestamp?: boolean; }, > = DeepRestrictToStringKeys< { allowedQueries?: string[]; archiving?: { archivists?: string[]; queries?: string[] }; archivist?: string; consoleLogger?: LogLevel; labels?: { [key: string]: undefined | string }; name?: string; paging?: { [key: string]: { size?: number } }; retry?: { backoff?: number; interval?: number; retries?: number }; schema: "network.xyo.module.config"; security?: { allowAnonymous?: boolean; allowed?: { [key: string]: (
Lowercase<string> | Lowercase<(...)
>[])
[] }; disallowed?: { [key: string]: Lowercase<string>[] }; }; sign?: boolean; storeQueries?: boolean; timestamp?: boolean; }, >,>( query: T, payloads?: DeepRestrictToStringKeys<{ schema: string }>[], queryConfig?: TConf,) => Promisable<boolean> removeParent
removeParent: (address: Lowercase<string>) => void
Optional
start
start?: () => Promisable<boolean>
Optional
stop
stop?: () => Promisable<boolean>
The name (if specified) or address of the module