UNPKG

umzug-hyper-storage

Version:

A zero-dependency Storage Adapter for Umzug that uses a Hyper Data Service to track migrations

17 lines (16 loc) 382 B
import type { Hyper } from 'hyper-connect'; export interface HyperStorageDocArgs { id?: string; type?: string; typeField?: string; createdField?: string; updatedField?: string; } export interface HyperStorageArgs { hyper: Hyper; doc?: HyperStorageDocArgs; } export interface HyperStorageDoc { _id: string; migrations: string[]; }