UNPKG

@getanthill/datastore

Version:

Event-Sourced Datastore

7 lines (6 loc) 425 B
import type { Services } from '../typings'; import { Command } from 'commander'; export declare function upsertModel(services: Services): (modelPath: string, cmd: any) => Promise<void>; export declare function models(services: Services): (cmd: any) => Promise<void>; export declare function graph(services: Services): (cmd: any) => Promise<void>; export default function register(services: Services, name?: string): Command;