Initial commit - Event Planner application
This commit is contained in:
26
node_modules/kysely/dist/cjs/operation-node/output-node.js
generated
vendored
Normal file
26
node_modules/kysely/dist/cjs/operation-node/output-node.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.OutputNode = void 0;
|
||||
const object_utils_js_1 = require("../util/object-utils.js");
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
exports.OutputNode = (0, object_utils_js_1.freeze)({
|
||||
is(node) {
|
||||
return node.kind === 'OutputNode';
|
||||
},
|
||||
create(selections) {
|
||||
return (0, object_utils_js_1.freeze)({
|
||||
kind: 'OutputNode',
|
||||
selections: (0, object_utils_js_1.freeze)(selections),
|
||||
});
|
||||
},
|
||||
cloneWithSelections(output, selections) {
|
||||
return (0, object_utils_js_1.freeze)({
|
||||
...output,
|
||||
selections: output.selections
|
||||
? (0, object_utils_js_1.freeze)([...output.selections, ...selections])
|
||||
: (0, object_utils_js_1.freeze)(selections),
|
||||
});
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user