redis-orm-node
Version:
`redis-orm` is a lightweight Object-Relational Mapping (ORM) library for Node.js.
17 lines (15 loc) • 378 B
text/typescript
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}:`
};
};