1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Fix imports (#2929)

* fix: exports

align exports with v4 as much as possible

* document breaking changes

* export type

return SetOptions export
This commit is contained in:
Nikolay Karadzhov
2025-04-30 14:38:32 +03:00
committed by GitHub
parent 5295926cc0
commit 048df302e4
5 changed files with 39 additions and 15 deletions

View File

@@ -1,7 +1,21 @@
export { default } from './commands';
export { default } from './commands'
export { SCHEMA_FIELD_TYPE, SchemaFieldType } from './commands/CREATE';
// export { RediSearchSchema, RedisSearchLanguages, SchemaFieldTypes, SchemaTextFieldPhonetics, SearchReply, VectorAlgorithms } from './commands';
// export { AggregateGroupByReducers, AggregateSteps } from './commands/AGGREGATE';
// export { SearchOptions } from './commands/SEARCH';
export { SearchReply } from './commands/SEARCH'
export { RediSearchSchema } from './commands/CREATE'
export {
REDISEARCH_LANGUAGE,
RediSearchLanguage,
SCHEMA_FIELD_TYPE,
SchemaFieldType,
SCHEMA_TEXT_FIELD_PHONETIC,
SchemaTextFieldPhonetic,
SCHEMA_VECTOR_FIELD_ALGORITHM,
SchemaVectorFieldAlgorithm
} from './commands/CREATE'
export {
FT_AGGREGATE_GROUP_BY_REDUCERS,
FtAggregateGroupByReducer,
FT_AGGREGATE_STEPS,
FtAggregateStep
} from './commands/AGGREGATE'
export { FtSearchOptions } from './commands/SEARCH'