Initial commit - Event Planner application

This commit is contained in:
mberlin
2026-03-18 14:55:56 -03:00
commit 86d779eb4d
7548 changed files with 1006324 additions and 0 deletions

17
node_modules/kysely/dist/esm/parser/top-parser.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
/// <reference types="./top-parser.d.ts" />
import { TopNode } from '../operation-node/top-node.js';
import { isBigInt, isNumber, isUndefined } from '../util/object-utils.js';
export function parseTop(expression, modifiers) {
if (!isNumber(expression) && !isBigInt(expression)) {
throw new Error(`Invalid top expression: ${expression}`);
}
if (!isUndefined(modifiers) && !isTopModifiers(modifiers)) {
throw new Error(`Invalid top modifiers: ${modifiers}`);
}
return TopNode.create(expression, modifiers);
}
function isTopModifiers(modifiers) {
return (modifiers === 'percent' ||
modifiers === 'with ties' ||
modifiers === 'percent with ties');
}