@configurator/ravendb
Version:
RavenDB client for Node.js
10 lines (9 loc) • 389 B
TypeScript
import { IndexType } from "./Enums";
import { AutoIndexFieldOptions } from "./AutoIndexFieldOptions";
import { IndexDefinitionBase } from "./IndexDefinitionBase";
export interface AutoIndexDefinition extends IndexDefinitionBase {
type: IndexType;
collection: string;
mapFields: Record<string, AutoIndexFieldOptions>;
groupByFields: Record<string, AutoIndexFieldOptions>;
}