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,42 @@
import type { ColumnNode } from './column-node.js';
import type { ExplainNode } from './explain-node.js';
import type { OnConflictNode } from './on-conflict-node.js';
import type { OnDuplicateKeyNode } from './on-duplicate-key-node.js';
import type { OperationNode } from './operation-node.js';
import type { OrActionNode } from './or-action-node.js';
import type { OutputNode } from './output-node.js';
import type { ReturningNode } from './returning-node.js';
import type { TableNode } from './table-node.js';
import type { TopNode } from './top-node.js';
import type { WithNode } from './with-node.js';
export type InsertQueryNodeProps = Omit<InsertQueryNode, 'kind' | 'into'>;
export interface InsertQueryNode extends OperationNode {
readonly kind: 'InsertQueryNode';
readonly into?: TableNode;
readonly columns?: ReadonlyArray<ColumnNode>;
readonly values?: OperationNode;
readonly returning?: ReturningNode;
readonly onConflict?: OnConflictNode;
readonly onDuplicateKey?: OnDuplicateKeyNode;
readonly with?: WithNode;
/** @deprecated use {@link orAction} instead. */
readonly ignore?: boolean;
readonly orAction?: OrActionNode;
readonly replace?: boolean;
readonly explain?: ExplainNode;
readonly defaultValues?: boolean;
readonly endModifiers?: ReadonlyArray<OperationNode>;
readonly top?: TopNode;
readonly output?: OutputNode;
}
type InsertQueryNodeFactory = Readonly<{
is(node: OperationNode): node is InsertQueryNode;
create(into: TableNode, withNode?: WithNode, replace?: boolean): Readonly<InsertQueryNode>;
createWithoutInto(): Readonly<InsertQueryNode>;
cloneWith(insertQuery: InsertQueryNode, props: InsertQueryNodeProps): Readonly<InsertQueryNode>;
}>;
/**
* @internal
*/
export declare const InsertQueryNode: InsertQueryNodeFactory;
export {};