Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5,342 changes: 4,149 additions & 1,193 deletions data/command-api-mapping.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data/command-api-mapping/APPEND.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<number, Context>",
"description": ""
}
}
Expand Down
21 changes: 15 additions & 6 deletions data/command-api-mapping/BITCOUNT.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
],
"ioredis": [
{
"signature": "bitcount(key: RedisKey, callback?: Callback<number>): Result<number, Context>;, bitcount(, key: RedisKey, start: number | string, end: number | string, callback?: Callback<number>)",
"signature": "bitcount(key: RedisKey, callback?: Callback<number>)",
"params": [
{
"name": "key",
Expand All @@ -316,9 +316,18 @@
},
{
"name": "callback?",
"type": "Callback<number>)",
"type": "Callback<number>",
"description": ""
},
}
],
"returns": {
"type": "Result<number, Context>",
"description": ""
}
},
{
"signature": "bitcount(key: RedisKey, start: number | string, end: number | string, callback?: Callback<number>)",
"params": [
{
"name": "key",
"type": "RedisKey",
Expand All @@ -341,7 +350,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<number, Context>",
"description": ""
}
},
Expand Down Expand Up @@ -375,7 +384,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<number, Context>",
"description": ""
}
},
Expand Down Expand Up @@ -409,7 +418,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<number, Context>",
"description": ""
}
}
Expand Down
10 changes: 5 additions & 5 deletions data/command-api-mapping/BITFIELD.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<unknown, Context>",
"description": ""
}
},
Expand Down Expand Up @@ -241,7 +241,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<unknown, Context>",
"description": ""
}
},
Expand Down Expand Up @@ -280,7 +280,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<unknown, Context>",
"description": ""
}
},
Expand Down Expand Up @@ -329,7 +329,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<unknown, Context>",
"description": ""
}
},
Expand Down Expand Up @@ -378,7 +378,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<unknown, Context>",
"description": ""
}
}
Expand Down
41 changes: 33 additions & 8 deletions data/command-api-mapping/BITFIELD_RO.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,30 +120,55 @@
],
"ioredis": [
{
"signature": "bitfield_ro(...args: [, key: RedisKey, encodingOffsetToken: \"GET\", ...encodingOffsets: (string | Buffer | number)[], callback: Callback<unknown[]>, ])",
"signature": "bitfield_ro(...args: [ key: RedisKey, encodingOffsetToken: \"GET\", ...encodingOffsets: (string | Buffer | number)[], callback: Callback<unknown[]> ])",
"params": [
{
"name": "...args",
"type": "[, key",
"name": "key",
"type": "RedisKey",
"description": ""
},
{
"name": "encodingOffsetToken",
"type": "\"GET\"",
"description": ""
},
{
"name": "...encodingOffsets",
"type": "(string | Buffer | number)[]",
"description": ""
},
{
"name": "callback",
"type": "Callback<unknown[]>",
"description": ""
}
],
"returns": {
"type": "Any",
"type": "Result<unknown[], Context>",
"description": ""
}
},
{
"signature": "bitfield_ro(...args: [, key: RedisKey, encodingOffsetToken: \"GET\", ...encodingOffsets: (string | Buffer | number)[], ])",
"signature": "bitfield_ro(...args: [ key: RedisKey, encodingOffsetToken: \"GET\", ...encodingOffsets: (string | Buffer | number)[] ])",
"params": [
{
"name": "...args",
"type": "[, key",
"name": "key",
"type": "RedisKey",
"description": ""
},
{
"name": "encodingOffsetToken",
"type": "\"GET\"",
"description": ""
},
{
"name": "...encodingOffsets",
"type": "(string | Buffer | number)[]",
"description": ""
}
],
"returns": {
"type": "Any",
"type": "Result<unknown[], Context>",
"description": ""
}
}
Expand Down
80 changes: 65 additions & 15 deletions data/command-api-mapping/BITOP.json
Original file line number Diff line number Diff line change
Expand Up @@ -537,58 +537,108 @@
],
"ioredis": [
{
"signature": "bitop(...args: [, operation: string | Buffer, destkey: RedisKey, ...keys: RedisKey[], callback: Callback<number>, ])",
"signature": "bitop(...args: [ operation: string | Buffer, destkey: RedisKey, ...keys: RedisKey[], callback: Callback<number> ])",
"params": [
{
"name": "...args",
"type": "[, operation",
"name": "operation",
"type": "string | Buffer",
"description": ""
},
{
"name": "destkey",
"type": "RedisKey",
"description": ""
},
{
"name": "...keys",
"type": "RedisKey[]",
"description": ""
},
{
"name": "callback",
"type": "Callback<number>",
"description": ""
}
],
"returns": {
"type": "Any",
"type": "Result<number, Context>",
"description": ""
}
},
{
"signature": "bitop(...args: [, operation: string | Buffer, destkey: RedisKey, keys: RedisKey[], callback: Callback<number>, ])",
"signature": "bitop(...args: [ operation: string | Buffer, destkey: RedisKey, keys: RedisKey[], callback: Callback<number> ])",
"params": [
{
"name": "...args",
"type": "[, operation",
"name": "operation",
"type": "string | Buffer",
"description": ""
},
{
"name": "destkey",
"type": "RedisKey",
"description": ""
},
{
"name": "keys",
"type": "RedisKey[]",
"description": ""
},
{
"name": "callback",
"type": "Callback<number>",
"description": ""
}
],
"returns": {
"type": "Any",
"type": "Result<number, Context>",
"description": ""
}
},
{
"signature": "bitop(...args: [, operation: string | Buffer, destkey: RedisKey, ...keys: RedisKey[], ])",
"signature": "bitop(...args: [ operation: string | Buffer, destkey: RedisKey, ...keys: RedisKey[] ])",
"params": [
{
"name": "...args",
"type": "[, operation",
"name": "operation",
"type": "string | Buffer",
"description": ""
},
{
"name": "destkey",
"type": "RedisKey",
"description": ""
},
{
"name": "...keys",
"type": "RedisKey[]",
"description": ""
}
],
"returns": {
"type": "Any",
"type": "Result<number, Context>",
"description": ""
}
},
{
"signature": "bitop(...args: [operation: string | Buffer, destkey: RedisKey, keys: RedisKey[]])",
"params": [
{
"name": "...args",
"type": "[operation",
"name": "operation",
"type": "string | Buffer",
"description": ""
},
{
"name": "destkey",
"type": "RedisKey",
"description": ""
},
{
"name": "keys",
"type": "RedisKey[]",
"description": ""
}
],
"returns": {
"type": "Any",
"type": "Result<number, Context>",
"description": ""
}
}
Expand Down
10 changes: 5 additions & 5 deletions data/command-api-mapping/BITPOS.json
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<number, Context>",
"description": ""
}
},
Expand Down Expand Up @@ -526,7 +526,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<number, Context>",
"description": ""
}
},
Expand Down Expand Up @@ -560,7 +560,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<number, Context>",
"description": ""
}
},
Expand Down Expand Up @@ -599,7 +599,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<number, Context>",
"description": ""
}
},
Expand Down Expand Up @@ -638,7 +638,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<number, Context>",
"description": ""
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/command-api-mapping/BLMOVE.json
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<string | null, Context>",
"description": ""
}
},
Expand Down Expand Up @@ -397,7 +397,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<string | null, Context>",
"description": ""
}
},
Expand Down Expand Up @@ -436,7 +436,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<string | null, Context>",
"description": ""
}
},
Expand Down Expand Up @@ -475,7 +475,7 @@
}
],
"returns": {
"type": "Any",
"type": "Result<string | null, Context>",
"description": ""
}
}
Expand Down
Loading
Loading