1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

getting ready for a beta release :)

This commit is contained in:
Leibale
2023-11-09 19:12:29 -05:00
parent a5a4cb45ea
commit 2d8c0f0b79
12 changed files with 192 additions and 197 deletions

View File

@@ -1,10 +0,0 @@
.nyc_output/
coverage/
documentation/
lib/
.eslintrc.json
.nycrc.json
.release-it.json
dump.rdb
index.ts
tsconfig.json

View File

@@ -14,7 +14,7 @@ type QueryRawReply = TuplesReply<[
metadata: Metadata
]>;
type QueryParam = null | RedisArgument | number | boolean | QueryParams | Array<QueryParam>;
type QueryParam = null | string | number | boolean | QueryParams | Array<QueryParam>;
type QueryParams = {
[key: string]: QueryParam;

View File

@@ -5,5 +5,18 @@
},
"include": [
"./index.ts"
]
],
"references": [{
"path": "./packages/client"
}, {
"path": "./packages/bloom"
}, {
"path": "./packages/graph"
}, {
"path": "./packages/json"
}, {
"path": "./packages/search"
}, {
"path": "./packages/time-series"
}]
}

View File

@@ -1,7 +1,6 @@
import { strict as assert } from 'node:assert';
import testUtils, { GLOBAL } from '../test-utils';
import AGGREGATE from './AGGREGATE';
// import { SchemaFieldTypes } from '.';
describe('AGGREGATE', () => {
describe('transformArguments', () => {

View File

@@ -194,15 +194,15 @@ export default {
break;
case FT_AGGREGATE_STEPS.APPLY:
args.push('APPLY', step.expression, 'AS', step.AS);
args.push(step.expression, 'AS', step.AS);
break;
case FT_AGGREGATE_STEPS.LIMIT:
args.push('LIMIT', step.from.toString(), step.size.toString());
args.push(step.from.toString(), step.size.toString());
break;
case FT_AGGREGATE_STEPS.FILTER:
args.push('FILTER', step.expression);
args.push(step.expression);
break;
}
}

View File

@@ -32,11 +32,6 @@ import SUGLEN from './SUGLEN';
import SYNDUMP from './SYNDUMP';
import SYNUPDATE from './SYNUPDATE';
import TAGVALS from './TAGVALS';
import { RedisArgument } from '@redis/client';
// import { RedisCommandArgument, RedisCommandArguments } from '@redis/client/dist/lib/commands';
// import { pushOptionalVariadicArgument, pushVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
// import { SearchOptions } from './SEARCH';
// import { CommandArguments } from '@redis/client/dist/lib/RESP/types';
export default {
_LIST,

View File

@@ -5,5 +5,8 @@
},
"include": [
"./lib/**/*.ts"
]
],
"references": [{
"path": "../client"
}]
}

View File

@@ -1,6 +0,0 @@
.nyc_output/
coverage/
lib/
.nycrc.json
.release-it.json
tsconfig.json