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

updated per discussion w/ leibele (#2804)

This commit is contained in:
Shaya Potter
2024-07-24 20:15:01 +03:00
committed by GitHub
parent b884e132fa
commit 6f79b49f73
2 changed files with 6 additions and 6 deletions

View File

@@ -8,16 +8,16 @@ import { pushVerdictArgument } from './generic-transformers';
export const HASH_EXPIRATION = {
/** @property {number} */
/** The field does not exist */
FieldNotExists: -2,
FIELD_NOT_EXISTS: -2,
/** @property {number} */
/** Specified NX | XX | GT | LT condition not met */
ConditionNotMet: 0,
CONDITION_NOT_MET: 0,
/** @property {number} */
/** Expiration time was set or updated */
Updated: 1,
UPDATED: 1,
/** @property {number} */
/** Field deleted because the specified expiration time is in the past */
Deleted: 2
DELETED: 2
} as const;
export type HashExpiration = typeof HASH_EXPIRATION[keyof typeof HASH_EXPIRATION];