File tree 2 files changed +6
-6
lines changed
packages/client/lib/commands
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,16 @@ import { pushVerdictArgument } from './generic-transformers';
8
8
export const HASH_EXPIRATION = {
9
9
/** @property {number } */
10
10
/** The field does not exist */
11
- FieldNotExists : - 2 ,
11
+ FIELD_NOT_EXISTS : - 2 ,
12
12
/** @property {number } */
13
13
/** Specified NX | XX | GT | LT condition not met */
14
- ConditionNotMet : 0 ,
14
+ CONDITION_NOT_MET : 0 ,
15
15
/** @property {number } */
16
16
/** Expiration time was set or updated */
17
- Updated : 1 ,
17
+ UPDATED : 1 ,
18
18
/** @property {number } */
19
19
/** Field deleted because the specified expiration time is in the past */
20
- Deleted : 2
20
+ DELETED : 2
21
21
} as const ;
22
22
23
23
export type HashExpiration = typeof HASH_EXPIRATION [ keyof typeof HASH_EXPIRATION ] ;
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ import { pushVerdictArgument } from './generic-transformers';
4
4
export const HASH_EXPIRATION_TIME = {
5
5
/** @property {number } */
6
6
/** The field does not exist */
7
- FieldNotExists : - 2 ,
7
+ FIELD_NOT_EXISTS : - 2 ,
8
8
/** @property {number } */
9
9
/** The field exists but has no associated expire */
10
- NoExpiration : - 1 ,
10
+ NO_EXPIRATION : - 1 ,
11
11
} as const ;
12
12
13
13
export const FIRST_KEY_INDEX = 1
You can’t perform that action at this time.
0 commit comments