Skip to content

Commit 6f79b49

Browse files
authored
updated per discussion w/ leibele (#2804)
1 parent b884e13 commit 6f79b49

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/client/lib/commands/HEXPIRE.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ import { pushVerdictArgument } from './generic-transformers';
88
export 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

2323
export type HashExpiration = typeof HASH_EXPIRATION[keyof typeof HASH_EXPIRATION];

packages/client/lib/commands/HEXPIRETIME.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import { pushVerdictArgument } from './generic-transformers';
44
export 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

1313
export const FIRST_KEY_INDEX = 1

0 commit comments

Comments
 (0)