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

View File

@@ -0,0 +1,29 @@
/// <reference types="./insert-query-node.d.ts" />
import { freeze } from '../util/object-utils.js';
/**
* @internal
*/
export const InsertQueryNode = freeze({
is(node) {
return node.kind === 'InsertQueryNode';
},
create(into, withNode, replace) {
return freeze({
kind: 'InsertQueryNode',
into,
...(withNode && { with: withNode }),
replace,
});
},
createWithoutInto() {
return freeze({
kind: 'InsertQueryNode',
});
},
cloneWith(insertQuery, props) {
return freeze({
...insertQuery,
...props,
});
},
});