Files
evento/node_modules/kysely/dist/esm/operation-node/json-path-leg-node.d.ts
2026-03-18 14:55:56 -03:00

17 lines
565 B
TypeScript

import type { OperationNode } from './operation-node.js';
export type JSONPathLegType = 'Member' | 'ArrayLocation';
export interface JSONPathLegNode extends OperationNode {
readonly kind: 'JSONPathLegNode';
readonly type: JSONPathLegType;
readonly value: string | number;
}
type JSONPathLegNodeFactory = Readonly<{
is(node: OperationNode): node is JSONPathLegNode;
create(type: JSONPathLegType, value: string | number): Readonly<JSONPathLegNode>;
}>;
/**
* @internal
*/
export declare const JSONPathLegNode: JSONPathLegNodeFactory;
export {};