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

28
node_modules/kysely/dist/esm/parser/merge-parser.js generated vendored Normal file
View File

@@ -0,0 +1,28 @@
/// <reference types="./merge-parser.d.ts" />
import { MatchedNode } from '../operation-node/matched-node.js';
import { isOperationNodeSource, } from '../operation-node/operation-node-source.js';
import { RawNode } from '../operation-node/raw-node.js';
import { WhenNode } from '../operation-node/when-node.js';
import { isString } from '../util/object-utils.js';
import { parseFilterList, parseReferentialBinaryOperation, parseValueBinaryOperationOrExpression, } from './binary-operation-parser.js';
export function parseMergeWhen(type, args, refRight) {
return WhenNode.create(parseFilterList([
MatchedNode.create(!type.isMatched, type.bySource),
...(args && args.length > 0
? [
args.length === 3 && refRight
? parseReferentialBinaryOperation(args[0], args[1], args[2])
: parseValueBinaryOperationOrExpression(args),
]
: []),
], 'and', false));
}
export function parseMergeThen(result) {
if (isString(result)) {
return RawNode.create([result], []);
}
if (isOperationNodeSource(result)) {
return result.toOperationNode();
}
return result;
}