fix: on delete
Run Tests / test (pull_request) Successful in 7m24s

This commit is contained in:
2026-09-27 17:57:45 +05:30
parent b294ee68ac
commit 282c9f6054
38 changed files with 742 additions and 655 deletions
+3 -3
View File
@@ -2,15 +2,15 @@ import { v4, v7, validate, version as uuidVersion } from "uuid";
// generates v4
export function uuid(): string {
return v4();
return v4();
}
// generates v7
export function uuidv7(): string {
return v7();
return v7();
}
// validate uuid
export function uuidValidate(uuid: string, version: 4 | 7): boolean {
return validate(uuid) && uuidVersion(uuid) === version;
return validate(uuid) && uuidVersion(uuid) === version;
}