NineAI 2.4.2

This commit is contained in:
vastxie
2024-01-17 09:22:28 +08:00
commit bdc48207fc
636 changed files with 41864 additions and 0 deletions

9
dist/common/utils/createRandomUid.js vendored Normal file
View File

@@ -0,0 +1,9 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createRandomUid = void 0;
const guid_typescript_1 = require("guid-typescript");
function createRandomUid() {
const uuid = guid_typescript_1.Guid.create();
return uuid.toString().substr(0, 10).replace('-', '');
}
exports.createRandomUid = createRandomUid;