File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
packages/client/lib/commands Expand file tree Collapse file tree 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';
88export const HASH_EXPIRATION = {
99 /** @property {number } */
1010 /** The field does not exist */
11- FieldNotExists : - 2 ,
11+ FIELD_NOT_EXISTS : - 2 ,
1212 /** @property {number } */
1313 /** Specified NX | XX | GT | LT condition not met */
14- ConditionNotMet : 0 ,
14+ CONDITION_NOT_MET : 0 ,
1515 /** @property {number } */
1616 /** Expiration time was set or updated */
17- Updated : 1 ,
17+ UPDATED : 1 ,
1818 /** @property {number } */
1919 /** Field deleted because the specified expiration time is in the past */
20- Deleted : 2
20+ DELETED : 2
2121} as const ;
2222
2323export 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';
44export const HASH_EXPIRATION_TIME = {
55 /** @property {number } */
66 /** The field does not exist */
7- FieldNotExists : - 2 ,
7+ FIELD_NOT_EXISTS : - 2 ,
88 /** @property {number } */
99 /** The field exists but has no associated expire */
10- NoExpiration : - 1 ,
10+ NO_EXPIRATION : - 1 ,
1111} as const ;
1212
1313export const FIRST_KEY_INDEX = 1
You can’t perform that action at this time.
0 commit comments