UNPKG

redis-orm-node

Version:

`redis-orm` is a lightweight Object-Relational Mapping (ORM) library for Node.js.

18 lines (17 loc) 384 B
import { EntityOptions } from "."; import { SchemaProperty } from "./SchemaProperty"; export type Schema = { name: string; index: `idx:${string}`; properties: { [key: string]: { [k: string]: any; } & { type: SchemaProperty; }; }; options: { ON: EntityOptions["type"]; PREFIX: `${string}:`; }; };