@nodescript/stdlib
Version:
Standard Node Definitions
18 lines (17 loc) • 453 B
TypeScript
import { SubgraphModuleCompute, SubgraphModuleDefinition } from '@nodescript/core/types';
type P = {
limit: number;
scope: Record<string, any>;
};
type R = Promise<unknown>;
type SI = {
[key: string]: unknown;
};
type SO = {
resume: boolean;
result: any;
[key: string]: unknown;
};
export declare const module: SubgraphModuleDefinition<P, R, SI, SO>;
export declare const compute: SubgraphModuleCompute<P, R, SI, SO>;
export {};