You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
export RediSearchSchema type (#1825)
* export RediSearchSchema type * export SearchOptions and SearchReply
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { CreateSchema, pushSchema } from '.';
|
||||
import { RediSearchSchema, pushSchema } from '.';
|
||||
|
||||
export function transformArguments(index: string, schema: CreateSchema): Array<string> {
|
||||
export function transformArguments(index: string, schema: RediSearchSchema): Array<string> {
|
||||
const args = ['FT.ALTER', index, 'SCHEMA', 'ADD'];
|
||||
pushSchema(args, schema);
|
||||
|
||||
|
Reference in New Issue
Block a user