Variable MemoryNodeHelperConst
MemoryNodeHelper: { attachedPrivateModules: ( node: NodeInstance, maxDepth?: number, ) => Promise<ModuleInstance[]>; attachedPublicModules: ( node: NodeInstance, maxDepth?: number, ) => Promise<ModuleInstance[]>; attachToExistingNode: ( source: NodeInstance, id: string, destination: NodeInstance, ) => Promise<NodeInstance>; attachToNewNode: ( source: NodeInstance, id: string, destinationParams?: BaseParamsFields & { account?: AccountInstance | "random"; additionalSigners?: AccountInstance[]; addToResolvers?: boolean; allowNameResolution?: boolean; config: 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: string; security?: { allowAnonymous?: boolean; allowed?: { [key: string]: (...)
[] }; disallowed?: { [key: string]: (...)
[] }; }; sign?: boolean; storeQueries?: boolean; timestamp?: boolean; }, >; ephemeralQueryAccountEnabled?: boolean; moduleIdentifierTransformers?: ModuleIdentifierTransformer[]; }, ) => Promise<NodeInstance>; flatAttachAllToExistingNode: ( source: NodeInstance, destination: NodeInstance, ) => Promise<NodeInstance>; flatAttachChildToExistingNode: ( source: NodeInstance, id: string, destination: NodeInstance, ) => Promise<NodeInstance>; flatAttachToExistingNode: ( source: NodeInstance, id: string, destination: NodeInstance, ) => Promise<NodeInstance>; flatAttachToNewNode: ( source: NodeInstance, id: string, destinationParams: BaseParamsFields & { account?: AccountInstance | "random"; additionalSigners?: AccountInstance[]; addToResolvers?: boolean; allowNameResolution?: boolean; config: 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: string; security?: { allowAnonymous?: boolean; allowed?: { [key: string]: (...)
[] }; disallowed?: { [key: string]: (...)
[] }; }; sign?: boolean; storeQueries?: boolean; timestamp?: boolean; }, >; ephemeralQueryAccountEnabled?: boolean; moduleIdentifierTransformers?: ModuleIdentifierTransformer[]; }, ) => Promise<NodeInstance>;} = ... Type declaration
attachedPrivateModules: (node: NodeInstance, maxDepth?: number) => Promise<ModuleInstance[]>
attachedPublicModules: (node: NodeInstance, maxDepth?: number) => Promise<ModuleInstance[]>
attachToExistingNode: (
source: NodeInstance,
id: string,
destination: NodeInstance,
) => Promise<NodeInstance>
attachToNewNode: (
source: NodeInstance,
id: string,
destinationParams?: BaseParamsFields & {
account?: AccountInstance | "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: 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: string;
security?: {
allowAnonymous?: boolean;
allowed?: { [key: string]: (...)[] };
disallowed?: { [key: string]: (...)[] };
};
sign?: boolean;
storeQueries?: boolean;
timestamp?: boolean;
},
>;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
},
) => Promise<NodeInstance>
flatAttachChildToExistingNode: (
source: NodeInstance,
id: string,
destination: NodeInstance,
) => Promise<NodeInstance>
flatAttachToExistingNode: (
source: NodeInstance,
id: string,
destination: NodeInstance,
) => Promise<NodeInstance>
flatAttachToNewNode: (
source: NodeInstance,
id: string,
destinationParams: BaseParamsFields & {
account?: AccountInstance | "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: 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: string;
security?: {
allowAnonymous?: boolean;
allowed?: { [key: string]: (...)[] };
disallowed?: { [key: string]: (...)[] };
};
sign?: boolean;
storeQueries?: boolean;
timestamp?: boolean;
},
>;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
},
) => Promise<NodeInstance>