Initial commit - Event Planner application
This commit is contained in:
16
node_modules/kysely/dist/cjs/util/query-id.js
generated
vendored
Normal file
16
node_modules/kysely/dist/cjs/util/query-id.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.createQueryId = createQueryId;
|
||||
const random_string_js_1 = require("./random-string.js");
|
||||
function createQueryId() {
|
||||
return new LazyQueryId();
|
||||
}
|
||||
class LazyQueryId {
|
||||
#queryId;
|
||||
get queryId() {
|
||||
if (this.#queryId === undefined) {
|
||||
this.#queryId = (0, random_string_js_1.randomString)(8);
|
||||
}
|
||||
return this.#queryId;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user