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,23 @@
/// <reference types="./json-path-node.d.ts" />
import { freeze } from '../util/object-utils.js';
/**
* @internal
*/
export const JSONPathNode = freeze({
is(node) {
return node.kind === 'JSONPathNode';
},
create(inOperator) {
return freeze({
kind: 'JSONPathNode',
inOperator,
pathLegs: freeze([]),
});
},
cloneWithLeg(jsonPathNode, pathLeg) {
return freeze({
...jsonPathNode,
pathLegs: freeze([...jsonPathNode.pathLegs, pathLeg]),
});
},
});